blob: a9a2b54af2a05abb0f50f3fbb5840ed668264857 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# Created by: kris@FreeBSD.org
# $FreeBSD$
PORTNAME= pks
PORTVERSION= 0.9.6.20040312
PORTREVISION= 8
CATEGORIES= security www
MASTER_SITES= http://pks.sourceforge.net/ LOCAL/mandree
DISTFILES= pks-current.tgz
MAINTAINER= tphilipp@potion-studios.com
COMMENT= PGP Public Key Server
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_SSL= openssl111
BROKEN_SSL_REASON_openssl111= member access into incomplete type 'EVP_PKEY' (aka 'evp_pkey_st')
USES= bdb ssl
USE_GCC= any
USE_RC_SUBR= pksd
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${DATADIR} \
--localstatedir=/var/pks \
--with-libwrap \
--with-openssl=${OPENSSLBASE}
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
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
PORTDOCS= pks_help.* README EMAIL
post-extract:
@${CP} -a ${FILESDIR}/EMAIL ${WRKSRC}
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pgpsplit
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pksdctl
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pksclient
${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/pksd
${MV} ${STAGEDIR}${PREFIX}/etc/pksd.conf ${STAGEDIR}${PREFIX}/etc/pksd.conf.sample
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} == base
BROKEN= Does not build with OpenSSL 1.1
.endif
.include <bsd.port.mk>
|