From e3d60a7cc362a4ac5ecb600c7fc491f8955c539a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 2 Mar 2007 08:22:42 +0000 Subject: [PATCH] 2.1.2-r13 revbump. Package-Manager: portage-2.1.2-r13 --- sys-apps/portage/ChangeLog | 10 +- sys-apps/portage/Manifest | 22 +- .../portage/files/digest-portage-2.1.2-r13 | 9 + sys-apps/portage/portage-2.1.2-r13.ebuild | 229 ++++++++++++++++++ 4 files changed, 262 insertions(+), 8 deletions(-) create mode 100644 sys-apps/portage/files/digest-portage-2.1.2-r13 create mode 100644 sys-apps/portage/portage-2.1.2-r13.ebuild diff --git a/sys-apps/portage/ChangeLog b/sys-apps/portage/ChangeLog index 8205285265ce..bec000d7c5c4 100644 --- a/sys-apps/portage/ChangeLog +++ b/sys-apps/portage/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-apps/portage # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.359 2007/02/27 07:39:00 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.360 2007/03/02 08:22:42 zmedico Exp $ + +*portage-2.1.2-r13 (02 Mar 2007) + + 02 Mar 2007; Zac Medico +portage-2.1.2-r13.ebuild: + 2.1.2-r13 revbump. This fixes bugs #168646 and #168823. Bug #167107 + tracks fixes since 2.1.2-r9. For compatibility with rsync mirrors running + "${WORKDIR}"/05portage.envd + doenvd "${WORKDIR}"/05portage.envd +} + +pkg_preinst() { + local portage_base="/usr/$(get_libdir)/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 +} -- 2.26.2