2007-09-09 03:25:33 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.39 2007/09/09 07:25: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
|
|
|
|
2007-09-09 03:25:33 -04:00
|
|
|
VERSION= 3.0.6
|
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
|
2006-11-21 02:24:46 -05:00
|
|
|
WANTLIB= c 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
|
2006-11-21 02:24:46 -05:00
|
|
|
CONFIGURE_ARGS+= --enable-bind8-stats \
|
|
|
|
--enable-nsid \
|
2005-01-31 13:25:39 -05:00
|
|
|
--with-ssl=/usr \
|
2003-06-16 10:50:33 -04:00
|
|
|
--with-user=named \
|
2006-11-21 02:24:46 -05:00
|
|
|
--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
|
2002-09-13 13:09:20 -04:00
|
|
|
|
2002-10-27 20:38:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2006-11-21 02:24:46 -05:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/nsd
|
|
|
|
mv ${WRKINST}/${SYSCONFDIR}/nsd/nsd.conf.sample ${PREFIX}/share/examples/nsd/nsd.conf
|
2002-09-13 13:09:20 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|