From owner-freebsd-ports@FreeBSD.ORG Tue Oct 28 15:58:18 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C298616A4CE for ; Tue, 28 Oct 2003 15:58:18 -0800 (PST) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id C00BA43FA3 for ; Tue, 28 Oct 2003 15:58:17 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 1AEdj6-00057n-04 for ports@freebsd.org; Tue, 28 Oct 2003 16:58:17 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 1AEdix-0004zh-04; Tue, 28 Oct 2003 16:58:07 -0700 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h9T004jG006403; Tue, 28 Oct 2003 17:00:05 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h9T002BR006402; Tue, 28 Oct 2003 17:00:02 -0700 (MST) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 28 Oct 2003 17:00:01 -0700 From: Greg Lewis To: Forrest Aldrich Message-ID: <20031029000001.GA6374@misty.eyesbeyond.com> References: <6.0.0.22.2.20031028170625.01cb9af0@192.168.1.1> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ReaqsoxgOBHFXBhH" Content-Disposition: inline In-Reply-To: <6.0.0.22.2.20031028170625.01cb9af0@192.168.1.1> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr4.xmission.com X-Spam-Status: No, hits=-0.0 required=8.0 tests=BAYES_40 autolearn=no version=2.60 X-Spam-Level: cc: ports@freebsd.org Subject: Re: RPM port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2003 23:58:19 -0000 --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org --ReaqsoxgOBHFXBhH Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="rpm.diff" 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 #include #include #include 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 \ --ReaqsoxgOBHFXBhH--