c8e5d1884b
*IMPORTANT*: Due to a fix in the zone update process, the ixfr.db has a new format. When you are planning to upgrade to NSD 3.2.x release, make sure to process the old ixfr.db before starting the new release (by running nsdc patch).
40 lines
944 B
Makefile
40 lines
944 B
Makefile
# $OpenBSD: Makefile,v 1.46 2008/11/11 09:05:09 jakob Exp $
|
|
|
|
COMMENT= authoritative-only name server daemon
|
|
|
|
VERSION= 3.2.0
|
|
DISTNAME= nsd-${VERSION}
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/
|
|
|
|
HOMEPAGE= http://www.nlnetlabs.nl/nsd/
|
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c crypto
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --enable-bind8-stats \
|
|
--enable-nsid \
|
|
--with-ssl=/usr \
|
|
--with-user=named \
|
|
--with-pidfile=/var/nsd/nsd.pid \
|
|
--with-zonesdir=/var/nsd/zones \
|
|
--with-dbfile=/var/nsd/nsd.db \
|
|
--with-difffile=/var/nsd/ixfr.db \
|
|
--with-xfrdfile=/var/nsd/xfrd.state
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nsd
|
|
mv ${WRKINST}/${SYSCONFDIR}/nsd/nsd.conf.sample ${PREFIX}/share/examples/nsd/nsd.conf
|
|
|
|
.include <bsd.port.mk>
|