pkgsrc/net/powerdns/options.mk
otis 016c5c222e net/powerdns: Update to 4.3.0
Changes since 4.2.2:

* Released:
  - 7th of April 2020

* Improvements:
  - reduce the number of temporary memory allocations
  - adjust NSEC TTLs to negative TTL
  - Add more SQL schema files to packages and tarballs
  - only log "No question section in packet" at Debug logging level
  - do not update identical notified serials
  - IXFR: only sign SOA in empty response for +DO queries
  - Prepare the caches' buckets in advance
  - Rework NetmaskTree for better CPU and memory efficiency.
  - allow local-ipv6 until 4.4.0
  - Add metrics about the size of our in-memory rings
  - gpgsqlbackend: stop using prepared statements
  - Enforce a strict maximum size for the packet and records caches
  - API: optionally, do not return dnssec info in domain list
  - zone file parser: Add a parameter to limit the number of "$GENERATE" steps
  - api: avoid a large number of new database connections
  - Emulate a buffered read in the pipe backend, ~3x faster
  - LUA performance: register lua functions only once
  - API: make max request/response body size configurable
  - API: add edited_serial to Zone object
  - Improve error when notification comes in for non-slave zone
  - LUA record: rewrote the health checking system

* Bug fixes:
  - avoid IXFR-in corruption when deltas come in close together (please see the
    IXFR-in corruption upgrade notes)
  - improve sql schema updates
  - Fix NSECx for unpublished DNSKEYs properly
  - emit correct NSEC/NSEC3 bitmaps in hidden key situations
  - Refuse NSEC records with a bitmap length > 32
  - YaHTTP: Support bracketed IPv6 addresses
  - Make sure the default-publish-cds and default-publish-cdnskey options are
  - respected for AXFR
  - make sure records from LMDB backend end up in the right packet section
  - Clear the TSIG algo between iterations in the API
  - HTTP API: Allow DNAME in apex with SOA and NS records
  - various memory/thread correctness fixes
  - LUA view: do not crash on empty IP list
  - REST API: accept headers without spaces
  - on luaSynth exception, drain db output
  - tinydnsbackend: limit timestamp-based TTLs
  - Ensure that pdns can read pdns.conf when upgrading from an older package
  - Ixfrdist: handle reading of empty files gracefully
  - webserver: handle exceptions instead of SIGABRTing the world

* New features:
  - add full option to "pdns_control show-config"
  - Add "IO wait" and "steal" metrics on Linux
  - API: add includerings option to statistics endpoint
  - Add an extended status report in the bind backend
  - add default-publish-{cds|cdnskey} options
  - remotebackend: Support alsoNotifies, setFresh, getUnfreshSlaveInfos
  - Add support for managing unpublished DNSSEC keys
  - gmysql backend, add an option to send the SSL capability flag
  - pdnsutil: offer to increase serial after edit-zone

* Removed features:
  - remove goracle, lua, mydns, opendbx, oracle backends
  - deprecate SOA autocomplete in pdnsutil check-zone

* misc.:
  - remove the implicit 5->7 algorithm upgrade
  - Make Lua mandatory for Auth

For complete and up-to-date changelog, see:
https://doc.powerdns.com/authoritative/changelog/4.3.html

pkgsrc notes:
~~~~~~~~~~~~~

The default options have changed since 4.2.2 a bit:
  - option "lua" has been removed as LUA is now mandatory
  - option "luarecords" has been added with default "on". When
    not present in PKG_OPTIONS, LUA records support will be disabled.
2020-07-02 13:01:38 +00:00

62 lines
1.4 KiB
Makefile

# $NetBSD: options.mk,v 1.8 2020/07/02 13:01:38 otis Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.powerdns
PKG_SUPPORTED_OPTIONS= bind botan luarecords pipe random remote sqlite tools zeromq
PKG_SUGGESTED_OPTIONS= bind luarecords pipe random
.include "../../mk/bsd.options.mk"
PLIST_VARS+= bind luarecords pipe random remote sqlite tools
.if !empty(PKG_OPTIONS:Mbind)
PDNS_MODULES+= bind
PLIST.bind= yes
.endif
.if !empty(PKG_OPTIONS:Mbotan)
.include "../../devel/gmp/buildlink3.mk"
.include "../../security/botan-devel/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mluarecords)
CONFIGURE_ARGS+= --enable-lua-records
.else
CONFIGURE_ARGS+= --disable-lua-records
.endif
.if !empty(PKG_OPTIONS:Mpipe)
PLIST.pipe= yes
PDNS_MODULES+= pipe
.endif
.if !empty(PKG_OPTIONS:Mrandom)
PLIST.random= yes
PDNS_MODULES+= random
.endif
.if !empty(PKG_OPTIONS:Mremote)
PLIST.remote= yes
PDNS_MODULES+= remote
.endif
.if !empty(PKG_OPTIONS:Msqlite)
PDNS_MODULES+= gsqlite3
PLIST.sqlite= yes
.include "../../databases/sqlite3/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mtools)
CONFIGURE_ARGS+= --enable-tools
PLIST.tools= yes
.endif
.if !empty(PKG_OPTIONS:Mzeromq)
. if empty(PKG_OPTIONS:Mremote)
PKG_FAIL_REASON+= "The 'zeromq' option requires the 'remote' option enabled."
. else
CONFIGURE_ARGS+= --enable-remotebackend-zeromq=yes
.include "../../net/zeromq/buildlink3.mk"
. endif
.else
CONFIGURE_ARGS+= --enable-remotebackend-zeromq=no
.endif