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