1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Update to latest commit.

Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2017-01-02 10:49:35 +00:00
parent 05f4e80de5
commit 6e50202209
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430350
5 changed files with 18 additions and 74 deletions

View File

@ -30,8 +30,8 @@ COMMENT= BIND DNS suite with updated DNSSEC and DNS64
LICENSE= MPL
# ISC releases things like 9.8.0-P1, which our versioning doesn't like
ISCVERSION= 9.12.0a.2016.12.23
HASH= e17d2f9
ISCVERSION= 9.12.0a.2016.12.28
HASH= eff07b5
USES= cpe libedit
@ -71,7 +71,7 @@ OPTIONS_RADIO_GOSTDEF= GOST GOST_ASN1
.if !defined(BIND_TOOLS_SLAVE)
OPTIONS_DEFAULT+= DLZ_FILESYSTEM LMDB RPZ_NSDNAME RPZ_NSIP
OPTIONS_DEFINE+= LINKS RPZ_NSIP RPZ_NSDNAME DOCS GEOIP \
OPTIONS_DEFINE+= RPZ_NSIP RPZ_NSDNAME DOCS GEOIP \
MINCACHE PORTREVISION QUERYTRACE LMDB DNSTAP \
START_LATE
OPTIONS_GROUP= DLZ
@ -102,7 +102,6 @@ QUERYTRACE_DESC= Enable the very verbose query tracelogging
LMDB_DESC= Use LMDB for zone management
DNSTAP_DESC= Provides fast passive logging of DNS messages
LINKS_DESC= Create conf file symlinks in ${PREFIX}
RPZ_NSIP_DESC= Enable RPZ NSIP trigger rules
RPZ_NSDNAME_DESC= Enable RPZ NSDNAME policy records
DLZ_DESC= Dynamically Loadable Zones
@ -211,30 +210,16 @@ DNSTAP_LIB_DEPENDS= libfstrm.so:devel/fstrm \
CONFIGURE_ARGS+= --without-gost
.endif
.if !${PORT_OPTIONS:MLINKS}
PKGINSTALL=${NONEXISTENT}
.endif
.if ${PORT_OPTIONS:MTHREADS} && !${PORT_OPTIONS:MDLZ_MYSQL}
CONFIGURE_ARGS+= --enable-threads
.else
CONFIGURE_ARGS+= --disable-threads
.endif
.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && ${OSVERSION} >= 1000100)
PKGINSTALL= ${NONEXISTENT}
PLIST_SUB+= NOBASE="" BASE="@comment "
SUB_LIST+= NOBASE="" BASE="@comment "
.if !defined(BIND_TOOLS_SLAVE)
USE_RC_SUBR+= named
SUB_FILES+= named.conf
.endif # !defined(BIND_TOOLS_SLAVE)
.else
PLIST_SUB+= NOBASE="@comment " BASE=""
SUB_LIST+= NOBASE="@comment " BASE=""
.endif
PKGDEINSTALL= ${PKGINSTALL}
MAKE_JOBS_UNSAFE= yes
@ -289,7 +274,6 @@ post-install:
${WRKSRC}/HISTORY ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
.if ${OPSYS} == DragonFly || (${OPSYS} == FreeBSD && ${OSVERSION} >= 1000100)
${MKDIR} ${STAGEDIR}${PREFIX}/etc/mtree
${MKDIR} ${STAGEDIR}${ETCDIR}
.for i in dynamic master slave working
@ -302,7 +286,6 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/localhost-reverse.db ${STAGEDIR}${ETCDIR}/master
${INSTALL_DATA} ${FILESDIR}/BIND.chroot.dist ${STAGEDIR}${PREFIX}/etc/mtree
${INSTALL_DATA} ${FILESDIR}/BIND.chroot.local.dist ${STAGEDIR}${PREFIX}/etc/mtree
.endif
${INSTALL_DATA} ${WRKSRC}/bin/rndc/rndc.conf \
${STAGEDIR}${ETCDIR}/rndc.conf.sample

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1482760397
SHA256 (bind9-e17d2f9.tar.gz) = ce601a7b50497098b0c2540e6f7b06d63d4a12b0b86ea0683ef5c6acd192d946
SIZE (bind9-e17d2f9.tar.gz) = 11809743
TIMESTAMP = 1483349274
SHA256 (bind9-eff07b5.tar.gz) = 50dc288d3d4e576bdae6cd2e14d5146712230983e2e856354a39dd5fc8941298
SIZE (bind9-eff07b5.tar.gz) = 11811939

