summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-03-30 03:49:16 +0000
committerMike Frysinger <vapier@gentoo.org>2008-03-30 03:49:16 +0000
commit9acb5ff756ca09f079f7a1e22e47ec1361336b3e (patch)
tree8a701038dc453db71b427413cf3fbe1067d45e4b /app-arch
parentrename rubygems-1.1.0-r0.ebuild to match ebuild howto guidelines (diff)
downloadhistorical-9acb5ff756ca09f079f7a1e22e47ec1361336b3e.tar.gz
historical-9acb5ff756ca09f079f7a1e22e47ec1361336b3e.tar.bz2
historical-9acb5ff756ca09f079f7a1e22e47ec1361336b3e.zip
Version bump #213306 by Sandro Bonazzola.
Package-Manager: portage-2.2_pre5
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/rpm/ChangeLog7
-rw-r--r--app-arch/rpm/Manifest14
-rw-r--r--app-arch/rpm/rpm-5.0.3.ebuild104
3 files changed, 123 insertions, 2 deletions
diff --git a/app-arch/rpm/ChangeLog b/app-arch/rpm/ChangeLog
index 4bec48e63b3f..784b1ab85ecf 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.88 2008/03/11 17:01:48 ricmm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.89 2008/03/30 03:49:16 vapier Exp $
+
+*rpm-5.0.3 (30 Mar 2008)
+
+ 30 Mar 2008; Mike Frysinger <vapier@gentoo.org> +rpm-5.0.3.ebuild:
+ Version bump #213306 by Sandro Bonazzola.
11 Mar 2008; <ricmm@gentoo.org> rpm-4.4.6-r3.ebuild:
Drop to ~mips due to unstable deps
diff --git a/app-arch/rpm/Manifest b/app-arch/rpm/Manifest
index 83e631821a92..0e4e54aebd98 100644
--- a/app-arch/rpm/Manifest
+++ b/app-arch/rpm/Manifest
@@ -1,3 +1,6 @@
+-----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
@@ -13,11 +16,20 @@ DIST rpm-4.4.6.tar.gz 17157249 RMD160 6b433d20a63fb2542244ae62eff0a8b5fe290439 S
DIST rpm-4.4.7-patches-1.tar.gz 48537 RMD160 9baaf952fa105bc2a51241eac89ff28ffd2378a0 SHA1 4ee1557645e33cfaa222ce4246c06c279300b93e SHA256 1444dc2eb7c07953bd5e0857d6d9db3817a692308729288d3acd84910abdb4a4
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
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.7-r1.ebuild 2794 RMD160 c5afdbf9fe52b9bf4c48eaedd2d9886af90e900d SHA1 e415019dc31032c80e5ab9e127f66dc4f9e413b2 SHA256 7a1bdd8bf0541ad1c58e0c3b19f3c4fed15df017496d977c92c361fb4d8971e3
EBUILD rpm-4.4.7-r2.ebuild 2989 RMD160 937b40114e5acfd171618b6649619175438e8ac6 SHA1 9da20fb85c32d3a28a9061bf99f86e0e6d02f505 SHA256 c02f8f206b8dfbccca95e31b45cac223cb57bff79ba7160d2a3c757bd728fe57
EBUILD rpm-4.4.7-r3.ebuild 8214 RMD160 0e71469a760703011281b1ee5e0ad42749eef15a SHA1 9ad8466b1df65eeecd6579d41475065598e45bef SHA256 6caa28c3d917e084074637cfc567ffdbb2386667a9c7880da6c80e2f4e3aaac0
EBUILD rpm-5.0.0.ebuild 2732 RMD160 bb1da5416a4869216a186e6868f253b8a0d6f7d6 SHA1 736d093a2030df32ad8c1e7ff5fc93f0e6d5f55f SHA256 ed8e918b9d471f0e03f16546f310f9d5742ed84e2d2f6730214531c8f8bacca2
-MISC ChangeLog 13543 RMD160 0b9c47ce5ffca0440956787d9bc7a4066c71f2bb SHA1 91af2698c7efb2b83cb2c189411f9cd1cc00eaf3 SHA256 4bb651bb5624a1eefc4e6c57fe9b1111d81c5a94a697150b5f9f392e8b9f9ccb
+EBUILD rpm-5.0.3.ebuild 2732 RMD160 b6f3c4235495c738c186b5ca48a0b7b56c74d94f SHA1 87accb4d8065a7d1b8ddd945ef74feadbb06e2f9 SHA256 384c2c0c84ccae427bcb08f2188230ce342d11dabe538252ddc45fa1b29962bf
+MISC ChangeLog 13684 RMD160 a127cb7bd4d6acf1f9d4d420bb21e1722f9e41b3 SHA1 b14af4e675c89172f11e0be41ea51cbb12fb57ae SHA256 a247b4cf087b8d8bd1abd509c60e1184f9d24feeac9403b1a43b1890530510a8
MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFH7w6Sj9hvisErhMIRAjjQAKDIWoYG6zzwqQ0cj3EKCAMYTCwTDACfeGBo
+9fZEKwCLM6vb1uz4gS182qQ=
+=O6B2
+-----END PGP SIGNATURE-----
diff --git a/app-arch/rpm/rpm-5.0.3.ebuild b/app-arch/rpm/rpm-5.0.3.ebuild
new file mode 100644
index 000000000000..a0354d6c4a5d
--- /dev/null
+++ b/app-arch/rpm/rpm-5.0.3.ebuild
@@ -0,0 +1,104 @@
+# 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.0.3.ebuild,v 1.1 2008/03/30 03:49:16 vapier 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.0/${MY_P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+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}
+
+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
+}