git: 73c6db0ab79a - main - dns/powerdns-recursor: update 5.2.0 -> 5.2.2, fix CVE-2025-30195

From: Kurt Jaeger <pi_at_FreeBSD.org>
Date: Thu, 01 May 2025 04:44:57 UTC
The branch main has been updated by pi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=73c6db0ab79a9bb2bd571bcbaa2043dc75fae827

commit 73c6db0ab79a9bb2bd571bcbaa2043dc75fae827
Author:     Ralf van der Enden <tremere@cainites.net>
AuthorDate: 2025-05-01 04:42:31 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2025-05-01 04:42:31 +0000

    dns/powerdns-recursor: update 5.2.0 -> 5.2.2, fix CVE-2025-30195
    
    PR:             286139
    Reported-by:    Jordan Ostreff <jordan@ostreff.info>
    Changes:        https://blog.powerdns.com/2025/04/09/powerdns-recursor-5-0-10-5-1-4-5-2-2-released
                    https://doc.powerdns.com/recursor/changelog/5.2.html#change-5.2.2
    Security:       CVE-2025-30195
---
 dns/powerdns-recursor/Makefile        |  5 ++---
 dns/powerdns-recursor/Makefile.crates |  9 +++------
 dns/powerdns-recursor/distinfo        | 20 +++++++-------------
 3 files changed, 12 insertions(+), 22 deletions(-)

diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile
index 418775058e68..9c069a41700b 100644
--- a/dns/powerdns-recursor/Makefile
+++ b/dns/powerdns-recursor/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	recursor
-DISTVERSION=	5.2.0
-PORTREVISION=	3
+DISTVERSION=	5.2.2
 CATEGORIES=	dns
 MASTER_SITES=	https://downloads.powerdns.com/releases/
 PKGNAMEPREFIX=	powerdns-
@@ -30,8 +29,8 @@ USE_RC_SUBR=	pdns_recursor
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc/pdns \
 		--with-libsodium=no \
-		--with-service-user=pdns \
 		--with-service-group=pdns_recursor \
+		--with-service-user=pdns \
 		--without-net-snmp \
 		--without-systemd
 
diff --git a/dns/powerdns-recursor/Makefile.crates b/dns/powerdns-recursor/Makefile.crates
index 15c8bb517c61..bfdce5bd597f 100644
--- a/dns/powerdns-recursor/Makefile.crates
+++ b/dns/powerdns-recursor/Makefile.crates
@@ -1,5 +1,4 @@
-CARGO_CRATES=	anyhow-1.0.87 \
-		base64-0.22.1 \
+CARGO_CRATES=	base64-0.22.1 \
 		cc-1.1.18 \
 		codespan-reporting-0.11.1 \
 		cxx-1.0.128 \
@@ -11,9 +10,7 @@ CARGO_CRATES=	anyhow-1.0.87 \
 		indexmap-2.5.0 \
 		ipnet-2.10.0 \
 		itoa-1.0.11 \
-		libyml-0.0.5 \
 		link-cplusplus-1.0.9 \
-		memchr-2.7.4 \
 		once_cell-1.19.0 \
 		proc-macro2-1.0.86 \
 		quote-1.0.37 \
@@ -21,13 +18,13 @@ CARGO_CRATES=	anyhow-1.0.87 \
 		scratch-1.0.7 \
 		serde-1.0.210 \
 		serde_derive-1.0.210 \
-		serde_yml-0.0.12 \
+		serde_yaml-0.9.34+deprecated \
 		shlex-1.3.0 \
 		syn-2.0.77 \
 		termcolor-1.4.1 \
 		unicode-ident-1.0.12 \
 		unicode-width-0.1.13 \
-		version_check-0.9.5 \
+		unsafe-libyaml-0.2.11 \
 		winapi-util-0.1.9 \
 		windows-sys-0.59.0 \
 		windows-targets-0.52.6 \
