pdns-recursor: update to 4.5.2
authorPeter van Dijk <redacted>
Mon, 14 Jun 2021 16:37:51 +0000 (18:37 +0200)
committerPeter van Dijk <redacted>
Mon, 14 Jun 2021 20:51:48 +0000 (22:51 +0200)
Signed-off-by: Peter van Dijk <redacted>
net/pdns-recursor/Makefile
net/pdns-recursor/patches/010-time_t-check.patch [new file with mode: 0644]
net/pdns-recursor/patches/100-disable-recursor.conf-dist.patch

index 381bc28d2b77eb07e26974270c517264621fe800..2f60674824becedc765d47fb288325afda5763f2 100644 (file)
@@ -1,12 +1,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=pdns-recursor
-PKG_VERSION:=4.4.2
+PKG_VERSION:=4.5.2
 PKG_RELEASE:=$(AUTORELEASE)
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://downloads.powerdns.com/releases/
-PKG_HASH:=b0b97f49848a1758b64bc0b99a596c1583ea525477193f3c01905f5163a4f5cf
+PKG_HASH:=b1283d5354f1cbb3d15791f96af3ab3e08a13453431e94fe87b8dbe9f78f0184
 
 PKG_MAINTAINER:=Peter van Dijk <peter.van.dijk@powerdns.com>
 PKG_LICENCE:=GPL-2.0-only
@@ -16,7 +16,6 @@ PKG_CPE_ID:=cpe:/a:powerdns:recursor
 PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 PKG_BUILD_PARALLEL:=1
-PKG_BUILD_DEPENDS:=protobuf/host
 
 include $(INCLUDE_DIR)/package.mk
 
@@ -26,7 +25,7 @@ define Package/pdns-recursor
   SUBMENU:=IP Addresses and Names
   USERID:=pdns:pdns
   TITLE:=PowerDNS Recursor
-  DEPENDS:=+boost +boost-context +boost-filesystem +libatomic +liblua +libopenssl +protobuf +libfstrm
+  DEPENDS:=+boost +boost-context +boost-filesystem +libatomic +liblua +libopenssl +libfstrm
   URL:=https://www.powerdns.com/recursor.html
 endef
 
@@ -40,20 +39,19 @@ define Package/pdns-recursor/conffiles
 /etc/init.d/pdns-recursor
 endef
 
+# not everything groks --disable-nls
+DISABLE_NLS:=
+
 CONFIGURE_ARGS += \
+       --enable-option-checking=fatal \
        --sysconfdir=/etc/powerdns \
        --with-lua=lua \
        --without-libcap \
        --without-libsodium \
-       --with-protobuf \
        --without-net-snmp \
        --enable-reproducible \
        --disable-silent-rules
 
-CONFIGURE_VARS += \
-       boost_cv_lib_context=yes \
-       boost_cv_lib_context_LIBS=-lboost_context
-
 define Package/pdns-recursor/install
        $(INSTALL_DIR) $(1)/etc/powerdns
        $(INSTALL_CONF) ./files/recursor.conf-dist $(1)/etc/powerdns/
diff --git a/net/pdns-recursor/patches/010-time_t-check.patch b/net/pdns-recursor/patches/010-time_t-check.patch
new file mode 100644 (file)
index 0000000..7d6b7a5
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -25,8 +25,6 @@ AC_PROG_CC
+ AC_PROG_CXX
+ AC_LANG([C++])
+-PDNS_CHECK_TIME_T
+-
+ AC_DEFINE([RECURSOR], [1],
+   [This is the PowerDNS Recursor]
+ )
index 7e351842ced5e29841151781fcde5898fa8a3efd..15dd66ce2674e354be929e36dfd4150393fcea2c 100644 (file)
@@ -1,6 +1,6 @@
 --- a/Makefile.am
 +++ b/Makefile.am
-@@ -452,12 +452,6 @@ $(srcdir)/effective_tld_names.dat:
+@@ -433,12 +433,6 @@ $(srcdir)/effective_tld_names.dat:
  pubsuffix.cc: $(srcdir)/effective_tld_names.dat
        $(AM_V_GEN)./mkpubsuffixcc
  
git clone https://git.99rst.org/PROJECT