pkgsrc/net/ldns/Makefile
pettai 7078d19547 1.6.15
* Remove LDNS_STATUS_EXISTS_ERR from ldns/error.h to make ldns
          binary compatible with earlier releases again.

1.6.14
        * DANE support (RFC6698), including ldns-dane example tool.
        * Configurable default CA certificate repository for ldns-dane with
          --with-ca-file=CAFILE and --with-ca-path=CAPATH
        * Configurable default trust anchor with --with-trust-anchor=FILE
          for drill, ldns-verify-zone and ldns-dane
        * bugfix #474: Define socklen_t when undefined (like in Win32)
        * bugfix #473: Dead code removal and resource leak fix in drill
        * bugfix #471: Let ldns_resolver_push_dnssec_anchor accept DS RR's too.
        * Various bugfixes from code reviews from CZ.NIC and Paul Wouters
        * ldns-notify TSIG option argument checking
        * Let ldns_resolver_nameservers_randomize keep nameservers and rtt's
          in sync.
        * Let ldns_pkt_push_rr now return false on (memory) errors.
        * Make buffer_export comply to documentation and fix buffer2str
        * Various improvements and fixes of pyldns from Katel Slany
          now documented in their own Changelog.
        * bugfix: Make ldns_resolver_pop_nameserver clear the array when
          there was only one.
        * bugfix #459: Remove ldns_symbols and export symbols based on regex
        * bugfix #458: Track all newly created signatures when signing.
        * bugfix #454: Only set -g and -O2 CFLAGS when no CFLAGS was given.
        * bugfix #457: Memory leak fix for ldns_key_new_frm_algorithm.
        * pyldns memory handling fixes and the python3/ldns-signzone.py
          examples script contribution from Karel Slany.
        * bugfix #450: Base # bytes for P, G and Y (T) on the guaranteed
          to be bigger (or equal) P in ldns_key_dsa2bin.
        * bugfix #449: Deep free cloned rdf's in ldns_tsig_mac_new.
        * bugfix #448: Copy nameserver value (in stead of reference) of the
          answering nameserver to the answer packet in ldns_send_buffer, so
          the original value may be deep freed with the ldns_resolver struct.
        * New -0 option for ldns-read-zone to replace inception, expiration
          and signature rdata fields with (null). Thanks Paul Wouters.
        * New -p option for ldns-read-zone to prepend-pad SOA serial to take
          up ten characters.
        * Return error if printing RR fails due to unknown/null RDATA.
2012-10-25 19:24:58 +00:00

64 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.25 2012/10/25 19:24:58 pettai Exp $
DISTNAME= ldns-1.6.15
CATEGORIES= net
MASTER_SITES= http://www.nlnetlabs.nl/downloads/ldns/
MAINTAINER= he@NetBSD.org
HOMEPAGE= http://www.nlnetlabs.nl/projects/ldns/
COMMENT= Library for simplified DNS programming
LICENSE= modified-bsd
USE_TOOLS+= gmake perl
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
REPLACE_PERL= doc/doxyparse.pl
CHECK_BUILTIN.openssl= yes
.include "../../security/openssl/builtin.mk"
CHECK_BUILTIN.openssl= no
.include "../../security/openssl/buildlink3.mk"
PLIST_VARS+= sha2 gost
.if defined(USE_BUILTIN.openssl) && !empty(USE_BUILTIN.openssl:M[yY][eE][sS])
PLIST_VARS.gost!= \
if ${PKG_ADMIN} pmatch 'openssl>=1.0.0' ${BUILTIN_PKG.openssl:Q}; then \
${ECHO} "yes"; \
else \
${ECHO} "no"; \
fi
PLIST_VARS.sha2!= \
if ${PKG_ADMIN} pmatch 'openssl>=0.9.8' ${BUILTIN_PKG.openssl:Q}; then \
${ECHO} "yes"; \
else \
${ECHO} "no"; \
fi
.else
PLIST_VARS.gost!= \
if ${PKG_INFO} -qe 'openssl>=1.0.0'; then \
${ECHO} yes; \
else \
${ECHO} no; \
fi
PLIST_VARS.sha2!= \
if ${PKG_INFO} -qe 'openssl>=0.9.8'; then \
${ECHO} yes; \
else \
${ECHO} no; \
fi
.endif
.if ${PLIST_VARS.gost} == "yes"
CONFIGURE_ARGS+= --enable-gost
.else
CONFIGURE_ARGS+= --disable-gost
.endif
.if ${PLIST_VARS.sha2} == "yes"
CONFIGURE_ARGS+= --enable-sha2
.else
CONFIGURE_ARGS+= --disable-sha2
.endif
CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
CONFIGURE_ARGS+= DOXYGEN=${FALSE}
.include "../../mk/bsd.pkg.mk"