summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-01-31 06:57:18 +0000
committerZac Medico <zmedico@gentoo.org>2007-01-31 06:57:18 +0000
commit8b33d3e47aff39ce520ced8a4a50c39d52bf1d25 (patch)
tree305488b8023ca5ab1ea44bac5a28ce496e9206be /sys-apps
parentRevision bump to address failure to install sources when flag is used per bug... (diff)
downloadhistorical-8b33d3e47aff39ce520ced8a4a50c39d52bf1d25.tar.gz
historical-8b33d3e47aff39ce520ced8a4a50c39d52bf1d25.tar.bz2
historical-8b33d3e47aff39ce520ced8a4a50c39d52bf1d25.zip
Punt old versions.
Package-Manager: portage-2.1.2-r5
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/portage/Manifest30
-rw-r--r--sys-apps/portage/files/digest-portage-2.1-r29
-rw-r--r--sys-apps/portage/files/digest-portage-2.1.1-r112
-rw-r--r--sys-apps/portage/files/digest-portage-2.1.2-r49
-rw-r--r--sys-apps/portage/portage-2.1-r2.ebuild215
-rw-r--r--sys-apps/portage/portage-2.1.1-r1.ebuild208
-rw-r--r--sys-apps/portage/portage-2.1.2-r4.ebuild225
7 files changed, 3 insertions, 705 deletions
diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest
index 3ee759ada28e..061ae5e6eed9 100644
--- a/sys-apps/portage/Manifest
+++ b/sys-apps/portage/Manifest
@@ -14,11 +14,8 @@ MD5 c906e2e6782e197725b70f84cfe112a4 files/README.RESCUE 137
RMD160 b8d015f266501fd1f57c91899c6815de9f9d5685 files/README.RESCUE 137
SHA256 69bea0c755eab59b6b4d90838b8551744f0b0c8eeac170b1cd13a71ee83f9ac4 files/README.RESCUE 137
DIST portage-2.0.51.22.tar.bz2 257823 RMD160 068a6fbc3e41f7357d1ee4d65894e7903c467cfe SHA1 16459ce2b19592c94ec580bcfade5a89750a62fb SHA256 f0dac4366b5234b084645bbbd6b871a5abe05d501cf868046af2777e02a4100c
-DIST portage-2.1-r2.tar.bz2 280469 RMD160 2507c4e2db3fdf1157e44430b449f618e99f5d57 SHA1 06ec20f96618271c7835ce505d4979b8f7914067 SHA256 854c61dd0232cca50d9bb9a3e9e13f22589b76029ea7eeacab2bc5d4ec7e48cc
-DIST portage-2.1.1-r1.patch.bz2 4200 RMD160 e8c003983b1711e296774025f12f01463ed5e4d9 SHA1 9471d5412ef205e452dac985da3871346800c1cc SHA256 eee5bcc98558ca5300fa1f8dc37135c6ff73f4cd52b985218a30846176ad53f1
DIST portage-2.1.1-r2.patch.bz2 5263 RMD160 6b749c6700784ea1ecc615b7b3ed39eade28e489 SHA1 4eaedfedf867346d67744d95d5cb3ad5b0da4417 SHA256 4d2bc33b66c6354f008d798507137a347e35ef7448a10ef17e5108160acb0414
DIST portage-2.1.1.tar.bz2 297006 RMD160 489e6c3e82527917f5308fdbff1c9add1a03f254 SHA1 6fdcb9897cef7f48d98829ab96caf37e31bd14a2 SHA256 3a5da4bb41ca8495f2673178f120622d8d923d8117b8744921418af5843c0389
-DIST portage-2.1.2-r4.patch.bz2 11308 RMD160 708dd1c9109f11e9f5dd46f9c2f1ed5590bce15a SHA1 dab05e5f453854912260ea77b1279786e6eeb36e SHA256 3966b84883512fdcabe6ccf4cdb6b990c6f7d436464ec7512d29e1e1c8319b1d
DIST portage-2.1.2-r5.patch.bz2 13738 RMD160 e118d07177007ab88e00d308c46df83c50d05036 SHA1 549a07354519aba39b399186e71ee99aaa012478 SHA256 7a132ffe4ffbe82be5b82a3262210af0a64412adb272459794111e8a50414c37
DIST portage-2.1.2.tar.bz2 311900 RMD160 75da869c02e3574babc2f40e07b18686f384cf99 SHA1 72980508e881d837e78b9309d53dba62ef76c247 SHA256 767e2756e51fbbff5a4fd33e3cec5ad83cf6eaad0fa0fa7c35ad07dbda11a008
DIST portage-man-pl-2.1-r1.patch.bz2 2076 RMD160 be3898714b94fb0253c1826909649ea51da205ad SHA1 6ec21b29a3eff4a034ea68b4e6a889c8f95dcc3e SHA256 28176c04290478ba4373c28ea047edbdf3a40d3ff69bf92da55d1cfcb828ea5b
@@ -28,22 +25,10 @@ EBUILD portage-2.0.51.22-r3.ebuild 5755 RMD160 9c11b6afd5f874832151338107383761c
MD5 460a97dfbe68ca47d24d1416b32271a8 portage-2.0.51.22-r3.ebuild 5755
RMD160 9c11b6afd5f874832151338107383761ca3320be portage-2.0.51.22-r3.ebuild 5755
SHA256 db3df1d62f4b301c038b5019325a59f81fa73331fc7b24bf246f86ef5950fbc0 portage-2.0.51.22-r3.ebuild 5755
-EBUILD portage-2.1-r2.ebuild 7095 RMD160 64e6ca8f785f257526fba2209738a60abd8727d0 SHA1 09095f944dc9f6d52715f4fb29ecd5c48df82a10 SHA256 74bcfc61436bb7312baec85aa3e3a1927258677f02bde909ead47bd0e56232ed
-MD5 83bb290dbbbaf30dfd9eba52853b0c15 portage-2.1-r2.ebuild 7095
-RMD160 64e6ca8f785f257526fba2209738a60abd8727d0 portage-2.1-r2.ebuild 7095
-SHA256 74bcfc61436bb7312baec85aa3e3a1927258677f02bde909ead47bd0e56232ed portage-2.1-r2.ebuild 7095
-EBUILD portage-2.1.1-r1.ebuild 6246 RMD160 d048ba9a65f09967e5d7296aebabf26779eadde4 SHA1 5b6f876f25898fbb2283a59d93da5a538b72a477 SHA256 22bbaf55f8bdce9a04576932a4b1c7eb78afc29a63d466347e5ab33de4f7e11f
-MD5 cc83b6f39e2ef5508e2610f128bcd1c0 portage-2.1.1-r1.ebuild 6246
-RMD160 d048ba9a65f09967e5d7296aebabf26779eadde4 portage-2.1.1-r1.ebuild 6246
-SHA256 22bbaf55f8bdce9a04576932a4b1c7eb78afc29a63d466347e5ab33de4f7e11f portage-2.1.1-r1.ebuild 6246
EBUILD portage-2.1.1-r2.ebuild 7230 RMD160 5511aed85ca200fc1d8429578b69f5bdd5862602 SHA1 b2d64f247bd2ea26ad0cf2c43ececa8c57b7c0a0 SHA256 1f5f3a9f58f62acc2adb3d61ef5e574bc114cbad6d6acd598b82b78071271ee6
MD5 0c9d6a4a1e21df4128b7dfb51d4eba97 portage-2.1.1-r2.ebuild 7230
RMD160 5511aed85ca200fc1d8429578b69f5bdd5862602 portage-2.1.1-r2.ebuild 7230
SHA256 1f5f3a9f58f62acc2adb3d61ef5e574bc114cbad6d6acd598b82b78071271ee6 portage-2.1.1-r2.ebuild 7230
-EBUILD portage-2.1.2-r4.ebuild 6794 RMD160 9b7df7fd0d3c48d87c7eeaf98cd80c57c11d958f SHA1 d3bbd00c7038c8209701406f87f7a29cc96a13e0 SHA256 87b6ff274748ed9adb7e2fe20bfc826b6767963b3a629bcd9cace02f3c387535
-MD5 76f9ec684c2a298fd14667a6bb650c73 portage-2.1.2-r4.ebuild 6794
-RMD160 9b7df7fd0d3c48d87c7eeaf98cd80c57c11d958f portage-2.1.2-r4.ebuild 6794
-SHA256 87b6ff274748ed9adb7e2fe20bfc826b6767963b3a629bcd9cace02f3c387535 portage-2.1.2-r4.ebuild 6794
EBUILD portage-2.1.2-r5.ebuild 6794 RMD160 d347db6c9bba3c82cdfc68a41ba14b3d2dac517f SHA1 98d212a7f971d53a83fb445982806d736d9f0648 SHA256 b86994f3adb9e0f50b89f75eeeee3669a329f541482f7dd8fb67e0139f36f3fb
MD5 c8826e8ea8dcda10d5f8dec63bda26f2 portage-2.1.2-r5.ebuild 6794
RMD160 d347db6c9bba3c82cdfc68a41ba14b3d2dac517f portage-2.1.2-r5.ebuild 6794
@@ -59,25 +44,16 @@ SHA256 27d358e2646578efe2f2050052d739b641e49325565ec9cab345030420505d46 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 de7e755113f65dd715d1660e1fb0da21 files/digest-portage-2.1-r2 771
-RMD160 0579c77c3080d58fc96b4087ab593fb0ea8f24c6 files/digest-portage-2.1-r2 771
-SHA256 96af979679274f1696e26b58a1347812f388963a675147aa03bc7acd65a659b5 files/digest-portage-2.1-r2 771
-MD5 84cc321543f8146e88db8ed6060d554f files/digest-portage-2.1.1-r1 1021
-RMD160 6b1ee9d511161b46d6b844985a27a9e57fd48898 files/digest-portage-2.1.1-r1 1021
-SHA256 21f118dacba4951bac7c5e575c03cc09ead96ecaf45892cb963bba2fcd3d1d6d files/digest-portage-2.1.1-r1 1021
MD5 3add5888d02ad00946eb670f1d6eff5c files/digest-portage-2.1.1-r2 1021
RMD160 082589ba69cde6b349a156722316ba10bdcfe0cd files/digest-portage-2.1.1-r2 1021
SHA256 1dbfd88dcf8f81cff40287b480099fe80fd5e0a9f0b153e23d7706446c01be22 files/digest-portage-2.1.1-r2 1021
-MD5 52f71d0a2f28f9f89efd6f3518a4366b files/digest-portage-2.1.2-r4 762
-RMD160 19588fbda72e0d51680cb78add935f99099022fa files/digest-portage-2.1.2-r4 762
-SHA256 71d1985fb140c7d3868a886d3609c47a43356d3e4e501535cc2bd0d9151dbc04 files/digest-portage-2.1.2-r4 762
MD5 b4fab0025677257d932ea13742b51749 files/digest-portage-2.1.2-r5 762
RMD160 134279ba2d0847e0e665ce6898f57ddb195d9abc files/digest-portage-2.1.2-r5 762
SHA256 b1ab67ac8a5ca9d7e6ebad72300875f4ebfa1fca4adc71eda392b470be311138 files/digest-portage-2.1.2-r5 762
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (GNU/Linux)
-iD8DBQFFvWgG/ejvha5XGaMRAmWNAJ0a+g84iyNKJcjJ8Y1zHgLRBNH00QCgzFZd
-7u5olZJBfCGVq43+hXNpQGg=
-=GcaS
+iD8DBQFFwD3S/ejvha5XGaMRAoZVAKDR72rUvs7Mz+WDq2jTKj5KHN3YbACgm7K8
+Y+RCIzF/VyKXDMyCHCmhqME=
+=SUeU
-----END PGP SIGNATURE-----
diff --git a/sys-apps/portage/files/digest-portage-2.1-r2 b/sys-apps/portage/files/digest-portage-2.1-r2
deleted file mode 100644
index 80d8ca99b714..000000000000
--- a/sys-apps/portage/files/digest-portage-2.1-r2
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 21e4482dd15cc8437ced22f7718337ad portage-2.1-r2.tar.bz2 280469
-RMD160 2507c4e2db3fdf1157e44430b449f618e99f5d57 portage-2.1-r2.tar.bz2 280469
-SHA256 854c61dd0232cca50d9bb9a3e9e13f22589b76029ea7eeacab2bc5d4ec7e48cc portage-2.1-r2.tar.bz2 280469
-MD5 c6fe647803cc354a5b8ab22660caeb26 portage-man-pl-2.1-r1.patch.bz2 2076
-RMD160 be3898714b94fb0253c1826909649ea51da205ad portage-man-pl-2.1-r1.patch.bz2 2076
-SHA256 28176c04290478ba4373c28ea047edbdf3a40d3ff69bf92da55d1cfcb828ea5b portage-man-pl-2.1-r1.patch.bz2 2076
-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/files/digest-portage-2.1.1-r1 b/sys-apps/portage/files/digest-portage-2.1.1-r1
deleted file mode 100644
index 54b574e3f730..000000000000
--- a/sys-apps/portage/files/digest-portage-2.1.1-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-MD5 198f673f96c3e90b8600647d9bdd30b0 portage-2.1.1-r1.patch.bz2 4200
-RMD160 e8c003983b1711e296774025f12f01463ed5e4d9 portage-2.1.1-r1.patch.bz2 4200
-SHA256 eee5bcc98558ca5300fa1f8dc37135c6ff73f4cd52b985218a30846176ad53f1 portage-2.1.1-r1.patch.bz2 4200
-MD5 5afb06072243013945e8e5bf91ef507f portage-2.1.1.tar.bz2 297006
-RMD160 489e6c3e82527917f5308fdbff1c9add1a03f254 portage-2.1.1.tar.bz2 297006
-SHA256 3a5da4bb41ca8495f2673178f120622d8d923d8117b8744921418af5843c0389 portage-2.1.1.tar.bz2 297006
-MD5 c6fe647803cc354a5b8ab22660caeb26 portage-man-pl-2.1-r1.patch.bz2 2076
-RMD160 be3898714b94fb0253c1826909649ea51da205ad portage-man-pl-2.1-r1.patch.bz2 2076
-SHA256 28176c04290478ba4373c28ea047edbdf3a40d3ff69bf92da55d1cfcb828ea5b portage-man-pl-2.1-r1.patch.bz2 2076
-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/files/digest-portage-2.1.2-r4 b/sys-apps/portage/files/digest-portage-2.1.2-r4
deleted file mode 100644
index 0ed9124bac2a..000000000000
--- a/sys-apps/portage/files/digest-portage-2.1.2-r4
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 7c6ca25367bb128aead7436a913ee56e portage-2.1.2-r4.patch.bz2 11308
-RMD160 708dd1c9109f11e9f5dd46f9c2f1ed5590bce15a portage-2.1.2-r4.patch.bz2 11308
-SHA256 3966b84883512fdcabe6ccf4cdb6b990c6f7d436464ec7512d29e1e1c8319b1d portage-2.1.2-r4.patch.bz2 11308
-MD5 74c705793edb37ac2fb1d3b2e06c689d portage-2.1.2.tar.bz2 311900
-RMD160 75da869c02e3574babc2f40e07b18686f384cf99 portage-2.1.2.tar.bz2 311900
-SHA256 767e2756e51fbbff5a4fd33e3cec5ad83cf6eaad0fa0fa7c35ad07dbda11a008 portage-2.1.2.tar.bz2 311900
-MD5 6409f79dd5efe7922dd8fa36340c4912 portage-man-pl-2.1.2.tar.bz2 53893
-RMD160 46c3656b40bf4ad2530ab2b5fbc563708b86748c portage-man-pl-2.1.2.tar.bz2 53893
-SHA256 960eaa7c6f3a2af44bdc665266a8e884628a562373cc477d301597ecc5ef961f portage-man-pl-2.1.2.tar.bz2 53893
diff --git a/sys-apps/portage/portage-2.1-r2.ebuild b/sys-apps/portage/portage-2.1-r2.ebuild
deleted file mode 100644
index e258a15360c9..000000000000
--- a/sys-apps/portage/portage-2.1-r2.ebuild
+++ /dev/null
@@ -1,215 +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-r2.ebuild,v 1.11 2006/11/02 23:59:06 zmedico Exp $
-
-inherit toolchain-funcs eutils flag-o-matic
-
-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_Darwin? ( >=app-shells/bash-3.0 ) )
- elibc_glibc? ( >=sys-apps/sandbox-1.2.17 )
- elibc_uclibc? ( >=sys-apps/sandbox-1.2.17 )
- !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"
-PATCHVER_PL="-r1"
-SRC_URI="mirror://gentoo/${PF}.tar.bz2
- ${SRC_ARCHIVES}/${PF}.tar.bz2
- linguas_pl? ( mirror://gentoo/${PN}-man-pl-${PV_PL}.tar.bz2
- ${SRC_ARCHIVES}/${PN}-man-pl-${PV_PL}.tar.bz2 )"
-
-if [ -n "${PATCHVER_PL}" ]; then
- SRC_URI="${SRC_URI} linguas_pl? ( mirror://gentoo/${PN}-man-pl-${PV_PL}${PATCHVER_PL}.patch.bz2
- ${SRC_ARCHIVES}/${PN}-man-pl-${PV_PL}${PATCHVER_PL}.patch.bz2 )"
-fi
-
-S="${WORKDIR}"/${PF}
-S_PL="${WORKDIR}"/${PN}-${PV_PL}
-
-portage_docs() {
- elog ""
- elog "For help with using portage please consult the Gentoo Handbook"
- elog "at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3"
- elog ""
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- use linguas_pl && \
- epatch "${WORKDIR}/${PN}-man-pl-${PV_PL}${PATCHVER_PL}.patch"
-}
-
-src_compile() {
- append-lfs-flags
-
- 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
-
- ewarn "Portage 2.1 contains a completely rewritten caching framework."
- ewarn "If you are using any cache modules from portage-2.0.x (such as"
- ewarn "the CDB cache module), portage will not work until they have"
- ewarn "been disabled via /etc/portage/modules."
- echo
- elog "The default cache format has changed between 2.0.x and 2.1"
- elog "versions. If you have upgraded from 2.0.x, before using"
- elog "emerge, run \`emerge --metadata\` to restore portage's local"
- elog "cache."
- echo
- elog "With the new metadata_overlay cache module, it is possible to"
- elog "disable FEATURES=\"metadata-transfer\" (see make.conf.5)."
- elog "When this module is used, eclasses in \${PORTDIR} must never"
- elog "be modified by the user because portage will not be able to"
- elog "detect that cache regeneration is necessary."
- elog "When metadata_overlay is initially enabled by setting"
- elog "portdbapi.auxdbmodule = cache.metadata_overlay.database"
- elog "in /etc/portage/modules, the user must completely remove"
- elog "/var/cache/edb/dep/\${PORTDIR} in order to avoid unecessary"
- elog "cache regeneration."
- echo
- elog "Flag ordering has changed for \`emerge --pretend --verbose\`."
- elog "Add EMERGE_DEFAULT_OPTS=\"--alphabetical\" to /etc/make.conf"
- elog "to restore the previous ordering."
- echo
- elog "The default USE_ORDER setting (see make.conf.5) has changed in"
- elog "2.1 so that auto USE flags (from use.defaults) are no longer"
- elog "enabled. In order to find out which flags have been disabled,"
- elog "the command \`env USE_ORDER=auto portageq envvar USE\` may be"
- elog "helpful. These flags can be manually added to make.conf by the"
- elog "user (the command output may contain a few other automatically"
- elog "generated flags that do not need to be added to make.conf)."
- echo
- elog "See NEWS and RELEASE-NOTES for further changes."
-
- portage_docs
-}
diff --git a/sys-apps/portage/portage-2.1.1-r1.ebuild b/sys-apps/portage/portage-2.1.1-r1.ebuild
deleted file mode 100644
index 504126f5da1e..000000000000
--- a/sys-apps/portage/portage-2.1.1-r1.ebuild
+++ /dev/null
@@ -1,208 +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-r1.ebuild,v 1.9 2006/11/02 23:59:06 zmedico Exp $
-
-inherit toolchain-funcs eutils flag-o-matic
-
-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_Darwin? ( >=app-shells/bash-3.0 ) )
- elibc_glibc? ( >=sys-apps/sandbox-1.2.17 )
- elibc_uclibc? ( >=sys-apps/sandbox-1.2.17 )
- !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"
-PATCHVER_PL="-r1"
-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 )"
-
-PATCHVER=""
-[ "${PR}" != "r0" ] && PATCHVER="-${PR}"
-if [ -n "${PATCHVER}" ]; then
- SRC_URI="${SRC_URI} mirror://gentoo/${PN}-${PV}${PATCHVER}.patch.bz2
- ${SRC_ARCHIVES}/${PN}-${PV}${PATCHVER}.patch.bz2"
-fi
-
-if [ -n "${PATCHVER_PL}" ]; then
- SRC_URI="${SRC_URI} linguas_pl? ( mirror://gentoo/${PN}-man-pl-${PV_PL}${PATCHVER_PL}.patch.bz2
- ${SRC_ARCHIVES}/${PN}-man-pl-${PV_PL}${PATCHVER_PL}.patch.bz2 )"
-fi
-
-S="${WORKDIR}"/${PN}-${PV}
-S_PL="${WORKDIR}"/${PN}-${PV_PL}
-
-portage_docs() {
- elog ""
- elog "For help with using portage please consult the Gentoo Handbook"
- elog "at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3"
- elog ""
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- if [ -n "${PATCHVER}" ]; then
- cd "${S}"
- epatch "${WORKDIR}/${PN}-${PV}${PATCHVER}.patch"
- fi
- if [ "${PR}" != "r0" ]; then
- elog "Setting portage.VERSION to ${PVR} ..."
- sed -i "s/^VERSION=.*/VERSION=\"${PVR}\"/" pym/portage.py || \
- die "Failed to patch portage.VERSION"
- eend 0
- fi
- if [ -n "${PATCHVER_PL}" ]; then
- use linguas_pl && \
- epatch "${WORKDIR}/${PN}-man-pl-${PV_PL}${PATCHVER_PL}.patch"
- fi
-}
-
-src_compile() {
- append-lfs-flags
-
- 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
-
- ewarn "In portage-2.1.1, emerge --newuse is now sensitive to changes in IUSE."
- ewarn "Immediately after upgrade from 2.1, users may notice a significantly larger"
- ewarn "number of packages pulled in by --newuse, but that behavior is normal."
- ewarn "For additional information regarding this change, please see bugs #116955,"
- ewarn "#144333, #144661, and #146060."
- echo
- elog "See NEWS and RELEASE-NOTES for further changes."
- echo
- portage_docs
-}
diff --git a/sys-apps/portage/portage-2.1.2-r4.ebuild b/sys-apps/portage/portage-2.1.2-r4.ebuild
deleted file mode 100644
index 8dfd103af881..000000000000
--- a/sys-apps/portage/portage-2.1.2-r4.ebuild
+++ /dev/null
@@ -1,225 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.2-r4.ebuild,v 1.1 2007/01/24 22:19:33 zmedico Exp $
-
-inherit toolchain-funcs eutils flag-o-matic
-
-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 ~sparc-fbsd ~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 epydoc selinux linguas_pl ${IUSE_ELIBC} ${IUSE_USERLAND}"
-DEPEND=">=dev-lang/python-2.3
- !build? ( >=sys-apps/sed-4.0.5 )
- epydoc? ( >=dev-python/epydoc-2.0 )"
-RDEPEND=">=dev-lang/python-2.3
- !build? ( >=sys-apps/sed-4.0.5
- dev-python/python-fchksum
- !userland_Darwin? ( >=app-shells/bash-3.0 ) )
- elibc_glibc? ( >=sys-apps/sandbox-1.2.17 )
- elibc_uclibc? ( >=sys-apps/sandbox-1.2.17 )
- !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.2"
-PATCHVER_PL=""
-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 )"
-
-PATCHVER=""
-[ "${PR}" != "r0" ] && PATCHVER="-${PR}"
-if [ -n "${PATCHVER}" ]; then
- SRC_URI="${SRC_URI} mirror://gentoo/${PN}-${PV}${PATCHVER}.patch.bz2
- ${SRC_ARCHIVES}/${PN}-${PV}${PATCHVER}.patch.bz2"
-fi
-
-if [ -n "${PATCHVER_PL}" ]; then
- SRC_URI="${SRC_URI} linguas_pl? ( mirror://gentoo/${PN}-man-pl-${PV_PL}${PATCHVER_PL}.patch.bz2
- ${SRC_ARCHIVES}/${PN}-man-pl-${PV_PL}${PATCHVER_PL}.patch.bz2 )"
-fi
-
-S="${WORKDIR}"/${PN}-${PV}
-S_PL="${WORKDIR}"/${PN}-${PV_PL}
-
-portage_docs() {
- elog ""
- elog "For help with using portage please consult the Gentoo Handbook"
- elog "at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3"
- elog ""
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- if [ -n "${PATCHVER}" ]; then
- cd "${S}"
- epatch "${WORKDIR}/${PN}-${PV}${PATCHVER}.patch"
- fi
- if [ "${PR}" != "r0" ]; then
- elog "Setting portage.VERSION to ${PVR} ..."
- sed -i "s/^VERSION=.*/VERSION=\"${PVR}\"/" pym/portage.py || \
- die "Failed to patch portage.VERSION"
- eend 0
- fi
- if [ -n "${PATCHVER_PL}" ]; then
- use linguas_pl && \
- epatch "${WORKDIR}/${PN}-man-pl-${PV_PL}${PATCHVER_PL}.patch"
- fi
-}
-
-src_compile() {
- append-lfs-flags
-
- 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
-
- if use epydoc; then
- einfo "Generating api docs"
- mkdir "${WORKDIR}"/api
- local my_modules
- my_modules="$(find "${S}/pym" -name "*.py" \
- | sed -e 's:.*__init__.py$::' -e 's:\.py$::' -e "s:^${S}/pym/::" \
- -e 's:/:.:g')" || die "error listing modules"
- PYTHONPATH="${S}/pym:${PYTHONPATH}" epydoc -o "${WORKDIR}"/api \
- -qqqqq --ignore-param-mismatch ${my_modules} || die "epydoc failed"
- fi
-}
-
-src_test() {
- ./tests/runTests || \
- die "test(s) failed"
-}
-
-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
- use epydoc && dohtml -r "${WORKDIR}"/api
-
- 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 bin 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
-
- ewarn "In portage-2.1.2, installation actions do not necessarily pull in build time"
- ewarn "dependencies that are not strictly required. This behavior is adjustable"
- ewarn "via the new --with-bdeps option that is documented in the emerge(1) man page."
- ewarn "For more information regarding this change, please refer to bug #148870."
- echo
- elog "See NEWS and RELEASE-NOTES for further changes."
- echo
- portage_docs
-}