pkgsrc/net/powerdns/Makefile
fhajny f9f6f1ebce Update powerdns to 3.4.6.
This is a security release fixing CVE-2015-5230.

Bug fixes:
- Avoid superfluous backend recycling
- Removal of dnsdist from the authoritative server distribution
- Add EDNS unknown version handling and tests EDNS unknown version handling

Improvements:
- Update YaHTTP to v0.1.7
- Make trailing/leading spaces stand out in pdnssec check_zone
- GCC 5.2 support and sync boost.m4 macro with upstream
- Log answer packets only if log-dns-details is enabled
2015-10-22 19:01:24 +00:00

29 lines
732 B
Makefile

# $NetBSD: Makefile,v 1.16 2015/10/22 19:01:24 fhajny Exp $
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/pdns/powerdns/}
COMMENT= Modern, advanced and high performance nameserver
.include "options.mk"
CONFIGURE_ARGS+= --with-modules="geo"
CONFIGURE_ARGS+= --with-dynmodules="${PDNS_MODULES}"
RCD_SCRIPTS= pdns
SMF_NAME= pdns
EGDIR= ${PREFIX}/share/examples/pdns
MAKE_ENV+= EGDIR=${EGDIR}
CONF_FILES+= ${EGDIR}/pdns.conf-dist ${PKG_SYSCONFDIR}/pdns.conf
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-install
SUBST_FILES.conf= pdns/pdns.conf-dist
SUBST_SED.conf= -e 's,@PREFIX@,${PREFIX},'
SUBST_SED.conf+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},'
LDFLAGS.SunOS+= -lsocket -lnsl
.include "../../mk/bsd.pkg.mk"