pkgsrc/net/powerdns/options.mk
fhajny 06671e1672 Update PowerDNS to 3.4.1.
pkgsrc changes:
- SQLite 2.x support no longer exists
- SQLite 3.x support cannot be compiled outside the main package because
  of how symbols are distributed, so making it a compile time option
  for net/powerdns now.

Too many changes since 2.9.22.5 (over 2 years ago), see the full changelog:

  http://doc.powerdns.com/md/changelog/

Upgrade notes:

- PowerDNS 3.4 comes with a mandatory database schema upgrade coming from
  any previous 3.x release.
- PowerDNS 3.1 introduces native SQLite3 support for storing key material for
  DNSSEC in the bindbackend. With this change, support for bind+gsql-setups
  ('hybrid mode') has been dropped.
- PowerDNS 3.0 introduces full DNSSEC support which requires changes
  to database schemas. By default, old non-DNSSEC schema is assumed.

Please see the docs on upgrading for particular steps that need to be taken:

  http://doc.powerdns.com/md/authoritative/upgrading/
2014-12-10 14:50:08 +00:00

45 lines
952 B
Makefile

# $NetBSD: options.mk,v 1.1 2014/12/10 14:50:08 fhajny Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.powerdns
PKG_SUPPORTED_OPTIONS= bind botan pipe random remote sqlite tools
PKG_SUGGESTED_OPTIONS= bind pipe random
.include "../../mk/bsd.options.mk"
PLIST_VARS+= bind pipe random remote sqlite tools
.if !empty(PKG_OPTIONS:Mbind)
PDNS_MODULES+= bind
PLIST.bind= yes
.endif
.if !empty(PKG_OPTIONS:Mbotan)
CONFIGURE_ARGS+= --enable-botan1.8
.include "../../security/botan/buildlink3.mk"
.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