summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-09-25 19:40:37 +0000
committerwiz <wiz@pkgsrc.org>2002-09-25 19:40:37 +0000
commit0a8351ff09cb2ee93ec7f20ab22d5c5d56ef4643 (patch)
treed049406365cd4abb0d475b054a51222e73a45111
parent50374698da0141d290440e0f95754eeb2606468a (diff)
downloadpkgsrc-0a8351ff09cb2ee93ec7f20ab22d5c5d56ef4643.tar.gz
Update to 1.11. Inspired by PR 18389 by URA Hiroshi.
Changes: o Added support for DB version 3.1.x.
-rw-r--r--mail/drac/Makefile7
-rw-r--r--mail/drac/distinfo8
-rw-r--r--mail/drac/patches/patch-aa28
3 files changed, 24 insertions, 19 deletions
diff --git a/mail/drac/Makefile b/mail/drac/Makefile
index 5e5bd807239..89e8c0f60b0 100644
--- a/mail/drac/Makefile
+++ b/mail/drac/Makefile
@@ -1,16 +1,17 @@
-# $NetBSD: Makefile,v 1.4 2002/03/06 14:01:23 fredb Exp $
+# $NetBSD: Makefile,v 1.5 2002/09/25 19:40:37 wiz Exp $
#
DISTNAME= drac
-PKGNAME= drac-1.10
+PKGNAME= drac-1.11
CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_LOCAL} #ftp://ftp.cc.umanitoba.ca/src/
+MASTER_SITES= ftp://ftp.cc.umanitoba.ca/src/
EXTRACT_SUFX= .tar.Z
MAINTAINER= groo@netbsd.org
HOMEPAGE= http://mail.cc.umanitoba.ca/drac/
COMMENT= Dynamic Relay Authorization Control
+DIST_SUBDIR= ${PKGNAME_NOREV}
WRKSRC= ${WRKDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/mail/drac/distinfo b/mail/drac/distinfo
index f7a24c426c3..0c8b2978e85 100644
--- a/mail/drac/distinfo
+++ b/mail/drac/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/05/09 20:56:35 wiz Exp $
+$NetBSD: distinfo,v 1.3 2002/09/25 19:40:38 wiz Exp $
-SHA1 (drac.tar.Z) = 5f67ee395b57cb21d23f4a3ab28c8f83bc2ea19c
-Size (drac.tar.Z) = 19342 bytes
-SHA1 (patch-aa) = e378c0f3051661578d3e73b1501963b0b6971f6b
+SHA1 (drac-1.11/drac.tar.Z) = dcf77aafd0f46685d5309e81d552d64c7f7fea06
+Size (drac-1.11/drac.tar.Z) = 19736 bytes
+SHA1 (patch-aa) = 042e88ebea7e589df1c515266d2e6dcb58c5e52f
diff --git a/mail/drac/patches/patch-aa b/mail/drac/patches/patch-aa
index 5fc1be3ff5c..47772beb740 100644
--- a/mail/drac/patches/patch-aa
+++ b/mail/drac/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/04/11 23:39:29 groo Exp $
+$NetBSD: patch-aa,v 1.2 2002/09/25 19:40:38 wiz Exp $
---- Makefile.orig Tue Dec 28 21:46:19 1999
-+++ Makefile Tue Apr 11 19:01:56 2000
+--- Makefile.orig Mon Nov 20 16:35:16 2000
++++ Makefile
@@ -5,9 +5,11 @@
# Paths
@@ -17,30 +17,34 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/04/11 23:39:29 groo Exp $
# OS-Dependant settings
-@@ -33,22 +35,24 @@
+@@ -33,24 +35,28 @@ MAN = /usr/local/man/man
# -DCIDR_KEY # keys in CIDR format
# -DTERM_KD # keys and data nul-terminated
-DEFS = -DTI_RPC -DFCNTL_LOCK -DSYSINFO
-+# DEFS = -DTI_RPC -DFCNTL_LOCK -DSYSINFO
+DEFS = -DSOCK_RPC -DFCNTL_LOCK -DGETHOST -DDASH_C
# Compiler flags
CC = cc
-RANLIB = :
--CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-2.4.14/Unix
+-CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-3.1.17/build_unix
+RANLIB = ranlib
-+#CFLAGS = $(DEFS) -g -I/usr/local/src/db/db-2.4.14/Unix
-+CFLAGS = $(DEFS)
++#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-2.4.14/Unix -lnsl -ldb
-+LDLIBS =
+-LDLIBS = -L/usr/local/src/db/db-3.1.17/build_unix -lnsl -ldb
++CFLAGS= $(DEFS)
++#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 =
++LDLIBS =
++#TSTLIBS = -L. -ldrac -lnsl
+TSTLIBS = -L. -ldrac
-+RPCGENFLAGS = -I -C
++#RPCGENFLAGS =
#RPCGENFLAGS = -C
++RPCGENFLAGS = -I -C
# Man sections
MANLIB = 3
@@ -49,7 +53,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2000/04/11 23:39:29 groo Exp $
## Nothing to change after this point
-@@ -117,8 +121,13 @@
+@@ -119,8 +125,13 @@ tar: $(PACKAGE)
install: $(SERVER)
$(INSTALL) -c -o bin -g bin -m 0755 $(SERVER) $(EBIN)