1 |
commit: 973990d770074735ece4b1bc058305cf9a76e5d1 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 20 11:09:57 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 20 11:39:02 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=973990d7 |
7 |
|
8 |
app-arch/rpm: Drop old |
9 |
|
10 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
app-arch/rpm/Manifest | 1 - |
14 |
app-arch/rpm/rpm-4.11.0.1.ebuild | 117 --------------------------------------- |
15 |
2 files changed, 118 deletions(-) |
16 |
|
17 |
diff --git a/app-arch/rpm/Manifest b/app-arch/rpm/Manifest |
18 |
index 6ea98751155..cf290957c92 100644 |
19 |
--- a/app-arch/rpm/Manifest |
20 |
+++ b/app-arch/rpm/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST rpm-4.11.0.1.tar.bz2 3670158 BLAKE2B 8190cd760ce86275a27a64aca7622340a2894f4f7aad0171425c7f5d3cfcf58e82c2a792f7d4687fff9270fe3f9c861027b6eea43f3602be8b12098dbccf408f SHA512 72bd3054b2d0def1e25fba7113eda14def38baef62b558e65cafaf3b374823d0905d982772cffddfd9dc6698eff293251acb2ace7dfda0964085669caa88d535 |
23 |
DIST rpm-4.14.1.tar.bz2 4103880 BLAKE2B 3fa7579a251b02ec89943b5505ad9ca7303a444eb64b1018fc74bc6dfb1c19d4f30d96189172c4450925f3357174cde70b298116b53b9155223b52a593a67aea SHA512 29e95eaaf40a6ddf7f23446ea6cb8a1dcd12a45d4965595a705cb9130890d772a40ecfa475b189865da51248b3d2414e4f4b1a40cbfd7ca538c482d87c50a218 |
24 |
|
25 |
diff --git a/app-arch/rpm/rpm-4.11.0.1.ebuild b/app-arch/rpm/rpm-4.11.0.1.ebuild |
26 |
deleted file mode 100644 |
27 |
index 7f596c6dab7..00000000000 |
28 |
--- a/app-arch/rpm/rpm-4.11.0.1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,117 +0,0 @@ |
31 |
-# Copyright 1999-2017 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=5 |
35 |
- |
36 |
-PYTHON_COMPAT=( python2_7 ) |
37 |
- |
38 |
-inherit eutils autotools flag-o-matic perl-module python-single-r1 versionator |
39 |
- |
40 |
-DESCRIPTION="Red Hat Package Management Utils" |
41 |
-HOMEPAGE="http://www.rpm.org" |
42 |
-SRC_URI="http://rpm.org/releases/rpm-$(get_version_component_range 1-2).x/${P}.tar.bz2" |
43 |
- |
44 |
-LICENSE="GPL-2 LGPL-2" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux" |
47 |
- |
48 |
-IUSE="nls python doc caps lua acl selinux" |
49 |
- |
50 |
-CDEPEND="!app-arch/rpm5 |
51 |
- >=sys-libs/db-4.5:* |
52 |
- >=sys-libs/zlib-1.2.3-r1 |
53 |
- >=app-arch/bzip2-1.0.1 |
54 |
- >=dev-libs/popt-1.7 |
55 |
- >=app-crypt/gnupg-1.2 |
56 |
- dev-libs/elfutils |
57 |
- virtual/libintl |
58 |
- >=dev-lang/perl-5.8.8 |
59 |
- dev-libs/nss |
60 |
- python? ( ${PYTHON_DEPS} ) |
61 |
- nls? ( virtual/libintl ) |
62 |
- lua? ( >=dev-lang/lua-5.1.0:*[deprecated] ) |
63 |
- acl? ( virtual/acl ) |
64 |
- caps? ( >=sys-libs/libcap-2.0 )" |
65 |
- |
66 |
-DEPEND="${CDEPEND} |
67 |
- nls? ( sys-devel/gettext ) |
68 |
- doc? ( app-doc/doxygen )" |
69 |
-RDEPEND="${CDEPEND} |
70 |
- selinux? ( sec-policy/selinux-rpm )" |
71 |
-REQUIRED_USE=" |
72 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
73 |
-" |
74 |
- |
75 |
-src_prepare() { |
76 |
- epatch \ |
77 |
- "${FILESDIR}"/${PN}-4.11.0-autotools.patch \ |
78 |
- "${FILESDIR}"/${PN}-4.8.1-db-path.patch \ |
79 |
- "${FILESDIR}"/${PN}-4.9.1.2-libdir.patch |
80 |
- |
81 |
- # fix #356769 |
82 |
- sed -i 's:%{_var}/tmp:/var/tmp:' macros.in || die "Fixing tmppath failed" |
83 |
- |
84 |
- eautoreconf |
85 |
- |
86 |
- # Prevent automake maintainer mode from kicking in (#450448). |
87 |
- touch -r Makefile.am preinstall.am |
88 |
-} |
89 |
- |
90 |
-src_configure() { |
91 |
- append-cppflags -I"${EPREFIX}/usr/include/nss" -I"${EPREFIX}/usr/include/nspr" |
92 |
- econf \ |
93 |
- --without-selinux \ |
94 |
- --with-external-db \ |
95 |
- --without-beecrypt \ |
96 |
- $(use_enable python) \ |
97 |
- $(use_with doc hackingdocs) \ |
98 |
- $(use_enable nls) \ |
99 |
- $(use_with lua) \ |
100 |
- $(use_with caps cap) \ |
101 |
- $(use_with acl) |
102 |
-} |
103 |
- |
104 |
-src_compile() { |
105 |
- default |
106 |
-} |
107 |
- |
108 |
-src_install() { |
109 |
- default |
110 |
- |
111 |
- # remove la files |
112 |
- prune_libtool_files --all |
113 |
- |
114 |
- mv "${ED}"/bin/rpm "${ED}"/usr/bin |
115 |
- rmdir "${ED}"/bin |
116 |
- # fix symlinks to /bin/rpm (#349840) |
117 |
- for binary in rpmquery rpmverify;do |
118 |
- ln -sf rpm "${ED}"/usr/bin/${binary} |
119 |
- done |
120 |
- |
121 |
- use nls || rm -rf "${ED}"/usr/share/man/?? |
122 |
- |
123 |
- keepdir /usr/src/rpm/{SRPMS,SPECS,SOURCES,RPMS,BUILD} |
124 |
- |
125 |
- dodoc CHANGES CREDITS GROUPS README* |
126 |
- if use doc; then |
127 |
- pushd doc/hacking/html |
128 |
- dohtml -p hacking -r . |
129 |
- popd |
130 |
- pushd doc/librpm/html |
131 |
- dohtml -p librpm -r . |
132 |
- popd |
133 |
- fi |
134 |
- |
135 |
- # Fix perllocal.pod file collision |
136 |
- perl_delete_localpod |
137 |
-} |
138 |
- |
139 |
-pkg_postinst() { |
140 |
- if [[ -f "${EROOT}"/var/lib/rpm/Packages ]] ; then |
141 |
- einfo "RPM database found... Rebuilding database (may take a while)..." |
142 |
- "${EROOT}"/usr/bin/rpmdb --rebuilddb --root="${EROOT}" |
143 |
- else |
144 |
- einfo "No RPM database found... Creating database..." |
145 |
- "${EROOT}"/usr/bin/rpmdb --initdb --root="${EROOT}" |
146 |
- fi |
147 |
-} |