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