head	1.17;
access;
symbols
	RELEASE_8_3_0:1.15
	RELEASE_9_0_0:1.15
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.13
	RELEASE_8_0_0:1.13
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.12
	RELEASE_6_4_0:1.12
	RELEASE_5_EOL:1.12
	RELEASE_7_0_0:1.12
	RELEASE_6_3_0:1.12
	PRE_XORG_7:1.12
	RELEASE_4_EOL:1.12
	RELEASE_6_2_0:1.11
	RELEASE_6_1_0:1.11
	RELEASE_5_5_0:1.11
	RELEASE_6_0_0:1.7
	RELEASE_5_4_0:1.7
	RELEASE_4_11_0:1.7
	RELEASE_5_3_0:1.7
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.6
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.5
	RELEASE_4_7_0:1.5
	RELEASE_4_6_2:1.4
	RELEASE_4_6_1:1.4
	RELEASE_4_6_0:1.4
	RELEASE_5_0_DP1:1.2
	RELEASE_4_5_0:1.2
	RELEASE_4_4_0:1.2
	RELEASE_4_3_0:1.2;
locks; strict;
comment	@# @;


1.17
date	2012.11.17.06.01.16;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.08.05.23.19.36;	author dougb;	state Exp;
branches;
next	1.15;

1.15
date	2011.09.23.22.25.16;	author amdmi3;	state Exp;
branches;
next	1.14;

1.14
date	2011.04.12.21.50.11;	author mandree;	state Exp;
branches;
next	1.13;

1.13
date	2009.08.22.00.35.01;	author amdmi3;	state Exp;
branches;
next	1.12;

1.12
date	2007.01.01.15.25.35;	author leeym;	state Exp;
branches;
next	1.11;

1.11
date	2006.02.26.01.12.09;	author mnag;	state Exp;
branches;
next	1.10;

1.10
date	2006.02.26.00.13.02;	author kris;	state Exp;
branches;
next	1.9;

1.9
date	2005.10.08.07.44.07;	author lawrance;	state Exp;
branches;
next	1.8;

1.8
date	2005.09.09.14.00.10;	author lawrance;	state Exp;
branches;
next	1.7;

1.7
date	2004.05.25.19.19.58;	author pav;	state Exp;
branches;
next	1.6;

1.6
date	2003.02.21.13.26.53;	author knu;	state Exp;
branches;
next	1.5;

1.5
date	2002.08.22.19.34.32;	author ade;	state Exp;
branches;
next	1.4;

1.4
date	2002.04.19.22.23.32;	author kris;	state Exp;
branches;
next	1.3;

1.3
date	2002.04.18.07.21.39;	author kris;	state Exp;
branches;
next	1.2;

1.2
date	2001.01.15.05.26.00;	author kris;	state Exp;
branches;
next	1.1;

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


desc
@@


1.17
log
@Switch exporter over
@
text
@# New ports collection makefile for:	pks
# Date created:		15 Jan 2001
# Whom:			kris@@FreeBSD.org
#
# $FreeBSD: head/security/pks/Makefile 302141 2012-08-05 23:19:36Z dougb $
#

PORTNAME=		pks
PORTVERSION=		0.9.6.20040312
CATEGORIES=		security www
MASTER_SITES=		http://pks.sourceforge.net/:sf ${MASTER_SITE_LOCAL}:local
MASTER_SITE_SUBDIR=	.:sf mandree:local
DISTFILES=		pks-current.tgz:sf,local

MAINTAINER=	gtodd@@bellanet.org
COMMENT=	PGP Public Key Server

USE_BDB=		41 # 42 would be ok
WRKSRC=			${WRKDIR}/${PORTNAME}

.include <bsd.port.pre.mk>

GNU_CONFIGURE=	yes
USE_AUTOTOOLS=	autoconf
CONFIGURE_ARGS=	--datadir=${PREFIX}/share/pks --localstatedir=/var/pks \
		--sysconfdir=${EXAMPLESDIR} \
		--libdir=${LOCALBASE}/lib --with-libwrap
