app-arch/rpm: delete buggy rpm
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1185 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
e2a4c7ab56
commit
a75efdad53
@ -2,6 +2,9 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
01 May 2009; Mario Fetka <mario.fetka@gmail.com> -rpm-5.1.9.ebuild:
|
||||
delete buggy rpm
|
||||
|
||||
* rpm-5.1.9 (25 Apr 2009)
|
||||
|
||||
25 Apr 2009; Mario Fetka <mario.fetka@gmail.com> rpm-5.1.9:
|
||||
|
@ -1,6 +1,4 @@
|
||||
DIST rpm-5.1.6.tar.gz 8305612 RMD160 88645f4a7c2e25fffaa5628d267e86eaac137b35 SHA1 3ab7d1edf333102c748c22e9144ab90d9719ab0b SHA256 82ee1a737bd77ddd90b0fe1e9a2f478c46033e451fac3881d00ab9e166951799
|
||||
DIST rpm-5.1.9.tar.gz 10905959 RMD160 2c26d72f0a7675388fdb7a4c36c404fc04dc020b SHA1 12f4be10da5e622f175fac79bbcea17928830357 SHA256 1aec55eecf2a7b7e928438b7926e0ed950c0c3dc44ca8c2b98cab718c3c4ad3d
|
||||
EBUILD rpm-5.1.6.ebuild 2951 RMD160 1052b2f14972a43386465b13d2014b56f7575c67 SHA1 d7d7c2774abb8fb20c82e1585c81bb95c755d478 SHA256 fe358050f2138c6899e2846674299435c44a40bab562e271fe0c25b273e2e08b
|
||||
EBUILD rpm-5.1.9.ebuild 2958 RMD160 2d470b323af36817c1deec9a6c501386f5d756d0 SHA1 0e532606e9025badfb3fa76171a01d5d2d3f21f5 SHA256 54dfb5f74f4a0916158493771402f08fc9d6c4b8d9412ee8daaf295003d0a77f
|
||||
MISC ChangeLog 296 RMD160 863d3bd949067be255aaf286ce90a8ea905d7c02 SHA1 ae45bbcfe0066febd31542d7949b2e550e214e37 SHA256 5dcf50f9a2d0723980e81f3cb0b38d3a33aa10cbbc67973a175cdf1cb6360d57
|
||||
MISC ChangeLog 386 RMD160 841cf27e67db3186eb966c60398d32035030a2c5 SHA1 b8776343697967bdb0b7f6d74405e09bba16147d SHA256 142d19a8547b35520a7ca7d1c70b4bbb1b75130e8f469b82518c0669af27e402
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
||||
|
@ -1,111 +0,0 @@
|
||||
# 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.2 2008/09/25 09:54:44 aballier 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-1.15
|
||||
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 "
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue
Block a user