2003-06-16 10:50:33 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2003/06/16 14:50:33 jakob Exp $
|
2002-09-13 13:09:20 -04:00
|
|
|
|
2003-04-10 06:34:04 -04:00
|
|
|
COMMENT= "authoritative-only name server daemon"
|
2002-09-13 13:09:20 -04:00
|
|
|
|
2003-06-16 10:50:33 -04:00
|
|
|
VERSION= 1.1.0
|
2002-09-13 13:09:20 -04:00
|
|
|
DISTNAME= nsd-${VERSION}
|
2003-06-16 10:50:33 -04:00
|
|
|
PKGNAME= nsd-${VERSION}
|
2002-09-13 13:09:20 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.nlnetlabs.nl/nsd/
|
|
|
|
|
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2003-01-09 06:16:11 -05:00
|
|
|
RUN_DEPENDS= :named-xfer-*:net/named-xfer
|
|
|
|
|
2003-06-16 10:50:33 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= --enable-ipv6 \
|
|
|
|
--enable-dnssec \
|
|
|
|
--enable-bind8-stats \
|
|
|
|
--with-namexfer=${LOCALBASE}/libexec/named-xfer \
|
|
|
|
--with-librap \
|
|
|
|
--with-user=named \
|
|
|
|
--with-pidfile=/var/run/nsd.pid
|
2002-09-13 13:09:20 -04:00
|
|
|
|
2002-10-27 20:38:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2002-09-13 13:09:20 -04:00
|
|
|
DOCDIR= share/doc/nsd
|
|
|
|
DOCFILES= README RELNOTES CREDITS DIFFERENCES REQUIREMENTS
|
|
|
|
|
2003-01-09 06:16:11 -05:00
|
|
|
EXAMPLESDIR= share/examples/nsd
|
|
|
|
|
2002-09-13 13:09:20 -04:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/nsd ${PREFIX}/sbin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/nsd-notify ${PREFIX}/sbin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/zonec ${PREFIX}/sbin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/nsdc.sh ${PREFIX}/sbin/nsdc
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/nsd.8 ${PREFIX}/man/man8
|
2003-01-09 06:16:11 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/nsd-notify.8 ${PREFIX}/man/man8
|
2002-09-13 13:09:20 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/nsdc.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/zonec.8 ${PREFIX}/man/man8
|
2003-01-09 06:16:11 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/nsd.zones.sample ${PREFIX}/${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/nsdc.conf.sample ${PREFIX}/${EXAMPLESDIR}
|
2002-09-13 13:09:20 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
|
|
|
|
.for f in ${DOCFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/${DOCDIR}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|