summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Verwilst <verwilst@gentoo.org>2002-04-23 13:16:34 +0000
committerBart Verwilst <verwilst@gentoo.org>2002-04-23 13:16:34 +0000
commit40930d97c04f359dfc988140b1ee71a747603380 (patch)
tree7b71088588eadf78e7e3f74d3384630ccda004c4 /app-arch
parentNew release of mozilla, closes: http://bugs.gentoo.org/show_bug.cgi?id=1998 (diff)
downloadgentoo-2-40930d97c04f359dfc988140b1ee71a747603380.tar.gz
gentoo-2-40930d97c04f359dfc988140b1ee71a747603380.tar.bz2
gentoo-2-40930d97c04f359dfc988140b1ee71a747603380.zip
new version
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/rpm/ChangeLog8
-rw-r--r--app-arch/rpm/files/digest-rpm-4.0.41
-rw-r--r--app-arch/rpm/files/rpm-4.0.4-popt-popt.c-gentoo.diff10
-rw-r--r--app-arch/rpm/rpm-4.0.4.ebuild55
4 files changed, 73 insertions, 1 deletions
diff --git a/app-arch/rpm/ChangeLog b/app-arch/rpm/ChangeLog
index 4d6a6123e13b..4c129343472f 100644
--- a/app-arch/rpm/ChangeLog
+++ b/app-arch/rpm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-arch/rpm
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.1 2002/02/01 21:53:00 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/rpm/ChangeLog,v 1.2 2002/04/23 13:16:34 verwilst Exp $
+
+*rpm-4.0.4 (23 April 2002)
+
+ 23 April 2002; Bart Verwilst <verwilst@gentoo.org> ChangeLog :
+
+ New up-to-date version, keeping the previous one for now..
*rpm-3.0.6-r1 (1 Feb 2002)
diff --git a/app-arch/rpm/files/digest-rpm-4.0.4 b/app-arch/rpm/files/digest-rpm-4.0.4
new file mode 100644
index 000000000000..5e661a951e56
--- /dev/null
+++ b/app-arch/rpm/files/digest-rpm-4.0.4
@@ -0,0 +1 @@
+MD5 b0c3093d2f0d850760e59ac1db9bf152 rpm-4.0.4.tar.gz 5865692
diff --git a/app-arch/rpm/files/rpm-4.0.4-popt-popt.c-gentoo.diff b/app-arch/rpm/files/rpm-4.0.4-popt-popt.c-gentoo.diff
new file mode 100644
index 000000000000..5c020901700d
--- /dev/null
+++ b/app-arch/rpm/files/rpm-4.0.4-popt-popt.c-gentoo.diff
@@ -0,0 +1,10 @@
+--- popt/popt.c~ Mon Sep 11 17:42:16 2000
++++ popt/popt.c Sun Mar 4 22:27:11 2001
+@@ -5,6 +5,7 @@
+ #include "system.h"
+
+ #include <math.h>
++#include <float.h>
+
+ #include "findme.h"
+ #include "poptint.h"
diff --git a/app-arch/rpm/rpm-4.0.4.ebuild b/app-arch/rpm/rpm-4.0.4.ebuild
new file mode 100644
index 000000000000..81b43bae4f7d
--- /dev/null
+++ b/app-arch/rpm/rpm-4.0.4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# /space/gentoo/cvsroot/gentoo-x86/app-arch/rpm/rpm-3.0.6-r1.ebuild,v 1.5 2001/11/10 02:33:03 hallski Exp
+
+S=${WORKDIR}/${P}
+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/"
+
+RDEPEND="=sys-libs/db-3.2.3h-r4
+ >=sys-libs/zlib-1.1.3
+ >=sys-apps/bzip2-1.0.1"
+
+DEPEND="$RDEPEND nls? ( sys-devel/gettext )"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ patch -p0 < ${FILESDIR}/${P}-popt-popt.c-gentoo.diff
+ # Suppress pointer warnings
+ cp configure configure.orig
+ sed -e "s:-Wpointer-arith::" configure.orig > configure
+
+}
+
+src_compile() {
+
+ local myconf
+ if [ -z "`use nls`" ]
+ then
+ myconf="--disable-nls"
+ fi
+ try ./configure --prefix=/usr --mandir=/usr/share/man ${myconf}
+ try make
+}
+
+src_install() {
+
+ try make DESTDIR=${D} install
+ 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}
+
+}
+
+
+