summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2006-08-21 16:44:28 +0000
committerNed Ludd <solar@gentoo.org>2006-08-21 16:44:28 +0000
commit83ba2f1499b0d811ef3fa04e0f89ba72e92212b1 (patch)
tree345d5303c88c5c25bf2811bd4e80d36bccb7c897 /app-portage
parentMarking module-init-tools-3.2.2-r1 wrt bug #144559 (diff)
downloadgentoo-2-83ba2f1499b0d811ef3fa04e0f89ba72e92212b1.tar.gz
gentoo-2-83ba2f1499b0d811ef3fa04e0f89ba72e92212b1.tar.bz2
gentoo-2-83ba2f1499b0d811ef3fa04e0f89ba72e92212b1.zip
- q update from solar. Make sure we invoke quiet mode if PORTAGE_QUIET exists in the env.
- qlist update from solar. Unifiy iuse->use umap handling. - qmerge update from solar. Display diff colors when using -sv for installed packages. yellow for update pending. - qfile update from TGL. New -R/--root-prefix switch which assume arguments are already prefixed by $ROOT - qcache update from tcort. New -n/--not switch to list packages that are not keyworded on a given arch. - qlop update from jmbsvicetto. Fixed typo. (Portage version: 4283-svn)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/portage-utils/ChangeLog14
-rw-r--r--app-portage/portage-utils/files/digest-portage-utils-0.1.213
-rw-r--r--app-portage/portage-utils/portage-utils-0.1.21.ebuild61
3 files changed, 77 insertions, 1 deletions
diff --git a/app-portage/portage-utils/ChangeLog b/app-portage/portage-utils/ChangeLog
index 41983a896d89..0e35ea0d4785 100644
--- a/app-portage/portage-utils/ChangeLog
+++ b/app-portage/portage-utils/ChangeLog
@@ -1,6 +1,18 @@
# 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.56 2006/08/19 16:41:56 solar Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.57 2006/08/21 16:44:28 solar Exp $
+
+*portage-utils-0.1.21 (21 Aug 2006)
+
+ 21 Aug 2006; <solar@gentoo.org> -portage-utils-0.1.18.ebuild,
+ -portage-utils-0.1.19.ebuild, +portage-utils-0.1.21.ebuild:
+ - q update from solar. Make sure we invoke quiet mode if PORTAGE_QUIET
+ exists in the env. - qlist update from solar. Unifiy iuse->use umap
+ handling. - qmerge update from solar. Display diff colors when using -sv for
+ installed packages. yellow for update pending. - qfile update from TGL. New
+ -R/--root-prefix switch which assume arguments are already prefixed by $ROOT
+ - qcache update from tcort. New -n/--not switch to list packages that are
+ not keyworded on a given arch. - qlop update from jmbsvicetto. Fixed typo.
19 Aug 2006; <solar@gentoo.org> portage-utils-0.1.20.ebuild:
- added a note about how to disable the reinitialize script the first time
diff --git a/app-portage/portage-utils/files/digest-portage-utils-0.1.21 b/app-portage/portage-utils/files/digest-portage-utils-0.1.21
new file mode 100644
index 000000000000..c2a74f38e3d3
--- /dev/null
+++ b/app-portage/portage-utils/files/digest-portage-utils-0.1.21
@@ -0,0 +1,3 @@
+MD5 368f0b72b42e451e93e3424d2c15d060 portage-utils-0.1.21.tar.bz2 68949
+RMD160 9decef907a3e1a944897c5397f301dd64bc8f921 portage-utils-0.1.21.tar.bz2 68949
+SHA256 00b1499afd05eff40d59519da93a6d4ea7f329114987a945cc2313949b3d2d7d portage-utils-0.1.21.tar.bz2 68949
diff --git a/app-portage/portage-utils/portage-utils-0.1.21.ebuild b/app-portage/portage-utils/portage-utils-0.1.21.ebuild
new file mode 100644
index 000000000000..69c78bd95185
--- /dev/null
+++ b/app-portage/portage-utils/portage-utils-0.1.21.ebuild
@@ -0,0 +1,61 @@
+# 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.21.ebuild,v 1.1 2006/08/21 16:44:28 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 ~x86 ~x86-fbsd"
+IUSE="python"
+
+DEPEND=""
+
+src_compile() {
+ 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 -r' > ${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
+ :
+}