pkgsrc/net/nsd/Makefile
ryoon ba7425be60 Update to 4.1.13
* Remove an useless patch

Changelog:
NSD 4.1.13
Sep 27, 2016

Features
    multi-master-check: yes can be used to check all masters for the last version, using the higher version from the configured masters, from Manabu Sonoda.
    Support RR type OPENPGPKEY from RFC 7929.
    Can config key algorithms with the digest name, eg. 'sha256'.
    configure --disable-radix-tree for about 15% lower memory usage.
    for type SRV add A/AAAA to the additional section (if possible), just like we already do for type MX.
    more extensible edns option handling.

Bugfixes
    Fix compile warnings about unused result from write and strtol. and signcompare in minmax retrytime.
    Fix #812: fix that make depend fails after distribution.
    Fix #817: xfrd update failed loop.
    Add robustness against unallocated data in nsec3 trees.
    Fix README spelling error of BSD license (reported by Joerg Jung).
    Fix multimaster for not tried full zone transfer for a expired zone.
    Fix #827: fix compile with openssl 1.1.0 with api=1.1.0.
2016-10-26 23:40:35 +00:00

68 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.88 2016/10/26 23:40:35 ryoon Exp $
DISTNAME= nsd-4.1.13
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 NSD_USER NSD_GROUP
FILES_SUBST+= NSD_USER=${NSD_USER} NSD_GROUP=${NSD_GROUP}
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/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
OWN_DIRS_PERMS+= ${VARBASE}/nsd ${NSD_USER} ${NSD_GROUP} 755
INSTALLATION_DIRS= share/examples/nsd
INSTALLATION_DIRS+= ${VARBASE}/nsd
.include "../../devel/libevent/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"