diff --git a/dns/powerdns-recursor/distinfo b/dns/powerdns-recursor/distinfo
index d843444760c7..8be4fd87ee3c 100644
--- a/dns/powerdns-recursor/distinfo
+++ b/dns/powerdns-recursor/distinfo
@@ -1,8 +1,6 @@
-TIMESTAMP = 1736894589
-SHA256 (pdns-recursor-5.2.0.tar.bz2) = 69e390b40a2228964a1d4db85a067065fd4513d26318c858d24b4972f6b73010
-SIZE (pdns-recursor-5.2.0.tar.bz2) = 1729913
-SHA256 (rust/crates/anyhow-1.0.87.crate) = 10f00e1f6e58a40e807377c75c6a7f97bf9044fab57816f2414e6f5f4499d7b8
-SIZE (rust/crates/anyhow-1.0.87.crate) = 46831
+TIMESTAMP = 1744270029
+SHA256 (pdns-recursor-5.2.2.tar.bz2) = f9c95274231ee3c5c94197f6d05011d55abf06b2937535ba8e78e24ea4fbbd6e
+SIZE (pdns-recursor-5.2.2.tar.bz2) = 1723921
 SHA256 (rust/crates/base64-0.22.1.crate) = 72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6
 SIZE (rust/crates/base64-0.22.1.crate) = 81597
 SHA256 (rust/crates/cc-1.1.18.crate) = b62ac837cdb5cb22e10a256099b4fc502b1dfe560cb282963a974d7abd80e476
@@ -27,12 +25,8 @@ SHA256 (rust/crates/ipnet-2.10.0.crate) = 187674a687eed5fe42285b40c6291f9a01517d
 SIZE (rust/crates/ipnet-2.10.0.crate) = 28372
 SHA256 (rust/crates/itoa-1.0.11.crate) = 49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b
 SIZE (rust/crates/itoa-1.0.11.crate) = 10563
-SHA256 (rust/crates/libyml-0.0.5.crate) = 3302702afa434ffa30847a83305f0a69d6abd74293b6554c18ec85c7ef30c980
-SIZE (rust/crates/libyml-0.0.5.crate) = 97931
 SHA256 (rust/crates/link-cplusplus-1.0.9.crate) = 9d240c6f7e1ba3a28b0249f774e6a9dd0175054b52dfbb61b16eb8505c3785c9
 SIZE (rust/crates/link-cplusplus-1.0.9.crate) = 7484
-SHA256 (rust/crates/memchr-2.7.4.crate) = 78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3
-SIZE (rust/crates/memchr-2.7.4.crate) = 96670
 SHA256 (rust/crates/once_cell-1.19.0.crate) = 3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92
 SIZE (rust/crates/once_cell-1.19.0.crate) = 33046
 SHA256 (rust/crates/proc-macro2-1.0.86.crate) = 5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77
@@ -47,8 +41,8 @@ SHA256 (rust/crates/serde-1.0.210.crate) = c8e3592472072e6e22e0a54d5904d9febf850
 SIZE (rust/crates/serde-1.0.210.crate) = 78338
 SHA256 (rust/crates/serde_derive-1.0.210.crate) = 243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f
 SIZE (rust/crates/serde_derive-1.0.210.crate) = 56020
-SHA256 (rust/crates/serde_yml-0.0.12.crate) = 59e2dd588bf1597a252c3b920e0143eb99b0f76e4e082f4c92ce34fbc9e71ddd
-SIZE (rust/crates/serde_yml-0.0.12.crate) = 125859
+SHA256 (rust/crates/serde_yaml-0.9.34+deprecated.crate) = 6a8b1a1a2ebf674015cc02edccce75287f1a0130d394307b36743c2f5d504b47
+SIZE (rust/crates/serde_yaml-0.9.34+deprecated.crate) = 65290
 SHA256 (rust/crates/shlex-1.3.0.crate) = 0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64
 SIZE (rust/crates/shlex-1.3.0.crate) = 18713
 SHA256 (rust/crates/syn-2.0.77.crate) = 9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed
@@ -59,8 +53,8 @@ SHA256 (rust/crates/unicode-ident-1.0.12.crate) = 3354b9ac3fae1ff6755cb6db53683a
 SIZE (rust/crates/unicode-ident-1.0.12.crate) = 42168
 SHA256 (rust/crates/unicode-width-0.1.13.crate) = 0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d
 SIZE (rust/crates/unicode-width-0.1.13.crate) = 457228
-SHA256 (rust/crates/version_check-0.9.5.crate) = 0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a
-SIZE (rust/crates/version_check-0.9.5.crate) = 15554
+SHA256 (rust/crates/unsafe-libyaml-0.2.11.crate) = 673aac59facbab8a9007c7f6108d11f63b603f7cabff99fabf650fea5c32b861
+SIZE (rust/crates/unsafe-libyaml-0.2.11.crate) = 62101
 SHA256 (rust/crates/winapi-util-0.1.9.crate) = cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb
 SIZE (rust/crates/winapi-util-0.1.9.crate) = 12464
 SHA256 (rust/crates/windows-sys-0.59.0.crate) = 1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b