diff options
author | Ned Ludd <solar@gentoo.org> | 2007-04-21 00:00:19 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2007-04-21 00:00:19 +0000 |
commit | eba14e55a289e20ec2c7788b7ae0f9198ffc8079 (patch) | |
tree | 09678b54cec4310c621f11aab4a8bc2692f2b6ae /app-portage | |
parent | Rename app-crypt/aes-crypt->app-crypt/aesutil, bug#175214 (diff) | |
download | gentoo-2-eba14e55a289e20ec2c7788b7ae0f9198ffc8079.tar.gz gentoo-2-eba14e55a289e20ec2c7788b7ae0f9198ffc8079.tar.bz2 gentoo-2-eba14e55a289e20ec2c7788b7ae0f9198ffc8079.zip |
- version bump. fix bug in qcache. add feature in qmerge for compressed packages file.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/portage-utils/ChangeLog | 8 | ||||
-rw-r--r-- | app-portage/portage-utils/files/digest-portage-utils-0.1.26 | 3 | ||||
-rw-r--r-- | app-portage/portage-utils/portage-utils-0.1.26.ebuild | 60 |
3 files changed, 70 insertions, 1 deletions
diff --git a/app-portage/portage-utils/ChangeLog b/app-portage/portage-utils/ChangeLog index eb36836fd4a7..44fa5ea9badb 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-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.77 2007/04/10 16:39:11 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.78 2007/04/21 00:00:19 solar Exp $ + +*portage-utils-0.1.26 (20 Apr 2007) + + 20 Apr 2007; <solar@gentoo.org> +portage-utils-0.1.26.ebuild: + - version bump. fix bug in qcache. add feature in qmerge for compressed + packages file. 10 Apr 2007; <solar@gentoo.org> -portage-utils-0.1.25.ebuild: - flush broken 0.1.25 diff --git a/app-portage/portage-utils/files/digest-portage-utils-0.1.26 b/app-portage/portage-utils/files/digest-portage-utils-0.1.26 new file mode 100644 index 000000000000..edf152b5d9a9 --- /dev/null +++ b/app-portage/portage-utils/files/digest-portage-utils-0.1.26 @@ -0,0 +1,3 @@ +MD5 cb1af314a24b12e476aa63bb1a1b5ae7 portage-utils-0.1.26.tar.bz2 77086 +RMD160 9687b7aba3ecb283b352eb1c85f79a51be0523a4 portage-utils-0.1.26.tar.bz2 77086 +SHA256 ccb178d16a75f6dd5e9ab2922787449c4a5a7dee75748c69430df98a98d22a35 portage-utils-0.1.26.tar.bz2 77086 diff --git a/app-portage/portage-utils/portage-utils-0.1.26.ebuild b/app-portage/portage-utils/portage-utils-0.1.26.ebuild new file mode 100644 index 000000000000..6584e0d3ea4c --- /dev/null +++ b/app-portage/portage-utils/portage-utils-0.1.26.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2007 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.26.ebuild,v 1.1 2007/04/21 00:00:19 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="" + +DEPEND="" + +src_compile() { + tc-export CC + 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-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 + : +} |