mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
4797fbbb74
- Support stage - Use new options helpers - Pet portlint for WWW PR: 190933 (based on) Submitted by: maintainer
62 lines
1.5 KiB
Makefile
62 lines
1.5 KiB
Makefile
# Created by: jaap
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= credns
|
|
PORTVERSION= 0.2.10
|
|
PORTREVISION= 1
|
|
CATEGORIES= dns security
|
|
MASTER_SITES= http://www.nlnetlabs.nl/downloads/credns/
|
|
|
|
MAINTAINER= jaap@NLnetLabs.nl
|
|
COMMENT= Verifier performing validation in the DNS notify/transfer-chain
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
USE_RC_SUBR= credns
|
|
|
|
USERS?= bind
|
|
GROUPS?= bind
|
|
CREDNSLSDIR= /var
|
|
CREDNSDBDIR= /var/db/nsd
|
|
CREDNSRUNDIR= /var/run/nsd
|
|
NSDMAX_IPS?= 512
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-user=${CREDNSUSER} \
|
|
--localstatedir=${CREDNSLSDIR} \
|
|
--with-dbfile=${CREDNSDBDIR}/nsd.db \
|
|
--with-pidfile=${CREDNSRUNDIR}/nsd.pid
|
|
|
|
SUB_LIST= CREDNSUSER=${USERS} \
|
|
CREDNSGROUP=${GROUPS} \
|
|
CREDNSDBDIR=${CREDNSDBDIR} \
|
|
CREDNSRUNDIR=${CREDNSRUNDIR}
|
|
PLIST_SUB= CREDNSDBDIR=${CREDNSDBDIR} \
|
|
CREDNSRUNDIR=${CREDNSRUNDIR}
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= ROOT_SERVER IPV6 CHECKING MMAP MAXIPS DOCS
|
|
OPTIONS_DEFAULT= IPV6
|
|
|
|
ROOT_SERVER_DESC= Credns as proxy for a (local) root
|
|
CHECKING_DESC= Internal runtime checks
|
|
MMAP_DESC= Use mmap instead of malloc(experimental)
|
|
MAXIPS_DESC= Raise max-ips from 8 to ${NSDMAX_IPS}
|
|
|
|
ROOT_SERVER_CONFIGURE_ENABLE= root-server
|
|
IPV6_CONFIGURE_ENABLE= ipv6
|
|
CHECKING_CONFIGURE_ENABLE= checking
|
|
MMAP_CONFIGURE_ENABLE= mmap
|
|
MAXIPS_CONFIGURE_ON= --with-max-ips=${NSDMAX_IPS}
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/credns.conf.sample \
|
|
${STAGEDIR}${PREFIX}/etc/credns/credns.conf.sample
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|