diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-01-05 16:27:02 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-01-05 16:27:02 +0000 |
commit | daa802e8312a1a8a1bd690a513f9473871ce7c6e (patch) | |
tree | 6e65805471a0c94f5323cfab3ffc730c5120ddb2 /app-arch | |
parent | sparc stable wrt #203752 (diff) | |
download | gentoo-2-daa802e8312a1a8a1bd690a513f9473871ce7c6e.tar.gz gentoo-2-daa802e8312a1a8a1bd690a513f9473871ce7c6e.tar.bz2 gentoo-2-daa802e8312a1a8a1bd690a513f9473871ce7c6e.zip |
old
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/rpm/files/digest-rpm-5.0_alpha4 | 3 | ||||
-rw-r--r-- | app-arch/rpm/files/digest-rpm-5.0_beta1 | 3 | ||||
-rw-r--r-- | app-arch/rpm/files/digest-rpm-5.0_beta2 | 3 | ||||
-rw-r--r-- | app-arch/rpm/files/digest-rpm-5.0_beta3 | 3 | ||||
-rw-r--r-- | app-arch/rpm/files/digest-rpm-5.0_beta4 | 3 | ||||
-rw-r--r-- | app-arch/rpm/rpm-5.0_alpha4.ebuild | 97 | ||||
-rw-r--r-- | app-arch/rpm/rpm-5.0_beta1.ebuild | 97 | ||||
-rw-r--r-- | app-arch/rpm/rpm-5.0_beta2.ebuild | 97 | ||||
-rw-r--r-- | app-arch/rpm/rpm-5.0_beta3.ebuild | 103 | ||||
-rw-r--r-- | app-arch/rpm/rpm-5.0_beta4.ebuild | 103 |
10 files changed, 0 insertions, 512 deletions
diff --git a/app-arch/rpm/files/digest-rpm-5.0_alpha4 b/app-arch/rpm/files/digest-rpm-5.0_alpha4 deleted file mode 100644 index 047720be3447..000000000000 --- a/app-arch/rpm/files/digest-rpm-5.0_alpha4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 ced6a7563f31ad191681233cabb7884a rpm-5.0a4.tar.gz 8919298 -RMD160 91ee2d3221229b2194089abb6b3477878a525ef7 rpm-5.0a4.tar.gz 8919298 -SHA256 a870025af0db1fb08d86d3252a1a60e475f40affc19aa025bef12563eb108032 rpm-5.0a4.tar.gz 8919298 diff --git a/app-arch/rpm/files/digest-rpm-5.0_beta1 b/app-arch/rpm/files/digest-rpm-5.0_beta1 deleted file mode 100644 index cef81b37cffa..000000000000 --- a/app-arch/rpm/files/digest-rpm-5.0_beta1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 343d74b90f63b427094fb16fc1328959 rpm-5.0b1.tar.gz 8972681 -RMD160 42996d518fde825d84e6e895c99297f2db7d1d6e rpm-5.0b1.tar.gz 8972681 -SHA256 8be8f6525ada3d706844e600e2be12f495ce475b639193af626eb6a51726f95b rpm-5.0b1.tar.gz 8972681 diff --git a/app-arch/rpm/files/digest-rpm-5.0_beta2 b/app-arch/rpm/files/digest-rpm-5.0_beta2 deleted file mode 100644 index 7af9c7ae7bbd..000000000000 --- a/app-arch/rpm/files/digest-rpm-5.0_beta2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 73374de4d4f20fb093de7ef5c46a3307 rpm-5.0b2.tar.gz 8974455 -RMD160 5bae32efdb33c58c5ad668d27d25c75cd917e6cf rpm-5.0b2.tar.gz 8974455 -SHA256 757bf7855dd2a58df8010a87b7fd1251ba46315c6cf63cfa547ac6586061659e rpm-5.0b2.tar.gz 8974455 diff --git a/app-arch/rpm/files/digest-rpm-5.0_beta3 b/app-arch/rpm/files/digest-rpm-5.0_beta3 deleted file mode 100644 index d5bd3612fc9f..000000000000 --- a/app-arch/rpm/files/digest-rpm-5.0_beta3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 444c0ea3399382535f43475d3c934e7a rpm-5.0b3.tar.gz 8971946 -RMD160 856b1f03a95163928e1de313645959f54eec2afa rpm-5.0b3.tar.gz 8971946 -SHA256 ac6a75801151f105eda9a909474d7caa13da950103ad0e3d453853bbe28548b9 rpm-5.0b3.tar.gz 8971946 diff --git a/app-arch/rpm/files/digest-rpm-5.0_beta4 b/app-arch/rpm/files/digest-rpm-5.0_beta4 deleted file mode 100644 index e0018a1b56dd..000000000000 --- a/app-arch/rpm/files/digest-rpm-5.0_beta4 +++ /dev/null @@ -1,3 +0,0 @@ -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_alpha4.ebuild b/app-arch/rpm/rpm-5.0_alpha4.ebuild deleted file mode 100644 index 2cb4e42a387a..000000000000 --- a/app-arch/rpm/rpm-5.0_alpha4.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# 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_alpha4.ebuild,v 1.1 2007/12/09 07:34:38 vapier Exp $ - -inherit multilib distutils - -MY_P=${P/_alpha/a} - -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 -} - -src_compile() { -# $(use_with dmalloc) \ -# $(use_with efence) \ -# $(use_with keyutils) \ -# $(use_with xar) \ - # --with-libelf - 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) \ - || 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,db,query,sign,verify} - 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 -} diff --git a/app-arch/rpm/rpm-5.0_beta1.ebuild b/app-arch/rpm/rpm-5.0_beta1.ebuild deleted file mode 100644 index a8881d81580c..000000000000 --- a/app-arch/rpm/rpm-5.0_beta1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# 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_beta1.ebuild,v 1.2 2007/12/10 09:07:23 vapier Exp $ - -inherit multilib distutils - -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 -} - -src_compile() { -# $(use_with dmalloc) \ -# $(use_with efence) \ -# $(use_with keyutils) \ -# $(use_with xar) \ - # --with-libelf - 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) \ - || 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,contant} - 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 -} diff --git a/app-arch/rpm/rpm-5.0_beta2.ebuild b/app-arch/rpm/rpm-5.0_beta2.ebuild deleted file mode 100644 index bae0e526367d..000000000000 --- a/app-arch/rpm/rpm-5.0_beta2.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# 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_beta2.ebuild,v 1.1 2007/12/16 20:38:19 vapier Exp $ - -inherit multilib distutils - -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 -} - -src_compile() { -# $(use_with dmalloc) \ -# $(use_with efence) \ -# $(use_with keyutils) \ -# $(use_with xar) \ - # --with-libelf - 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) \ - || 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 -} diff --git a/app-arch/rpm/rpm-5.0_beta3.ebuild b/app-arch/rpm/rpm-5.0_beta3.ebuild deleted file mode 100644 index 7680aa35bb2d..000000000000 --- a/app-arch/rpm/rpm-5.0_beta3.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# 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_beta3.ebuild,v 1.1 2007/12/23 03:53:28 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 -} diff --git a/app-arch/rpm/rpm-5.0_beta4.ebuild b/app-arch/rpm/rpm-5.0_beta4.ebuild deleted file mode 100644 index 566137db54ba..000000000000 --- a/app-arch/rpm/rpm-5.0_beta4.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# 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 -} |