From owner-freebsd-ports Thu Mar 6 14:36:49 2003 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 BB37137B401 for ; Thu, 6 Mar 2003 14:36:45 -0800 (PST) Received: from totem.fix.no (totem.fix.no [80.91.32.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB16443FAF for ; Thu, 6 Mar 2003 14:36:42 -0800 (PST) (envelope-from anders@totem.fix.no) Received: by totem.fix.no (Postfix, from userid 1000) id F3F6120297; Thu, 6 Mar 2003 23:37:43 +0100 (CET) Date: Thu, 6 Mar 2003 23:37:43 +0100 From: Anders Nordby To: Martin Cc: ports@freebsd.org Subject: Re: FreeBSD Port: drac-1.11_2 on FreeBSD 5.0-p4 Message-ID: <20030306223743.GB72696@totem.fix.no> Mail-Followup-To: Anders Nordby , Martin , ports@freebsd.org References: <011801c2e42f$4d298e00$0200a8c0@air> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: <011801c2e42f$4d298e00$0200a8c0@air> X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Let me know if the attached patch works. On Thu, Mar 06, 2003 at 11:25:32PM +0100, Martin wrote: > Hello, > > qpopper with DRAC is broken on FreeBSD 5.0. Please see the output. I'm > looking foreward for the fix, becaue I need to install qpopper on this new > machine. > > > [root@sparta /usr/ports/mail/drac]# make > ============================================================= > For databases compatible with other MTAs than sendmail, use: > > WITH_POSTFIX=yes (Postfix) > WITH_POSTFIX_DB3=yes (Postfix with DB3 database maps) > WITH_EXIM=yes (Exim) > > Define WITH_FOREGROUND to make the rpc.dracd daemon stay in > foreground instead of detaching itself. This breaks the > startup script. > ============================================================= > ===> Extracting for drac-1.11_2 > >> Checksum mismatch for drac.tar.Z. > Make sure the Makefile and distinfo file (/usr/ports/mail/drac/distinfo) > are up to date. If you are absolutely sure you want to override this > check, type "make NO_CHECKSUM=yes [other args]". > *** Error code 1 > > Stop in /usr/ports/mail/drac. > > > Kind Reagrds, > Martin > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message -- Anders. --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=drac-diff Index: Makefile =================================================================== RCS file: /home/pcvs/ports/mail/drac/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 20 Feb 2003 18:40:32 -0000 1.12 +++ Makefile 6 Mar 2003 21:26:37 -0000 @@ -6,8 +6,7 @@ # PORTNAME= drac -PORTVERSION= 1.11 -PORTREVISION= 2 +PORTVERSION= 1.12 CATEGORIES= mail MASTER_SITES= ftp://ftp.cc.umanitoba.ca/src/ \ http://atreides.freenix.no/~anders/ \ Index: distinfo =================================================================== RCS file: /home/pcvs/ports/mail/drac/distinfo,v retrieving revision 1.1 diff -u -r1.1 distinfo --- distinfo 9 Feb 2001 20:32:36 -0000 1.1 +++ distinfo 6 Mar 2003 21:26:37 -0000 @@ -1 +1 @@ -MD5 (drac.tar.Z) = 0b714b32c06b4ebd1779add6c8221248 +MD5 (drac.tar.Z) = fadaee589bf1dd9067222d58637d5fe4 Index: files/patch-aa =================================================================== RCS file: /home/pcvs/ports/mail/drac/files/patch-aa,v retrieving revision 1.5 diff -u -r1.5 patch-aa --- files/patch-aa 22 Aug 2002 19:13:29 -0000 1.5 +++ files/patch-aa 6 Mar 2003 21:26:37 -0000 @@ -1,5 +1,5 @@ ---- Makefile.orig Mon Nov 20 16:35:16 2000 -+++ Makefile Wed Jan 2 22:39:40 2002 +--- Makefile.orig Sun Jan 12 21:45:12 2003 ++++ Makefile Thu Mar 6 22:23:48 2003 @@ -5,9 +5,10 @@ # Paths @@ -14,7 +14,7 @@ # OS-Dependant settings -@@ -33,20 +34,40 @@ +@@ -33,22 +34,42 @@ # -DCIDR_KEY # keys in CIDR format # -DTERM_KD # keys and data nul-terminated @@ -39,19 +39,21 @@ # Compiler flags CC = cc RANLIB = : --CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-3.1.17/build_unix +-CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-4.1.25/build_unix +CFLAGS = $(DEFS) -g -I${PREFIX}/include -DDBFILE=\"$(ETC_DIR)/dracd.db\" -DALFILE=\"$(ETC_DIR)/dracd.allow\" + #CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-3.1.17/build_unix #CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-2.4.14/Unix #CFLAGS = $(DEFS) -g -I/usr/local/src/db/db.1.85/PORT/sunos.5.2/include --LDLIBS = -L/usr/local/src/db/db-3.1.17/build_unix -lnsl -ldb +-LDLIBS = -L/usr/local/src/db/db-4.1.25/build_unix -lnsl -ldb-4.1 +LDLIBS = + #LDLIBS = -L/usr/local/src/db/db-3.1.17/build_unix -lnsl -ldb #LDLIBS = -L/usr/local/src/db/db-2.4.14/Unix -lnsl -ldb #LDLIBS = -L/usr/local/src/db/db.1.85/PORT/sunos.5.2 -lnsl -ldb -TSTLIBS = -L. -ldrac -lnsl -RPCGENFLAGS = -#RPCGENFLAGS = -C +TSTLIBS = -L. -ldrac -+#RPCGENFLAGS = ++#RPCGENFLAGS = +RPCGENFLAGS = -C -I + +.if defined(WITH_POSTFIX_DB3) --rwEMma7ioTxnRzrJ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message