summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-06-26 23:20:17 +0000
committerZac Medico <zmedico@gentoo.org>2006-06-26 23:20:17 +0000
commit49b0edb8fedb0cf8987118b6f08259424487a548 (patch)
tree8c4361eb6aabd53e10eb8a82ddb131d11905b755 /sys-apps
parent2.1.1_pre1-r3 revbump (diff)
downloadhistorical-49b0edb8fedb0cf8987118b6f08259424487a548.tar.gz
historical-49b0edb8fedb0cf8987118b6f08259424487a548.tar.bz2
historical-49b0edb8fedb0cf8987118b6f08259424487a548.zip
2.1.1_pre1-r3 revbump
Package-Manager: portage-2.1.1_pre1-r3
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/portage/Manifest41
-rw-r--r--sys-apps/portage/files/digest-portage-2.0.543
-rw-r--r--sys-apps/portage/files/digest-portage-2.1.1_pre1-r19
-rw-r--r--sys-apps/portage/portage-2.0.54.ebuild135
-rw-r--r--sys-apps/portage/portage-2.1.1_pre1-r1.ebuild184
5 files changed, 22 insertions, 350 deletions
diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest
index bcac0b55fa1d..a1fac614c90f 100644
--- a/sys-apps/portage/Manifest
+++ b/sys-apps/portage/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX 05portage.envd 34 RMD160 014194a1786a0983a8ba91c3924b798f353c330d SHA1 2af2c9a7ce535c36749dfe81b6555426225620e2 SHA256 dbe8db19d03b39ad2b7f9f6dfcd24c615a14886b3fe6d5ce4dd88bac27c0e225
MD5 d5d5b818347fd87b290ecb0b17516b34 files/05portage.envd 34
RMD160 014194a1786a0983a8ba91c3924b798f353c330d files/05portage.envd 34
@@ -13,8 +16,8 @@ SHA256 69bea0c755eab59b6b4d90838b8551744f0b0c8eeac170b1cd13a71ee83f9ac4 files/RE
DIST portage-2.0.51.22.tar.bz2 257823 RMD160 068a6fbc3e41f7357d1ee4d65894e7903c467cfe SHA1 16459ce2b19592c94ec580bcfade5a89750a62fb SHA256 f0dac4366b5234b084645bbbd6b871a5abe05d501cf868046af2777e02a4100c
DIST portage-2.0.54.tar.bz2 234784 RMD160 26c724df242a7d0c44d7fd06067bfcdbc4e3556b SHA1 0559bf8068976c124f0026ab65f3f4a62ae39d83 SHA256 69075ab4599958c4f7c7a932b95dcd77efa1b3c46ac28acb577284bc48a1db06
DIST portage-2.1-r1.patch.bz2 12201 RMD160 ceff46c18d8e28f341cc0c1a0c41150733c2dc98 SHA1 0948e3de6cdd8869c9abbb7c8a3ad54e0aebb937 SHA256 78bdf92a43e8d34d090592bcd92779383dbaca9a9295418e4cc9b39f217fbf80
-DIST portage-2.1.1_pre1-r1.patch.bz2 4452 RMD160 3970f09512a98808fbd5c683aa339c3901dbb681 SHA1 2c3f5b0a9b76b76068d641e8da4d9e6f4a2fa257 SHA256 6e6ca45b448e1852cfd2532d804025a6607abc2c2178b5bd7939c3e79e779490
DIST portage-2.1.1_pre1-r2.patch.bz2 28543 RMD160 0070ce2403ba2db4c1910833de5d61e392b060e2 SHA1 ab0bd2c718f2dd5f5c9d72883ffcddd4ad978299 SHA256 53f9852725670c3e5e8602afa2b32882072bfe99a18757ebcbc59caa7db25990
+DIST portage-2.1.1_pre1-r3.patch.bz2 37455 RMD160 ed30d2e90c51e3bd3805649e0ee430b4b7e30f4a SHA1 932893dc624f7839b783cc2a0604be8e66aca6ef SHA256 8c2e31c386144a2b69af9bb42b3bdac0c4efca6a474bef5f479efa05980d02ef
DIST portage-2.1.1_pre1.tar.bz2 277982 RMD160 41fc05479ba8774ad35939b6b5f597e559602f0e SHA1 bd7787676d3db97932867983ab01781cf5f56b78 SHA256 de7d23e15681a6eff9199a505bc9bdf59a5a43d5c51e6223d6296659c1a0cc3e
DIST portage-2.1.tar.bz2 277243 RMD160 e8290e18f0de5935cc263d76e7bce15da5c899d2 SHA1 459f59cc332e6b06d439af2cc18de57969f208d1 SHA256 29560a50df1de053c943582b277beb600c364edfe177d42affc74e98db412ef0
DIST portage-man-pl-2.1-r1.patch.bz2 2076 RMD160 be3898714b94fb0253c1826909649ea51da205ad SHA1 6ec21b29a3eff4a034ea68b4e6a889c8f95dcc3e SHA256 28176c04290478ba4373c28ea047edbdf3a40d3ff69bf92da55d1cfcb828ea5b
@@ -34,30 +37,26 @@ EBUILD portage-2.0.54-r2.ebuild 4251 RMD160 80eeec613d740d8c425947089e408138aa81
MD5 a91dee4334b2e4c2bdf14af13e897311 portage-2.0.54-r2.ebuild 4251
RMD160 80eeec613d740d8c425947089e408138aa81a2e2 portage-2.0.54-r2.ebuild 4251
SHA256 ddda381bac1a0b18913c2316ddc475762afcaae565e3a17280f8c9d2d19fe757 portage-2.0.54-r2.ebuild 4251
-EBUILD portage-2.0.54.ebuild 3891 RMD160 4e64e86813b5bbdfbce76d76a56b5afd2305b2f8 SHA1 e499b0e717d7de8947bca591ecbcf3b71b744853 SHA256 583690c187f8d9c7fdfaf83626cad866492f144104bee7d26f4beb5544f2a429
-MD5 f9c41fcd6a2155552f0cacbe7a62101c portage-2.0.54.ebuild 3891
-RMD160 4e64e86813b5bbdfbce76d76a56b5afd2305b2f8 portage-2.0.54.ebuild 3891
-SHA256 583690c187f8d9c7fdfaf83626cad866492f144104bee7d26f4beb5544f2a429 portage-2.0.54.ebuild 3891
EBUILD portage-2.1-r1.ebuild 7554 RMD160 53a7e8099f8090184600efd525728f5be45d40fb SHA1 4d37a396b707ffbf1b129c241f1dbaac3e26d391 SHA256 843b7f70de101b562173f3e860a622bc54ba8ea406f72603d1f05c26cfb6ea25
MD5 85ccf5b015724fcdb4e6503f6a21e6ce portage-2.1-r1.ebuild 7554
RMD160 53a7e8099f8090184600efd525728f5be45d40fb portage-2.1-r1.ebuild 7554
SHA256 843b7f70de101b562173f3e860a622bc54ba8ea406f72603d1f05c26cfb6ea25 portage-2.1-r1.ebuild 7554
-EBUILD portage-2.1.1_pre1-r1.ebuild 5393 RMD160 ba8fee268f6ea483dd50ca6825e4c72a27e25644 SHA1 bacdaa8d3aa1b9edac94b5b7d2efa4b119ae1980 SHA256 af94398b676eb048c5242a08eddcc88a31f5af1d40b4afdcb3f3a18fc33ac579
-MD5 80980ac7276f82ad05a8f742f77fb549 portage-2.1.1_pre1-r1.ebuild 5393
-RMD160 ba8fee268f6ea483dd50ca6825e4c72a27e25644 portage-2.1.1_pre1-r1.ebuild 5393
-SHA256 af94398b676eb048c5242a08eddcc88a31f5af1d40b4afdcb3f3a18fc33ac579 portage-2.1.1_pre1-r1.ebuild 5393
EBUILD portage-2.1.1_pre1-r2.ebuild 5644 RMD160 d2dd3334b7a642d12da053c66c20da5cc8bd4f5c SHA1 4a5171cb9d6003cbc481bbe47ce673c4259dec8a SHA256 3661a35f30ef5d432d07c0fabb6145416cae17cc846be29e3bd014476e416f05
MD5 cdfe661aeaa0cb765a0e04e82a855e72 portage-2.1.1_pre1-r2.ebuild 5644
RMD160 d2dd3334b7a642d12da053c66c20da5cc8bd4f5c portage-2.1.1_pre1-r2.ebuild 5644
SHA256 3661a35f30ef5d432d07c0fabb6145416cae17cc846be29e3bd014476e416f05 portage-2.1.1_pre1-r2.ebuild 5644
+EBUILD portage-2.1.1_pre1-r3.ebuild 5644 RMD160 e242b0e0d486827b0b9a85d8d368eeeecc4191f2 SHA1 08ac59be9e6246ef4f746bd949839356aa2f0ecb SHA256 02b14c164cc828735f8e642b68046697a1ffc40b10b2ce4ca5ddbdf1329e6dd7
+MD5 0a17ae3ec6ec4634aa257eb9f198f556 portage-2.1.1_pre1-r3.ebuild 5644
+RMD160 e242b0e0d486827b0b9a85d8d368eeeecc4191f2 portage-2.1.1_pre1-r3.ebuild 5644
+SHA256 02b14c164cc828735f8e642b68046697a1ffc40b10b2ce4ca5ddbdf1329e6dd7 portage-2.1.1_pre1-r3.ebuild 5644
EBUILD portage-2.1.ebuild 7248 RMD160 e54df351244bb056247dc870e8cae61f9d4d69c2 SHA1 820a21fbe6b7b1d60987a9bda32df12cd85b76e7 SHA256 93eeb65fc06e62c619785c7ac4dbf8aaf2f2a07d547f7e1d2a860ad1cdce2d13
MD5 34ee3d531b703420790ae14a8dbb5f79 portage-2.1.ebuild 7248
RMD160 e54df351244bb056247dc870e8cae61f9d4d69c2 portage-2.1.ebuild 7248
SHA256 93eeb65fc06e62c619785c7ac4dbf8aaf2f2a07d547f7e1d2a860ad1cdce2d13 portage-2.1.ebuild 7248
-MISC ChangeLog 14412 RMD160 bbfccf373a632ff4a0d60ce3cba046d1f8780b34 SHA1 210c81469d1fb8c7e2c6bca8ba373af263f9aab0 SHA256 ce8847fdd574ecadb8b2bee7080c4a0dc5be832b16af67d8ec52bd9ba03397a8
-MD5 af708465fb4092dc883ef20b1ca30b23 ChangeLog 14412
-RMD160 bbfccf373a632ff4a0d60ce3cba046d1f8780b34 ChangeLog 14412
-SHA256 ce8847fdd574ecadb8b2bee7080c4a0dc5be832b16af67d8ec52bd9ba03397a8 ChangeLog 14412
+MISC ChangeLog 14614 RMD160 25c7410009bbdb29ba0bdec63114578ef8154736 SHA1 55e9973295acc143b7fd6814735e1fa2176dfcaa SHA256 5536745e5630140d4523ec817777685fbe4038fb535045c2c503e45eeb507275
+MD5 8d120dad82a108dcb9f1e65c2dffb216 ChangeLog 14614
+RMD160 25c7410009bbdb29ba0bdec63114578ef8154736 ChangeLog 14614
+SHA256 5536745e5630140d4523ec817777685fbe4038fb535045c2c503e45eeb507275 ChangeLog 14614
MISC metadata.xml 276 RMD160 addc800a374a637032ce56d1a1928542d5c9ef74 SHA1 73bd9b0dacf481b876934c38010be20a91eaf591 SHA256 b57f85b96f11cfb55dc61ac16d743816af60f09660b3f40defa0196d9044f1b7
MD5 dc02eeaf8060043bfa8d483a42696963 metadata.xml 276
RMD160 addc800a374a637032ce56d1a1928542d5c9ef74 metadata.xml 276
@@ -65,9 +64,6 @@ SHA256 b57f85b96f11cfb55dc61ac16d743816af60f09660b3f40defa0196d9044f1b7 metadata
MD5 705737811b9ae5871759cca1a00013d0 files/digest-portage-2.0.51.22-r3 256
RMD160 1bab4fc9bf2e3d805e696a68704ea119671f0474 files/digest-portage-2.0.51.22-r3 256
SHA256 ffe8e80d9f9a07f59b1ec992dc0e0c20aee41408302d64ffa0e2ef72deaf1686 files/digest-portage-2.0.51.22-r3 256
-MD5 9e5bd07f71a62b11c8d1f5c128a5c220 files/digest-portage-2.0.54 247
-RMD160 a2154fa14f7806c5aeee80b2533632aa6e985cb9 files/digest-portage-2.0.54 247
-SHA256 3e6241c64444dedca714fe8d09557fabd11d4212dd9baf22251f197c7651908c files/digest-portage-2.0.54 247
MD5 5c917f224be67cca41a62284c21f5877 files/digest-portage-2.0.54-r1 518
RMD160 55e93cf68ff50faba851c5e938ad7b1baf515372 files/digest-portage-2.0.54-r1 518
SHA256 eed2cd362ddd79b3068eb40cb11e65917eb4b1ae1590f92c303b6b784bf2fc65 files/digest-portage-2.0.54-r1 518
@@ -80,9 +76,16 @@ SHA256 998fe70d318d97ec7c596b0ab72151080acb5a41fe03ed92ad77e5eb2f511545 files/di
MD5 5a9aac645d5a2bdb9d987f45813d495a files/digest-portage-2.1-r1 1012
RMD160 ae625221b6669b5f4f1aef277b2a8ea3ae70e1ae files/digest-portage-2.1-r1 1012
SHA256 9f002b314a87d8dfad176863f83c6963acec51093a45494201b53e9c0cf87cd8 files/digest-portage-2.1-r1 1012
-MD5 724735f60f36cd6a5e6afa30041703e5 files/digest-portage-2.1.1_pre1-r1 783
-RMD160 dcb17c4c2b88db10a358be333e22e8e8376e93af files/digest-portage-2.1.1_pre1-r1 783
-SHA256 bee2bb6462c1fcbbc5850c4f53fea19888cd4a819225e6fb8ebd56f03555203f files/digest-portage-2.1.1_pre1-r1 783
MD5 ee378755043ca7f32e9d4bcc3808ecfe files/digest-portage-2.1.1_pre1-r2 1054
RMD160 92bb8c4c4df24f07b6dc9789c08bc71bd80a6048 files/digest-portage-2.1.1_pre1-r2 1054
SHA256 7c19b83520d83f0121c07343cdb9ea0a46de2606a5f55df361bfc16a6b448dfa files/digest-portage-2.1.1_pre1-r2 1054
+MD5 b793c4bdfbc2685627d7cad4e3e81413 files/digest-portage-2.1.1_pre1-r3 1054
+RMD160 19a5b1fb0d9dccf5f2f3ba52ab422b9fcb783d47 files/digest-portage-2.1.1_pre1-r3 1054
+SHA256 f99dc463d99fc08a4eda80045583351189d0227217f17d7da8ac3fe39fb22fe0 files/digest-portage-2.1.1_pre1-r3 1054
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.3 (GNU/Linux)
+
+iD8DBQFEoGu7/ejvha5XGaMRAkSeAKDBK72V3WbdHOUWAwB+fEo57vNTcACg7SWX
+XtCVhdZ4ZPrey37wnmilWo8=
+=cgvv
+-----END PGP SIGNATURE-----
diff --git a/sys-apps/portage/files/digest-portage-2.0.54 b/sys-apps/portage/files/digest-portage-2.0.54
deleted file mode 100644
index 570b55c71ddd..000000000000
--- a/sys-apps/portage/files/digest-portage-2.0.54
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 951bf8403b0827d0da18610104cf2ec2 portage-2.0.54.tar.bz2 234784
-RMD160 26c724df242a7d0c44d7fd06067bfcdbc4e3556b portage-2.0.54.tar.bz2 234784
-SHA256 69075ab4599958c4f7c7a932b95dcd77efa1b3c46ac28acb577284bc48a1db06 portage-2.0.54.tar.bz2 234784
diff --git a/sys-apps/portage/files/digest-portage-2.1.1_pre1-r1 b/sys-apps/portage/files/digest-portage-2.1.1_pre1-r1
deleted file mode 100644
index 5af56726fa7d..000000000000
--- a/sys-apps/portage/files/digest-portage-2.1.1_pre1-r1
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 2a040e7312a8bd9393f31cec21859324 portage-2.1.1_pre1-r1.patch.bz2 4452
-RMD160 3970f09512a98808fbd5c683aa339c3901dbb681 portage-2.1.1_pre1-r1.patch.bz2 4452
-SHA256 6e6ca45b448e1852cfd2532d804025a6607abc2c2178b5bd7939c3e79e779490 portage-2.1.1_pre1-r1.patch.bz2 4452
-MD5 3dc4fb1d5bc1aac640b579e82db58dfd portage-2.1.1_pre1.tar.bz2 277982
-RMD160 41fc05479ba8774ad35939b6b5f597e559602f0e portage-2.1.1_pre1.tar.bz2 277982
-SHA256 de7d23e15681a6eff9199a505bc9bdf59a5a43d5c51e6223d6296659c1a0cc3e portage-2.1.1_pre1.tar.bz2 277982
-MD5 3a1c6f874490e12965812fa0920c539f portage-man-pl-2.1.tar.bz2 52425
-RMD160 5fdb898b94b0c6bb23234f0903572675f653ff44 portage-man-pl-2.1.tar.bz2 52425
-SHA256 7e01f6c9c567f81d8e81dfdc26cf04b8d1f9f375090641cb80580986f8ac4817 portage-man-pl-2.1.tar.bz2 52425
diff --git a/sys-apps/portage/portage-2.0.54.ebuild b/sys-apps/portage/portage-2.0.54.ebuild
deleted file mode 100644
index 6c3db9251d90..000000000000
--- a/sys-apps/portage/portage-2.0.54.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.0.54.ebuild,v 1.15 2006/04/16 20:10:26 blubb Exp $
-
-inherit toolchain-funcs
-
-DESCRIPTION="The Portage Package Management System. The primary package management and distribution system for Gentoo."
-HOMEPAGE="http://www.gentoo.org/"
-SRC_URI="mirror://gentoo/${PN}-${PV}.tar.bz2 http://dev.gentoo.org/~jstubbs/releases/${PN}-${PV}.tar.bz2"
-LICENSE="GPL-2"
-
-KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ~ppc-macos ppc64 s390 sh sparc x86"
-
-SLOT="0"
-IUSE="build doc selinux"
-DEPEND=">=dev-lang/python-2.2.1"
-RDEPEND="!build? ( >=sys-apps/sed-4.0.5 dev-python/python-fchksum >=dev-lang/python-2.3 userland_GNU? ( sys-apps/debianutils ) >=app-shells/bash-2.05a ) !userland_Darwin? ( app-misc/pax-utils sys-apps/sandbox ) selinux? ( >=dev-python/python-selinux-2.15 ) doc? ( app-portage/portage-manpages )"
-PROVIDE="virtual/portage"
-
-S=${WORKDIR}/${PN}-${PV}
-
-portage_docs() {
- einfo ""
- einfo "For help with using portage please consult the Gentoo Handbook"
- einfo "at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3"
- einfo ""
-}
-
-src_unpack() {
- unpack ${A}
-}
-
-src_compile() {
- python -O -c "import compileall; compileall.compile_dir('${S}/pym')"
-
- cd "${S}"/src
- $(tc-getCC) ${CFLAGS} -o tbz2tool tbz2tool.c
-
- if ! use userland_Darwin; then
- cd "${S}"/src/python-missingos
- chmod +x setup.py
- ./setup.py build || die "Failed to build missingos module"
- fi
-
- if use elibc_FreeBSD; then
- cd "${S}"/src/bsd-flags
- chmod +x setup.py
- ./setup.py build || die "Failed to install bsd-chflags module"
- fi
-}
-
-src_install() {
- cd "${S}"/cnf
- insinto /etc
- doins etc-update.conf dispatch-conf.conf make.globals
- if [ -f "make.conf.${ARCH}" ]; then
- newins make.conf.${ARCH} make.conf.example
- else
- eerror ""
- eerror "Portage does not have an arch-specific configuration for this arch."
- eerror "Please notify the arch maintainer about this issue. Using generic."
- eerror ""
- newins make.conf make.conf.example
- fi
-
- if ! use userland_Darwin; then
- cd "${S}"/src/python-missingos
- ./setup.py install --root ${D} || die "Failed to install missingos module"
- fi
-
- if use elibc_FreeBSD; then
- cd "${S}"/src/bsd-flags
- ./setup.py install --root ${D} || die "Failed to install bsd-chflags module"
- fi
-
- dodir /usr/lib/portage/bin
- exeinto /usr/lib/portage/bin
- cd "${S}"/bin
- doexe *
- doexe "${S}"/src/tbz2tool
- dosym newins /usr/lib/portage/bin/donewins
-
- dodir /usr/lib/portage/pym
- insinto /usr/lib/portage/pym
- cd "${S}"/pym
- doins *
-
- doman "${S}"/man/*.[0-9]
- dodoc "${S}"/ChangeLog
-
- dodir /usr/bin
- for x in ebuild emerge portageq repoman tbz2tool xpak; do
- dosym ../lib/portage/bin/${x} /usr/bin/${x}
- done
-
- dodir /usr/sbin
- for x in archive-conf dispatch-conf emaint emerge-webrsync env-update etc-update fixpackages quickpkg regenworld; do
- dosym ../lib/portage/bin/${x} /usr/sbin/${x}
- done
-
- dodir /etc/portage
- keepdir /etc/portage
-
- doenvd ${FILESDIR}/05portage.envd
-}
-
-pkg_preinst() {
- if has livecvsportage ${FEATURES} && [ "${ROOT}" = "/" ]; then
- rm -rf ${IMAGE}/usr/lib/portage/pym/*
- mv ${IMAGE}/usr/lib/portage/bin/tbz2tool ${T}
- rm -rf ${IMAGE}/usr/lib/portage/bin/*
- mv ${T}/tbz2tool ${IMAGE}/usr/lib/portage/bin/
- else
- rm /usr/lib/portage/pym/*.pyc >& /dev/null
- rm /usr/lib/portage/pym/*.pyo >& /dev/null
- fi
-}
-
-pkg_postinst() {
- local x
-
- if [ ! -f "${ROOT}/var/lib/portage/world" ] &&
- [ -f ${ROOT}/var/cache/edb/world ] &&
- [ ! -h ${ROOT}/var/cache/edb/world ]; then
- mv ${ROOT}/var/cache/edb/world ${ROOT}/var/lib/portage/world
- ln -s ../../lib/portage/world /var/cache/edb/world
- fi
-
- for x in ${ROOT}etc/._cfg????_make.globals; do
- # Overwrite the globals file automatically.
- [ -e "${x}" ] && mv -f "${x}" "${ROOT}etc/make.globals"
- done
-
- portage_docs
-}
diff --git a/sys-apps/portage/portage-2.1.1_pre1-r1.ebuild b/sys-apps/portage/portage-2.1.1_pre1-r1.ebuild
deleted file mode 100644
index 01445a392c2a..000000000000
--- a/sys-apps/portage/portage-2.1.1_pre1-r1.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.1_pre1-r1.ebuild,v 1.1 2006/06/18 04:36:01 zmedico Exp $
-
-inherit toolchain-funcs eutils
-
-DESCRIPTION="The Portage Package Management System. The primary package management and distribution system for Gentoo."
-HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-PROVIDE="virtual/portage"
-SLOT="0"
-# USE_EXPAND_HIDDEN hides ELIBC and USERLAND expansions from emerge output (see make.conf.5).
-IUSE_ELIBC="elibc_glibc elibc_uclibc elibc_FreeBSD"
-IUSE_USERLAND="userland_Darwin userland_GNU"
-IUSE="build doc selinux linguas_pl ${IUSE_ELIBC} ${IUSE_USERLAND}"
-DEPEND=">=dev-lang/python-2.3
- !build? ( >=sys-apps/sed-4.0.5 )"
-RDEPEND=">=dev-lang/python-2.3
- !build? ( >=sys-apps/sed-4.0.5
- dev-python/python-fchksum
- userland_GNU? ( sys-apps/debianutils )
- !userland_Darwin? ( >=app-shells/bash-3.0 )
- userland_Darwin? ( >=app-shells/bash-2.05a ) )
- elibc_glibc? ( sys-apps/sandbox )
- elibc_uclibc? ( sys-apps/sandbox )
- !userland_Darwin? ( >=app-misc/pax-utils-0.1.13 )
- selinux? ( >=dev-python/python-selinux-2.16 )
- doc? ( app-portage/portage-manpages )
- >=dev-python/pycrypto-2.0.1-r5"
-SRC_ARCHIVES="http://dev.gentoo.org/~zmedico/portage/archives"
-PV_PL="2.1"
-SRC_URI="mirror://gentoo/${PN}-${PV}.tar.bz2
- ${SRC_ARCHIVES}/${PN}-${PV}.tar.bz2
- linguas_pl? ( mirror://gentoo/${PN}-man-pl-${PV_PL}.tar.bz2
- ${SRC_ARCHIVES}/${PN}-man-pl-${PV_PL}.tar.bz2 )"
-
-if [ "${PR}" != "r0" ]; then
- PATCHVER="-${PR}"
- SRC_URI="${SRC_URI} mirror://gentoo/${PN}-${PV}${PATCHVER}.patch.bz2"
-fi
-
-S="${WORKDIR}"/${PN}-${PV}
-S_PL="${WORKDIR}"/${PN}-${PV_PL}
-
-portage_docs() {
- einfo ""
- einfo "For help with using portage please consult the Gentoo Handbook"
- einfo "at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3"
- einfo ""
-}
-
-src_unpack() {
- unpack ${A}
- if [ "${PR}" != "r0" ]; then
- cd "${S}"
- epatch "${WORKDIR}/${PN}-${PV}${PATCHVER}.patch"
- einfo "Setting portage.VERSION to ${PVR} ..."
- sed -i "s/^VERSION=.*/VERSION=\"${PVR}\"/" pym/portage.py || \
- die "Failed to patch portage.VERSION"
- eend 0
- fi
-}
-
-src_compile() {
- cd "${S}"/src
- $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o tbz2tool tbz2tool.c || \
- die "Failed to build tbz2tool"
-
- if use elibc_FreeBSD; then
- cd "${S}"/src/bsd-flags
- chmod +x setup.py
- ./setup.py build || die "Failed to install bsd-chflags module"
- fi
-}
-
-src_install() {
- local portage_base="/usr/lib/portage"
- cd "${S}"/cnf
- insinto /etc
- doins etc-update.conf dispatch-conf.conf make.globals
- if [ -f "make.conf.${ARCH}".diff ]; then
- patch make.conf "make.conf.${ARCH}".diff || \
- die "Failed to patch make.conf.example"
- newins make.conf make.conf.example
- else
- eerror ""
- eerror "Portage does not have an arch-specific configuration for this arch."
- eerror "Please notify the arch maintainer about this issue. Using generic."
- eerror ""
- newins make.conf make.conf.example
- fi
-
- if use elibc_FreeBSD; then
- cd "${S}"/src/bsd-flags
- ./setup.py install --root "${D}" || \
- die "Failed to install bsd-chflags module"
- fi
-
- dodir ${portage_base}/bin
- exeinto ${portage_base}/bin
- # BSD and OSX need a sed wrapper so that find/xargs work properly
- if use userland_GNU; then
- rm "${S}"/bin/sed || die "Failed to remove sed wrapper"
- fi
- cd "${S}"/bin
- doexe *
- doexe "${S}"/src/tbz2tool
- dosym newins ${portage_base}/bin/donewins
-
- for mydir in pym pym/cache pym/elog_modules; do
- dodir ${portage_base}/${mydir}
- insinto ${portage_base}/${mydir}
- cd "${S}"/${mydir}
- doins *.py
- done
-
- doman "${S}"/man/*.[0-9]
- if use linguas_pl; then
- doman -i18n=pl "${S_PL}"/man/pl/*.[0-9]
- doman -i18n=pl_PL.UTF-8 "${S_PL}"/man/pl_PL.UTF-8/*.[0-9]
- fi
- dodoc "${S}"/ChangeLog
- dodoc "${S}"/NEWS
- dodoc "${S}"/RELEASE-NOTES
-
- dodir /usr/bin
- for x in ebuild emerge portageq repoman tbz2tool xpak; do
- dosym ../lib/portage/bin/${x} /usr/bin/${x}
- done
-
- dodir /usr/sbin
- local my_syms="archive-conf
- dispatch-conf
- emaint
- emerge-webrsync
- env-update
- etc-update
- fixpackages
- quickpkg
- regenworld"
- local x
- for x in ${my_syms}; do
- dosym ../lib/portage/bin/${x} /usr/sbin/${x}
- done
-
- dodir /etc/portage
- keepdir /etc/portage
-
- doenvd "${FILESDIR}"/05portage.envd
-}
-
-pkg_preinst() {
- local portage_base="/usr/lib/portage"
- if has livecvsportage ${FEATURES} && [ "${ROOT}" = "/" ]; then
- rm -rf "${IMAGE}"/${portage_base}/pym/*
- mv "${IMAGE}"/${portage_base}/bin/tbz2tool "${T}"
- rm -rf "${IMAGE}"/${portage_base}/bin/*
- mv "${T}"/tbz2tool "${IMAGE}"/${portage_base}/bin/
- else
- for mydir in pym pym/cache pym/elog_modules; do
- rm "${ROOT}"/${portage_base}/${mydir}/*.pyc >& /dev/null
- rm "${ROOT}"/${portage_base}/${mydir}/*.pyo >& /dev/null
- done
- fi
-}
-
-pkg_postinst() {
- local x
-
- if [ ! -f "${ROOT}/var/lib/portage/world" ] &&
- [ -f "${ROOT}"/var/cache/edb/world ] &&
- [ ! -h "${ROOT}"/var/cache/edb/world ]; then
- mv "${ROOT}"/var/cache/edb/world "${ROOT}"/var/lib/portage/world
- ln -s ../../lib/portage/world /var/cache/edb/world
- fi
-
- for x in "${ROOT}"/etc/._cfg????_make.globals; do
- # Overwrite the globals file automatically.
- [ -e "${x}" ] && mv -f "${x}" "${ROOT}etc/make.globals"
- done
-
- portage_docs
-}