RPM port
Greg Lewis
glewis at eyesbeyond.com
Tue Oct 28 15:58:19 PST 2003
On Tue, Oct 28, 2003 at 05:06:42PM -0500, Forrest Aldrich wrote:
> RPM is up to version 4.x -- will the port be brought up-to-date?
I haven't quite got an updated port (yet) but attached are some patches
if you want to compile RPM 4.0.4 (haven't tried 4.1 or 4.2 yet).
You need to have the gsed port installed and build with gmake.
--
Greg Lewis Email : glewis at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
-------------- next part --------------
diff -uraN rpm-4.0.4/Makefile.in Makefile.in
--- Makefile.in Thu Feb 14 16:58:07 2002
+++ Makefile.in Wed Mar 27 10:23:21 2002
@@ -208,7 +208,7 @@
@INCPATH@
-LIBS = -lrt -lpthread
+LIBS =
myLDFLAGS = @LDFLAGS_STATIC@
diff -uraN rpm-4.0.4/db3/configure db3/configure
--- db3/configure Fri Jul 27 10:20:43 2001
+++ db3/configure Wed Mar 27 10:04:21 2002
@@ -15,7 +15,7 @@
rm -f $db_dist/../db/dist $db_dist/dist
mv Makefile Makefile.orig
-cat Makefile.orig | sed -e 's/ -g$/ -g -O2/' -e '/^install:/c\
+cat Makefile.orig | gsed -e 's/ -g$/ -g -O2/' -e '/^install:/c\
.PHONY: listobjs\
listobjs:\
@echo $(OBJS) $(C_OBJS) \
diff -uraN rpm-4.0.4/lib/signature.c lib/signature.c
--- lib/signature.c Sat Feb 2 13:55:49 2002
+++ lib/signature.c Wed Mar 27 10:21:31 2002
@@ -11,6 +11,10 @@
* size key you like). We also honor PGPPATH finally.
*/
+#ifdef __FreeBSD__
+extern char **environ;
+#endif
+
#include "system.h"
#include "rpmio_internal.h"
diff -uraN rpm-4.0.4/python/rpmmodule.c python/rpmmodule.c
--- python/rpmmodule.c Sun Feb 3 16:59:57 2002
+++ python/rpmmodule.c Wed Mar 27 10:25:35 2002
@@ -2,7 +2,6 @@
* \file python/rpmmodule.c
*/
-#include <alloca.h>
#include <errno.h>
#include <fcntl.h>
#include <time.h>
diff -uraN rpm-4.0.4/rpmio/Makefile.in rpmio/Makefile.in
--- rpmio/Makefile.in Thu Feb 14 16:58:37 2002
+++ rpmio/Makefile.in Wed Mar 27 10:16:38 2002
@@ -209,7 +209,7 @@
noinst_HEADERS = rpmio_internal.h rpmpgp.h
-LIBS = @LIBS@ @WITH_ZLIB_LIB@ -lrt -lpthread
+LIBS = @LIBS@ @WITH_ZLIB_LIB@
BEECRYPTLOBJS = $(shell cat $(top_builddir)/beecrypt/listobjs)
@@ -535,7 +535,7 @@
mv .librpmio.la librpmio.la
$(top_builddir)/beecrypt/listobjs:
- make -C $(top_builddir)/beecrypt listobjs
+ $(MAKE) -C $(top_builddir)/beecrypt listobjs
.created: $(top_builddir)/beecrypt/listobjs
for lo in $(BEECRYPTLOBJS); do \
More information about the freebsd-ports
mailing list