6 CATEGORIES= dns security
7 MASTER_SITES= http://www.nlnetlabs.nl/downloads/credns/
9 MAINTAINER= jaap@NLnetLab.nl
10 COMMENT= A verifier performing validation in the DNS notify/transfer-chain
17 CREDNSDBDIR= /var/db/nsd
18 CREDNSRUNDIR= /var/run/nsd
22 CONFIGURE_ARGS= --with-user=${CREDNSUSER} \
23 --localstatedir=${CREDNSLSDIR} \
24 --with-dbfile=${CREDNSDBDIR}/nsd.db \
25 --with-pidfile=${CREDNSRUNDIR}/nsd.pid
27 SUB_FILES= pkg-install pkg-deinstall
28 SUB_LIST+= CREDNSUSER=${CREDNSUSER} \
29 CREDNSGROUP=${CREDNSGROUP} \
30 CREDNSDBDIR=${CREDNSDBDIR} \
31 CREDNSRUNDIR=${CREDNSRUNDIR}
36 MAN8= credns-notify.8 credns-checkconf.8 credns-patch.8 \
37 credns-xfer.8 credns.8 crednsc.8
39 PORTDOCS= CREDITS ChangeLog LICENSE NSD-DATABASE NSD-DIFFFILE \
40 NSD-CREDNS-MODS NSD-FOR-BIND-USERS NSD-README README \
41 README.icc README.svn RELNOTES REQUIREMENTS TESTPLAN \
42 TODO UPGRADING coding-style differences.pdf differences.tex
44 OPTIONS_DEFINE= ROOT_SERVER IPV6 CHECKING MMAP MAXIPS DOCS
45 ROOT_SERVER_DESC= Dnssexy as proxy for a (local) root
46 CHECKING_DESC= Internal runtime checks
47 MMAP_DESC= Use mmap instead of malloc(experimental)
48 MAXIPS_DESC= Raise max-ips from 8 to ${NSDMAX_IPS}
51 .include <bsd.port.options.mk>
53 .if ${PORT_OPTIONS:MROOT_SERVER}
54 CONFIGURE_ARGS+= --enable-root-server
57 .if ${PORT_OPTIONS:MIPV6}
58 CONFIGURE_ARGS+= --disable-ipv6
61 .if ${PORT_OPTIONS:MCHECKING}
62 CONFIGURE_ARGS+= --enable-checking
65 .if ${PORT_OPTIONS:MMMAP}
66 CONFIGURE_ARGS+= --enable-mmap
69 .if ${PORT_OPTIONS:MMAXIPS}
70 CONFIGURE_ARGS+= --with-max-ips=${NSDMAX_IPS}
74 ${INSTALL_DATA} ${WRKSRC}/credns.conf.sample \
75 ${PREFIX}/etc/credns/credns.conf.sample
76 .if ${PORT_OPTIONS:MDOCS}
79 ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}/${f}
82 @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
84 .include <bsd.port.mk>