diff options
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/portage/Manifest | 30 | ||||
-rw-r--r-- | sys-apps/portage/files/digest-portage-2.1_rc3-r3 | 6 | ||||
-rw-r--r-- | sys-apps/portage/files/digest-portage-2.1_rc3-r4 | 6 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.1_rc3-r3.ebuild | 220 | ||||
-rw-r--r-- | sys-apps/portage/portage-2.1_rc3-r4.ebuild | 220 |
5 files changed, 12 insertions, 470 deletions
diff --git a/sys-apps/portage/Manifest b/sys-apps/portage/Manifest index 8e7763b2678c..8cf2a688ef69 100644 --- a/sys-apps/portage/Manifest +++ b/sys-apps/portage/Manifest @@ -12,8 +12,7 @@ MD5 c906e2e6782e197725b70f84cfe112a4 files/README.RESCUE 137 RMD160 b8d015f266501fd1f57c91899c6815de9f9d5685 files/README.RESCUE 137 DIST portage-2.0.51.22.tar.bz2 257823 RMD160 068a6fbc3e41f7357d1ee4d65894e7903c467cfe SHA1 16459ce2b19592c94ec580bcfade5a89750a62fb DIST portage-2.0.54.tar.bz2 234784 RMD160 26c724df242a7d0c44d7fd06067bfcdbc4e3556b SHA1 0559bf8068976c124f0026ab65f3f4a62ae39d83 -DIST portage-2.1_rc3-r3.patch.bz2 3809 RMD160 ab34f217286463193054bbdae8645fee89d6c80b SHA1 48ba65cb3370c8abca0ba495cbe169c9161ea930 -DIST portage-2.1_rc3-r4.patch.bz2 4496 RMD160 6abe37bf380d0c93d187e7ae3fddcb2a267c31ac SHA1 a0c38c032377f9ad25901afd942a48e6eb20d8bc +DIST portage-2.1_rc3-r5.patch.bz2 4687 RMD160 1f9a272b308ac827ce0d87654fd205b7c462550f SHA1 d60cbbbe3839aeb2fc567a2d4bc1dcb186e51ec8 DIST portage-2.1_rc3.tar.bz2 273951 RMD160 76992ceb971bb6da755f64a2d85d8af654f3d920 SHA1 b73e8c57083d806abf7054e446efc0c30ae31101 DIST portage-patches-2.0.54-1.tar.bz2 4398 RMD160 8b7520b99aec0cb53a117b46345a720f5c7a68c0 SHA1 43f27fb384c5dbca5cebd00951c1c89f15f5d10d DIST portage-patches-2.0.54-2.tar.bz2 6722 RMD160 a9fbb40ec45c62db6b94e79b33ebabf5de22b287 SHA1 44f0b24d6c5893e50f2e4315d9ca22a288062ba8 @@ -30,15 +29,12 @@ RMD160 80eeec613d740d8c425947089e408138aa81a2e2 portage-2.0.54-r2.ebuild 4251 EBUILD portage-2.0.54.ebuild 3891 RMD160 4e64e86813b5bbdfbce76d76a56b5afd2305b2f8 SHA1 e499b0e717d7de8947bca591ecbcf3b71b744853 MD5 f9c41fcd6a2155552f0cacbe7a62101c portage-2.0.54.ebuild 3891 RMD160 4e64e86813b5bbdfbce76d76a56b5afd2305b2f8 portage-2.0.54.ebuild 3891 -EBUILD portage-2.1_rc3-r3.ebuild 7001 RMD160 95741dd4fedc9169fde766974c32ab8a0bb6fc4f SHA1 d7481826e5f4cae53e9fae9aafabbc18582f7aae -MD5 5ad2fca44fec964a80aa2f458ae9353f portage-2.1_rc3-r3.ebuild 7001 -RMD160 95741dd4fedc9169fde766974c32ab8a0bb6fc4f portage-2.1_rc3-r3.ebuild 7001 -EBUILD portage-2.1_rc3-r4.ebuild 7001 RMD160 f3782e40f964b2563e91f83f6570fe45bb24d4cd SHA1 b5f2ad744b8afe3400b9e94429d8d3f80fb840a2 -MD5 fab22b003cc207f99f8a22c2f26b7edf portage-2.1_rc3-r4.ebuild 7001 -RMD160 f3782e40f964b2563e91f83f6570fe45bb24d4cd portage-2.1_rc3-r4.ebuild 7001 -MISC ChangeLog 10314 RMD160 9969908b3b29143ff1236b237aafbd99160fc095 SHA1 d33a95aecad0f935f30fd06ed81a7a366208d633 -MD5 60c7310751f57d5cc546b921b4e300f8 ChangeLog 10314 -RMD160 9969908b3b29143ff1236b237aafbd99160fc095 ChangeLog 10314 +EBUILD portage-2.1_rc3-r5.ebuild 7001 RMD160 f00bfd19a4c933e45d68e31173655469f24814d7 SHA1 f6d62f2d41e79c607bddbf6fd0deb3ac0020ab6e +MD5 f50ca2b971501d133f1c24e3af3b41ab portage-2.1_rc3-r5.ebuild 7001 +RMD160 f00bfd19a4c933e45d68e31173655469f24814d7 portage-2.1_rc3-r5.ebuild 7001 +MISC ChangeLog 10468 RMD160 05ae338c91417b2da7d4061a6da73153a7b04938 SHA1 f182a755b24488bbedab36d7242c033dd44d7455 +MD5 7161538f467f91a03fc97e8c367615e2 ChangeLog 10468 +RMD160 05ae338c91417b2da7d4061a6da73153a7b04938 ChangeLog 10468 MISC metadata.xml 276 RMD160 addc800a374a637032ce56d1a1928542d5c9ef74 SHA1 73bd9b0dacf481b876934c38010be20a91eaf591 MD5 dc02eeaf8060043bfa8d483a42696963 metadata.xml 276 RMD160 addc800a374a637032ce56d1a1928542d5c9ef74 metadata.xml 276 @@ -50,14 +46,12 @@ MD5 5b857931bd168ec3192114e2ab6c5a72 files/digest-portage-2.0.54-r1 306 RMD160 990b4d62ad267177500fbaf3b8170c9de54b304f files/digest-portage-2.0.54-r1 306 MD5 6cbef6dfb5cc519ab1dbcf288b05681d files/digest-portage-2.0.54-r2 306 RMD160 8610a1ba4262db214f6d990bf6587f78ed5f4a5d files/digest-portage-2.0.54-r2 306 -MD5 6bf0ba8616ac2baa2e17a82e111fdb64 files/digest-portage-2.1_rc3-r3 451 -RMD160 66300cb10f7f599eabbca3d6be5903419f12453e files/digest-portage-2.1_rc3-r3 451 -MD5 ab5a2a99de59697509e47800deb5d33d files/digest-portage-2.1_rc3-r4 451 -RMD160 81fa414dfa25f6ad14ddf888abfc5ccd9c5f6f17 files/digest-portage-2.1_rc3-r4 451 +MD5 2b169143efd60be3dfeab761dbde188c files/digest-portage-2.1_rc3-r5 451 +RMD160 d7458b881b15cd4f9532589c4053b06f599be0da files/digest-portage-2.1_rc3-r5 451 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) -iD8DBQFEfsQJ/ejvha5XGaMRAg8EAJ9dZH2aCXhPQ4pvWogrYMA/nWW1NgCgsJJr -wc0bQZtllh9jz/lTwYXof6c= -=x82y +iD8DBQFEf6YL/ejvha5XGaMRAhvqAJ4uTMA/HP9t6O5NX+uDe55aDadG6ACeK3zT +Q30NyKFatNyHFRNVH1qj1bc= +=O2I2 -----END PGP SIGNATURE----- diff --git a/sys-apps/portage/files/digest-portage-2.1_rc3-r3 b/sys-apps/portage/files/digest-portage-2.1_rc3-r3 deleted file mode 100644 index 8ce4e3eba016..000000000000 --- a/sys-apps/portage/files/digest-portage-2.1_rc3-r3 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 4c148ebdb8282a606adaec83028052cf portage-2.1_rc3-r3.patch.bz2 3809 -RMD160 ab34f217286463193054bbdae8645fee89d6c80b portage-2.1_rc3-r3.patch.bz2 3809 -MD5 e80970e8e94d84e17a200de30e15b0d2 portage-2.1_rc3.tar.bz2 273951 -RMD160 76992ceb971bb6da755f64a2d85d8af654f3d920 portage-2.1_rc3.tar.bz2 273951 -MD5 4e188ec08ee0c959f46b6a8704811c84 portage-pl-2.1_rc2.tar.bz2 35551 -RMD160 4d31b2a617abc83e841be3899b2a018aede8556a portage-pl-2.1_rc2.tar.bz2 35551 diff --git a/sys-apps/portage/files/digest-portage-2.1_rc3-r4 b/sys-apps/portage/files/digest-portage-2.1_rc3-r4 deleted file mode 100644 index b0ee16043624..000000000000 --- a/sys-apps/portage/files/digest-portage-2.1_rc3-r4 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 b730c9a950969fd6d7da83b007798c95 portage-2.1_rc3-r4.patch.bz2 4496 -RMD160 6abe37bf380d0c93d187e7ae3fddcb2a267c31ac portage-2.1_rc3-r4.patch.bz2 4496 -MD5 e80970e8e94d84e17a200de30e15b0d2 portage-2.1_rc3.tar.bz2 273951 -RMD160 76992ceb971bb6da755f64a2d85d8af654f3d920 portage-2.1_rc3.tar.bz2 273951 -MD5 4e188ec08ee0c959f46b6a8704811c84 portage-pl-2.1_rc2.tar.bz2 35551 -RMD160 4d31b2a617abc83e841be3899b2a018aede8556a portage-pl-2.1_rc2.tar.bz2 35551 diff --git a/sys-apps/portage/portage-2.1_rc3-r3.ebuild b/sys-apps/portage/portage-2.1_rc3-r3.ebuild deleted file mode 100644 index d3e140257f20..000000000000 --- a/sys-apps/portage/portage-2.1_rc3-r3.ebuild +++ /dev/null @@ -1,220 +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_rc3-r3.ebuild,v 1.1 2006/05/31 14:25:32 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.10 ) - selinux? ( >=dev-python/python-selinux-2.15 ) - 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_rc2" -SRC_URI="mirror://gentoo/${PN}-${PV}.tar.bz2 - ${SRC_ARCHIVES}/${PN}-${PV}.tar.bz2 - linguas_pl? ( mirror://gentoo/${PN}-pl-${PV_PL}.tar.bz2 - ${SRC_ARCHIVES}/${PN}-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}"/${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" - fi -} - -src_compile() { - python -O -c "import compileall; compileall.compile_dir('${S}/pym')" - - cd "${S}"/src - $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o tbz2tool tbz2tool.c || \ - die "Failed to build tbz2tool" - - 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() { - 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 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 ${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 - 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 *.pyo - done - - doman "${S}"/man/*.[0-9] - use linguas_pl && doman -i18n=pl "${S_PL}"/pl/*.[0-9] - 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" - 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 - einfo "The default cache format has changed between 2.0.x and 2.1" - einfo "versions. If you have upgraded from 2.0.x, before using" - einfo "emerge, run \`emerge --metadata\` to restore portage's local" - einfo "cache." - echo - einfo "With the new metadata_overlay cache module, it is possible to" - einfo "disable FEATURES=\"metadata-transfer\" (see make.conf.5)." - einfo "When this module is used, eclasses in \${PORTDIR} must never" - einfo "be modified by the user because portage will not be able to" - einfo "detect that cache regeneration is necessary." - einfo "When metadata_overlay is initially enabled by setting" - einfo "portdbapi.auxdbmodule = cache.metadata_overlay.database" - einfo "in /etc/portage/modules, the user must completely remove" - einfo "/var/cache/edb/dep/\${PORTDIR} in order to avoid unecessary" - einfo "cache regeneration." - echo - einfo "Flag ordering has changed for \`emerge --pretend --verbose\`." - einfo "Add EMERGE_DEFAULT_OPTS=\"--alphabetical\" to /etc/make.conf" - einfo "to restore the previous ordering." - echo - einfo "See NEWS and RELEASE-NOTES for further changes." - - portage_docs -} diff --git a/sys-apps/portage/portage-2.1_rc3-r4.ebuild b/sys-apps/portage/portage-2.1_rc3-r4.ebuild deleted file mode 100644 index 8cb29abc5bc9..000000000000 --- a/sys-apps/portage/portage-2.1_rc3-r4.ebuild +++ /dev/null @@ -1,220 +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_rc3-r4.ebuild,v 1.1 2006/06/01 10:40:15 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.10 ) - selinux? ( >=dev-python/python-selinux-2.15 ) - 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_rc2" -SRC_URI="mirror://gentoo/${PN}-${PV}.tar.bz2 - ${SRC_ARCHIVES}/${PN}-${PV}.tar.bz2 - linguas_pl? ( mirror://gentoo/${PN}-pl-${PV_PL}.tar.bz2 - ${SRC_ARCHIVES}/${PN}-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}"/${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" - fi -} - -src_compile() { - python -O -c "import compileall; compileall.compile_dir('${S}/pym')" - - cd "${S}"/src - $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o tbz2tool tbz2tool.c || \ - die "Failed to build tbz2tool" - - 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() { - 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 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 ${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 - 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 *.pyo - done - - doman "${S}"/man/*.[0-9] - use linguas_pl && doman -i18n=pl "${S_PL}"/pl/*.[0-9] - 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" - 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 - einfo "The default cache format has changed between 2.0.x and 2.1" - einfo "versions. If you have upgraded from 2.0.x, before using" - einfo "emerge, run \`emerge --metadata\` to restore portage's local" - einfo "cache." - echo - einfo "With the new metadata_overlay cache module, it is possible to" - einfo "disable FEATURES=\"metadata-transfer\" (see make.conf.5)." - einfo "When this module is used, eclasses in \${PORTDIR} must never" - einfo "be modified by the user because portage will not be able to" - einfo "detect that cache regeneration is necessary." - einfo "When metadata_overlay is initially enabled by setting" - einfo "portdbapi.auxdbmodule = cache.metadata_overlay.database" - einfo "in /etc/portage/modules, the user must completely remove" - einfo "/var/cache/edb/dep/\${PORTDIR} in order to avoid unecessary" - einfo "cache regeneration." - echo - einfo "Flag ordering has changed for \`emerge --pretend --verbose\`." - einfo "Add EMERGE_DEFAULT_OPTS=\"--alphabetical\" to /etc/make.conf" - einfo "to restore the previous ordering." - echo - einfo "See NEWS and RELEASE-NOTES for further changes." - - portage_docs -} |