diff options
author | Geert Bevin <gbevin@gentoo.org> | 2002-01-18 10:57:57 +0000 |
---|---|---|
committer | Geert Bevin <gbevin@gentoo.org> | 2002-01-18 10:57:57 +0000 |
commit | 2baec5c2e755c108b119684053ec7f1386873d45 (patch) | |
tree | a4c0ea458a888f4b114dc8f711c1f5431a1a91c7 | |
parent | updated to latest version, reported by cami@hack.co.za, fixes #202 (diff) | |
download | gentoo-2-2baec5c2e755c108b119684053ec7f1386873d45.tar.gz gentoo-2-2baec5c2e755c108b119684053ec7f1386873d45.tar.bz2 gentoo-2-2baec5c2e755c108b119684053ec7f1386873d45.zip |
added /tmp and /var/tmp always to the write enabled prefixes
-rw-r--r-- | sys-apps/portage/files/portage-1.8.5-r3.tar.bz2 | bin | 69105 -> 0 bytes | |||
-rw-r--r-- | sys-apps/portage/files/portage-1.8.5-r4.tar.bz2 | bin | 0 -> 69208 bytes | |||
-rw-r--r-- | sys-apps/portage/portage-1.8.5-r4.ebuild (renamed from sys-apps/portage/portage-1.8.5-r3.ebuild) | 2 | ||||
-rw-r--r-- | sys-apps/portage/portage-1.8.5.ebuild | 128 |
4 files changed, 1 insertions, 129 deletions
diff --git a/sys-apps/portage/files/portage-1.8.5-r3.tar.bz2 b/sys-apps/portage/files/portage-1.8.5-r3.tar.bz2 Binary files differdeleted file mode 100644 index 53cc80c15dec..000000000000 --- a/sys-apps/portage/files/portage-1.8.5-r3.tar.bz2 +++ /dev/null diff --git a/sys-apps/portage/files/portage-1.8.5-r4.tar.bz2 b/sys-apps/portage/files/portage-1.8.5-r4.tar.bz2 Binary files differnew file mode 100644 index 000000000000..8264ac809820 --- /dev/null +++ b/sys-apps/portage/files/portage-1.8.5-r4.tar.bz2 diff --git a/sys-apps/portage/portage-1.8.5-r3.ebuild b/sys-apps/portage/portage-1.8.5-r4.ebuild index 63b2011a7184..0d920e0c0901 100644 --- a/sys-apps/portage/portage-1.8.5-r3.ebuild +++ b/sys-apps/portage/portage-1.8.5-r4.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2001 Gentoo Technologies, Inc. Distributed under the terms # of the GNU General Public License, v2 or later # Author: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-1.8.5-r3.ebuild,v 1.1 2002/01/16 10:00:12 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-1.8.5-r4.ebuild,v 1.1 2002/01/18 10:57:57 gbevin Exp $ S=${WORKDIR}/${P}-${PR} DESCRIPTION="Portage ports system" diff --git a/sys-apps/portage/portage-1.8.5.ebuild b/sys-apps/portage/portage-1.8.5.ebuild deleted file mode 100644 index db373dc2f78c..000000000000 --- a/sys-apps/portage/portage-1.8.5.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. Distributed under the terms -# of the GNU General Public License, v2 or later -# Author: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-1.8.5.ebuild,v 1.1 2002/01/13 19:10:52 gbevin Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="Portage ports system" -SRC_URI="" -HOMEPAGE="http://www.gentoo.org" -#debianutils is for "readlink" - -if [ -z "`use build`" ] ; then - RDEPEND="sys-devel/spython sys-apps/debianutils" -fi - -src_unpack() { - #We are including the Portage bzipped tarball on CVS now, so that if a person's - #emerge gets hosed, they are not completely stuck. - cd ${WORKDIR}; tar xjf ${FILESDIR}/${P}.tar.bz2 -} - -src_compile() { - cd ${S}/src; gcc ${CFLAGS} tbz2tool.c -o tbz2tool - cd ${S}/src/sandbox - emake || die -} - -pkg_preinst() { - if [ -d /var/db/pkg/sys-apps/bash-2.05a ] && [ ! -d /var/db/pkg/sys-apps/bash-2.05a-r1 ] - then - eerror "You have to update your bash-2.05a installation." - eerror "Please execute 'emerge sys-apps/bash' as root" - eerror "before installing this version of portage." - die - fi -} - -src_install() { - #config files - cd ${S}/cnf - insinto /etc - doins make.globals make.conf - - #python modules - cd ${S}/pym - insinto /usr/lib/portage/pym - doins xpak.py portage.py - dodir /usr/lib/python2.0/site-packages - dosym ../../portage/pym/xpak.py /usr/lib/python2.0/site-packages/xpak.py - dosym ../../portage/pym/portage.py /usr/lib/python2.0/site-packages/portage.py - - # we gotta compile these modules - # next lines commented out due to "try" issues. This allows people to upgrade who need to upgrade -# try spython -c "import compileall; compileall.compile_dir('${D}/usr/lib/python2.0/site-packages')" -# try spython -O -c "import compileall; compileall.compile_dir('${D}/usr/lib/python2.0/site-packages')" - - #binaries, libraries and scripts - dodir /usr/lib/portage/bin - cd ${S}/bin - exeinto /usr/lib/portage/bin - doexe * - dosym emake /usr/lib/portage/bin/pmake - doexe ${S}/src/tbz2tool - - into /usr/lib/portage - dobin ${S}/src/sandbox/sandbox - dodir /usr/lib/portage/lib - exeinto /usr/lib/portage/lib - doexe ${S}/src/sandbox/libsandbox.so - insinto //usr/lib/portage/lib - doins ${S}/src/sandbox/sandbox.bashrc - #reset into - into /usr - - #symlinks - dodir /usr/bin /usr/sbin - dosym ../lib/portage/bin/emerge /usr/sbin/emerge - dosym ../lib/portage/bin/pkgmerge /usr/sbin/pkgmerge - dosym ../lib/portage/bin/ebuild /usr/sbin/ebuild - dosym ../lib/portage/bin/ebuild.sh /usr/sbin/ebuild.sh - #dosym /usr/lib/portage/bin/portage-maintain /usr/sbin/portage-maintain - dosym ../lib/portage/bin/env-update /usr/sbin/env-update - dosym ../lib/portage/bin/xpak /usr/bin/xpak - dosym ../lib/portage/bin/tbz2tool /usr/bin/tbz2tool - dosym newins /usr/lib/portage/bin/donewins - - doman ${S}/man/*.[15] - dodir /var/tmp - chmod 1777 ${D}/var/tmp - touch ${D}/var/tmp/.keep - if [ "`use build`" ] - then - #convenience; overwrite existing symlink - ln -sf ../usr/portage/profiles/default-1.0_rc6 ${D}/etc/make.profile - fi - dodoc ${S}/ChangeLog -} - -pkg_postinst() { - if [ ! -e ${ROOT}/etc/make.profile ] - then - cd ${ROOT}/etc - ln -s ../usr/portage/profiles/default-1.0_rc6 make.profile - fi - local x - for x in portage xpak - do - if [ -e ${ROOT}/usr/lib/python2.0/${x}.py ] - then - rm ${ROOT}/usr/lib/python2.0/${x}.py - rm ${ROOT}/usr/lib/python2.0/${x}.pyc - fi - done - - #remove possible previous sandbox files that could cause conflicts - if [ -d /usr/lib/sandbox ]; then - if [ -f /etc/ld.so.preload ]; then - mv /etc/ld.so.preload /etc/ld.so.preload_orig - grep -v libsandbox.so /etc/ld.so.preload_orig > /etc/ld.so.preload - rm /etc/ld.so.preload_orig - fi - - rm -f ${ROOT}/usr/lib/portage/bin/ebuild.sh.orig - rm -f ${ROOT}/usr/lib/portage/pym/portage.py.orig - rm -f ${ROOT}/usr/bin/sandbox - rm -rf ${ROOT}/usr/lib/sandbox - fi -} |