Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= nsd |
8 |
PORTNAME= nsd |
9 |
PORTVERSION= 3.2.1 |
9 |
PORTVERSION= 3.2.2 |
10 |
CATEGORIES= dns ipv6 |
10 |
CATEGORIES= dns ipv6 |
11 |
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \ |
11 |
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/ \ |
12 |
ftp://ftp.rhnet.is/pub/nsd/ |
12 |
ftp://ftp.rhnet.is/pub/nsd/ |
Lines 19-38
Link Here
|
19 |
USE_RC_SUBR= nsd |
19 |
USE_RC_SUBR= nsd |
20 |
|
20 |
|
21 |
NSDUSER?= bind |
21 |
NSDUSER?= bind |
22 |
NSDDBDIR?= /var/db/nsd |
22 |
NSD_LSD= /var |
23 |
NSDDBFILE?= ${NSDDBDIR}/nsd.db |
|
|
24 |
NSDDIFFFILE?= ${NSDDBDIR}/ixfr.db |
25 |
NSDXFRDFILE?= ${NSDDBDIR}/xfrd.state |
26 |
NSDMAX_INT?= 512 |
23 |
NSDMAX_INT?= 512 |
27 |
|
24 |
|
28 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
29 |
CONFIGURE_ARGS= --with-user=${NSDUSER} \ |
26 |
CONFIGURE_ARGS= --with-user=${NSDUSER} \ |
30 |
--with-configdir=${PREFIX}/etc/nsd \ |
27 |
--with-configdir=${PREFIX}/etc/nsd \ |
31 |
--with-pidfile=/var/run/nsd.pid \ |
28 |
--localstatedir=${NSD_LSD} |
32 |
--with-dbfile=${NSDDBFILE} \ |
|
|
33 |
--with-difffile=${NSDDIFFFILE} \ |
34 |
--with-xfrdfile=${NSDXFRDFILE} \ |
35 |
--with-libwrap |
36 |
|
29 |
|
37 |
USE_OPENSSL= yes |
30 |
USE_OPENSSL= yes |
38 |
|
31 |
|
Lines 116-123
Link Here
|
116 |
post-install: |
109 |
post-install: |
117 |
${INSTALL_DATA} ${WRKSRC}/nsd.conf.sample \ |
110 |
${INSTALL_DATA} ${WRKSRC}/nsd.conf.sample \ |
118 |
${PREFIX}/etc/nsd/nsd.conf.sample |
111 |
${PREFIX}/etc/nsd/nsd.conf.sample |
119 |
@${MKDIR} ${NSDDBDIR} |
|
|
120 |
@${CHOWN} -R ${NSDUSER} ${NSDDBDIR} |
121 |
|
112 |
|
122 |
.if exists(${PREFIX}/etc/nsd/nsd.conf) |
113 |
.if exists(${PREFIX}/etc/nsd/nsd.conf) |
123 |
@${ECHO_MSG} "Upgrading to new ixfr.db format if needed" |
114 |
@${ECHO_MSG} "Upgrading to new ixfr.db format if needed" |