summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2008-12-27 22:04:05 +0000
committerCaleb Tennis <caleb@gentoo.org>2008-12-27 22:04:05 +0000
commit0aca0fa7972bd9e96f5c270468bab8a1fd0f3063 (patch)
treebb1e9954d872a55babaa4836ef75f0b0104f4d70 /app-arch/rpm
parentVersion bump per 249713 (diff)
downloadhistorical-0aca0fa7972bd9e96f5c270468bab8a1fd0f3063.tar.gz
historical-0aca0fa7972bd9e96f5c270468bab8a1fd0f3063.tar.bz2
historical-0aca0fa7972bd9e96f5c270468bab8a1fd0f3063.zip
version bump, from 223481
Package-Manager: portage-2.2_rc18/cvs/Linux 2.6.18-xenU-ec2-v1.0 i686
Diffstat (limited to 'app-arch/rpm')
-rw-r--r--app-arch/rpm/ChangeLog7
-rw-r--r--app-arch/rpm/Manifest14
-rw-r--r--app-arch/rpm/rpm-5.1.6.ebuild111
3 files changed, 120 insertions, 12 deletions
diff --git a/app-arch/rpm/ChangeLog b/app-arch/rpm/ChangeLog
index 328a6b28b5c4..6e526f5ccfa8 100644
--- a/app-arch/rpm/ChangeLog
+++ b/app-arch/rpm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-arch/rpm
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.100 2008/11/17 19:53:51 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.101 2008/12/27 22:04:05 caleb Exp $
+
+*rpm-5.1.6 (27 Dec 2008)
+
+ 27 Dec 2008; Caleb Tennis <caleb@gentoo.org> +rpm-5.1.6.ebuild:
+ version bump, from 223481
17 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org>
files/rpm-4.4.7-config.rpath.patch:
diff --git a/app-arch/rpm/Manifest b/app-arch/rpm/Manifest
index eae411cc119a..c115477a496f 100644
--- a/app-arch/rpm/Manifest
+++ b/app-arch/rpm/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX rpm-4.0.4-gentoo-uclibc.patch 1418 RMD160 b2b89f401c6f6f3d275e4666312555a3ad6ffbeb SHA1 673ea952b741a140f9f20a24282589ef4f2a1198 SHA256 8671a390a1e1673e0415f8a4da96d0b8234d870d02d4e28b28d735dc35e49cf7
AUX rpm-4.0.4-sandbox.patch 938 RMD160 95dad47ac3b18213a271657db643ca3188c2d208 SHA1 96ae471af884a0b4abbe6cbdcc55b62e58683bd6 SHA256 d10e4674993bbfd3294837639a3cfbd2cda443fad3486ef15ee695c2f0f80651
AUX rpm-4.4.6-autotools.patch 660 RMD160 63155d3737ffdf9927b1763ddf068c5964e168c9 SHA1 70dd2346df0e5d95ec4a06587485381b48d52b81 SHA256 dd4828899e760358b702d0c2ca75e781619f7b65140cf2cc5600ea687a085569
@@ -18,6 +15,7 @@ DIST rpm-4.4.7-patches-1.tar.gz 48537 RMD160 9baaf952fa105bc2a51241eac89ff28ffd2
DIST rpm-4.4.7.tar.gz 14125623 RMD160 9002eb0fe1d680d8bff447d6918f9726c9a4e34c SHA1 b119fb0f10fd5e2eb330ba547b6a89e40f3c0e68 SHA256 18fde4195e4ac21a4290327336948f8c4fc58a680395edbb5f2f31bae67b18b5
DIST rpm-5.0.0.tar.gz 8990824 RMD160 a10793c9a776dd1478b0675914a71f46eb5e2999 SHA1 df5fbaf2e729a0d3ea101a17c86b6a7fc3d00a05 SHA256 d3424770f3db6c79dda76e01155134065f28c046ea8a18a173e74070ec6e3b17
DIST rpm-5.0.3.tar.gz 9337992 RMD160 d26cdfef5a3bf18442e1825d810afb32bcfa2161 SHA1 d3461710de17a8f7dc3e49371d7edf620b10c27e SHA256 224d15c52511b453b2a63e6447b279a622c03af5fe373a67757979f4d00cd042
+DIST rpm-5.1.6.tar.gz 8305612 RMD160 88645f4a7c2e25fffaa5628d267e86eaac137b35 SHA1 3ab7d1edf333102c748c22e9144ab90d9719ab0b SHA256 82ee1a737bd77ddd90b0fe1e9a2f478c46033e451fac3881d00ab9e166951799
EBUILD rpm-4.4.6-r3.ebuild 2774 RMD160 78caecc05338a6ac5cd1280d4fcc7a8346da62bf SHA1 85307e4d23ea07fafb8929e31b873086c1b5ace9 SHA256 021f9f32b65781e02991c0d4c4e55024234bd1d2b8193c56b658c8b62cc947c8
EBUILD rpm-4.4.6-r4.ebuild 3047 RMD160 39328127dcf0bde2792922fcf93e79219a000216 SHA1 2eceb86c44953c02b742bd22f61de0708ca8759f SHA256 87066e1d9594d9a2d3ece3a6f9f23090e89b4b7739acab525f25a4966ac3d558
EBUILD rpm-4.4.6-r5.ebuild 3099 RMD160 8d0ca6d53973cd1aa1624bd2bc2e5691a96b3190 SHA1 470c8fca1dc3103a255f0b49c78cd3c3b2ea94a1 SHA256 69cae71c0e2441bb54f45fefff84a034f6a8312bb9db0d6f100e609a06092298
@@ -28,12 +26,6 @@ EBUILD rpm-4.4.7-r3.ebuild 8214 RMD160 0e71469a760703011281b1ee5e0ad42749eef15a
EBUILD rpm-4.4.7-r4.ebuild 3048 RMD160 e57970a521474ef5009025bc36f60faec001b4fc SHA1 fd1dd85e46df1150b4b9b2e0f09a290793cd20d9 SHA256 28b82da49b98ddb8cc669459bc1ea53194c0943b4054f9cfa44c0b9ad402cc9a
EBUILD rpm-5.0.0.ebuild 2732 RMD160 bb1da5416a4869216a186e6868f253b8a0d6f7d6 SHA1 736d093a2030df32ad8c1e7ff5fc93f0e6d5f55f SHA256 ed8e918b9d471f0e03f16546f310f9d5742ed84e2d2f6730214531c8f8bacca2
EBUILD rpm-5.0.3.ebuild 2744 RMD160 9e14596237701e20ec280e28e80ec792209111b2 SHA1 22b99f7d7f177f6143daae9e637200696ea1a619 SHA256 52123909c2bfb4e80706c6c7533a64f608fcfcb51678790d82ede4eef61cc531
-MISC ChangeLog 15226 RMD160 82227b35c401ba9430347321f8a3afb466d586e9 SHA1 89c71b014876d4c562ce8546c9e3668e1065b264 SHA256 2de7f684d538fa3c29995a9b3b005c422c12f4a99e401b83ac3250d799a4f3b1
+EBUILD rpm-5.1.6.ebuild 2953 RMD160 2d78509cb89b38d93e91f6da26355703993f8d55 SHA1 00e4a7cc570b1d003c2a09e371afb9fbac2ea752 SHA256 0d74c373c9597140c222e02997f16a67a9b630eb9e009caa42a9589365bcfe0d
+MISC ChangeLog 15343 RMD160 60b8ec5a9a05f9b72c650be615920942d7d9294b SHA1 7227e75ce9c97b884348da3e9bdbbed5c502616c SHA256 4170dfda32f786f3b0b183b4b53a663420b6c01755af9288b291c04cb3a2512f
MISC metadata.xml 342 RMD160 f6a9897100e1996f5e08394ef25fb574021e1cb7 SHA1 e7b883ed8e74f066507e02fb66e155e415513d6f SHA256 46745a9e77d0bc39c098f58d722e37fba69927c3f8a964bd4e39e28a4415bef0
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkkhy9UACgkQAiZjviIA2XiKTACcDcBqfMgIG75JNlEo71ntyxpA
-hDoAoIDyixtB4hKTNRgIcxlsF1AF5vV4
-=jW6F
------END PGP SIGNATURE-----
diff --git a/app-arch/rpm/rpm-5.1.6.ebuild b/app-arch/rpm/rpm-5.1.6.ebuild
new file mode 100644
index 000000000000..37924052927e
--- /dev/null
+++ b/app-arch/rpm/rpm-5.1.6.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-5.1.6.ebuild,v 1.1 2008/12/27 22:04:05 caleb Exp $
+
+inherit multilib distutils python
+
+MY_P=${P/_alpha/a}
+MY_P=${P/_beta/b}
+
+DESCRIPTION="RPM Package Manager"
+HOMEPAGE="http://rpm5.org/"
+SRC_URI="http://rpm5.org/files/rpm/rpm-5.1/${MY_P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="berkdb bzip2 doc file lua neon nls pcre perl python selinux sqlite"
+
+# dmalloc? ( dev-libs/dmalloc )
+# efence? ( dev-util/efence )
+# keyutils? ( sys-apps/keyutils )
+# xar? ( app-arch/xar )
+RDEPEND="dev-libs/beecrypt
+ dev-libs/popt
+ berkdb? ( sys-libs/db )
+ bzip2? ( app-arch/bzip2 )
+ lua? ( dev-lang/lua )
+ neon? ( net-misc/neon )
+ pcre? ( dev-libs/libpcre )
+ perl? ( dev-lang/perl )
+ python? ( dev-lang/python )
+ selinux? ( sys-libs/libselinux )
+ sqlite? ( dev-db/sqlite )"
+# comes bundled with modified zlib
+# >=sys-libs/zlib-1.2.3-r1
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup () {
+ ewarn "If you are upgrading from an rpm version of 5.0.0 or lower, "
+ ewarn "your database will not be updated. Please back up your rpm "
+ ewarn "database, and run: "
+ ewarn " rpm --initdb"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ rm -rf file xar #db
+ sed -i \
+ -e '/^pkgconfigdir/s:=.*:=$(libdir)/pkgconfig:' \
+ scripts/Makefile.in || die
+}
+
+src_compile() {
+# $(use_with dmalloc) \
+# $(use_with efence) \
+# $(use_with keyutils) \
+# $(use_with xar) \
+ # --with-libelf
+ use python && python_version
+ econf \
+ $(use_with berkdb db) \
+ $(use_with bzip2) \
+ $(use_with doc apidocs) \
+ $(use_with file) \
+ $(use_with lua) \
+ $(use_with neon) \
+ $(use_with nls) \
+ $(use_with pcre) \
+ $(use_with perl) \
+ $(use_with python) \
+ $(use_with selinux) \
+ $(use_with sqlite) \
+ $(use berkdb || use sqlite || echo --with-db) \
+ --with-path-lib="/usr/$(get_libdir)/rpm" \
+ --with-python-lib-dir="/usr/$(get_libdir)/python${PYVER}" \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc CHANGES CREDITS NEWS README TODO
+}
+
+pkg_preinst() {
+ enewgroup rpm 37
+ enewuser rpm 37 /bin/sh /var/lib/rpm rpm
+}
+
+pkg_postinst() {
+ chown -R rpm:rpm "${ROOT}"/usr/$(get_libdir)/rpm
+ chown -R rpm:rpm "${ROOT}"/var/lib/rpm
+ chown rpm:rpm "${ROOT}"/usr/bin/rpm{,2cpio,build,constant}
+ if [[ ${ROOT} == "/" ]] ; then
+ if [[ -f ${ROOT}/var/lib/rpm/Packages ]] ; then
+ einfo "RPM database found... Rebuilding database (may take a while)..."
+ "${ROOT}"/usr/bin/rpm --rebuilddb --root="${ROOT}"
+ else
+ einfo "No RPM database found... Creating database..."
+ "${ROOT}"/usr/bin/rpm --initdb --root="${ROOT}"
+ fi
+ fi
+ chown rpm:rpm "${ROOT}"/var/lib/rpm/*
+
+ distutils_pkg_postinst
+}