diff options
author | Paul Varner <fuzzyray@gentoo.org> | 2011-02-04 18:29:17 +0000 |
---|---|---|
committer | Paul Varner <fuzzyray@gentoo.org> | 2011-02-04 18:29:17 +0000 |
commit | 64c70f312f08df6d44e14d76816c01510001cbd7 (patch) | |
tree | 987755d14221c683330d87930312413326a35874 | |
parent | EAPI3 and cleanup (diff) | |
download | gentoo-2-64c70f312f08df6d44e14d76816c01510001cbd7.tar.gz gentoo-2-64c70f312f08df6d44e14d76816c01510001cbd7.tar.bz2 gentoo-2-64c70f312f08df6d44e14d76816c01510001cbd7.zip |
Completely remove revdep-rebuild for prefix users that are not running on AIX
(Bug 353654). Remove redundant chown and chmod of /var/cache/revdep-rebuild
in pkg_postinst().
(Portage version: 2.1.9.35/cvs/Linux i686)
-rw-r--r-- | app-portage/gentoolkit/ChangeLog | 8 | ||||
-rw-r--r-- | app-portage/gentoolkit/gentoolkit-0.3.0_rc11-r3.ebuild | 17 |
2 files changed, 17 insertions, 8 deletions
diff --git a/app-portage/gentoolkit/ChangeLog b/app-portage/gentoolkit/ChangeLog index 4db70241a2c4..7583d7edc5f1 100644 --- a/app-portage/gentoolkit/ChangeLog +++ b/app-portage/gentoolkit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-portage/gentoolkit # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.205 2011/01/10 21:43:12 fuzzyray Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.206 2011/02/04 18:29:17 fuzzyray Exp $ + + 04 Feb 2011; Paul Varner <fuzzyray@gentoo.org> + gentoolkit-0.3.0_rc11-r3.ebuild: + Completely remove revdep-rebuild for prefix users that are not running on AIX + (Bug 353654). Remove redundant chown and chmod of /var/cache/revdep-rebuild + in pkg_postinst(). 10 Jan 2011; Paul Varner <fuzzyray@gentoo.org> gentoolkit-0.2.4.6.1-r1.ebuild: diff --git a/app-portage/gentoolkit/gentoolkit-0.3.0_rc11-r3.ebuild b/app-portage/gentoolkit/gentoolkit-0.3.0_rc11-r3.ebuild index e3ccb207061f..0846856a3576 100644 --- a/app-portage/gentoolkit/gentoolkit-0.3.0_rc11-r3.ebuild +++ b/app-portage/gentoolkit/gentoolkit-0.3.0_rc11-r3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0_rc11-r3.ebuild,v 1.3 2010/12/26 13:33:03 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0_rc11-r3.ebuild,v 1.4 2011/02/04 18:29:17 fuzzyray Exp $ EAPI="3" SUPPORT_PYTHON_ABIS="1" @@ -57,7 +57,14 @@ src_install() { # remove on Gentoo Prefix platforms where it's broken anyway if use prefix; then - [[ ${CHOST} != *-aix* ]] && rm "${ED}"/usr/bin/revdep-rebuild + if [[ ${CHOST} != *-aix* ]]; then + elog "The revdep-rebuild command is removed, the preserve-libs" + elog "feature of portage will handle issues." + rm "${ED}"/usr/bin/revdep-rebuild + rm "${ED}"/usr/share/man/man1/revdep-rebuild.1.bz2 + rm -rf "${ED}"/etc/revdep-rebuild + rm -rf "${ED}"/var + fi fi # Can distutils handle this? @@ -68,10 +75,6 @@ src_install() { pkg_postinst() { distutils_pkg_postinst - # Make sure that our ownership and permissions stuck - use prefix || chown root:root "${EROOT}/var/cache/revdep-rebuild" - chmod 0700 "${EROOT}/var/cache/revdep-rebuild" - einfo einfo "For further information on gentoolkit, please read the gentoolkit" einfo "guide: http://www.gentoo.org/doc/en/gentoolkit.xml" |