pkgsrc/net/nsd/Makefile
pettai 81fee1337c 4.1.0
================
FEATURES:
        - database: "" starts without mmap of database.  Less memory is used,
          zones are read from text zonefile.
        - optimised zonefile parse code and zonefile write code.
        - zonefiles-write option in nsd.conf, enabled when database is "".
          The server writes changed zonefiles to disk every hour.
        - xfrdfile: "" disables xfrd.state.  If enabled, zones that are
          same as before are not checked for a serial update at server start.
        - include: "foo/nsd.d/*.conf" works, wildcard glob on includes.
        - nsd shuts down during init process if given signal.
        - log-time-ascii option, default yes, with readable timestamp in log.
        - nsd-control addzone reports if zone already exists.
        - Fix #564: add nsd-checkzone tool to check zonefile correctness.
        - Increased default --with-max-ips from 8 to 16, this increases the
          number of interfaces you can specify in nsd.conf to listen to.
BUG FIXES:
        - Fixed shutdown message sporadically not printed on exit.
        - Documented zonefile %s syntax in nsd.conf man page.
        - Fix manpage to put colon after zonefiles check and write.
        - Change from 'Zone" to "zone" with ".. serial .. is updated" log
          message.
        - Changed maxbackoff for no-content secondary zones from 4h to 24h.
        - Fix print filename of encompassing config file on read failure.
        - Fix delete or rename of a lot of zones and make it take a
          non-enormous time.
        - Speed up deletion of zone contents a lot, (56s to 1s), speeds up
          delete, rename and AXFR for zones.
        - Fix #571: unused variable and incompatible pointer warnings when
          compiled on a system without INET6.
        - Fix write_socket return value check in server.c
        - Fix that xfrd reaps children also if the signal is lost.
        - Fix #577: makefile incorrectly installed manpages from srcdir.
        - Fix #587: Default value for statistics is 0.
        - Fix #553: Improve TXT parsing.
        - Fix #590: rrl log does not print wildcard as a star but escaped.
        - Fix #591: rrl log messages at verbosity level 1.
        - fix strptime implicit declaration error on OpenBSD.
        - Fix -O3 compile flag to -O2 to avoid miscompilations.
        - Allow user to override the -g -O2 CFLAGS in ./configure.
        - Fix endian.h include for OpenBSD.
        - Fix #600: document that provide-xfr provides AXFR and not IXFR.
        - Fix rising-load-average or memory-leaks in OSes (Linux since 2.6),
          that keep track of all past process parents, or leak memory
          for them.  Fix makes it so there is no very deep string of
          process parents.
        - Remove .LP after .SH in man pages.
2014-09-27 20:11:38 +00:00

67 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.72 2014/09/27 20:11:38 pettai Exp $
DISTNAME= nsd-4.1.0
CATEGORIES= net
MASTER_SITES= http://www.nlnetlabs.nl/downloads/nsd/
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://www.nlnetlabs.nl/nsd/index.html
COMMENT= Authoritative-only DNS server
LICENSE= modified-bsd
BUILD_DEFS+= VARBASE
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.7
PKG_OPTIONS_VAR= PKG_OPTIONS.nsd
PKG_SUPPORTED_OPTIONS= inet6 rrl
PKG_SUGGESTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
PKG_SYSCONFSUBDIR= nsd
CONFIGURE_ARGS+=--prefix=${PREFIX:Q}
CONFIGURE_ARGS+=--localstatedir=${VARBASE}
CONFIGURE_ARGS+=--with-configdir=${PKG_SYSCONFDIR:Q}
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+=--enable-ipv6
.else
CONFIGURE_ARGS+=--disable-ipv6
.endif
.if !empty(PKG_OPTIONS:Mrrl)
CONFIGURE_ARGS+=--enable-ratelimit
.else
CONFIGURE_ARGS+=--disable-ratelimit
.endif
CONFIGURE_ARGS+=--with-pidfile=${VARBASE}/run/nsd.pid
CONFIGURE_ARGS+=--with-user=${NSD_USER}
CONFIGURE_ARGS+=--with-dbfile=${VARBASE}/nsd/nsd.db
CONFIGURE_ARGS+=--with-xfrdfile=${VARBASE}/nsd/nsd-xfrd.state
CONFIGURE_ARGS+=--with-libevent=${BUILDLINK_PREFIX.libevent}
CONFIGURE_ARGS+=--with-ssl=${BUILDLINK_PREFIX.openssl}
RCD_SCRIPTS= nsd
NSD_USER?= nsd
NSD_GROUP?= nsd
PKG_GROUPS= ${NSD_GROUP}
PKG_USERS= ${NSD_USER}:${NSD_GROUP}
CONF_FILES+= share/examples/nsd/nsd.conf ${PKG_SYSCONFDIR}/nsd.conf
INSTALLATION_DIRS= share/examples/nsd
INSTALLATION_DIRS+= ${VARBASE}/nsd
CFLAGS.SunOS+= -Du_int32_t=uint32_t
.include "../../devel/libevent/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"