View | Details | Raw Unified | Return to bug 186631
Collapse All | Expand All

(-)Makefile (-6 / +8 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	nsd
4
PORTNAME=	nsd
5
PORTVERSION=	4.0.1
5
PORTVERSION=	4.0.1
6
PORTREVISION=	1
6
CATEGORIES=	dns ipv6
7
CATEGORIES=	dns ipv6
7
MASTER_SITES=	http://www.nlnetlabs.nl/downloads/nsd/	\
8
MASTER_SITES=	http://www.nlnetlabs.nl/downloads/nsd/	\
8
		ftp://ftp.rhnet.is/pub/nsd/
9
		ftp://ftp.rhnet.is/pub/nsd/
Lines 10-17 Link Here
10
MAINTAINER=	jaap@NLnetLabs.nl
11
MAINTAINER=	jaap@NLnetLabs.nl
11
COMMENT=	An authoritative only non-recursive name server
12
COMMENT=	An authoritative only non-recursive name server
12
13
13
CONFLICTS=	nsd-[0-]* nsd3-*
14
LICENSE=	BSD3CLAUSE
14
15
16
CONFLICTS=	nsd-[0-3]* nsd3-[0-9]*
17
15
USE_RC_SUBR=	nsd
18
USE_RC_SUBR=	nsd
16
19
17
NSDUSER?=	bind
20
NSDUSER?=	bind
Lines 46-52 Link Here
46
		differences.tex
49
		differences.tex
47
50
48
OPTIONS_DEFINE=		ROOT_SERVER LARGEFILE IPV6 BIND8_STATS CHECKING \
51
OPTIONS_DEFINE=		ROOT_SERVER LARGEFILE IPV6 BIND8_STATS CHECKING \
49
		MINRESPSIZE NSEC3 NSEC3PREHASH MMAP MAXIPS DOCS EUI_RRTYPES
52
		MINRESPSIZE NSEC3 NSEC3PREHASH MMAP MAXIPS DOCS RRL EUI_RRTYPES
50
OPTIONS_DEFAULT=	LARGEFILE IPV6 NSEC3 NSEC3PREHASH MINRESPSIZE RRL \
53
OPTIONS_DEFAULT=	LARGEFILE IPV6 NSEC3 NSEC3PREHASH MINRESPSIZE RRL \
51
		 EUI_RRTYPES
54
		 EUI_RRTYPES
52
55
Lines 62-68 Link Here
62
RRL_DESC=		Response Rate Limiting
65
RRL_DESC=		Response Rate Limiting
63
EUI_RRTYPES_DESC=	EUI48 and EUI64 RRtypes support
66
EUI_RRTYPES_DESC=	EUI48 and EUI64 RRtypes support
64
67
65
NO_STAGE=		yes
66
.include <bsd.port.options.mk>
68
.include <bsd.port.options.mk>
67
69
68
LIB_DEPENDS+=	event-1:${PORTSDIR}/devel/libevent
70
LIB_DEPENDS+=	event-1:${PORTSDIR}/devel/libevent
Lines 132-142 Link Here
132
134
133
post-install:
135
post-install:
134
	${INSTALL_DATA} ${WRKSRC}/nsd.conf.sample \
136
	${INSTALL_DATA} ${WRKSRC}/nsd.conf.sample \
135
		${PREFIX}/etc/nsd/nsd.conf.sample
137
		${STAGEDIR}${PREFIX}/etc/nsd/nsd.conf.sample
136
.if ${PORT_OPTIONS:MDOCS}
138
.if ${PORT_OPTIONS:MDOCS}
137
	@${MKDIR} ${DOCSDIR}
139
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
138
.for f in ${PORTDOCS}
140
.for f in ${PORTDOCS}
139
	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}/${f}
141
	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}/${f}
140
.endfor
142
.endfor
141
.endif
143
.endif
142
	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
144
	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
(-)files/nsd.in (-6 / +7 lines)
Lines 12-32 Link Here
12
# nsd_enable="YES"
12
# nsd_enable="YES"
13
#
13
#
14
14
15
: ${nsd_enable="NO"}
16
15
. /etc/rc.subr
17
. /etc/rc.subr
16
18
17
name=nsd
19
name=nsd
18
rcvar=${name}_enable
20
rcvar=nsd_enable
19
21
20
config=${nsd_config:=%%PREFIX%%/etc/nsd/nsd.conf}
22
config=${nsd_config:=%%PREFIX%%/etc/nsd/nsd.conf}
21
required_files=${config}
23
required_files=${config}
22
23
command=%%PREFIX%%/sbin/nsd-control
24
command_args="start"
25
pidfile=`%%PREFIX%%/sbin/nsd-checkconf -o pidfile ${config}`
24
pidfile=`%%PREFIX%%/sbin/nsd-checkconf -o pidfile ${config}`
26
25
27
procname=%%PREFIX%%/sbin/${name}
26
command="%%PREFIX%%/sbin/${name}"
28
27
command_args="-c ${required_files}"
29
extra_commands="reload"
28
extra_commands="reload"
30
29
30
load_rc_config $name
31
31
run_rc_command "$1"
32
run_rc_command "$1"
32
33
(-)pkg-message (-1 / +1 lines)
Lines 1-6 Link Here
1
**************************************************************************
1
**************************************************************************
2
*
2
*
3
*   To run nsd from startup, add nsd_enable="YES" to your /etc/rc.conf
3
*   To run nsd from startup, add nsd_enable="YES" to your etc/rc.conf
4
*
4
*
5
*   Starting with nsd version 4 the old nsdc control program has been
5
*   Starting with nsd version 4 the old nsdc control program has been
6
*   replaced by nsd-control. This requires some manual setup with
6
*   replaced by nsd-control. This requires some manual setup with

Return to bug 186631