1 |
patrick 14/06/09 07:33:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rpm-4.11.2.ebuild |
5 |
Log: |
6 |
Bump |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit) |
9 |
|
10 |
Revision Changes Path |
11 |
1.188 app-arch/rpm/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rpm/ChangeLog?rev=1.188&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rpm/ChangeLog?rev=1.188&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rpm/ChangeLog?r1=1.187&r2=1.188 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v |
20 |
retrieving revision 1.187 |
21 |
retrieving revision 1.188 |
22 |
diff -u -r1.187 -r1.188 |
23 |
--- ChangeLog 24 Jul 2013 15:16:24 -0000 1.187 |
24 |
+++ ChangeLog 9 Jun 2014 07:33:34 -0000 1.188 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-arch/rpm |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.187 2013/07/24 15:16:24 miska Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.188 2014/06/09 07:33:34 patrick Exp $ |
31 |
+ |
32 |
+*rpm-4.11.2 (09 Jun 2014) |
33 |
+ |
34 |
+ 09 Jun 2014; Patrick Lauer <patrick@g.o> +rpm-4.11.2.ebuild: |
35 |
+ Bump |
36 |
|
37 |
*rpm-4.11.1 (24 Jul 2013) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 app-arch/rpm/rpm-4.11.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rpm/rpm-4.11.2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rpm/rpm-4.11.2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: rpm-4.11.2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.11.2.ebuild,v 1.1 2014/06/09 07:33:34 patrick Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
56 |
|
57 |
inherit eutils autotools flag-o-matic perl-module python-single-r1 versionator |
58 |
|
59 |
DESCRIPTION="Red Hat Package Management Utils" |
60 |
HOMEPAGE="http://www.rpm.org" |
61 |
SRC_URI="http://rpm.org/releases/rpm-$(get_version_component_range 1-2).x/${P}.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-2 LGPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
66 |
|
67 |
IUSE="nls python doc caps lua acl selinux" |
68 |
|
69 |
RDEPEND="!app-arch/rpm5 |
70 |
>=sys-libs/db-4.5 |
71 |
>=sys-libs/zlib-1.2.3-r1 |
72 |
>=app-arch/bzip2-1.0.1 |
73 |
>=dev-libs/popt-1.7 |
74 |
>=app-crypt/gnupg-1.2 |
75 |
dev-libs/elfutils |
76 |
virtual/libintl |
77 |
>=dev-lang/perl-5.8.8 |
78 |
dev-libs/nss |
79 |
python? ( ${PYTHON_DEPS} ) |
80 |
nls? ( virtual/libintl ) |
81 |
lua? ( >=dev-lang/lua-5.1.0[deprecated] ) |
82 |
acl? ( virtual/acl ) |
83 |
caps? ( >=sys-libs/libcap-2.0 ) |
84 |
selinux? ( sec-policy/selinux-rpm )" |
85 |
|
86 |
DEPEND="${RDEPEND} |
87 |
nls? ( sys-devel/gettext ) |
88 |
doc? ( app-doc/doxygen )" |
89 |
|
90 |
REQUIRED_USE=" |
91 |
python? ( ${PYTHON_REQUIRED_USE} ) |
92 |
" |
93 |
|
94 |
src_prepare() { |
95 |
epatch \ |
96 |
"${FILESDIR}"/${PN}-4.11.0-autotools.patch \ |
97 |
"${FILESDIR}"/${PN}-4.8.1-db-path.patch \ |
98 |
"${FILESDIR}"/${PN}-4.9.1.2-libdir.patch |
99 |
|
100 |
# fix #356769 |
101 |
sed -i 's:%{_var}/tmp:/var/tmp:' macros.in || die "Fixing tmppath failed" |
102 |
|
103 |
eautoreconf |
104 |
|
105 |
# Prevent automake maintainer mode from kicking in (#450448). |
106 |
touch -r Makefile.am preinstall.am |
107 |
} |
108 |
|
109 |
src_configure() { |
110 |
append-cppflags -I"${EPREFIX}/usr/include/nss" -I"${EPREFIX}/usr/include/nspr" |
111 |
econf \ |
112 |
--without-selinux \ |
113 |
--with-external-db \ |
114 |
--without-beecrypt \ |
115 |
$(use_enable python) \ |
116 |
$(use_with doc hackingdocs) \ |
117 |
$(use_enable nls) \ |
118 |
$(use_with lua) \ |
119 |
$(use_with caps cap) \ |
120 |
$(use_with acl) |
121 |
} |
122 |
|
123 |
src_compile() { |
124 |
default |
125 |
} |
126 |
|
127 |
src_install() { |
128 |
default |
129 |
|
130 |
# remove la files |
131 |
prune_libtool_files --all |
132 |
|
133 |
mv "${ED}"/bin/rpm "${ED}"/usr/bin |
134 |
rmdir "${ED}"/bin |
135 |
# fix symlinks to /bin/rpm (#349840) |
136 |
for binary in rpmquery rpmverify;do |
137 |
ln -sf rpm "${ED}"/usr/bin/${binary} |
138 |
done |
139 |
|
140 |
use nls || rm -rf "${ED}"/usr/share/man/?? |
141 |
|
142 |
keepdir /usr/src/rpm/{SRPMS,SPECS,SOURCES,RPMS,BUILD} |
143 |
|
144 |
dodoc CHANGES CREDITS GROUPS README* |
145 |
if use doc; then |
146 |
pushd doc/hacking/html |
147 |
dohtml -p hacking -r . |
148 |
popd |
149 |
pushd doc/librpm/html |
150 |
dohtml -p librpm -r . |
151 |
popd |
152 |
fi |
153 |
|
154 |
# Fix perllocal.pod file collision |
155 |
fixlocalpod |
156 |
} |
157 |
|
158 |
pkg_postinst() { |
159 |
if [[ -f "${EROOT}"/var/lib/rpm/Packages ]] ; then |
160 |
einfo "RPM database found... Rebuilding database (may take a while)..." |
161 |
"${EROOT}"/usr/bin/rpmdb --rebuilddb --root="${EROOT}" |
162 |
else |
163 |
einfo "No RPM database found... Creating database..." |
164 |
"${EROOT}"/usr/bin/rpmdb --initdb --root="${EROOT}" |
165 |
fi |
166 |
} |