upgrade to NSD version 3.0.2.

caution: this is a major upgrade and people should read
the documentation carefully before upgrading.
This commit is contained in:
jakob 2006-11-21 07:24:46 +00:00
parent dfe02bfd6e
commit 5551cc7208
4 changed files with 41 additions and 50 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.34 2006/11/13 07:55:51 jakob Exp $ # $OpenBSD: Makefile,v 1.35 2006/11/21 07:24:46 jakob Exp $
COMMENT= "authoritative-only name server daemon" COMMENT= "authoritative-only name server daemon"
VERSION= 2.3.6 VERSION= 3.0.2
DISTNAME= nsd-${VERSION} DISTNAME= nsd-${VERSION}
PKGNAME= nsd-${VERSION} PKGNAME= nsd-${VERSION}
CATEGORIES= net CATEGORIES= net
@ -17,7 +17,7 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes PERMIT_DISTFILES_FTP= Yes
WANTLIB= c wrap crypto WANTLIB= c crypto
# gcc 3.3.5, Bus errors # gcc 3.3.5, Bus errors
.if ${MACHINE_ARCH} == "sparc64" .if ${MACHINE_ARCH} == "sparc64"
@ -25,38 +25,20 @@ CFLAGS= -O0
.endif .endif
CONFIGURE_STYLE= gnu CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-dnssec \ CONFIGURE_ARGS+= --enable-bind8-stats \
--enable-bind8-stats \ --enable-nsid \
--with-libwrap=/usr/lib \
--with-ssl=/usr \ --with-ssl=/usr \
--with-user=named \ --with-user=named \
--with-pidfile=/var/run/nsd.pid \ --with-pidfile=/var/nsd/nsd.pid \
--with-zonesdir=/var/nsd \ --with-zonesdir=/var/nsd/zones \
--with-dbfile=/var/nsd/nsd.db --with-dbfile=/var/nsd/nsd.db \
--with-difffile=/var/nsd/ixfr.db \
--with-xfrdfile=/var/nsd/xfrd.state
NO_REGRESS= Yes NO_REGRESS= Yes
EXE= nsd nsd-notify nsd-xfer zonec post-install:
MAN8= nsd.8 nsd-notify.8 nsd-xfer.8 zonec.8 nsdc.8 ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nsd
DOCDIR= share/doc/nsd mv ${WRKINST}/${SYSCONFDIR}/nsd/nsd.conf.sample ${PREFIX}/share/examples/nsd/nsd.conf
DOCFILES= README RELNOTES CREDITS DIFFERENCES REQUIREMENTS
EXAMPLESDIR= share/examples/nsd
do-install:
.for f in ${EXE}
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/sbin
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/nsdc.sh ${PREFIX}/sbin/nsdc
.for f in ${MAN8}
${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/man/man8
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/nsd.zones.sample ${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/nsdc.conf.sample ${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
.for f in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DOCDIR}
.endfor
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
MD5 (nsd-2.3.6.tar.gz) = 72428cdacc5bee63b4477becda27bf64 MD5 (nsd-3.0.2.tar.gz) = a51f7d2146d8f5901b825b2c0672c86a
RMD160 (nsd-2.3.6.tar.gz) = 9e3eafd92240cc45fdfca376073a7037f3b8ba87 RMD160 (nsd-3.0.2.tar.gz) = 1659beb3b68a04a4a03b7c011ceb2820b4558cb8
SHA1 (nsd-2.3.6.tar.gz) = 35924540e51ac67150c6bdee6e6f1e411c44ab88 SHA1 (nsd-3.0.2.tar.gz) = 9a141e67e7d60c84aa1169061230c4761ee35608
SIZE (nsd-2.3.6.tar.gz) = 244341 SIZE (nsd-3.0.2.tar.gz) = 778701

View File

@ -1,3 +1,5 @@
nsd is the daemon part of the NSD package written by NLnet Labs in The NLnet Labs Name Server Daemon (NSD) is an authoritative RFC compliant
collaboration with RIPE NCC. NSD stands for name server daemon and DNS nameserver. It was first conceived to allow for more genetic
provides authoritative DNS information. diversity for DNS server implementations used by the root-server system
and it has been developed for operations in environments where speed,
reliability, stability, and security are of high importance.

View File

@ -1,23 +1,30 @@
@comment $OpenBSD: PLIST,v 1.6 2005/01/31 18:25:39 jakob Exp $ @comment $OpenBSD: PLIST,v 1.7 2006/11/21 07:24:47 jakob Exp $
@man man/man5/nsd.conf.5
@man man/man8/nsd-checkconf.8
@man man/man8/nsd-notify.8 @man man/man8/nsd-notify.8
@man man/man8/nsd-patch.8
@man man/man8/nsd-xfer.8 @man man/man8/nsd-xfer.8
@man man/man8/nsd.8 @man man/man8/nsd.8
@man man/man8/nsdc.8 @man man/man8/nsdc.8
@man man/man8/zonec.8 @man man/man8/zonec.8
sbin/nsd sbin/nsd
sbin/nsd-checkconf
sbin/nsd-notify sbin/nsd-notify
sbin/nsd-patch
sbin/nsd-xfer sbin/nsd-xfer
sbin/nsdc sbin/nsdc
sbin/zonec sbin/zonec
share/doc/nsd/
share/doc/nsd/CREDITS
share/doc/nsd/DIFFERENCES
share/doc/nsd/README
share/doc/nsd/RELNOTES
share/doc/nsd/REQUIREMENTS
share/examples/nsd/ share/examples/nsd/
share/examples/nsd/nsd.zones.sample @group named
share/examples/nsd/nsdc.conf.sample @mode 770
@extra /etc/nsd.zones @sample ${SYSCONFDIR}/nsd/
@extra /etc/nsdc.conf @group
@extra /etc/nsd @mode
share/examples/nsd/nsd.conf
@group named
@mode 640
@sample ${SYSCONFDIR}/nsd/nsd.conf
@group named
@mode 770
@sample /var/nsd/
@sample /var/nsd/zones/