Removed 2.0.37 -- Added 2.0.39 for testing.
authorNicholas Jones <carpaski@gentoo.org>
Sat, 12 Oct 2002 13:13:04 +0000 (13:13 +0000)
committerNicholas Jones <carpaski@gentoo.org>
Sat, 12 Oct 2002 13:13:04 +0000 (13:13 +0000)
Lots of bug fixes and a couple extras.

sys-apps/portage/files/digest-portage-2.0.39 [moved from sys-apps/portage/files/digest-portage-2.0.37 with 100% similarity]
sys-apps/portage/files/portage-2.0.37.tar.bz2 [deleted file]
sys-apps/portage/files/portage-2.0.39.tar.bz2 [new file with mode: 0644]
sys-apps/portage/portage-2.0.39.ebuild [moved from sys-apps/portage/portage-2.0.37.ebuild with 83% similarity]

diff --git a/sys-apps/portage/files/portage-2.0.37.tar.bz2 b/sys-apps/portage/files/portage-2.0.37.tar.bz2
deleted file mode 100644 (file)
index 10667a2..0000000
Binary files a/sys-apps/portage/files/portage-2.0.37.tar.bz2 and /dev/null differ
diff --git a/sys-apps/portage/files/portage-2.0.39.tar.bz2 b/sys-apps/portage/files/portage-2.0.39.tar.bz2
new file mode 100644 (file)
index 0000000..b958848
Binary files /dev/null and b/sys-apps/portage/files/portage-2.0.39.tar.bz2 differ
similarity index 83%
rename from sys-apps/portage/portage-2.0.37.ebuild
rename to sys-apps/portage/portage-2.0.39.ebuild
index b06c4bf3e649916bf0278eb22bfceb6c147239d6..1f4cfe5b1aa97df51f92d893c3cdc2b34679b5f3 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc. 
 # Distributed under the terms of the GNU General Public License v2 
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.0.37.ebuild,v 1.2 2002/10/05 05:39:25 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.0.39.ebuild,v 1.1 2002/10/12 13:13:04 carpaski Exp $
 
 IUSE="build"
 
@@ -132,34 +132,31 @@ pkg_postinst() {
        fi
 
        #fix cache (could contain staleness)
-       if [ ! -d ${ROOT}var/cache/edb/dep/sys-apps ]
+       if [ ! -d ${ROOT}var/cache/edb/dep ]
        then
-               if [ ! -d ${ROOT}var/cache/edb/dep ]
+               #upgrade /var/db/pkg library; conditional required for build image creation
+               if [ -d ${ROOT}var/db/pkg ]
                then
-                       #upgrade /var/db/pkg library; conditional required for build image creation
-                       if [ -d ${ROOT}var/db/pkg ]
-                       then
-                               echo ">>> Database upgrade..."
-                               cd ${ROOT}var/db/pkg
-                               for x in *
-                               do
-                                       [ ! -d "$x" ] && continue
-                                       #go into each category directory so we don't overload the python2.2 command-line
-                                       cd $x
-                                       #fix silly output from this command (hack)
-                                       python2.2 ${ROOT}usr/lib/portage/bin/db-update.py `find -name VIRTUAL` > /dev/null
-                               cd ..
-                               done
-                               echo ">>> Database upgrade complete."
-                               #remove old virtual directory to prevent virtual deps from getting messed-up
-                               [ -d ${ROOT}var/db/pkg/virtual ] && rm -rf ${ROOT}var/db/pkg/virtual
-                       fi
+                       echo ">>> Database upgrade..."
+                       cd ${ROOT}var/db/pkg
+                       for x in *
+                       do
+                               [ ! -d "$x" ] && continue
+                               #go into each category directory so we don't overload the python2.2 command-line
+                               cd $x
+                               #fix silly output from this command (hack)
+                               python2.2 ${ROOT}usr/lib/portage/bin/db-update.py `find -name VIRTUAL` > /dev/null
+                       cd ..
+                       done
+                       echo ">>> Database upgrade complete."
+                       #remove old virtual directory to prevent virtual deps from getting messed-up
+                       [ -d ${ROOT}var/db/pkg/virtual ] && rm -rf ${ROOT}var/db/pkg/virtual
                fi
                install -d -m0755 ${ROOT}var/cache/edb
-               install -d -m4755 -o root -g wheel ${ROOT}var/cache/edb/dep
+               install -d -m2775 -o root -g wheel ${ROOT}var/cache/edb/dep
        fi
        rm -f ${ROOT}usr/lib/python2.2/site-packages/portage.py[co]
-       chmod 4755 ${ROOT}var/cache/edb/dep ${ROOT}var/cache/edb/dep/*
+       chmod 2775 ${ROOT}var/cache/edb/dep ${ROOT}var/cache/edb/dep/*
        chown -R root.wheel ${ROOT}var/cache/edb/dep
        
        # we gotta re-compile these modules and deal with systems with clock skew (stale compiled files)