View File

@ -10,14 +10,7 @@
* 'rndc-confgen -a' to generate the proper conf file, with a new *
* random key, and appropriate file permissions. *
* *
%%NOBASE%%* The %%PREFIX%%/etc/rc.d/named script will do that for you. *
%%BASE%%* The /etc/rc.d/named script in the base will do that for you. *
%%BASE%%* *
%%BASE%%* You will need to make sure that you have the following line *
%%BASE%%* in your /etc/rc.conf in order to have the startup script *
%%BASE%%* run the named version from the port: *
%%BASE%%* *
%%BASE%%* named_program="%%PREFIX%%/sbin/named" *
* The %%PREFIX%%/etc/rc.d/named script will do that for you. *
* *
* *
* *

View File

@ -1,32 +0,0 @@
#!/bin/sh
# ex:sw=8 sts=8
if [ "$2" = 'POST-INSTALL' ]
then
/bin/mkdir -p /var/named${PKG_PREFIX}/etc/namedb
fi
for DIR in ${PKG_PREFIX}/etc/namedb /var/named${PKG_PREFIX}/etc/namedb; do
for FILE in named.conf rndc.conf rndc.key; do
if [ "$2" = 'POST-INSTALL' ]
then
if [ -e ${PKG_PREFIX}/etc/${FILE} ]
then
/bin/cp -a ${PKG_PREFIX}/etc/${FILE} ${DIR}/${FILE}
else
/bin/ln -sf /etc/namedb/${FILE} ${DIR}/${FILE}
fi
fi
if [ "$2" = 'POST-DEINSTALL' ]
then
[ -L ${DIR}/${FILE} ] && rm -f ${DIR}/${FILE}
fi
done
done
if [ "$2" = 'POST-DEINSTALL' ]
then
cd /var/named && /bin/rmdir -p ./${PKG_PREFIX}/etc/namedb > /dev/null 2>&1 || :
fi
exit 0

View File

@ -430,14 +430,14 @@ sbin/rndc-confgen
sbin/tsig-keygen
%%ETCDIR%%/rndc.conf.sample
%%ETCDIR%%/bind.keys
%%NOBASE%%etc/mtree/BIND.chroot.dist
%%NOBASE%%etc/mtree/BIND.chroot.local.dist
%%NOBASE%%@sample %%ETCDIR%%/named.conf.sample
%%NOBASE%%%%ETCDIR%%/named.root
%%NOBASE%%%%ETCDIR%%/master/empty.db
%%NOBASE%%%%ETCDIR%%/master/localhost-forward.db
%%NOBASE%%%%ETCDIR%%/master/localhost-reverse.db
%%NOBASE%%@dir(bind,bind,) %%ETCDIR%%/dynamic
%%NOBASE%%@dir %%ETCDIR%%/master
%%NOBASE%%@dir(bind,bind,) %%ETCDIR%%/slave
%%NOBASE%%@dir(bind,bind,) %%ETCDIR%%/working
etc/mtree/BIND.chroot.dist
etc/mtree/BIND.chroot.local.dist
@sample %%ETCDIR%%/named.conf.sample
%%ETCDIR%%/named.root
%%ETCDIR%%/master/empty.db
%%ETCDIR%%/master/localhost-forward.db
%%ETCDIR%%/master/localhost-reverse.db
@dir(bind,bind,) %%ETCDIR%%/dynamic
@dir %%ETCDIR%%/master
@dir(bind,bind,) %%ETCDIR%%/slave
@dir(bind,bind,) %%ETCDIR%%/working