AUX README.RESCUE 137 RMD160 b8d015f266501fd1f57c91899c6815de9f9d5685 SHA1 cfc8fcf81921e265f40b47644916331e0b8f18b9
MD5 c906e2e6782e197725b70f84cfe112a4 files/README.RESCUE 137
RMD160 b8d015f266501fd1f57c91899c6815de9f9d5685 files/README.RESCUE 137
-AUX repoman_livevcs_fixes.patch 671 RMD160 5d0eda527407846a5996190828088d7eacfbcc1e SHA1 2057e4edb92556bde7e06acc5354164edd54cc73
-MD5 0f857eacefb29e7b34abca8729c83eb0 files/repoman_livevcs_fixes.patch 671
-RMD160 5d0eda527407846a5996190828088d7eacfbcc1e files/repoman_livevcs_fixes.patch 671
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_rc4-r1.patch.bz2 1523 RMD160 fea30e60647fc3cf493567a1be97988c7ebfde33 SHA1 b22edb04096c5d5b438b6b15c86ca1f30e81cb72
-DIST portage-2.1_rc4-r2.patch.bz2 3762 RMD160 c200cc7a6dd8b18cc44acfde08c61e1e88abc090 SHA1 d881b9ed5d3945aad97abfd1cc6f03f4c6aef87e
+DIST portage-2.1_rc4-r3.patch.bz2 4343 RMD160 7fd46f9a36c004e14ed74e0ca6139146776e3ae4 SHA1 2814e7b0c9014c834095b6f5d5ac9e2fd30ecef2
DIST portage-2.1_rc4.tar.bz2 275728 RMD160 9fdea87d80b961706399255ec994b75480e09cf7 SHA1 838aa969221680fc7bec4f2ceec3f714a390e735
DIST portage-man-pl-2.1_rc4.tar.bz2 52266 RMD160 e250a0c2e6da46f3c5c21ac6ac6df47f9976243a SHA1 0f6700555da057af5d9d447ca7f3ddb5955931f0
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
-DIST portage-pl-2.1_rc2.tar.bz2 35551 RMD160 4d31b2a617abc83e841be3899b2a018aede8556a SHA1 6111810b85a6c209b158a67980cc1e11be55c2f3
EBUILD portage-2.0.51.22-r3.ebuild 5796 RMD160 3bdf43216d1d70e8547bac9637a394dbcd9a7bd2 SHA1 b88b2898eb5ba5b4471a10f8fa82df9b8dc747f0
MD5 4df85686b65f5591383e16bf3d6845ba portage-2.0.51.22-r3.ebuild 5796
RMD160 3bdf43216d1d70e8547bac9637a394dbcd9a7bd2 portage-2.0.51.22-r3.ebuild 5796
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_rc4-r1.ebuild 6619 RMD160 4f48fe90e5ecb1a6e643b7b8a4ae34c79ef53c58 SHA1 181df3be2897694f60e35ee703d427c40de1c7c4
-MD5 2b147cb3df5a2de77a9fa526e275feb2 portage-2.1_rc4-r1.ebuild 6619
-RMD160 4f48fe90e5ecb1a6e643b7b8a4ae34c79ef53c58 portage-2.1_rc4-r1.ebuild 6619
-EBUILD portage-2.1_rc4-r2.ebuild 6786 RMD160 b776cf0ba107a26c6b2c48c14edd4426ca0a5d83 SHA1 737c911bcf85ee9681a3f74bb37bf617d562509e
-MD5 0349d77ffbd53e75728e3bbf81c6fcfc portage-2.1_rc4-r2.ebuild 6786
-RMD160 b776cf0ba107a26c6b2c48c14edd4426ca0a5d83 portage-2.1_rc4-r2.ebuild 6786
-MISC ChangeLog 11186 RMD160 527776e0a4e3634400b62f1a91456cfcdd79be85 SHA1 69a7e4b56313150961a790087399e88e8d6a5a6e
-MD5 d0ebb293b2229d7406ce8e33d659b646 ChangeLog 11186
-RMD160 527776e0a4e3634400b62f1a91456cfcdd79be85 ChangeLog 11186
+EBUILD portage-2.1_rc4-r3.ebuild 6753 RMD160 3a33a26f1921e1eee37054559fc180e67df8b2bf SHA1 c0c22841c02d24bbfc5c92043b4e15b5c31e6e18
+MD5 f52a437afbe6ae184dc3b58442f0c8a3 portage-2.1_rc4-r3.ebuild 6753
+RMD160 3a33a26f1921e1eee37054559fc180e67df8b2bf portage-2.1_rc4-r3.ebuild 6753
+MISC ChangeLog 11332 RMD160 607525a9feb69f92590538d930c7a915e994dc24 SHA1 14190f326f1c94745c9bfbd0b84c90205693c2c0
+MD5 646299f2da5f84e24de4046c63edef4e ChangeLog 11332
+RMD160 607525a9feb69f92590538d930c7a915e994dc24 ChangeLog 11332
MISC metadata.xml 276 RMD160 addc800a374a637032ce56d1a1928542d5c9ef74 SHA1 73bd9b0dacf481b876934c38010be20a91eaf591
MD5 dc02eeaf8060043bfa8d483a42696963 metadata.xml 276
RMD160 addc800a374a637032ce56d1a1928542d5c9ef74 metadata.xml 276
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 a374d0a189be915dafb2f1931e68b683 files/digest-portage-2.1_rc4-r1 451
-RMD160 5a72f1b35f94575c0d5236f07f8f72d2306b83a7 files/digest-portage-2.1_rc4-r1 451
-MD5 c1a9eff9f65a5359a0c44c3f1cef04f5 files/digest-portage-2.1_rc4-r2 459
-RMD160 2d62a02ee0cd30e324158f4e74d5867a3a51e23e files/digest-portage-2.1_rc4-r2 459
+MD5 ffc1781bc34edf7b175c8c5adc25b4b0 files/digest-portage-2.1_rc4-r3 459
+RMD160 426c8d31a9328b8b91458a7570dd0e749d0a93bb files/digest-portage-2.1_rc4-r3 459
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
-iD8DBQFEg+cP/ejvha5XGaMRAmp4AKC9QZ5/f2R+n0OeCWo5CcBi0oYeLgCfUuv1
-mgMGhflUAcj48PSBveUHzYU=
-=wh+s
+iD8DBQFEhRQ2/ejvha5XGaMRAu6fAKCEv5M+TCt4X3fSLfFqOoeVq20j9gCgolnD
+HuNcdO2wgnPxPee8oCKUH6A=
+=JK+M
-----END PGP SIGNATURE-----
+++ /dev/null
-MD5 81dc88a10e905c5ac1435d933986b98b portage-2.1_rc4-r1.patch.bz2 1523
-RMD160 fea30e60647fc3cf493567a1be97988c7ebfde33 portage-2.1_rc4-r1.patch.bz2 1523
-MD5 2131e7c4af5bfb7fc7c8c05b9355a314 portage-2.1_rc4.tar.bz2 275728
-RMD160 9fdea87d80b961706399255ec994b75480e09cf7 portage-2.1_rc4.tar.bz2 275728
-MD5 4e188ec08ee0c959f46b6a8704811c84 portage-pl-2.1_rc2.tar.bz2 35551
-RMD160 4d31b2a617abc83e841be3899b2a018aede8556a portage-pl-2.1_rc2.tar.bz2 35551
+++ /dev/null
-MD5 af79505f7458d970aed7ea4ad81ebef8 portage-2.1_rc4-r2.patch.bz2 3762
-RMD160 c200cc7a6dd8b18cc44acfde08c61e1e88abc090 portage-2.1_rc4-r2.patch.bz2 3762
-MD5 2131e7c4af5bfb7fc7c8c05b9355a314 portage-2.1_rc4.tar.bz2 275728
-RMD160 9fdea87d80b961706399255ec994b75480e09cf7 portage-2.1_rc4.tar.bz2 275728
-MD5 5b96b9299668afa97c419b40f8946137 portage-man-pl-2.1_rc4.tar.bz2 52266
-RMD160 e250a0c2e6da46f3c5c21ac6ac6df47f9976243a portage-man-pl-2.1_rc4.tar.bz2 52266
+++ /dev/null
-Index: bin/repoman
-===================================================================
---- bin/repoman (revision 3459)
-+++ bin/repoman (revision 3461)
-@@ -8,6 +8,8 @@
- # that last one is tricky because multiple profiles need to be checked.
-
- import os,sys,shutil
-+if not hasattr(__builtins__, "set"):
-+ from sets import Set as set
- exename=os.path.basename(sys.argv[0])
- os.environ["PORTAGE_CALLER"]="repoman"
- sys.path = ["/usr/lib/portage/pym"]+sys.path
-@@ -194,7 +196,8 @@
- "virtual.versioned",
- "virtual.exists",
- "virtual.unavailable",
--"usage.obsolete"
-+"usage.obsolete",
-+"LIVEVCS.stable"
- ]
-
- missingvars=["KEYWORDS","LICENSE","DESCRIPTION","HOMEPAGE","SLOT"]
+++ /dev/null
-# 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_rc4-r1.ebuild,v 1.1 2006/06/04 05:15:49 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() {
- 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
- 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]
- 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
-}
+++ /dev/null
-# 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_rc4-r2.ebuild,v 1.1 2006/06/05 08:10:19 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_rc4"
-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"
- epatch "${FILESDIR}/repoman_livevcs_fixes.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() {
- 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]
- local x
- if use linguas_pl; then
- for x in pl pl.UTF-8; do
- doman -i18n=${x} "${S_PL}"/man/${x}/*.[0-9]
- done
- 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"
- 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
-}