thomas: server README.1st, 1.105, 1.106 install-kolab.sh, 1.53, 1.54 release-notes.txt, 1.396, 1.397

cvs at kolab.org cvs at kolab.org
Thu Mar 5 12:00:26 CET 2009


Author: thomas

Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv4246

Modified Files:
	README.1st install-kolab.sh release-notes.txt 
Log Message:
Cache source RPM information in $PREFIX/RPM/DB/00INDEX-cache.db
when generating 00INDEX.rdf and document this in the README.


Index: README.1st
===================================================================
RCS file: /kolabrepository/server/README.1st,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- README.1st	4 Mar 2009 12:00:06 -0000	1.105
+++ README.1st	5 Mar 2009 11:00:24 -0000	1.106
@@ -141,7 +141,7 @@
 installation). After this you can link/copy the install-kolab.sh file and
 your binary rpm files (e.g. from /kolab/RPM/PKG/) into this directory and
 run the following command as user kolab or root to create the new
-00INDEX.rdf file::
+00INDEX.rdf file:
 
 $ sh install-kolab.sh -X
 
@@ -150,6 +150,10 @@
 only for upgrades), you need to put the OpenPKG bootstrap file
 (openpkg-*.src.sh or openpkg-<ARCH>-<OS>-kolab.rpm) into this directory,
 too.
+
+Index generation tries to cache information about source RPMs in the file
+/kolab/RPM/DB/00INDEX-cache.db, you might want to remove it to save some
+disk space or restore it after new installations to save some time.
 
 
 Upgrade from 2.2.1-beta1 to 2.2.1-rc1

Index: install-kolab.sh
===================================================================
RCS file: /kolabrepository/server/install-kolab.sh,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- install-kolab.sh	4 Mar 2009 12:00:06 -0000	1.53
+++ install-kolab.sh	5 Mar 2009 11:00:24 -0000	1.54
@@ -177,11 +177,11 @@
             BINARY=`find . -mindepth 1 -maxdepth 1 -name "openpkg-2*.rpm" \! -name "openpkg-*.src.rpm" -print`
             if [ -z "$BINARY" ]; then
                 echo "Generating 00INDEX.rdf for source distribution ..."
-                exec "$PREFIX/bin/openpkg" index -r . -o 00INDEX.rdf -i .
+                exec "$PREFIX/bin/openpkg" index -r . -o 00INDEX.rdf -C $PREFIX/RPM/DB/00INDEX-cache.db -i .
             else
                 PLATTAG=`"$PREFIX/bin/openpkg" rpm -q --qf="%{ARCH}-%{OS}" openpkg`-$TAG
                 echo "Generating 00INDEX.rdf for binary ($PLATTAG) distribution ..."
-                exec "$PREFIX/bin/openpkg" index -r . -o 00INDEX.rdf -i -p $PLATTAG .
+                exec "$PREFIX/bin/openpkg" index -r . -o 00INDEX.rdf -C $PREFIX/RPM/DB/00INDEX-cache.db -i -p $PLATTAG .
             fi
         fi
     else

Index: release-notes.txt
===================================================================
RCS file: /kolabrepository/server/release-notes.txt,v
retrieving revision 1.396
retrieving revision 1.397
diff -u -d -r1.396 -r1.397
--- release-notes.txt	4 Mar 2009 11:53:07 -0000	1.396
+++ release-notes.txt	5 Mar 2009 11:00:24 -0000	1.397
@@ -59,6 +59,9 @@
 	  Repair option -E to not require an argument.
 	  Abort cleanly on -c or -X if no OpenPKG environment is found.
 
+	Cache source RPM information in $PREFIX/RPM/DB/00INDEX-cache.db
+	when generating 00INDEX.rdf
+
     - Horde_Notification-0.0.2-20090223
 
 	New package needed for running unit tests of Kolab PHP packages.





More information about the commits mailing list