include $(TOPDIR)/rules.mk
PKG_NAME:=pdns
-PKG_VERSION:=4.2.2
+PKG_VERSION:=4.3.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://downloads.powerdns.com/releases/
-PKG_HASH:=3a1b524b9cecd1a38fdc2e71082d9f52471d22735113a890016ff48baee16b15
+PKG_HASH:=d5146c04098ee94b9377ee491ebb3fd5eb061d7b24262f4a8e1a89f2ed3fc245
PKG_MAINTAINER:=James Taylor <james@jtaylor.id.au>
PKG_LICENCE:=GPL-2.0-only
$(eval $(call DefinePdnsBackend,pgsql,,libpq,gpgsql,PostgreSQL))
$(eval $(call DefinePdnsBackend,sqlite3,,libsqlite3,gsqlite3,SQLite 3))
$(eval $(call DefinePdnsBackend,ldap,,libopenldap krb5-libs,,OpenLDAP))
-$(eval $(call DefinePdnsBackend,lua,,lua liblua,,Lua))
$(eval $(call DefinePdnsBackend,lua2,,lua liblua,,Lua2))
-$(eval $(call DefinePdnsBackend,mydns,,libmysqlclient,,MyDNS))
$(eval $(call DefinePdnsBackend,pipe,,,,Pipe))
$(eval $(call DefinePdnsBackend,remote,,,,Remote))
--enable-lua-records \
$(if $(CONFIG_PACKAGE_pdns-ixfrdist),--enable-ixfrdist,)
+CONFIGURE_VARS += \
+ boost_cv_lib_program_options=yes \
+ boost_cv_lib_program_options_LIBS=-lboost_program_options
+
define Package/pdns/install
$(INSTALL_DIR) $(1)/etc/powerdns
$(INSTALL_CONF) ./files/pdns.conf-dist $(1)/etc/powerdns/pdns.conf-dist
--- a/pdns/Makefile.am
+++ b/pdns/Makefile.am
-@@ -69,11 +69,9 @@
+@@ -68,11 +68,9 @@ CLEANFILES = \
backends/gsql/gsqlbackend.gcda \
backends/gsql/gsqlbackend.gcno \
backends/gsql/gsqlbackend.gcov \
sbin_PROGRAMS = pdns_server
bin_PROGRAMS = \
-@@ -113,7 +111,7 @@
+@@ -112,7 +110,7 @@ if IXFRDIST
bin_PROGRAMS += \
ixfrdist
ixfrdist.example.yml
endif
-@@ -1256,9 +1254,6 @@
+@@ -1248,9 +1246,6 @@ dnspcap2protobuf_LDADD = \
endif
endif
-pdns.conf-dist: pdns_server
-- $(AM_V_GEN)./pdns_server --no-config --config 2>/dev/null > $@
+- $(AM_V_GEN)./pdns_server --no-config --config=default 2>/dev/null > $@
-
testrunner_SOURCES = \
arguments.cc \