summaryrefslogtreecommitdiff
path: root/misc/rpm
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1997-10-11 21:53:59 +0000
committerhubertf <hubertf@pkgsrc.org>1997-10-11 21:53:59 +0000
commit240eed442d1f97f7d7dd9430673499ef25dd1f36 (patch)
treecd1e0be6347cb17aeb9201b0ecc45b0286c98b53 /misc/rpm
parent652e2956ee0721786181dcf43d7559a17c9b93f9 (diff)
downloadpkgsrc-240eed442d1f97f7d7dd9430673499ef25dd1f36.tar.gz
Import as of 09/25/97
Diffstat (limited to 'misc/rpm')
-rw-r--r--misc/rpm/Makefile25
-rw-r--r--misc/rpm/files/md51
-rw-r--r--misc/rpm/patches/patch-aa16
-rw-r--r--misc/rpm/patches/patch-ab10
-rw-r--r--misc/rpm/patches/patch-ac10
-rw-r--r--misc/rpm/patches/patch-ae18
-rw-r--r--misc/rpm/patches/patch-af30
-rw-r--r--misc/rpm/pkg/COMMENT1
-rw-r--r--misc/rpm/pkg/DESCR1
-rw-r--r--misc/rpm/pkg/PLIST13
10 files changed, 125 insertions, 0 deletions
diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile
new file mode 100644
index 00000000000..0ec36dfbc27
--- /dev/null
+++ b/misc/rpm/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: rpm
+# Version required: 2.4.3
+# Date created: 23 January 1997
+# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
+#
+# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:51 hubertf Exp $
+#
+
+DISTNAME= rpm-2.4.3
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.redhat.com/pub/redhat/code/rpm/ \
+ ftp://ftp.gwdg.de/pub/linux/redhat/code/rpm/
+
+MAINTAINER= tg@FreeBSD.ORG
+
+BUILD_DEPENDS= ${PREFIX}/lib/libgdbm.a:${PORTSDIR}/databases/gdbm
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+MAN8= rpm.8 rpm2cpio.8
+
+pre-install:
+ ${MKDIR} ${PREFIX}/include/rpm
+
+.include <bsd.port.mk>
diff --git a/misc/rpm/files/md5 b/misc/rpm/files/md5
new file mode 100644
index 00000000000..35f41e95c90
--- /dev/null
+++ b/misc/rpm/files/md5
@@ -0,0 +1 @@
+MD5 (rpm-2.4.3.tar.gz) = dda17eb9223ec270fa1f7a1fda0efbb2
diff --git a/misc/rpm/patches/patch-aa b/misc/rpm/patches/patch-aa
new file mode 100644
index 00000000000..d0035ebeaf1
--- /dev/null
+++ b/misc/rpm/patches/patch-aa
@@ -0,0 +1,16 @@
+--- build/myftw.c.orig Thu Jan 23 17:14:47 1997
++++ build/myftw.c Thu Jan 23 17:11:27 1997
+@@ -19,12 +19,12 @@
+ not, write to the Free Software Foundation, Inc., 675 Mass Ave,
+ Cambridge, MA 02139, USA. */
+
++#include <sys/types.h>
+ #include <errno.h>
+ #include <limits.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <dirent.h>
+-#include <sys/types.h>
+ #include <sys/stat.h>
+
+ #ifndef NAMLEN
diff --git a/misc/rpm/patches/patch-ab b/misc/rpm/patches/patch-ab
new file mode 100644
index 00000000000..bcdb0e7575c
--- /dev/null
+++ b/misc/rpm/patches/patch-ab
@@ -0,0 +1,10 @@
+--- lib/header.c.orig Thu Jan 16 17:20:50 1997
++++ lib/header.c Thu Jan 23 17:18:34 1997
+@@ -9,7 +9,6 @@
+
+ #include <stdlib.h>
+ #include <ctype.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <unistd.h>
+ #include <netinet/in.h>
diff --git a/misc/rpm/patches/patch-ac b/misc/rpm/patches/patch-ac
new file mode 100644
index 00000000000..d1ea9e9e6a1
--- /dev/null
+++ b/misc/rpm/patches/patch-ac
@@ -0,0 +1,10 @@
+--- misc/miscfn.h.orig Fri Jun 27 23:55:33 1997
++++ misc/miscfn.h Wed Jul 2 14:31:14 1997
+@@ -2,6 +2,7 @@
+ #define H_MISCFN
+
+ #include "config.h"
++#include <sys/types.h>
+
+ #if HAVE_FNMATCH_H
+ #include <fnmatch.h>
diff --git a/misc/rpm/patches/patch-ae b/misc/rpm/patches/patch-ae
new file mode 100644
index 00000000000..b02d6f81034
--- /dev/null
+++ b/misc/rpm/patches/patch-ae
@@ -0,0 +1,18 @@
+--- Makefile.inc.in.orig Wed May 28 16:19:44 1997
++++ Makefile.inc.in Wed Jul 2 14:09:57 1997
+@@ -3,12 +3,13 @@
+ prefix= @prefix@
+ exec_prefix = @exec_prefix@
+ libdir= $(prefix)/lib
++datadir= $(prefix)/share
+
+ AR = ar
+ RANLIB = @RANLIB@
+ OPTS = @DEFS@
+-LIBRPMRC_FILENAME=$(libdir)/rpmrc
+-LIBRPMALIAS_FILENAME=$(libdir)/rpmpopt
++LIBRPMRC_FILENAME=$(datadir)/misc/rpmrc
++LIBRPMALIAS_FILENAME=$(datadir)/misc/rpmpopt
+ RPMNLSDIR=@datadir@/locale
+ RPMNLSPACKAGE=rpm
+ CFLAGS = @CFLAGS@ @INCPATH@ $(WARNINGS) $(OPTS) -I$(topdir) \
diff --git a/misc/rpm/patches/patch-af b/misc/rpm/patches/patch-af
new file mode 100644
index 00000000000..13fddb1daa1
--- /dev/null
+++ b/misc/rpm/patches/patch-af
@@ -0,0 +1,30 @@
+--- Makefile.in.orig Wed Jun 25 18:11:30 1997
++++ Makefile.in Wed Jul 2 14:14:10 1997
+@@ -25,6 +25,7 @@
+ RPMBINDIR=$(subst usr/bin,bin,$(BINDIR))
+ MANDIR=$(prefix)/man/man8
+ LIBDIR=$(libdir)
++DATADIR=$(datadir)
+ INCDIR=$(prefix)/include/rpm
+ ETCDIR=$(ROOT)/etc
+
+@@ -49,7 +50,7 @@
+ all: $(TARGET)
+
+ rpm: lib/librpm.a build/libbuild.a misc/libmisc.a $(OBJS)
+- $(CC) -o rpm -static $(LDFLAGS) $(OBJS) $(LOADLIBES) $(LIBS) \
++ $(CC) -o rpm $(LDFLAGS) $(OBJS) $(LOADLIBES) $(LIBS) \
+ $(LIBEFENCE)
+
+ rpm.shared: lib/librpm.a build/libbuild.a $(OBJS)
+@@ -121,8 +122,8 @@
+ $(INSTALL) -s -m 755 rpm2cpio $(installprefix)/$(BINDIR)
+ $(INSTALL) -m 644 $(srcdir)/rpm.8 $(installprefix)/$(MANDIR)
+ $(INSTALL) -m 644 $(srcdir)/rpm2cpio.8 $(installprefix)/$(MANDIR)
+- $(INSTALL) -m 644 $(srcdir)/lib-rpmrc $(installprefix)/$(LIBDIR)/rpmrc
+- $(INSTALL) -m 644 $(srcdir)/rpmpopt $(installprefix)/$(LIBDIR)/rpmpopt
++ $(INSTALL) -m 644 $(srcdir)/lib-rpmrc $(installprefix)/$(DATADIR)/misc/rpmrc
++ $(INSTALL) -m 644 $(srcdir)/rpmpopt $(installprefix)/$(DATADIR)/misc/rpmpopt
+ (cd lib; $(MAKE) LIBDIR=$(installprefix)/$(LIBDIR) INCDIR=$(installprefix)/$(INCDIR) install)
+ for d in $(INSTSUBDIRS); do \
+ (cd $$d; $(MAKE) installprefix=$(installprefix) LIBDIR=$(installprefix)/$(LIBDIR) INCDIR=$(installprefix)/$(INCDIR) install) ;\
diff --git a/misc/rpm/pkg/COMMENT b/misc/rpm/pkg/COMMENT
new file mode 100644
index 00000000000..b312119efb7
--- /dev/null
+++ b/misc/rpm/pkg/COMMENT
@@ -0,0 +1 @@
+The Red Hat Package Manager
diff --git a/misc/rpm/pkg/DESCR b/misc/rpm/pkg/DESCR
new file mode 100644
index 00000000000..37e6dfd8bce
--- /dev/null
+++ b/misc/rpm/pkg/DESCR
@@ -0,0 +1 @@
+This is the Red Hat Package Manager.
diff --git a/misc/rpm/pkg/PLIST b/misc/rpm/pkg/PLIST
new file mode 100644
index 00000000000..02b68efb6f0
--- /dev/null
+++ b/misc/rpm/pkg/PLIST
@@ -0,0 +1,13 @@
+bin/gendiff
+bin/rpm
+bin/find-requires
+bin/find-provides
+bin/rpm2cpio
+include/rpm/rpmlib.h
+include/rpm/dbindex.h
+include/rpm/header.h
+lib/librpm.a
+man/man8/rpm.8.gz
+man/man8/rpm2cpio.8.gz
+share/misc/rpmrc
+share/misc/rpmpopt