summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2009-09-05 16:50:00 +0000
committerNed Ludd <solar@gentoo.org>2009-09-05 16:50:00 +0000
commitd52358b83a357390838e1cbbbcf551aa1af93b2a (patch)
tree6ce35a9ef222a91d8f995da38d1357937ea85209 /app-portage
parentBump to version from Snow Leopard/Developer Tools 3.2, still masked as fortra... (diff)
downloadgentoo-2-d52358b83a357390838e1cbbbcf551aa1af93b2a.tar.gz
gentoo-2-d52358b83a357390838e1cbbbcf551aa1af93b2a.tar.bz2
gentoo-2-d52358b83a357390838e1cbbbcf551aa1af93b2a.zip
- ver bump to fix bug 263892
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/portage-utils/ChangeLog7
-rw-r--r--app-portage/portage-utils/portage-utils-0.2.1.ebuild60
2 files changed, 66 insertions, 1 deletions
diff --git a/app-portage/portage-utils/ChangeLog b/app-portage/portage-utils/ChangeLog
index 7e1fa4004bee..55b250de95c7 100644
--- a/app-portage/portage-utils/ChangeLog
+++ b/app-portage/portage-utils/ChangeLog
@@ -1,6 +1,11 @@
# 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.102 2009/04/06 01:58:26 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.103 2009/09/05 16:50:00 solar Exp $
+
+*portage-utils-0.2.1 (05 Sep 2009)
+
+ 05 Sep 2009; <solar@gentoo.org> +portage-utils-0.2.1.ebuild:
+ - ver bump to fix bug 263892
06 Apr 2009; Mike Frysinger <vapier@gentoo.org> portage-utils-0.2.ebuild:
Make sure we use [ rather than [[ in the makefile.
diff --git a/app-portage/portage-utils/portage-utils-0.2.1.ebuild b/app-portage/portage-utils/portage-utils-0.2.1.ebuild
new file mode 100644
index 000000000000..8c3510298886
--- /dev/null
+++ b/app-portage/portage-utils/portage-utils-0.2.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2009 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.2.1.ebuild,v 1.1 2009/09/05 16:50:00 solar Exp $
+
+inherit toolchain-funcs eutils
+
+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 ~sparc-fbsd ~x86 ~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
+}
+
+pkg_postinst() {
+ [ -e "${ROOT}"/etc/portage/bin/post_sync ] && return 0
+ mkdir -p "${ROOT}"/etc/portage/bin/
+
+cat <<__EOF__ > "${ROOT}"/etc/portage/bin/post_sync
+#!/bin/sh
+# Copyright 2006-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+if [ -d /etc/portage/postsync.d/ ]; then
+ for f in /etc/portage/postsync.d/* ; do
+ if [ -x \${f} ] ; then
+ \${f}
+ fi
+ done
+else
+ :
+fi
+__EOF__
+ chmod 755 "${ROOT}"/etc/portage/bin/post_sync
+ if [ ! -e "${ROOT}"/etc/portage/postsync.d/q-reinitialize ]; then
+ mkdir -p "${ROOT}"/etc/portage/postsync.d/
+ echo '[ -x /usr/bin/q ] && /usr/bin/q -qr' > "${ROOT}"/etc/portage/postsync.d/q-reinitialize
+ elog "${ROOT}/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 ${ROOT}/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 ${ROOT}/etc/portage/postsync.d/q-reinitialize"
+ fi
+ :
+}