head	1.2;
access;
symbols
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1
	RELEASE_4_3_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2005.09.09.14.00.10;	author lawrance;	state dead;
branches;
next	1.1;

1.1
date	2001.01.15.04.40.11;	author kris;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update to 0.9.6
- Add rcng startup
- No longer touch pksd.conf, only pksd.conf.sample
- Ensure the port builds against db2 from ports by deleting the included
  version.  Add post-patch bits to help this happen.
- Submitter takes maintainership

PR:		ports/85802
Submitted by:	Graham Todd <gtodd@@bellanet.org> (new maintainer)
Approved by:	Jason Harris <jharris@@widomaker.com> (maintainer)
@
text
@$NetBSD$

--- Makefile.in.orig	Thu Jul 27 11:11:28 2000
+++ Makefile.in	Thu Jul 27 11:24:02 2000
@@@@ -9,9 +9,9 @@@@
 SHELL = /bin/sh
 
 ## this does recursion for db2, if it's in the tree
-
-SUBDIRS = db2-sleepycat/dist
-
+#
+# We use the installed db2, so we don't need this line anymore
+#
 depend all install check clean distclean maintainer-clean::
 	for i in ${SUBDIRS}; do (test -d $$i && cd $$i && ${MAKE} $@@) || exit 1; done
 
@@@@ -32,12 +32,13 @@@@
 all-pure:: $(ALL_PURE)
 all-utils:: $(UTILS)
 
-DBDIR = db2-sleepycat/dist
+DBDIR = ${LOCALBASE}/include/db2
 
 CC = @@CC@@
 INSTALL = @@INSTALL@@
-INSTALL_PROGRAM = $(INSTALL)
-INSTALL_DATA = $(INSTALL)
+INSTALL_PROGRAM = $(BSD_INSTALL_PROGRAM)
+INSTALL_DATA = $(BSD_INSTALL_DATA)
+INSTALL_SCRIPT = $(BSD_INSTALL_SCRIPT)
 SOCKLIBS = @@LIBS@@
 VPATH = @@srcdir@@
 
@@@@ -60,7 +61,7 @@@@
 DEFINES = $(DBG) @@DEFS@@
 CFLAGS = @@gcc_cflags@@ -g -O $(INCLUDES) $(DEFINES)
 
-LIBDB = $(DBDIR)/libdb.a
+LIBDB = -ldb2
 
 CLEAN = rm -f
 
@@@@ -118,6 +119,8 @@@@
 pgpdump: pgpdump.o pgpfile.o $(PGPOBJS) $(UTILOBJS)
 
 pgpsplit: pgpsplit.o $(PGPOBJS) $(UTILOBJS)
+	$(CC) -o $@@ pgpsplit.o $(PGPOBJS) $(UTILOBJS) $(LDFLAGS) \
+	    $(SOCKLIBS) $(LIBDB)
 
 kvcv: kvcv.o pgpfile.o logging.o $(PGPOBJS) $(UTILOBJS)
 
@@@@ -138,7 +141,7 @@@@
 install:: all installdirs
 	for f in $(ALL); do $(INSTALL_PROGRAM) $$f $(bindir); done
 	for f in $(SYSCONF); do $(INSTALL_DATA) $$f $(sysconfdir); done
-	for f in $(ALL_SH); do $(INSTALL_PROGRAM) $(srcdir)/$$f $(bindir); done
+	for f in $(ALL_SH); do $(INSTALL_SCRIPT) $(srcdir)/$$f $(bindir); done
 	for f in $(DATA); do $(INSTALL_DATA) $(srcdir)/$$f $(datadir); done
 	for f in $(MAN5); do $(INSTALL_DATA) $(srcdir)/$$f $(man5dir); done
 	for f in $(MAN8); do $(INSTALL_DATA) $(srcdir)/$$f $(man8dir); done
@


1.1
log
@pks 0.9.4 is a PGP public key server from MIT.

Obtained from:  NetBSD
@
text
@@

