mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
- Update to 4.0.3
PR: ports/187596 Submitted by: Jaap Akkerhuis <jaap@NLnetLabs.nl> (maintainer)
This commit is contained in:
parent
4cc8795f04
commit
22fe874022
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348987
@ -2,8 +2,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= nsd
|
PORTNAME= nsd
|
||||||
PORTVERSION= 4.0.1
|
PORTVERSION= 4.0.3
|
||||||
PORTREVISION= 3
|
|
||||||
CATEGORIES= dns ipv6
|
CATEGORIES= dns ipv6
|
||||||
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \
|
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \
|
||||||
ftp://ftp.rhnet.is/pub/nsd/
|
ftp://ftp.rhnet.is/pub/nsd/
|
||||||
@ -45,9 +44,10 @@ PORTDOCS= CREDITS ChangeLog LICENSE NSD-DATABASE NSD-DIFFFILE \
|
|||||||
differences.tex
|
differences.tex
|
||||||
|
|
||||||
OPTIONS_DEFINE= ROOT_SERVER LARGEFILE IPV6 BIND8_STATS CHECKING \
|
OPTIONS_DEFINE= ROOT_SERVER LARGEFILE IPV6 BIND8_STATS CHECKING \
|
||||||
MINRESPSIZE NSEC3 NSEC3PREHASH MMAP MAXIPS DOCS RRL EUI_RRTYPES
|
MINRESPSIZE NSEC3 NSEC3PREHASH MMAP MAXIPS DOCS RRL EUI_RRTYPES \
|
||||||
|
RECVMMSG
|
||||||
OPTIONS_DEFAULT= LARGEFILE IPV6 NSEC3 NSEC3PREHASH MINRESPSIZE RRL \
|
OPTIONS_DEFAULT= LARGEFILE IPV6 NSEC3 NSEC3PREHASH MINRESPSIZE RRL \
|
||||||
EUI_RRTYPES
|
EUI_RRTYPES
|
||||||
|
|
||||||
ROOT_SERVER_DESC= Configure as a root server
|
ROOT_SERVER_DESC= Configure as a root server
|
||||||
LARGEFILE_DESC= Largefile support
|
LARGEFILE_DESC= Largefile support
|
||||||
@ -60,6 +60,7 @@ MMAP_DESC= Use mmap instead of malloc (experimental)
|
|||||||
MAXIPS_DESC= Raise max-ips from 8 to ${NSDMAX_IPS}
|
MAXIPS_DESC= Raise max-ips from 8 to ${NSDMAX_IPS}
|
||||||
RRL_DESC= Response Rate Limiting
|
RRL_DESC= Response Rate Limiting
|
||||||
EUI_RRTYPES_DESC= EUI48 and EUI64 RRtypes support
|
EUI_RRTYPES_DESC= EUI48 and EUI64 RRtypes support
|
||||||
|
RECVMMSG_DESC= Enable use of recvmmsg and sendmmsg
|
||||||
|
|
||||||
LIB_DEPENDS+= libevent-1.4.so:${PORTSDIR}/devel/libevent
|
LIB_DEPENDS+= libevent-1.4.so:${PORTSDIR}/devel/libevent
|
||||||
|
|
||||||
@ -75,6 +76,7 @@ MMAP_CONFIGURE_ENABLE= mmap
|
|||||||
MAXIPS_CONFIGURE_ON= --with-max-ips=${NSDMAX_IPS}
|
MAXIPS_CONFIGURE_ON= --with-max-ips=${NSDMAX_IPS}
|
||||||
RRL_CONFIGURE_ENABLE= ratelimit
|
RRL_CONFIGURE_ENABLE= ratelimit
|
||||||
EUI_RRTYPES_CONFIGURE_ENABLE= draft-rrtypes
|
EUI_RRTYPES_CONFIGURE_ENABLE= draft-rrtypes
|
||||||
|
RECVMMSG_CONFIGURE_ENABLE= enable-recvmmsg
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_DATA} ${WRKSRC}/nsd.conf.sample \
|
${INSTALL_DATA} ${WRKSRC}/nsd.conf.sample \
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
SHA256 (nsd-4.0.1.tar.gz) = 45bf2adb5ceddc140eab36b8de9fa527175b77559662df1383ef22ccf097d1bd
|
SHA256 (nsd-4.0.3.tar.gz) = 4bf05f2234e1b41899198aa1070f409201fc3c4980feef6567cd92c7074c4a8b
|
||||||
SIZE (nsd-4.0.1.tar.gz) = 1040758
|
SIZE (nsd-4.0.3.tar.gz) = 1043993
|
||||||
|
@ -12,17 +12,18 @@
|
|||||||
# nsd_enable="YES"
|
# nsd_enable="YES"
|
||||||
#
|
#
|
||||||
|
|
||||||
: ${nsd_enable="NO"}
|
|
||||||
|
|
||||||
. /etc/rc.subr
|
. /etc/rc.subr
|
||||||
|
|
||||||
name=nsd
|
name=nsd
|
||||||
rcvar=nsd_enable
|
rcvar=nsd_enable
|
||||||
|
|
||||||
|
# read settings, set default values
|
||||||
|
load_rc_config "${name}"
|
||||||
|
: ${nsd_enable="NO"}
|
||||||
|
|
||||||
config=${nsd_config:=%%PREFIX%%/etc/nsd/nsd.conf}
|
config=${nsd_config:=%%PREFIX%%/etc/nsd/nsd.conf}
|
||||||
required_files=${config}
|
required_files=${config}
|
||||||
pidfile=`%%PREFIX%%/sbin/nsd-checkconf -o pidfile ${config}`
|
pidfile=`%%PREFIX%%/sbin/nsd-checkconf -o pidfile ${config}`
|
||||||
|
|
||||||
command="%%PREFIX%%/sbin/${name}"
|
command="%%PREFIX%%/sbin/${name}"
|
||||||
command_args="-c ${required_files}"
|
command_args="-c ${required_files}"
|
||||||
extra_commands="reload"
|
extra_commands="reload"
|
||||||
|
Loading…
Reference in New Issue
Block a user