MAKE_ENV+=	SUBDIRS=
LDFLAGS+=	-L${LOCALBASE}/lib
CONFIGURE_ENV=	DBLIB="-L${BDB_LIB_DIR} -l${BDB_LIB_NAME}" DBINC=-I${BDB_INCLUDE_DIR} DBHDR=db.h

USE_RC_SUBR=	pksd
MAN5=		pksd.conf.5
MAN8=		pks-intro.8 pksclient.8 pksd.8 pksdctl.8 pks-mail.sh.8 \
		pks-queue-run.sh.8 pgpsplit.8

SUB_FILES=	pkg-message pkg-deinstall

post-install:
	${INSTALL_DATA} ${WRKSRC}/pksd.conf ${PREFIX}/etc/pksd.conf.sample
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/pks_help.en ${WRKSRC}/pks_help.es ${WRKSRC}/pks_help.fr \
	${WRKSRC}/pks_help.cz ${WRKSRC}/pks_help.de ${WRKSRC}/pks_help.ja \
	${WRKSRC}/mail_intro ${DOCSDIR}
	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.16
log
@SVN rev 302141 on 2012-08-05 23:19:36Z by dougb

Move the rc.d scripts of the form *.sh.in to *.in

Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.15
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d32 1
a32 1
USE_RC_SUBR=	pksd.sh
@


1.14
log
@Upgrade to a later snapshot, to allow build with newer BDB versions.

PR:             ports/155760
Submitted by:   mandree
Approved by:    Graham Todd <gtodd@@bellanet.org>
@
text
@d28 2
a29 1
MAKE_ENV+=	LDFLAGS=-L${LOCALBASE}/lib SUBDIRS=
@


1.13
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d8 6
a13 5
PORTNAME=	pks
PORTVERSION=	0.9.6
PORTREVISION=	1
CATEGORIES=	security www
MASTER_SITES=	SF
d18 4
a21 2
USE_BDB=	yes
WANT_BDB_VER=	2
d24 1
a27 1
CFLAGS+=	-I${BDB_INCLUDE_DIR}
d29 1
d33 3
a35 1
MAN8=		pks-intro.8 pksclient.8 pksd.8 pksdctl.8
a37 9
# remove embedded sleepycat, remove associated build commands, make
# the build use the headers and libraries from the db2 port
post-patch:
	${RM} -rf ${WRKSRC}/db2-sleepycat
	${REINPLACE_CMD} 's|SUBDIRS =.*|SUBDIRS =|; \
			  s|LIBDB =.*|LIBDB = -L${LOCALBASE}/lib -l${BDB_LIB_NAME}|; \
			  s|DBDIR =.*|DBDIR = ${BDB_INCLUDE_DIR}|' \
			  ${WRKSRC}/Makefile.in

d43 1
a43 1
       	${WRKSRC}/pks_help.cz ${WRKSRC}/pks_help.de ${WRKSRC}/pks_help.ja \
d49 1
a49 1
.include <bsd.port.mk>
@


1.12
log
@- utilize USE_BDB

PR:		89023
Submitted by:	swhetzel at gmail.com
@
text
@d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
@


1.11
log
@- Unbroken
- Remove extra install of rc.d script
- Bump PORTREVISION
- portlint(1)

Approved by:	portmgr (kris)
@
text
@d18 2
a19 1
LIB_DEPENDS=	db2.0:${PORTSDIR}/databases/db2
d25 1
a25 1
CFLAGS+=	-I${LOCALBASE}/include/db2
d38 2
a39 2
			  s|LIBDB =.*|LIBDB = -L${LOCALBASE}/lib -ldb2|; \
			  s|DBDIR =.*|DBDIR = ${LOCALBASE}/include/db2|' \
@


1.10
log
@BROKEN: Incomplete pkg-plist

Approved by:    portmgr (implicit)
@
text
@d10 1
a19 2
BROKEN=		Incomplete pkg-plist

a29 1
USE_REINPLACE=	yes
a41 1
	${INSTALL_SCRIPT} ${WRKDIR}/pksd.sh ${PREFIX}/etc/rc.d/pksd.sh
