1 |
sochotnicky 11/05/08 13:26:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rpm-4.9.0.ebuild rpm-4.8.1-r2.ebuild |
5 |
Removed: rpm-4.8.1-r1.ebuild |
6 |
Log: |
7 |
Added latest upstream version. Fixed #356769,#308303 |
8 |
|
9 |
(Portage version: 2.1.9.42/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.124 app-arch/rpm/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rpm/ChangeLog?rev=1.124&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rpm/ChangeLog?rev=1.124&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rpm/ChangeLog?r1=1.123&r2=1.124 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v |
21 |
retrieving revision 1.123 |
22 |
retrieving revision 1.124 |
23 |
diff -u -r1.123 -r1.124 |
24 |
--- ChangeLog 24 Apr 2011 14:51:53 -0000 1.123 |
25 |
+++ ChangeLog 8 May 2011 13:26:00 -0000 1.124 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for app-arch/rpm |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.123 2011/04/24 14:51:53 flameeyes Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.124 2011/05/08 13:26:00 sochotnicky Exp $ |
31 |
+ |
32 |
+*rpm-4.9.0 (08 May 2011) |
33 |
+*rpm-4.8.1-r2 (08 May 2011) |
34 |
+ |
35 |
+ 08 May 2011; Stanislav Ochotnicky <sochotnicky@g.o> |
36 |
+ -rpm-4.8.1-r1.ebuild, +rpm-4.8.1-r2.ebuild, +rpm-4.9.0.ebuild: |
37 |
+ Added latest upstream version. Fixed #356769,#308303. |
38 |
|
39 |
24 Apr 2011; Diego E. Pettenò <flameeyes@g.o> rpm-4.8.1-r1.ebuild: |
40 |
QA: do not force presence of db-4.5, as it'll always use the latest one |
41 |
|
42 |
|
43 |
|
44 |
1.1 app-arch/rpm/rpm-4.9.0.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rpm/rpm-4.9.0.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rpm/rpm-4.9.0.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: rpm-4.9.0.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2011 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.9.0.ebuild,v 1.1 2011/05/08 13:26:00 sochotnicky Exp $ |
54 |
|
55 |
EAPI="3" |
56 |
|
57 |
PYTHON_DEPEND="2" |
58 |
|
59 |
inherit eutils autotools flag-o-matic perl-module python |
60 |
|
61 |
DESCRIPTION="Red Hat Package Management Utils" |
62 |
HOMEPAGE="http://www.rpm.org" |
63 |
SRC_URI="http://rpm.org/releases/rpm-4.9.x/${P}.tar.bz2" |
64 |
|
65 |
LICENSE="GPL-2 LGPL-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~x86" |
68 |
|
69 |
IUSE="nls python doc sqlite caps lua acl" |
70 |
|
71 |
RDEPEND=">=sys-libs/db-4.5 |
72 |
>=sys-libs/zlib-1.2.3-r1 |
73 |
>=app-arch/bzip2-1.0.1 |
74 |
>=dev-libs/popt-1.7 |
75 |
>=app-crypt/gnupg-1.2 |
76 |
dev-libs/elfutils |
77 |
virtual/libintl |
78 |
>=dev-lang/perl-5.8.8 |
79 |
dev-libs/nss |
80 |
python? ( >=dev-lang/python-2.3 ) |
81 |
nls? ( virtual/libintl ) |
82 |
sqlite? ( >=dev-db/sqlite-3.3.5 ) |
83 |
lua? ( >=dev-lang/lua-5.1.0 ) |
84 |
acl? ( virtual/acl ) |
85 |
caps? ( >=sys-libs/libcap-2.0 )" |
86 |
|
87 |
DEPEND="${RDEPEND} |
88 |
nls? ( sys-devel/gettext ) |
89 |
doc? ( app-doc/doxygen )" |
90 |
|
91 |
pkg_setup() { |
92 |
python_set_active_version 2 |
93 |
} |
94 |
|
95 |
src_prepare() { |
96 |
epatch "${FILESDIR}"/${PN}-4.8.1-autotools.patch |
97 |
epatch "${FILESDIR}"/${PN}-4.8.1-db-path.patch |
98 |
|
99 |
# fix #356769 |
100 |
sed -i 's:%{_var}/tmp:/var/tmp:' macros.in || die "Fixing tmppath failed" |
101 |
|
102 |
eautoreconf |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
default |
107 |
} |
108 |
|
109 |
src_configure() { |
110 |
econf \ |
111 |
--without-selinux \ |
112 |
--with-external-db \ |
113 |
$(use_enable python) \ |
114 |
$(use_with doc hackingdocs) \ |
115 |
$(use_enable sqlite sqlite3) \ |
116 |
$(use_enable nls) \ |
117 |
$(use_with lua) \ |
118 |
$(use_with caps cap)\ |
119 |
$(use_with acl)\ |
120 |
|| die "econf failed" |
121 |
} |
122 |
|
123 |
src_install() { |
124 |
emake DESTDIR="${D}" INSTALLDIRS=vendor install || die "emake install failed" |
125 |
|
126 |
mv "${D}"/bin/rpm "${D}"/usr/bin |
127 |
rmdir "${D}"/bin |
128 |
# fix symlinks to /bin/rpm (#349840) |
129 |
for binary in rpmquery rpmverify;do |
130 |
ln -sf rpm "${D}"/usr/bin/$binary |
131 |
done |
132 |
|
133 |
use nls || rm -rf "${D}"/usr/share/man/?? |
134 |
|
135 |
keepdir /usr/src/rpm/{SRPMS,SPECS,SOURCES,RPMS,BUILD} |
136 |
|
137 |
dodoc CHANGES CREDITS GROUPS README* |
138 |
use doc && dohtml -r apidocs/html/* |
139 |
|
140 |
# Fix perllocal.pod file collision |
141 |
fixlocalpod |
142 |
} |
143 |
|
144 |
pkg_postinst() { |
145 |
if [[ -f "${ROOT}"/var/lib/rpm/Packages ]] ; then |
146 |
einfo "RPM database found... Rebuilding database (may take a while)..." |
147 |
"${ROOT}"/usr/bin/rpmdb --rebuilddb --root="${ROOT}" |
148 |
else |
149 |
einfo "No RPM database found... Creating database..." |
150 |
"${ROOT}"/usr/bin/rpmdb --initdb --root="${ROOT}" |
151 |
fi |
152 |
|
153 |
use python && python_mod_optimize rpm |
154 |
} |
155 |
|
156 |
pkg_postrm() { |
157 |
use python && python_mod_cleanup rpm |
158 |
} |
159 |
|
160 |
|
161 |
|
162 |
1.1 app-arch/rpm/rpm-4.8.1-r2.ebuild |
163 |
|
164 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rpm/rpm-4.8.1-r2.ebuild?rev=1.1&view=markup |
165 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/rpm/rpm-4.8.1-r2.ebuild?rev=1.1&content-type=text/plain |
166 |
|
167 |
Index: rpm-4.8.1-r2.ebuild |
168 |
=================================================================== |
169 |
# Copyright 1999-2011 Gentoo Foundation |
170 |
# Distributed under the terms of the GNU General Public License v2 |
171 |
# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.8.1-r2.ebuild,v 1.1 2011/05/08 13:26:00 sochotnicky Exp $ |
172 |
|
173 |
EAPI="3" |
174 |
|
175 |
PYTHON_DEPEND="2" |
176 |
|
177 |
inherit eutils autotools flag-o-matic perl-module python |
178 |
|
179 |
DESCRIPTION="Red Hat Package Management Utils" |
180 |
HOMEPAGE="http://www.rpm.org" |
181 |
SRC_URI="http://rpm.org/releases/rpm-4.8.x/${P}.tar.bz2" |
182 |
|
183 |
LICENSE="GPL-2 LGPL-2" |
184 |
SLOT="0" |
185 |
KEYWORDS="~amd64 ~x86" |
186 |
|
187 |
IUSE="nls python doc sqlite caps lua acl" |
188 |
|
189 |
RDEPEND=">=sys-libs/db-4.5 |
190 |
>=sys-libs/zlib-1.2.3-r1 |
191 |
>=app-arch/bzip2-1.0.1 |
192 |
>=dev-libs/popt-1.7 |
193 |
>=app-crypt/gnupg-1.2 |
194 |
dev-libs/elfutils |
195 |
virtual/libintl |
196 |
>=dev-lang/perl-5.8.8 |
197 |
dev-libs/nss |
198 |
python? ( >=dev-lang/python-2.3 ) |
199 |
nls? ( virtual/libintl ) |
200 |
sqlite? ( >=dev-db/sqlite-3.3.5 ) |
201 |
lua? ( >=dev-lang/lua-5.1.0 ) |
202 |
acl? ( virtual/acl ) |
203 |
caps? ( >=sys-libs/libcap-2.0 )" |
204 |
|
205 |
DEPEND="${RDEPEND} |
206 |
nls? ( sys-devel/gettext ) |
207 |
doc? ( app-doc/doxygen )" |
208 |
|
209 |
pkg_setup() { |
210 |
python_set_active_version 2 |
211 |
} |
212 |
|
213 |
src_prepare() { |
214 |
epatch "${FILESDIR}"/${P}-autotools.patch |
215 |
epatch "${FILESDIR}"/${P}-db-path.patch |
216 |
|
217 |
# fix #356769 |
218 |
sed -i 's:%{_var}/tmp:/var/tmp:' macros.in || die "Fixing tmppath failed" |
219 |
|
220 |
eautoreconf |
221 |
} |
222 |
|
223 |
src_compile() { |
224 |
default |
225 |
} |
226 |
|
227 |
src_configure() { |
228 |
econf \ |
229 |
--without-selinux \ |
230 |
--with-external-db \ |
231 |
$(use_enable python) \ |
232 |
$(use_with doc hackingdocs) \ |
233 |
$(use_enable sqlite sqlite3) \ |
234 |
$(use_enable nls) \ |
235 |
$(use_with lua) \ |
236 |
$(use_with caps cap)\ |
237 |
$(use_with acl)\ |
238 |
|| die "econf failed" |
239 |
} |
240 |
|
241 |
src_install() { |
242 |
emake DESTDIR="${D}" INSTALLDIRS=vendor install || die "emake install failed" |
243 |
|
244 |
mv "${D}"/bin/rpm "${D}"/usr/bin |
245 |
rmdir "${D}"/bin |
246 |
# fix symlinks to /bin/rpm (#349840) |
247 |
for binary in rpmdb rpmquery rpmsign rpmverify;do |
248 |
ln -sf rpm "${D}"/usr/bin/$binary |
249 |
done |
250 |
|
251 |
use nls || rm -rf "${D}"/usr/share/man/?? |
252 |
|
253 |
keepdir /usr/src/rpm/{SRPMS,SPECS,SOURCES,RPMS,BUILD} |
254 |
|
255 |
dodoc CHANGES CREDITS GROUPS README* |
256 |
use doc && dohtml -r apidocs/html/* |
257 |
|
258 |
# Fix perllocal.pod file collision |
259 |
fixlocalpod |
260 |
} |
261 |
|
262 |
pkg_postinst() { |
263 |
if [[ -f "${ROOT}"/var/lib/rpm/Packages ]] ; then |
264 |
einfo "RPM database found... Rebuilding database (may take a while)..." |
265 |
"${ROOT}"/usr/bin/rpm --rebuilddb --root="${ROOT}" |
266 |
else |
267 |
einfo "No RPM database found... Creating database..." |
268 |
"${ROOT}"/usr/bin/rpm --initdb --root="${ROOT}" |
269 |
fi |
270 |
|
271 |
use python && python_mod_optimize rpm |
272 |
} |
273 |
|
274 |
pkg_postrm() { |
275 |
use python && python_mod_cleanup rpm |
276 |
} |