From: Nicholas Jones Date: Sat, 12 Oct 2002 13:13:04 +0000 (+0000) Subject: Removed 2.0.37 -- Added 2.0.39 for testing. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=06b2fc1e722bbb15a57b2462d08de94d42839830;p=gentoo.git Removed 2.0.37 -- Added 2.0.39 for testing. Lots of bug fixes and a couple extras. --- diff --git a/sys-apps/portage/files/digest-portage-2.0.37 b/sys-apps/portage/files/digest-portage-2.0.39 similarity index 100% rename from sys-apps/portage/files/digest-portage-2.0.37 rename to sys-apps/portage/files/digest-portage-2.0.39 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 index 10667a2fec73..000000000000 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 index 000000000000..b958848e21ef Binary files /dev/null and b/sys-apps/portage/files/portage-2.0.39.tar.bz2 differ diff --git a/sys-apps/portage/portage-2.0.37.ebuild b/sys-apps/portage/portage-2.0.39.ebuild similarity index 83% rename from sys-apps/portage/portage-2.0.37.ebuild rename to sys-apps/portage/portage-2.0.39.ebuild index b06c4bf3e649..1f4cfe5b1aa9 100644 --- a/sys-apps/portage/portage-2.0.37.ebuild +++ b/sys-apps/portage/portage-2.0.39.ebuild @@ -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)