diff options
-rw-r--r-- | app-arch/rpm/ChangeLog | 7 | ||||
-rw-r--r-- | app-arch/rpm/Manifest | 22 | ||||
-rw-r--r-- | app-arch/rpm/files/digest-rpm-5.0_beta4 | 3 | ||||
-rw-r--r-- | app-arch/rpm/rpm-5.0_beta4.ebuild | 103 |
4 files changed, 127 insertions, 8 deletions
diff --git a/app-arch/rpm/ChangeLog b/app-arch/rpm/ChangeLog index 3488fc53a322..6a4824774c9b 100644 --- a/app-arch/rpm/ChangeLog +++ b/app-arch/rpm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-arch/rpm # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.85 2007/12/23 03:53:28 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.86 2007/12/31 17:50:12 vapier Exp $ + +*rpm-5.0_beta4 (31 Dec 2007) + + 31 Dec 2007; Mike Frysinger <vapier@gentoo.org> +rpm-5.0_beta4.ebuild: + Version bump #203913 by Andrey Falko. *rpm-5.0_beta3 (23 Dec 2007) diff --git a/app-arch/rpm/Manifest b/app-arch/rpm/Manifest index 1e4336913878..c63f249f9660 100644 --- a/app-arch/rpm/Manifest +++ b/app-arch/rpm/Manifest @@ -52,6 +52,7 @@ DIST rpm-5.0a4.tar.gz 8919298 RMD160 91ee2d3221229b2194089abb6b3477878a525ef7 SH DIST rpm-5.0b1.tar.gz 8972681 RMD160 42996d518fde825d84e6e895c99297f2db7d1d6e SHA1 df0f1b4213512624665c67158f8d5ff50b18e5d6 SHA256 8be8f6525ada3d706844e600e2be12f495ce475b639193af626eb6a51726f95b DIST rpm-5.0b2.tar.gz 8974455 RMD160 5bae32efdb33c58c5ad668d27d25c75cd917e6cf SHA1 b2257576956130754ed285e76e14583a97f9d457 SHA256 757bf7855dd2a58df8010a87b7fd1251ba46315c6cf63cfa547ac6586061659e DIST rpm-5.0b3.tar.gz 8971946 RMD160 856b1f03a95163928e1de313645959f54eec2afa SHA1 e6b89ee707339c264c0d3279c7480685ada1f02d SHA256 ac6a75801151f105eda9a909474d7caa13da950103ad0e3d453853bbe28548b9 +DIST rpm-5.0b4.tar.gz 8984649 RMD160 341ad4dec32795daf4eff980254339cd7edead20 SHA1 a5457f95e7ea4ce927acf165a29b8f095070d68a SHA256 108c0e2c09af9ce8bb66b64dbe4c5da0ee64afb5ecb72d5b060ff0f71d6abbb3 EBUILD rpm-4.4.6-r3.ebuild 2775 RMD160 93ad5aeaf17c0d1272d71a37330b7c5f36a8f796 SHA1 244c09eeefb5e0d9fc14ae456629842b67720cf0 SHA256 9c0192acbfcf63ad3d3a884539cc36dc72b6f980d53dd81c58cb4cf7a926a043 MD5 815c814fe3eef8a048e553e87b7e237f rpm-4.4.6-r3.ebuild 2775 RMD160 93ad5aeaf17c0d1272d71a37330b7c5f36a8f796 rpm-4.4.6-r3.ebuild 2775 @@ -88,10 +89,14 @@ EBUILD rpm-5.0_beta3.ebuild 2717 RMD160 8a633dc892f8bf1885b08ac60c1cf1fd10b029cc MD5 00d188fbea8012239fc0e72420ba86d8 rpm-5.0_beta3.ebuild 2717 RMD160 8a633dc892f8bf1885b08ac60c1cf1fd10b029cc rpm-5.0_beta3.ebuild 2717 SHA256 fd23e5f97f97b56d1568afc9d9d84305b3f88812c36cdacd11f576f5d7a0dae6 rpm-5.0_beta3.ebuild 2717 -MISC ChangeLog 13171 RMD160 80c5dfacb59258c63ac3dec10945e2d60b72336a SHA1 024f30bd35a2a0260d20473e6f5560b2b1a80502 SHA256 b4361eb3336f88207707996e127679fd4063ce463e2dc07026f22e21c6bc8f8e -MD5 407ec5c59604da7cfce4535fdcb8b420 ChangeLog 13171 -RMD160 80c5dfacb59258c63ac3dec10945e2d60b72336a ChangeLog 13171 -SHA256 b4361eb3336f88207707996e127679fd4063ce463e2dc07026f22e21c6bc8f8e ChangeLog 13171 +EBUILD rpm-5.0_beta4.ebuild 2717 RMD160 be9d1c43d8f346564bcf29186c3aee589aad546b SHA1 728bf1d3eca9eff065b9e822620a8d1587f3319d SHA256 631f8a9d44a449e418f6cb616ebdd89c517b9603c212e2ae45ee06b493e9583d +MD5 ca98e7e8b161bac6a7148da4263000e5 rpm-5.0_beta4.ebuild 2717 +RMD160 be9d1c43d8f346564bcf29186c3aee589aad546b rpm-5.0_beta4.ebuild 2717 +SHA256 631f8a9d44a449e418f6cb616ebdd89c517b9603c212e2ae45ee06b493e9583d rpm-5.0_beta4.ebuild 2717 +MISC ChangeLog 13315 RMD160 12a482457421fdf4d35eaf4d8fd6247d8782976f SHA1 20dec6e3161c92d0aeb99a64df5c715cc64a9f68 SHA256 3ae1097fbf72eb87b1947d2d79c6b1fd94598045f101beca887ddce4e2eb39cc +MD5 304e3867dba01c8be67df7a99513a065 ChangeLog 13315 +RMD160 12a482457421fdf4d35eaf4d8fd6247d8782976f ChangeLog 13315 +SHA256 3ae1097fbf72eb87b1947d2d79c6b1fd94598045f101beca887ddce4e2eb39cc ChangeLog 13315 MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a MD5 ed8349e980407e49b724e04ee5a9a2ed metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c metadata.xml 231 @@ -123,10 +128,13 @@ SHA256 daf2515cbd57faf86fa9371f6e93177347d27ece80d7c1168a8f13e78168eb47 files/di MD5 0798655fe4d6dbd7c62037b290b43a14 files/digest-rpm-5.0_beta3 232 RMD160 1c75d9f853bbeca3f7492f4aa243ba77dc3113a2 files/digest-rpm-5.0_beta3 232 SHA256 d906e72d7aa8e5a1a863e628e617ce5181c93568f7738d12fcea5e883f30e7a4 files/digest-rpm-5.0_beta3 232 +MD5 472c904d64a6b6f4b128afed011412d7 files/digest-rpm-5.0_beta4 232 +RMD160 25c16abdb9e5b0f999249c3f7f0a8fd1e2542bf9 files/digest-rpm-5.0_beta4 232 +SHA256 8d86499d252d8cee26d8db6ca1d3c75d3a4679ae013a964c600ff47d76899e51 files/digest-rpm-5.0_beta4 232 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (GNU/Linux) -iEYEARECAAYFAkdt22wACgkQj9hvisErhMI4VACfXNNYTqVx0hp1APuFKeN75pjF -rTUAnj3yTIOvIPlngjYNN+s+Av+EhoWT -=c577 +iEYEARECAAYFAkd5K9oACgkQj9hvisErhMJqAQCgrAKseOLEEmIck85Rpbk6SiQJ +qToAnjSK0B6MHaxtggp0UoqFi111mvPo +=KWRT -----END PGP SIGNATURE----- diff --git a/app-arch/rpm/files/digest-rpm-5.0_beta4 b/app-arch/rpm/files/digest-rpm-5.0_beta4 new file mode 100644 index 000000000000..e0018a1b56dd --- /dev/null +++ b/app-arch/rpm/files/digest-rpm-5.0_beta4 @@ -0,0 +1,3 @@ +MD5 89e5d27874724ac01f6ac229e2fa8a22 rpm-5.0b4.tar.gz 8984649 +RMD160 341ad4dec32795daf4eff980254339cd7edead20 rpm-5.0b4.tar.gz 8984649 +SHA256 108c0e2c09af9ce8bb66b64dbe4c5da0ee64afb5ecb72d5b060ff0f71d6abbb3 rpm-5.0b4.tar.gz 8984649 diff --git a/app-arch/rpm/rpm-5.0_beta4.ebuild b/app-arch/rpm/rpm-5.0_beta4.ebuild new file mode 100644 index 000000000000..566137db54ba --- /dev/null +++ b/app-arch/rpm/rpm-5.0_beta4.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-5.0_beta4.ebuild,v 1.1 2007/12/31 17:50:12 vapier Exp $ + +inherit multilib distutils python + +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 +} |