pkgsrc/net/unbound/Makefile

47 lines
1.2 KiB
Makefile
Raw Normal View History

2010-11-29 13:41:51 +01:00
# $NetBSD: Makefile,v 1.12 2010/11/29 12:41:51 ghen Exp $
unbound 1.4.6: Features: * Builtin root hints contain AAAA for I.ROOT-SERVERS.NET. * unbound.h has extern "C" statement for easier include in c++. * added feature to print configure date, target and options with -h. * added feature to print event backend system details with -h. * (ports and works on Minix 3.1.7). On Minix, add /usr/gnu/bin to PATH, use ./configure AR=/usr/gnu/bin/gar and gmake. * GOST enabled if SSL is recent and ldns has GOST enabled too. Bug Fixes: * Fix TCPreply on systems with no writev, if just 1 byte could be sent. * Fix to use one pointer less for iterator query state store_parent_NS. * Max referral count from 30 to 130, because 128 one character domains is valid DNS. * added documentation for the histogram printout to syslog. * Fix assertion failure reported by Kai Storbeck from XS4ALL, the assertion was wrong. * updated ldns tarball. * iana portlist updated. * Unbound reports libev or libevent correctly in logs in verbose mode. * Fix handling of corner case reply from lame server, follows rfc2308. * Fix jostle list bug found by Vince (luoce at cnnic), it caused the qps in overload situations to be about 5 qps for the class of shortly serviced queries. * Fix the max number of reply-address count to be applied for duplicate queries, and not for new query list entries. * Fix RFC4035 compliance with 2.2 statement that the DNSKEY at apex must be signed with all algorithms from the DS rrset at the parent. * Fix validation of qtype DNSKEY when a key-cache entry exists but no rr-cache entry is used (it expired or prefetch), it then goes back up to the DS or trust-anchor to validate the DNSKEY. * log if a server is skipped because it is on the donotquery list, at verbosity 4, to enable diagnosis why no queries to 127.0.0.1. * failure to chown the pidfile is not fatal any more. * Neat function prototypes, unshadowed local declarations. * Fix integer underflow in prefetch ttl creation from cache. This fixes a potential negative prefetch ttl. * Changed the defaults for num-queries-per-thread/outgoing-range.
2010-08-30 20:16:45 +02:00
DISTNAME= unbound-1.4.6
2010-11-29 13:41:51 +01:00
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.unbound.net/downloads/
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://www.unbound.net/
COMMENT= DNS resolver and recursive server
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake
CONFIGURE_ARGS+= --with-ldns=${BUILDLINK_PREFIX.ldns}
CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/unbound.pid
2010-11-29 13:41:51 +01:00
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
SUBST_CLASSES+= paths
SUBST_STAGE.paths= post-configure
SUBST_MESSAGE.paths= Fixing path names
SUBST_FILES.paths= doc/example.conf doc/*.5 doc/*.8
SUBST_SED.paths= -e "s|/usr/local|${PREFIX}|"
INSTALL_MAKE_FLAGS+= \
configfile=${PREFIX}/share/examples/unbound/unbound.conf
PKG_SYSCONFSUBDIR= unbound
CONF_FILES+= share/examples/unbound/unbound.conf \
${PKG_SYSCONFDIR}/unbound.conf
RCD_SCRIPTS= unbound
UNBOUND_USER?= unbound
UNBOUND_GROUP?= unbound
PKG_GROUPS= ${UNBOUND_GROUP}
PKG_USERS= ${UNBOUND_USER}:${UNBOUND_GROUP}
.include "../../net/ldns/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"