pkgsrc/net/powerdns/Makefile
ghen d1485c64c0 Fix for CVE-2008-3337 taken from PowerDNS 2.9.21.1: return SERVFAIL to
mailformed queries instead of just dropping them (as this facilitates
DNS spoofing attacks).  Bump PKGREVISION.
2008-08-11 13:59:48 +00:00

27 lines
697 B
Makefile

# $NetBSD: Makefile,v 1.4 2008/08/11 13:59:48 ghen Exp $
PKG_DESTDIR_SUPPORT= user-destdir
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/pdns/powerdns/}
PKGREVISION= 2
COMMENT= Modern, advanced and high performance nameserver
CONFIGURE_ARGS+= --with-modules="geo"
CONFIGURE_ARGS+= --with-dynmodules="pipe"
RCD_SCRIPTS= 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},'
.include "../../mk/bsd.pkg.mk"