summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-13 23:20:20 +0000
committerMike Frysinger <vapier@gentoo.org>2010-01-13 23:20:20 +0000
commit81a13aaee0ca0cce8ea1ae94da56c19cae528842 (patch)
tree8e7ec8fd19a6d9858e3062175f0dd591d1698b2d
parentold (diff)
downloadgentoo-2-81a13aaee0ca0cce8ea1ae94da56c19cae528842.tar.gz
gentoo-2-81a13aaee0ca0cce8ea1ae94da56c19cae528842.tar.bz2
gentoo-2-81a13aaee0ca0cce8ea1ae94da56c19cae528842.zip
Version bump.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
-rw-r--r--app-portage/portage-utils/ChangeLog10
-rwxr-xr-xapp-portage/portage-utils/files/post_sync8
-rw-r--r--app-portage/portage-utils/files/q-reinitialize3
-rw-r--r--app-portage/portage-utils/portage-utils-0.3.ebuild42
4 files changed, 61 insertions, 2 deletions
diff --git a/app-portage/portage-utils/ChangeLog b/app-portage/portage-utils/ChangeLog
index 7817c12e7330..d20cbc829b5f 100644
--- a/app-portage/portage-utils/ChangeLog
+++ b/app-portage/portage-utils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-portage/portage-utils
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.104 2009/12/05 10:02:49 vapier Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.105 2010/01/13 23:20:20 vapier Exp $
+
+*portage-utils-0.3 (13 Jan 2010)
+
+ 13 Jan 2010; Mike Frysinger <vapier@gentoo.org> +portage-utils-0.3.ebuild,
+ +files/post_sync, +files/q-reinitialize:
+ Version bump.
05 Dec 2009; Mike Frysinger <vapier@gentoo.org>
portage-utils-0.2.1.ebuild:
diff --git a/app-portage/portage-utils/files/post_sync b/app-portage/portage-utils/files/post_sync
new file mode 100755
index 000000000000..e94ea5d0257a
--- /dev/null
+++ b/app-portage/portage-utils/files/post_sync
@@ -0,0 +1,8 @@
+#!/bin/sh
+# Copyright 2006-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+for f in /etc/portage/postsync.d/* ; do
+ [ -x "${f}" ] && "${f}"
+done
+:
diff --git a/app-portage/portage-utils/files/q-reinitialize b/app-portage/portage-utils/files/q-reinitialize
new file mode 100644
index 000000000000..9e593769aaff
--- /dev/null
+++ b/app-portage/portage-utils/files/q-reinitialize
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ -x /usr/bin/q ] && /usr/bin/q -qr
+:
diff --git a/app-portage/portage-utils/portage-utils-0.3.ebuild b/app-portage/portage-utils/portage-utils-0.3.ebuild
new file mode 100644
index 000000000000..6ab1b302d7ee
--- /dev/null
+++ b/app-portage/portage-utils/portage-utils-0.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.3.ebuild,v 1.1 2010/01/13 23:20:20 vapier Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="small and fast portage helper tools written in C"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e 's:\[\[:[:' -e 's:\]\]:]:' Makefile
+}
+
+src_compile() {
+ tc-export CC
+ emake || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ prepalldocs
+
+ exeinto /etc/portage/bin
+ doexe "${FILESDIR}"/post_sync || die
+ insinto /etc/portage/postsync.d
+ doins "${FILESDIR}"/q-reinitialize || die
+}
+
+pkg_postinst() {
+ elog "/etc/portage/postsync.d/q-reinitialize has been installed for convenience"
+ elog "If you wish for it to be automatically run at the end of every --sync simply chmod +x /etc/portage/postsync.d/q-reinitialize"
+ elog "Normally this should only take a few seconds to run but file systems such as ext3 can take a lot longer."
+ elog "If ever you find this to be an inconvenience simply chmod -x /etc/portage/postsync.d/q-reinitialize"
+}