summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-03-26 10:52:37 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-03-26 10:52:37 +0000
commitd7f71822db305f6f13d925ce800b0d76dbb8b681 (patch)
tree952e17ce122d37587fcd4fa3470d9bd06c0dfa78 /app-arch/rpm
parentnew format (diff)
downloadhistorical-d7f71822db305f6f13d925ce800b0d76dbb8b681.tar.gz
historical-d7f71822db305f6f13d925ce800b0d76dbb8b681.tar.bz2
historical-d7f71822db305f6f13d925ce800b0d76dbb8b681.zip
removed crusty ebuilds
Diffstat (limited to 'app-arch/rpm')
-rw-r--r--app-arch/rpm/files/digest-rpm-4.0.4-r31
-rw-r--r--app-arch/rpm/files/digest-rpm-4.0.4-r41
-rw-r--r--app-arch/rpm/files/digest-rpm-4.11
-rw-r--r--app-arch/rpm/rpm-4.0.4-r3.ebuild52
-rw-r--r--app-arch/rpm/rpm-4.0.4-r4.ebuild68
-rw-r--r--app-arch/rpm/rpm-4.1.ebuild82
-rw-r--r--app-arch/rpm/rpm-4.2.ebuild5
7 files changed, 3 insertions, 207 deletions
diff --git a/app-arch/rpm/files/digest-rpm-4.0.4-r3 b/app-arch/rpm/files/digest-rpm-4.0.4-r3
deleted file mode 100644
index 5e661a951e56..000000000000
--- a/app-arch/rpm/files/digest-rpm-4.0.4-r3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b0c3093d2f0d850760e59ac1db9bf152 rpm-4.0.4.tar.gz 5865692
diff --git a/app-arch/rpm/files/digest-rpm-4.0.4-r4 b/app-arch/rpm/files/digest-rpm-4.0.4-r4
deleted file mode 100644
index 5e661a951e56..000000000000
--- a/app-arch/rpm/files/digest-rpm-4.0.4-r4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b0c3093d2f0d850760e59ac1db9bf152 rpm-4.0.4.tar.gz 5865692
diff --git a/app-arch/rpm/files/digest-rpm-4.1 b/app-arch/rpm/files/digest-rpm-4.1
deleted file mode 100644
index 71b87a9a673e..000000000000
--- a/app-arch/rpm/files/digest-rpm-4.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 fa023805db9fc7f7437483cc21d703cc rpm-4.1.tar.gz 6494145
diff --git a/app-arch/rpm/rpm-4.0.4-r3.ebuild b/app-arch/rpm/rpm-4.0.4-r3.ebuild
deleted file mode 100644
index 14e8a0ea20b1..000000000000
--- a/app-arch/rpm/rpm-4.0.4-r3.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.0.4-r3.ebuild,v 1.12 2003/02/13 05:56:14 vapier Exp $
-
-# note to self: check for java deps
-
-DESCRIPTION="Red Hat Package Management Utils"
-SRC_URI="ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/${P}.tar.gz"
-HOMEPAGE="http://www.rpm.org/"
-
-SLOT="0"
-LICENSE="GPL-2 LGPL-2"
-KEYWORDS="x86 ppc sparc alpha"
-IUSE="nls"
-
-RDEPEND="=sys-libs/db-3.2*
- >=sys-libs/zlib-1.1.3
- >=sys-apps/bzip2-1.0.1
- >=dev-libs/popt-1.6.3"
-DEPEND="${RDEPEND}
- sys-devel/gettext"
-
-src_unpack() {
- export WANT_AUTOCONF_2_1=1
-
- unpack ${A}
- cd ${S}
- patch -p1 < ${FILESDIR}/${P}-system-popt.diff || die
- rm -rf ${S}/popt
- # Suppress pointer warnings
- cp configure configure.orig
- sed -e "s:-Wpointer-arith::" configure.orig > configure
-}
-
-src_compile() {
- local myconf
- use nls || myconf="--disable-nls"
- econf ${myconf}
- make || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
- mv ${D}/bin/rpm ${D}/usr/bin
- rm -rf ${D}/bin
-
- dodoc CHANGES COPYING CREDITS GROUPS README* RPM* TODO
-}
-
-pkg_postinst() {
- ${ROOT}/usr/bin/rpm --initdb --root=${ROOT}
-}
diff --git a/app-arch/rpm/rpm-4.0.4-r4.ebuild b/app-arch/rpm/rpm-4.0.4-r4.ebuild
deleted file mode 100644
index c8dc76f7c8b0..000000000000
--- a/app-arch/rpm/rpm-4.0.4-r4.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.0.4-r4.ebuild,v 1.8 2003/02/13 05:56:20 vapier Exp $
-
-inherit flag-o-matic
-
-# note to self: check for java deps
-DESCRIPTION="Red Hat Package Management Utils"
-SRC_URI="ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/${P}.tar.gz"
-HOMEPAGE="http://www.rpm.org/"
-
-SLOT="0"
-LICENSE="GPL-2 LGPL-2"
-KEYWORDS="x86 ppc sparc alpha"
-IUSE="nls"
-
-RDEPEND="=sys-libs/db-3.2*
- >=sys-libs/zlib-1.1.3
- >=sys-apps/bzip2-1.0.1
- >=dev-libs/popt-1.6.3"
-
-DEPEND="${RDEPEND}
- sys-devel/gettext"
-
-filter-flags -fPIC
-
-src_unpack() {
- export WANT_AUTOCONF_2_1=1
-
- unpack ${A}
- cd ${S}
- patch -p1 < ${FILESDIR}/${P}-system-popt.diff || die
- rm -rf ${S}/popt
- # Suppress pointer warnings
- cp configure configure.orig
- sed -e "s:-Wpointer-arith::" configure.orig > configure
-}
-
-src_compile() {
- local myconf
- use nls || myconf="--disable-nls"
- econf ${myconf}
- make || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
- mv ${D}/bin/rpm ${D}/usr/bin
- rm -rf ${D}/bin
-
- # Fix for bug #8578 (app-arch/rpm create dead symlink)
- # Local RH 7.3 install has no such symlink anywhere
- rm -f ${D}/usr/lib/rpmpopt
-
- keepdir /var/lib/rpm
-
- dodoc CHANGES COPYING CREDITS GROUPS README* RPM* TODO
-}
-
-pkg_postinst() {
- if [ -f ${ROOT}/var/lib/rpm/nameindex.rpm ]; 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
-}
diff --git a/app-arch/rpm/rpm-4.1.ebuild b/app-arch/rpm/rpm-4.1.ebuild
deleted file mode 100644
index 53adbdde5480..000000000000
--- a/app-arch/rpm/rpm-4.1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.1.ebuild,v 1.1 2003/02/19 21:09:23 raker Exp $
-
-# It builds. It just doesn't run. gdb and strace leave me with
-# inconclusive answers. Bueller? Anybody? - raker 02/19/2003
-
-inherit flag-o-matic eutils libtool
-
-DESCRIPTION="Red Hat Package Management Utils"
-SRC_URI="ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.1.x/${P}.tar.gz"
-HOMEPAGE="http://www.rpm.org/"
-SLOT="0"
-LICENSE="GPL-2 LGPL-2"
-KEYWORDS="-x86 -ppc -sparc -alpha"
-IUSE="nls python doc static"
-RDEPEND="=sys-libs/db-3.2*
- >=sys-libs/zlib-1.1.3
- >=sys-apps/bzip2-1.0.1
- >=dev-libs/popt-1.7
- >=app-crypt/gnupg-1.2
- nls? ( sys-devel/gettext )
- python? ( =dev-lang/python-2.2* )
- doc? ( app-doc/doxygen )"
-
-filter-flags -fPIC
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-system-popt.diff
-}
-
-src_compile() {
- local myconf
- myconf="--without-included-gettext --with-gnu-ld"
- use nls \
- && myconf="${myconf} --enable-nls" \
- || myconf="${myconf} --disable-nls"
- use python \
- && myconf="${myconf} --with-python" \
- || myconf="${myconf} --without-python"
- use doc \
- && myconf="${myconf} --with-apidocs" \
- || myconf="${myconf} --without-apidocs"
- use static \
- && myconf="${myconf} --enable-static" \
- || myconf="${myconf} --disable-static"
- if [ ! -z $DEBUGBUILD ]; then
- myconf="${myconf} --with-dmalloc --with-efence"
- else
- myconf="${myconf} --without-dmalloc --without-efence"
- fi
- use python && export CPPFLAGS="-I/usr/include/python2.2"
- econf ${myconf}
- make || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
- mv ${D}/bin/rpm ${D}/usr/bin
- rm -rf ${D}/bin
- # Fix for bug #8578 (app-arch/rpm create dead symlink)
- # Local RH 7.3 install has no such symlink anywhere
- # ------
- # UPDATE for 4.1!
- # There is a /usr/lib/rpm/rpmpopt-4.1 now
- # the symlink is still created incorrectly. ???
- rm -f ${D}/usr/lib/rpmpopt
- keepdir /var/lib/rpm
- dodoc CHANGES COPYING CREDITS GROUPS README* RPM* TODO
-}
-
-pkg_postinst() {
- if [ -f ${ROOT}/var/lib/rpm/nameindex.rpm ]; 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
-}
diff --git a/app-arch/rpm/rpm-4.2.ebuild b/app-arch/rpm/rpm-4.2.ebuild
index 23f89cfb3383..a345ae0324e3 100644
--- a/app-arch/rpm/rpm-4.2.ebuild
+++ b/app-arch/rpm/rpm-4.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.2.ebuild,v 1.3 2003/03/09 20:38:57 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/rpm-4.2.ebuild,v 1.4 2003/03/26 10:52:37 seemant Exp $
inherit flag-o-matic
@@ -30,7 +30,8 @@ src_compile() {
use python \
&& myconf="${myconf} --with-python=2.2" \
|| myconf="${myconf} --without-python"
- econf ${myconf}
+
+ econf ${myconf} `use_enable nls` || die
make || die
}