git: 37c4bbadb45e - main - dns/powerdns: Update 4.9.1 → 4.9.2

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Fri, 11 Oct 2024 14:05:46 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=37c4bbadb45e3f12ab416e8e536bb5d3f13d9128

commit 37c4bbadb45e3f12ab416e8e536bb5d3f13d9128
Author:     Ralf van der Enden <tremere@cainites.net>
AuthorDate: 2024-10-11 14:01:53 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-10-11 14:01:53 +0000

    dns/powerdns: Update 4.9.1 → 4.9.2
    
    Changelog:
    https://doc.powerdns.com/authoritative/changelog/4.9.html#change-4.9.2
    
    Fix dependencies, clean/fix options, fix whitespace, remove
    GNU_CONFIGURE_MANPREFIX.
    
    PR:     281915
---
 dns/powerdns/Makefile | 39 ++++++++++++++++++---------------------
 dns/powerdns/distinfo |  8 +++-----
 2 files changed, 21 insertions(+), 26 deletions(-)

diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile
index 9e8fdd2a8dc4..483c010b503e 100644
--- a/dns/powerdns/Makefile
+++ b/dns/powerdns/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	powerdns
-DISTVERSION=	4.9.1
-PORTREVISION=	2
+DISTVERSION=	4.9.2
 CATEGORIES=	dns
 MASTER_SITES=	https://downloads.powerdns.com/releases/
 DISTNAME=	pdns-${DISTVERSION}
@@ -14,7 +13,7 @@ LICENSE=	GPLv2
 NOT_FOR_ARCHS=	i386
 NOT_FOR_ARCHS_REASON=	archs with 32-bits time_t are no longer supported by upstream
 
-LIB_DEPENDS=	libboost_serialization.so:devel/boost-libs \
+LIB_DEPENDS=	libboost_program_options.so:devel/boost-libs \
 		libcurl.so:ftp/curl
 
 USES=		autoreconf compiler:c++11-lib cpe gmake libtool \
@@ -24,7 +23,6 @@ USE_RC_SUBR=	pdns
 USE_SUBMAKE=	yes
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--disable-static \
 		--docdir="${PREFIX}/share/doc/powerdns" \
 		--sysconfdir="${PREFIX}/etc/pdns" \
@@ -44,18 +42,16 @@ SUB_FILES=	pkg-message
 USERS=		pdns
 GROUPS=		pdns
 
-OPTIONS_DEFINE=			DOCS EXAMPLES GEOIP IXFRDIST LMDB LUABACKEND \
-				MYSQL OPENLDAP PGSQL REMOTE SQLITE3 TINYDNS \
-				TOOLS UNIXODBC
-OPTIONS_DEFAULT=		LMDB LUA MYSQL PGSQL SQLITE3
-OPTIONS_GROUP=			GEOIPOPT REMOTEOPT
-OPTIONS_GROUP_REMOTEOPT=	ZEROMQ
-OPTIONS_SINGLE=			EXTLUA
-OPTIONS_SINGLE_EXTLUA=		LUA LUAJIT
+OPTIONS_DEFINE=		DOCS EXAMPLES GEOIP IXFRDIST LMDB LUABACKEND MYSQL \
+			OPENLDAP PGSQL REMOTE SQLITE3 TINYDNS TOOLS UNIXODBC \
+			ZEROMQ
+OPTIONS_DEFAULT=	LMDB LUA MYSQL PGSQL SQLITE3
+OPTIONS_SINGLE=		EXTLUA
+OPTIONS_SINGLE_EXTLUA=	LUA LUAJIT
 
-OPTIONS_SUB=	yes
+OPTIONS_SUB=		yes
 
-GEOIPOPT_DESC=		GeoIP DB options
+EXTLUA_DESC=		Lua library
 GEOIP_DESC=		GeoIP backend (GeoIP2 DB)
 IXFRDIST_DESC=		Build ixfrdist
 LMDB_DESC=		LMDB backend