@


1.9
log
@- Fix pkg-plist
- Minor tweaking and cleanups

PR:		ports/85989
Submitted by:	Graham Todd <gtodd@@bellanet.org> (maintainer)
@
text
@d19 2
@


1.8
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
@d21 1
a21 1
		--sysconfdir=${PREFIX}/share/examples \
d23 1
a23 1
CFLAGS+=	-I/usr/local/include/db2
d30 1
d37 3
a39 3
			  s|LIBDB =.*|LIBDB = -L/usr/local/lib -ldb2|; \
			  s|DBDIR =.*|DBDIR = /usr/local/include/db2|' \
			  ${WRKSRC}/Makefile.in 
@


1.7
log
@- Refresh MASTER_SITES

PR:		ports/67188
Submitted by:	Roman Neuhauser <neuhauser@@chello.cz>
@
text
@d9 1
a9 2
PORTVERSION=	0.9.4
PORTREVISION=	1
d11 1
a11 2
MASTER_SITES=	${PATCH_SITES} \
		${MASTER_SITE_SOURCEFORGE}
d14 1
a14 6
PATCH_SITES=	http://www.mit.edu/people/marc/pks/
PATCHFILES=	pks094-patch2 \
		x509patch
PATCH_DIST_STRIP=-p1

MAINTAINER=	jharris@@widomaker.com
d20 1
a20 1
CONFIGURE_ARGS= --datadir=${PREFIX}/share/pks --localstatedir=/var/pks \
d22 17
a38 9
		--libdir=${LOCALBASE}/lib
MAKE_ENV+=	LDFLAGS=-L${LOCALBASE}/lib

MAN5=	pksd.conf.5
MAN8=	pks-intro.8 pksclient.8 pksd.8 pksdctl.8

post-build:
	${SED} -e "s,@@PREFIX@@,${PREFIX},g" \
		< ${FILESDIR}/pksd.sh > ${WRKDIR}/pksd.sh
d42 7
a48 2
.if !exists(${PREFIX}/etc/pksd.conf)
	${INSTALL_DATA} ${WRKSRC}/pksd.conf ${PREFIX}/etc/pksd.conf
d50 1
a50 1
	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@


1.6
log
@De-pkg-comment.
@
text
@d12 3
a14 2
MASTER_SITES+=	http://www.mit.edu/people/marc/pks/ \
		ftp://ftp.neonramp.com/pub/pksd/
d16 1
a16 2
PATCH_SITES=	http://www.mit.edu/people/marc/pks/ \
		ftp://ftp.neonramp.com/pub/pksd/
@


1.5
log
@BerkeleyDB cleanup - stage 3
Version 2 of Berkeley DB has been repo-copied to databases/db2, for
naming consistency with the other ports.  Fix dependencies accordingly.
@
text
@d22 1
@


1.4
log
@Patches from maintainer:

* HKP (WWW) key submissions disabled by default, enabled via
  configuration file
* nicer formatting of long (SHA-1) fingerprints
* pksdctl usage() shows available commands/arguments
* manual page fixes

Bump PORTREVISION.

PR:		ports/34970
Submitted by:	Jason Harris <jharris@@widomaker.com>
@
text
@d23 1
a23 1
LIB_DEPENDS=	db2.0:${PORTSDIR}/databases/db
@


1.3
log
@Transfer maintainership to Jason Harris <jharris@@widomaker.com>
@
text
@d10 1
@


1.2
log
@Fix a buglet and finish pointing the config file at ${PREFIX}/etc, not
/etc as in NetBSD
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/pks/Makefile,v 1.1 2001/01/15 04:40:10 kris Exp $
d20 1
a20 1
MAINTAINER=	kris@@FreeBSD.org
@


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

Obtained from:  NetBSD
@
text
@d5 1
a5 1
# $FreeBSD$
d28 1
a28 1
CONFIGURE_ENV=	LDFLAGS=-L${LOCALBASE}/lib
@

