diff options
| author | Jordan Ostreff <jordan@ostreff.info> | 2026-07-01 12:17:24 +0000 |
|---|---|---|
| committer | Yusuf Yaman <nxjoseph@FreeBSD.org> | 2026-07-01 13:04:43 +0000 |
| commit | 156da5c22342aa13ce55ee66cf5a8a1c9f34e3fb (patch) | |
| tree | e64a77a84767499fcfcc201b8d496d1e3310250e | |
| parent | 3893d73abb6cfd19f2106296f3c4f919538c4d37 (diff) | |
| -rw-r--r-- | dns/powerdns/Makefile | 23 | ||||
| -rw-r--r-- | dns/powerdns/distinfo | 6 | ||||
| -rw-r--r-- | dns/powerdns/files/patch-fix_missing_symbols | 68 | ||||
| -rw-r--r-- | dns/powerdns/files/patch-pdns_auth-main.cc | 4 |
4 files changed, 16 insertions, 85 deletions
diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile index cd56040abe02..323e1ecb7086 100644 --- a/dns/powerdns/Makefile +++ b/dns/powerdns/Makefile @@ -1,5 +1,5 @@ PORTNAME= powerdns -DISTVERSION= 5.1.2 +DISTVERSION= 5.1.3 CATEGORIES= dns MASTER_SITES= https://downloads.powerdns.com/releases/ DISTNAME= pdns-${DISTVERSION} @@ -29,6 +29,7 @@ MESON_ARGS= --datadir=${PREFIX}/share/doc \ -Ddns-over-tls=enabled \ -Dhardening=disabled \ -Dipcipher=enabled \ + -Dlua-records=true \ -Dmodule-bind=dynamic \ -Dsigners-libcrypto-path=${OPENSSLBASE} \ -Dsigners-libcrypto=enabled \ @@ -53,14 +54,14 @@ OPTIONS_SINGLE_EXTLUA= LUA LUAJIT OPTIONS_SUB= yes -EXTLUA_DESC= Lua library +EXTLUA_DESC= Lua library implementation GEOIP_DESC= GeoIP backend (GeoIP2 DB) GNUTLS_DESC= DoT support via GnuTLS (sdig only) IXFRDIST_DESC= Build ixfrdist LMDB_DESC= LMDB backend -LUABACKEND_DESC= Lua2 backend -LUAJIT_DESC= Use luajit -LUA_DESC= Use lang/lua +LUABACKEND_DESC= Lua2 backend module (launch=lua2) +LUAJIT_DESC= Use LuaJIT (enables Lua records) +LUA_DESC= Use lang/lua (enables Lua records) MYSQL_DESC= MySQL backend OPENLDAP_DESC= OpenLDAP backend PGSQL_DESC= PostgreSQL backend @@ -87,16 +88,14 @@ LMDB_MESON_ON= -Dmodule-lmdb=dynamic LMDB_VARS= MODULES+=lmdb LUABACKEND_MESON_ON= -Dmodule-lua2=dynamic -LUABACKEND_MESON_TRUE= lua-records LUABACKEND_VARS= MODULES+=lua2 LUAJIT_USES= luajit LUAJIT_MESON_ON= -Dlua=luajit -LUA_USES= lua -LUA_MESON_ON= -Dlua=lua +LUA_USES= lua +LUA_MESON_ON= -Dlua=lua -MYSQL_LIB_DEPENDS= libunwind.so:devel/libunwind MYSQL_USES= mysql MYSQL_MESON_ON= -Dmodule-gmysql=dynamic MYSQL_VARS= MODULES+=gmysql @@ -108,9 +107,9 @@ OPENLDAP_MESON_ON= -Dmodule-ldap=dynamic OPENLDAP_CXXFLAGS= -DLDAP_DEPRECATED=1 OPENLDAP_VARS= MODULES+=ldap -PGSQL_USES= pgsql -PGSQL_MESON_ON= -Dmodule-gpgsql=dynamic -PGSQL_VARS= MODULES+=gpgsql +PGSQL_USES= pgsql +PGSQL_MESON_ON= -Dmodule-gpgsql=dynamic +PGSQL_VARS= MODULES+=gpgsql REMOTE_MESON_ON= -Dmodule-remote=dynamic REMOTE_VARS= MODULES+=remote diff --git a/dns/powerdns/distinfo b/dns/powerdns/distinfo index 8712da5a1a45..b305dcf23b69 100644 --- a/dns/powerdns/distinfo +++ b/dns/powerdns/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1782380258 -SHA256 (pdns-5.1.2.tar.bz2) = 6855967a54ad7b5de89f910f05e348e317b2ed839eb498f96c38c1af7a1eaf38 -SIZE (pdns-5.1.2.tar.bz2) = 1549581 +TIMESTAMP = 1782810934 +SHA256 (pdns-5.1.3.tar.bz2) = 5fb05d5e197f63ab667d9b905e69dc8293244a896fbd046b3630b223ea5051e6 +SIZE (pdns-5.1.3.tar.bz2) = 1558769 diff --git a/dns/powerdns/files/patch-fix_missing_symbols b/dns/powerdns/files/patch-fix_missing_symbols deleted file mode 100644 index 553813ee7634..000000000000 --- a/dns/powerdns/files/patch-fix_missing_symbols +++ /dev/null @@ -1,68 +0,0 @@ ---- meson.build.orig 2026-06-10 08:51:36 UTC -+++ meson.build -@@ -458,6 +458,14 @@ endif - ) - endif - -+libpdns_sqlbackend = declare_dependency( -+ link_whole: static_library( -+ 'pdns-sqlbackend', -+ sources: files(src_dir / 'backends' / 'gsql' / 'gsqlbackend.cc', src_dir / 'backends' / 'gsql' / 'gsqlbackend.hh', src_dir / 'backends' / 'gsql' / 'ssql.hh'), -+ dependencies: deps, -+ ) -+) -+ - # This needs to be link_whole'd because it's needed by auth backends. - libpdns_ssqlite3 = dependency('', required: false) - if dep_sqlite3.found() -@@ -465,7 +473,7 @@ if dep_sqlite3.found() - link_whole: static_library( - 'pdns-ssqlite3', - sources: files(src_dir / 'ssqlite3.cc', src_dir / 'ssqlite3.hh'), -- dependencies: deps, -+ dependencies: [deps, libpdns_sqlbackend], - ) - ) - endif -@@ -497,9 +505,6 @@ common_sources += files( - src_dir / 'auth-zonecache.hh', - src_dir / 'axfr-retriever.cc', - src_dir / 'axfr-retriever.hh', -- src_dir / 'backends' / 'gsql' / 'gsqlbackend.cc', # TODO Move to a separate module. -- src_dir / 'backends' / 'gsql' / 'gsqlbackend.hh', # TODO Move to a separate module. -- src_dir / 'backends' / 'gsql' / 'ssql.hh', # TODO Move to a separate module. - src_dir / 'base32.cc', - src_dir / 'base32.hh', - src_dir / 'base64.cc', ---- modules/gmysqlbackend/meson.build.orig 2026-06-10 08:51:36 UTC -+++ modules/gmysqlbackend/meson.build -@@ -19,4 +19,4 @@ module_resources = files( - 'schema.mysql.sql', - ) - --module_deps = [deps, dep_mysql] -+module_deps = [deps, dep_mysql, libpdns_sqlbackend] ---- modules/godbcbackend/meson.build.orig 2026-06-10 08:51:36 UTC -+++ modules/godbcbackend/meson.build -@@ -15,4 +15,4 @@ module_resources = files( - '4.3.0_to_4.7.0_schema.mssql.sql', - ) - --module_deps = [deps, dep_odbc] -+module_deps = [deps, dep_odbc, libpdns_sqlbackend] ---- modules/gpgsqlbackend/meson.build.orig 2026-06-10 08:51:36 UTC -+++ modules/gpgsqlbackend/meson.build -@@ -18,4 +18,4 @@ module_resources = files( - '4.3.0_to_4.7.0_schema.pgsql.sql', - ) - --module_deps = [deps, dep_pgsql] -+module_deps = [deps, dep_pgsql, libpdns_sqlbackend] ---- modules/gsqlite3backend/meson.build.orig 2026-06-10 08:51:36 UTC -+++ modules/gsqlite3backend/meson.build -@@ -17,4 +17,4 @@ module_resources = files( - 'schema.sqlite3.sql', - ) - --module_deps = [deps, dep_sqlite3] -+module_deps = [deps, dep_sqlite3, libpdns_ssqlite3] diff --git a/dns/powerdns/files/patch-pdns_auth-main.cc b/dns/powerdns/files/patch-pdns_auth-main.cc index e3b3fe86fe2a..f99168245671 100644 --- a/dns/powerdns/files/patch-pdns_auth-main.cc +++ b/dns/powerdns/files/patch-pdns_auth-main.cc @@ -1,6 +1,6 @@ ---- pdns/auth-main.cc.orig 2025-08-22 07:51:37 UTC +--- pdns/auth-main.cc.orig 2026-06-29 19:18:24 UTC +++ pdns/auth-main.cc -@@ -282,8 +282,8 @@ static void declareArguments() +@@ -294,8 +294,8 @@ static void declareArguments() ::arg().setSwitch("no-shuffle", "Set this to prevent random shuffling of answers - for regression testing") = "off"; |
