summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Varner <fuzzyray@gentoo.org>2008-09-17 22:04:34 +0000
committerPaul Varner <fuzzyray@gentoo.org>2008-09-17 22:04:34 +0000
commit6a07fe83f06aa4f399d342bdda218fe21962d572 (patch)
tree78f8cf8559ae1bf343f2d55ebf698456c8f4d042 /app-portage
parentVersion bump to 2.3.5. Bug #222891 (diff)
downloadgentoo-2-6a07fe83f06aa4f399d342bdda218fe21962d572.tar.gz
gentoo-2-6a07fe83f06aa4f399d342bdda218fe21962d572.tar.bz2
gentoo-2-6a07fe83f06aa4f399d342bdda218fe21962d572.zip
gentoolkit-0.2.4.2 version bump. This fixes bug #233651. Bug #170220 tracks all fixes made for the gentoolkit-0.2.4 release.
(Portage version: 2.2_rc8/cvs/Linux 2.6.23-gentoo-r8 i686)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/gentoolkit/ChangeLog8
-rw-r--r--app-portage/gentoolkit/gentoolkit-0.2.4.2.ebuild52
2 files changed, 59 insertions, 1 deletions
diff --git a/app-portage/gentoolkit/ChangeLog b/app-portage/gentoolkit/ChangeLog
index 2a72988b9029..e8510540e1c8 100644
--- a/app-portage/gentoolkit/ChangeLog
+++ b/app-portage/gentoolkit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-portage/gentoolkit
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.134 2008/09/04 03:35:21 fuzzyray Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.135 2008/09/17 22:04:34 fuzzyray Exp $
+
+*gentoolkit-0.2.4.2 (17 Sep 2008)
+
+ 17 Sep 2008; Paul Varner <fuzzyray@gentoo.org> +gentoolkit-0.2.4.2.ebuild:
+ gentoolkit-0.2.4.2 version bump. This fixes bug #233651. Bug #170220
+ tracks all fixes made for the gentoolkit-0.2.4 release.
*gentoolkit-0.2.4.1 (04 Sep 2008)
diff --git a/app-portage/gentoolkit/gentoolkit-0.2.4.2.ebuild b/app-portage/gentoolkit/gentoolkit-0.2.4.2.ebuild
new file mode 100644
index 000000000000..ae4390d7fe40
--- /dev/null
+++ b/app-portage/gentoolkit/gentoolkit-0.2.4.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.2.4.2.ebuild,v 1.1 2008/09/17 22:04:34 fuzzyray Exp $
+
+inherit eutils python
+
+DESCRIPTION="Collection of administration scripts for Gentoo"
+HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
+SRC_URI="mirror://gentoo/${P}.tar.gz http://dev.gentoo.org/~fuzzyray/distfiles/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="userland_GNU"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+
+DEPEND=">=sys-apps/portage-2.1.1_pre1
+ >=dev-lang/python-2.0
+ >=dev-lang/perl-5.6
+ >=sys-apps/grep-2.4
+ userland_GNU? ( sys-apps/debianutils )"
+
+src_install() {
+ emake DESTDIR="${D}" install-gentoolkit || die "install-gentoolkit failed"
+
+ # Create cache directory for revdep-rebuild
+ dodir /var/cache/revdep-rebuild
+ keepdir /var/cache/revdep-rebuild
+ fowners root:root /var/cache/revdep-rebuild
+ fperms 0700 /var/cache/revdep-rebuild
+}
+
+pkg_postinst() {
+ # Make sure that our ownership and permissions stuck
+ chown root:root "${ROOT}/var/cache/revdep-rebuild"
+ chmod 0700 "${ROOT}/var/cache/revdep-rebuild"
+
+ python_mod_optimize /usr/lib/gentoolkit
+ echo
+ elog "The default location for revdep-rebuild files has been moved"
+ elog "to /var/cache/revdep-rebuild when run as root."
+ elog
+ elog "Another alternative to equery is app-portage/portage-utils"
+ elog
+ elog "For further information on gentoolkit, please read the gentoolkit"
+ elog "guide: http://www.gentoo.org/doc/en/gentoolkit.xml"
+ elog
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/lib/gentoolkit
+}