1 |
loki_val 08/05/31 16:18:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: rpm-4.4.6-r6.ebuild |
5 |
Log: |
6 |
Version bump for >=sys-libs/db-4 wrt bug 218489 |
7 |
(Portage version: 2.1.5.2) |
8 |
|
9 |
Revision Changes Path |
10 |
1.91 app-arch/rpm/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/rpm/ChangeLog?rev=1.91&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/rpm/ChangeLog?rev=1.91&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/rpm/ChangeLog?r1=1.90&r2=1.91 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v |
19 |
retrieving revision 1.90 |
20 |
retrieving revision 1.91 |
21 |
diff -u -r1.90 -r1.91 |
22 |
--- ChangeLog 20 May 2008 07:44:25 -0000 1.90 |
23 |
+++ ChangeLog 31 May 2008 16:18:57 -0000 1.91 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-arch/rpm |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.90 2008/05/20 07:44:25 caster Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.91 2008/05/31 16:18:57 loki_val Exp $ |
29 |
+ |
30 |
+*rpm-4.4.6-r6 (31 May 2008) |
31 |
+ |
32 |
+ 31 May 2008; Peter Alfredsen <loki_val@g.o> +rpm-4.4.6-r6.ebuild: |
33 |
+ Version bump for >=sys-libs/db-4 wrt bug 218489 |
34 |
|
35 |
*rpm-4.4.7-r4 (20 May 2008) |
36 |
*rpm-4.4.6-r5 (20 May 2008) |
37 |
|
38 |
|
39 |
|
40 |
1.1 app-arch/rpm/rpm-4.4.6-r6.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/rpm/rpm-4.4.6-r6.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-arch/rpm/rpm-4.4.6-r6.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: rpm-4.4.6-r6.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.4.6-r6.ebuild,v 1.1 2008/05/31 16:18:57 loki_val Exp $ |
50 |
|
51 |
inherit eutils autotools distutils perl-module flag-o-matic |
52 |
|
53 |
DESCRIPTION="Red Hat Package Management Utils" |
54 |
HOMEPAGE="http://www.rpm.org/" |
55 |
SRC_URI="http://wraptastic.org/pub/rpm-4.4.x/${P}.tar.gz" |
56 |
|
57 |
LICENSE="GPL-2 LGPL-2" |
58 |
SLOT="0" |
59 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc64 ~s390 ~sh ~sparc ~x86" |
60 |
IUSE="nls python perl doc sqlite" |
61 |
|
62 |
RDEPEND=">=sys-libs/db-4 |
63 |
>=sys-libs/zlib-1.1.3 |
64 |
>=app-arch/bzip2-1.0.1 |
65 |
>=dev-libs/popt-1.7 |
66 |
>=app-crypt/gnupg-1.2 |
67 |
dev-libs/elfutils |
68 |
virtual/libintl |
69 |
>=dev-libs/beecrypt-3.1.0-r1 |
70 |
python? ( >=dev-lang/python-2.2 ) |
71 |
perl? ( >=dev-lang/perl-5.8.8 ) |
72 |
nls? ( virtual/libintl ) |
73 |
sqlite? ( >=dev-db/sqlite-3.3.5 ) |
74 |
>=net-misc/neon-0.28" |
75 |
DEPEND="${RDEPEND} |
76 |
nls? ( sys-devel/gettext ) |
77 |
doc? ( app-doc/doxygen )" |
78 |
|
79 |
src_unpack() { |
80 |
unpack ${A} |
81 |
cd "${S}" |
82 |
epatch "${FILESDIR}"/${P}-with-sqlite.patch |
83 |
epatch "${FILESDIR}"/${P}-stupidness.patch |
84 |
epatch "${FILESDIR}"/${P}-autotools.patch |
85 |
epatch "${FILESDIR}"/${P}-buffer-overflow.patch |
86 |
epatch "${FILESDIR}"/${P}-qa-fix-undefined.patch |
87 |
# bug 214799 |
88 |
epatch "${FILESDIR}"/${P}-neon-0.28.patch |
89 |
|
90 |
# rpm uses AM_GNU_GETTEXT() but fails to actually |
91 |
# include any of the required gettext files |
92 |
cp /usr/share/gettext/config.rpath . || die |
93 |
|
94 |
# the following are additional libraries that might be packaged with |
95 |
# the rpm sources. grep for "test -d" in configure.ac |
96 |
cp file/src/{file,patchlevel}.h tools/ |
97 |
rm -rf beecrypt elfutils neon popt sqlite zlib intl file |
98 |
|
99 |
sed -i -e "s:intl ::" Makefile.am |
100 |
sed -i -e "s:intl/Makefile ::" configure.ac |
101 |
AT_NO_RECURSIVE="yes" eautoreconf |
102 |
# TODO Get rid of internal copies of lua, db and db3 |
103 |
} |
104 |
|
105 |
src_compile() { |
106 |
# Until strict aliasing is porperly fixed... |
107 |
filter-flags -fstrict-aliasing |
108 |
append-flags -fno-strict-aliasing |
109 |
python_version |
110 |
econf \ |
111 |
--enable-posixmutexes \ |
112 |
--without-javaglue \ |
113 |
--without-selinux \ |
114 |
$(use_with python python ${PYVER}) \ |
115 |
$(use_with doc apidocs) \ |
116 |
$(use_with perl) \ |
117 |
$(use_with sqlite) \ |
118 |
$(use_enable nls) \ |
119 |
|| die "econf failed" |
120 |
emake || die "emake failed" |
121 |
} |
122 |
|
123 |
src_install() { |
124 |
emake DESTDIR="${D}" install || die "emake install failed" |
125 |
|
126 |
mv "${D}"/bin/rpm "${D}"/usr/bin |
127 |
rmdir "${D}"/bin |
128 |
|
129 |
use nls || rm -rf "${D}"/usr/share/man/?? |
130 |
|
131 |
keepdir /usr/src/rpm/{SRPMS,SPECS,SOURCES,RPMS,BUILD} |
132 |
|
133 |
dodoc CHANGES CREDITS GROUPS README* RPM* |
134 |
use doc && dohtml -r apidocs/html/* |
135 |
|
136 |
# Fix perllocal.pod file collision |
137 |
use perl && fixlocalpod |
138 |
|
139 |
for magic_file in "magic.mime.mgc" "magic.mgc" "magic.mime" "magic"; do |
140 |
dosym /usr/share/misc/file/${magic_file} /usr/lib/rpm/${magic_file} |
141 |
done |
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/rpm --rebuilddb --root=${ROOT} |
148 |
else |
149 |
einfo "No RPM database found... Creating database..." |
150 |
"${ROOT}"/usr/bin/rpm --initdb --root=${ROOT} |
151 |
fi |
152 |
|
153 |
distutils_pkg_postinst |
154 |
} |
155 |
|
156 |
|
157 |
|
158 |
-- |
159 |
gentoo-commits@l.g.o mailing list |