pdns: update to 4.3.1
authorRosen Penev <rosenp@gmail.com>
Sat, 10 Oct 2020 01:37:29 +0000 (18:37 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 11 Oct 2020 01:58:19 +0000 (18:58 -0700)
Remove features removed upstream.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
net/pdns/Makefile
net/pdns/patches/100-pdns-disable-pdns.conf-dist.patch

index 60129acf37ed87ccfa8a271ae04e26f135884db7..6097addb9ecea56a93e98670591604d8931276d7 100644 (file)
@@ -1,12 +1,12 @@
 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
@@ -162,9 +162,7 @@ $(eval $(call DefinePdnsBackend,odbc,,unixodbc,godbc,ODBC))
 $(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))
 
@@ -188,6 +186,10 @@ CONFIGURE_ARGS+= \
        --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
index bb9af15f5d9d3d79b4715b472de87afffc6fdb75..2f1316e17997ca40474f237edac29c6c48f780b2 100644 (file)
@@ -1,6 +1,6 @@
 --- 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 \
@@ -13,7 +13,7 @@
  
  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 \