summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2006-12-24 17:57:31 +0000
committerNed Ludd <solar@gentoo.org>2006-12-24 17:57:31 +0000
commita46069b92fc4a36cf3239e15a839a528e693f2b5 (patch)
tree24c3ec9e43c9c440e7b8ff59d1fc9a28264e7be3 /app-portage
parentFix the lua dep (#158169) -- elinks 0.11.0+ needs lua-5. (diff)
downloadgentoo-2-a46069b92fc4a36cf3239e15a839a528e693f2b5.tar.gz
gentoo-2-a46069b92fc4a36cf3239e15a839a528e693f2b5.tar.bz2
gentoo-2-a46069b92fc4a36cf3239e15a839a528e693f2b5.zip
- overdue version bump. lots of changes
(Portage version: 2.1.2_rc2-r4)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/portage-utils/ChangeLog7
-rw-r--r--app-portage/portage-utils/files/digest-portage-utils-0.1.223
-rw-r--r--app-portage/portage-utils/portage-utils-0.1.22.ebuild62
3 files changed, 71 insertions, 1 deletions
diff --git a/app-portage/portage-utils/ChangeLog b/app-portage/portage-utils/ChangeLog
index b205f02c743e..356d5aca115a 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-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.58 2006/11/29 17:58:15 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.59 2006/12/24 17:57:31 solar Exp $
+
+*portage-utils-0.1.22 (24 Dec 2006)
+
+ 24 Dec 2006; <solar@gentoo.org> +portage-utils-0.1.22.ebuild:
+ - overdue version bump. lots of changes
29 Nov 2006; Diego Pettenò <flameeyes@gentoo.org>
portage-utils-0.1.21.ebuild:
diff --git a/app-portage/portage-utils/files/digest-portage-utils-0.1.22 b/app-portage/portage-utils/files/digest-portage-utils-0.1.22
new file mode 100644
index 000000000000..d499d4ce7c63
--- /dev/null
+++ b/app-portage/portage-utils/files/digest-portage-utils-0.1.22
@@ -0,0 +1,3 @@
+MD5 2c70c4c8102d786ad42cbe4f729a6431 portage-utils-0.1.22.tar.bz2 70792
+RMD160 dfbd84258d3726e97d0bd810e8db141a000d4c31 portage-utils-0.1.22.tar.bz2 70792
+SHA256 93c681329d6feef0da7f59f32ed5047ff8601e464f25d4e3a5fe51fe143565cd portage-utils-0.1.22.tar.bz2 70792
diff --git a/app-portage/portage-utils/portage-utils-0.1.22.ebuild b/app-portage/portage-utils/portage-utils-0.1.22.ebuild
new file mode 100644
index 000000000000..7fdab8f7d7f3
--- /dev/null
+++ b/app-portage/portage-utils/portage-utils-0.1.22.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2006 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.1.22.ebuild,v 1.1 2006/12/24 17:57:31 solar 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 ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="python"
+
+DEPEND=""
+
+src_compile() {
+ tc-export CC
+ use python && export PYTHON=1
+ unset PYTHON
+ emake || die
+}
+
+src_install() {
+ dobin q || die "dobin failed"
+ doman man/*.[0-9]
+ for applet in $(<applet-list) ; do
+ dosym q /usr/bin/${applet}
+ done
+}
+
+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-2006 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
+ einfo "${ROOT}/etc/portage/postsync.d/q-reinitialize has been installed for convenience"
+ einfo "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"
+ einfo "Normally this should only take a few seconds to run but file systems such as ext3 can take a lot longer."
+ einfo "If ever you find this to be an inconvenience simply chmod -x ${ROOT}/etc/portage/postsync.d/q-reinitialize"
+ fi
+ :
+}