mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
cf118ccf87
Reported by: lwhsu
77 lines
2.3 KiB
Makefile
77 lines
2.3 KiB
Makefile
PORTNAME= yadifa
|
|
DISTVERSION= 2.4.1
|
|
DISTVERSIONSUFFIX= -9916
|
|
CATEGORIES= dns
|
|
MASTER_SITES= https://www.yadifa.eu/sites/default/files/releases/ \
|
|
https://dns.company/downloads/yadifa/
|
|
|
|
MAINTAINER= freebsd@dns.company
|
|
COMMENT= Authoritative nameserver with DNSSEC capabilities
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= compiler:c11 libtool ssl
|
|
USE_RC_SUBR= ${PORTNAME}d
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --localstatedir=/var
|
|
|
|
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README VERSION
|
|
|
|
OPTIONS_DEFINE= CTRL DDNS DNSSECTOOLS DOCS ECDSA EXAMPLES KEYGEN \
|
|
LARGEFILE MASTER NSID RRL RRSIG TCL ZONESIGN
|
|
OPTIONS_DEFAULT= DDNS DNSSECTOOLS DOCS ECDSA EXAMPLES KEYGEN LARGEFILE \
|
|
MASTER NSID RRL RRSIG ZONESIGN
|
|
OPTIONS_SUB= yes
|
|
|
|
CTRL_DESC= Remote control
|
|
DDNS_DESC= Dynamic DNS support (DDNS)
|
|
DNSSECTOOLS_DESC= DNSSEC module
|
|
ECDSA_DESC= Elliptic Curve (ECDSA)
|
|
KEYGEN_DESC= Keygen tool
|
|
LARGEFILE_DESC= Support for largefiles
|
|
MASTER_DESC= Use as primary nameserver
|
|
NSID_DESC= Name Server Identifier Option
|
|
RRL_DESC= Response Rate Limiting
|
|
RRSIG_DESC= RRSIG management
|
|
ZONESIGN_DESC= Zonesign tool
|
|
|
|
CTRL_CONFIGURE_OFF= --disable-ctrl
|
|
DDNS_CONFIGURE_OFF= --disable-dynupdate
|
|
ECDSA_CONFIGURE_OFF= --disable-ecdsa
|
|
LARGEFILE_CONFIGURE_OFF= --disable-largefile
|
|
MASTER_CONFIGURE_OFF= --disable-master
|
|
NSID_CONFIGURE_OFF= --disable-nsid
|
|
RRL_CONFIGURE_OFF= --disable-rrl
|
|
RRSIG_CONFIGURE_OFF= --disable-rrsig-management
|
|
TCL_USES= tcl
|
|
DNSSECTOOLS_OFF= --disable-dnssec-tools
|
|
KEYGEN_ENABLE= keygen
|
|
ZONESIGN_ENABLE= zonesign
|
|
|
|
post-configure:
|
|
${REINPLACE_CMD} -e 's|^docdir = .*|docdir = ${EXAMPLESDIR}|' ${WRKSRC}/etc/Makefile
|
|
${REINPLACE_CMD} -e 's|/usr/local/var|/var|' -e 's|/var/zones|/var/${PORTNAME}|' ${WRKSRC}/etc/yadifad.conf.example
|
|
|
|
pre-build:
|
|
cd ${WRKSRC} && ${MAKE_CMD} features
|
|
|
|
do-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/etc/yadifad.conf \
|
|
${STAGEDIR}${PREFIX}/etc/yadifad.conf.sample
|
|
${MV} ${STAGEDIR}/var/zones ${STAGEDIR}/var/${PORTNAME}
|
|
|
|
post-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
|
|
.for f in yadifa yadifad
|
|
${LN} -s ../../${EXAMPLESDIR_REL}/$f.bash_completion \
|
|
${STAGEDIR}${PREFIX}/etc/bash_completion.d/$f.sh
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|