summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-17 00:28:59 +0000
committerMike Frysinger <vapier@gentoo.org>2010-01-17 00:28:59 +0000
commit079bb9dae529ab27f5e140a9a4f4a434e0fa88f9 (patch)
tree5389a570a4c4ca7dd49ca62335b125e721e85a8b /app-portage
parentold (diff)
downloadgentoo-2-079bb9dae529ab27f5e140a9a4f4a434e0fa88f9.tar.gz
gentoo-2-079bb9dae529ab27f5e140a9a4f4a434e0fa88f9.tar.bz2
gentoo-2-079bb9dae529ab27f5e140a9a4f4a434e0fa88f9.zip
Fix fatal qfile with vdb garbage #301221 and optimize it a bit.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/portage-utils/ChangeLog8
-rw-r--r--app-portage/portage-utils/portage-utils-0.3.1.ebuild42
2 files changed, 49 insertions, 1 deletions
diff --git a/app-portage/portage-utils/ChangeLog b/app-portage/portage-utils/ChangeLog
index d20cbc829b5f..c9586fb2832a 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-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 $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.106 2010/01/17 00:28:59 vapier Exp $
+
+*portage-utils-0.3.1 (17 Jan 2010)
+
+ 17 Jan 2010; Mike Frysinger <vapier@gentoo.org>
+ +portage-utils-0.3.1.ebuild:
+ Fix fatal qfile with vdb garbage #301221 and optimize it a bit.
*portage-utils-0.3 (13 Jan 2010)
diff --git a/app-portage/portage-utils/portage-utils-0.3.1.ebuild b/app-portage/portage-utils/portage-utils-0.3.1.ebuild
new file mode 100644
index 000000000000..84f2055c811c
--- /dev/null
+++ b/app-portage/portage-utils/portage-utils-0.3.1.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.1.ebuild,v 1.1 2010/01/17 00:28:59 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"
+}