2006-05-04 01:45:44 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2006/05/04 05:45:44 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
|
|
|
|
2006-05-04 01:45:44 -04:00
|
|
|
VERSION= 2.3.4
|
2002-09-13 13:09:20 -04:00
|
|
|
DISTNAME= nsd-${VERSION}
|
2006-05-04 01:45:44 -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
|
2005-01-31 13:25:39 -05:00
|
|
|
WANTLIB= c wrap crypto
|
2003-01-09 06:16:11 -05:00
|
|
|
|
2006-03-22 19:39:41 -05:00
|
|
|
# gcc 3.3.5, Bus errors
|
|
|
|
.if ${MACHINE_ARCH} == "sparc64"
|
2006-03-22 21:34:37 -05:00
|
|
|
CFLAGS= -O0
|
2006-03-22 19:39:41 -05:00
|
|
|
.endif
|
|
|
|
|
2003-06-16 10:50:33 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2004-02-16 02:24:16 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-dnssec \
|
2003-06-16 10:50:33 -04:00
|
|
|
--enable-bind8-stats \
|
2003-10-24 09:50:47 -04:00
|
|
|
--with-libwrap=/usr/lib \
|
2005-01-31 13:25:39 -05:00
|
|
|
--with-ssl=/usr \
|
2003-06-16 10:50:33 -04:00
|
|
|
--with-user=named \
|
2003-10-24 05:10:24 -04:00
|
|
|
--with-pidfile=/var/run/nsd.pid \
|
2003-10-24 08:30:11 -04:00
|
|
|
--with-zonesdir=/var/nsd \
|
2003-10-24 05:10:24 -04:00
|
|
|
--with-dbfile=/var/nsd/nsd.db
|
2002-09-13 13:09:20 -04:00
|
|
|
|
2002-10-27 20:38:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2005-01-31 13:25:39 -05:00
|
|
|
EXE= nsd nsd-notify nsd-xfer zonec
|
|
|
|
MAN8= nsd.8 nsd-notify.8 nsd-xfer.8 zonec.8 nsdc.8
|
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:
|
2005-01-31 13:25:39 -05:00
|
|
|
.for f in ${EXE}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/sbin
|
|
|
|
.endfor
|
2002-09-13 13:09:20 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/nsdc.sh ${PREFIX}/sbin/nsdc
|
2005-01-31 13:25:39 -05:00
|
|
|
.for f in ${MAN8}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/man/man8
|
|
|
|
.endfor
|
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>
|