@@ -65,7 +61,6 @@ LUA_DESC=		Use lang/lua
 MYSQL_DESC=		MySQL backend
 OPENLDAP_DESC=		OpenLDAP backend
 PGSQL_DESC=		PostgreSQL backend
-REMOTEOPT_DESC=		Remote backend connectors
 REMOTE_DESC=		Remote backend
 SQLITE3_DESC=		SQLite 3 backend
 TINYDNS_DESC=		TinyDNS backend
@@ -76,10 +71,11 @@ GEOIP_LIB_DEPENDS=	libmaxminddb.so:net/libmaxminddb \
 			libyaml-cpp.so:devel/yaml-cpp
 GEOIP_VARS=		MODULES+=geoip
 
-IXFRDIST_LIB_DEPENDS=		libyaml-cpp.so:devel/yaml-cpp
+IXFRDIST_LIB_DEPENDS=	libyaml-cpp.so:devel/yaml-cpp
 IXFRDIST_CONFIGURE_ENABLE=	ixfrdist
 
-LMDB_LIB_DEPENDS=	liblmdb.so:databases/lmdb
+LMDB_LIB_DEPENDS=	liblmdb.so:databases/lmdb \
+			libboost_serialization.so:devel/boost-libs
 LMDB_CONFIGURE_ON=	--with-lmdb=${LOCALBASE}
 LMDB_CONFIGURE_OFF=	--without-lmdb
 LMDB_VARS=		MODULES+=lmdb
@@ -89,8 +85,9 @@ LUABACKEND_VARS=	MODULES+=lua2
 LUAJIT_USES=		luajit
 LUAJIT_CONFIGURE_ON=	--with-lua=luajit
 
-LUA_USES=	lua
+LUA_USES=		lua
 
+MYSQL_LIB_DEPENDS=	libunwind.so:devel/libunwind
 MYSQL_USES=		mysql
 MYSQL_CONFIGURE_ON=	--with-mysql=${LOCALBASE}
 MYSQL_CONFIGURE_OFF=	--without-mysql
@@ -104,10 +101,10 @@ PGSQL_USES=		pgsql
 PGSQL_CONFIGURE_ON=	--with-pg-config=${LOCALBASE}/bin/pg_config
 PGSQL_VARS=		MODULES+=gpgsql
 
-REMOTE_VARS=	MODULES+=remote
+REMOTE_VARS=		MODULES+=remote
 
-SQLITE3_USES=	sqlite:3
-SQLITE3_VARS=	MODULES+=gsqlite3
+SQLITE3_USES=		sqlite:3
+SQLITE3_VARS=		MODULES+=gsqlite3
 
 TINYDNS_LIB_DEPENDS=	libcdb.so:databases/tinycdb
 TINYDNS_CONFIGURE_ON=	CDB_CFLAGS="-I${LOCALBASE}/include" \
diff --git a/dns/powerdns/distinfo b/dns/powerdns/distinfo
index b52801f1efdd..f7126702dc14 100644
--- a/dns/powerdns/distinfo
+++ b/dns/powerdns/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1716889820
-SHA256 (pdns-4.9.1.tar.bz2) = 30d9671b8f084774dbcba20f5a53a3134d0822ab2edc3ef968da030e630dd09a
-SIZE (pdns-4.9.1.tar.bz2) = 1396230
-SHA256 (c6b1e59f3b413493551910a7d0a3e9206d488599.patch) = d83d7c359e3d4fad8fe21f649f37d449cfda3739894a755d021897218c8189eb
-SIZE (c6b1e59f3b413493551910a7d0a3e9206d488599.patch) = 1290
+TIMESTAMP = 1728501648
+SHA256 (pdns-4.9.2.tar.bz2) = f570640427041f4c5c5470d16eff951a7038c353ddc461b2750290ce99b2e3c2
+SIZE (pdns-4.9.2.tar.bz2) = 1378434