Gentoo Archives: gentoo-commits

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