1 |
vapier 13/10/31 02:47:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: portage-utils-0.41.ebuild |
5 |
Log: |
6 |
Fix minor profile var parsing bug. |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key FB7C4156) |
9 |
|
10 |
Revision Changes Path |
11 |
1.147 app-portage/portage-utils/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/portage-utils/ChangeLog?rev=1.147&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/portage-utils/ChangeLog?rev=1.147&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/portage-utils/ChangeLog?r1=1.146&r2=1.147 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v |
20 |
retrieving revision 1.146 |
21 |
retrieving revision 1.147 |
22 |
diff -u -r1.146 -r1.147 |
23 |
--- ChangeLog 29 Sep 2013 23:51:39 -0000 1.146 |
24 |
+++ ChangeLog 31 Oct 2013 02:47:52 -0000 1.147 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-portage/portage-utils |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.146 2013/09/29 23:51:39 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/ChangeLog,v 1.147 2013/10/31 02:47:52 vapier Exp $ |
30 |
+ |
31 |
+*portage-utils-0.41 (31 Oct 2013) |
32 |
+ |
33 |
+ 31 Oct 2013; Mike Frysinger <vapier@g.o> +portage-utils-0.41.ebuild: |
34 |
+ Fix minor profile var parsing bug. |
35 |
|
36 |
*portage-utils-0.40 (29 Sep 2013) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 app-portage/portage-utils/portage-utils-0.41.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/portage-utils/portage-utils-0.41.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/portage-utils/portage-utils-0.41.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: portage-utils-0.41.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-portage/portage-utils/portage-utils-0.41.ebuild,v 1.1 2013/10/31 02:47:52 vapier Exp $ |
51 |
|
52 |
EAPI="3" |
53 |
|
54 |
inherit flag-o-matic toolchain-funcs |
55 |
|
56 |
DESCRIPTION="small and fast portage helper tools written in C" |
57 |
HOMEPAGE="http://www.gentoo.org/doc/en/portage-utils.xml" |
58 |
SRC_URI="mirror://gentoo/${P}.tar.xz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
63 |
IUSE="static" |
64 |
|
65 |
DEPEND="app-arch/xz-utils" |
66 |
RDEPEND="" |
67 |
|
68 |
src_configure() { |
69 |
use static && append-ldflags -static |
70 |
|
71 |
# Avoid slow configure+gnulib+make if on an up-to-date Linux system |
72 |
if use prefix || ! use kernel_linux || \ |
73 |
has_version '<sys-libs/glibc-2.10' |
74 |
then |
75 |
econf --with-eprefix="${EPREFIX}" |
76 |
else |
77 |
tc-export CC |
78 |
fi |
79 |
} |
80 |
|
81 |
src_install() { |
82 |
emake install DESTDIR="${D}" || die |
83 |
prepalldocs |
84 |
|
85 |
exeinto /etc/portage/bin |
86 |
doexe "${FILESDIR}"/post_sync || die |
87 |
insinto /etc/portage/postsync.d |
88 |
doins "${FILESDIR}"/q-reinitialize || die |
89 |
|
90 |
# Portage fixes shebangs, we just need to fix the paths in the files |
91 |
sed -i \ |
92 |
-e "s:\(/etc/portage/postsync.d\|/usr/bin/q\):${EPREFIX}&:g" \ |
93 |
"${ED}"/etc/portage/bin/post_sync \ |
94 |
"${ED}"/etc/portage/postsync.d/q-reinitialize || die |
95 |
} |
96 |
|
97 |
pkg_preinst() { |
98 |
# preserve +x bit on postsync files #301721 |
99 |
local x |
100 |
pushd "${ED}" >/dev/null |
101 |
for x in etc/portage/postsync.d/* ; do |
102 |
[[ -x ${EROOT}/${x} ]] && chmod +x "${x}" |
103 |
done |
104 |
} |
105 |
|
106 |
pkg_postinst() { |
107 |
if [[ -z ${REPLACING_VERSIONS} ]] ; then |
108 |
elog "${EPREFIX}/etc/portage/postsync.d/q-reinitialize has been installed for convenience" |
109 |
elog "If you wish for it to be automatically run at the end of every --sync:" |
110 |
elog " # chmod +x ${EPREFIX}/etc/portage/postsync.d/q-reinitialize" |
111 |
elog "Normally this should only take a few seconds to run but file systems" |
112 |
elog "such as ext3 can take a lot longer. To disable, simply do:" |
113 |
elog " # chmod -x ${EPREFIX}/etc/portage/postsync.d/q-reinitialize" |
114 |
fi |
115 |
} |