From nobody Wed Oct 09 20:27:12 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XP4Dx0Rjxz5Yy23; Wed, 09 Oct 2024 20:27:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XP4Dw6z51z4WbZ; Wed, 9 Oct 2024 20:27:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728505633; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o4HQ7UifdP6tko7HgerhA4pHrnv9jgsJ5jwOKX0phCs=; b=gNHUxlDygh7DW2cvFwBVN5leM+4+maGJMmGdVzcOdkzCSDA3HsyVPP/t2oMJPCItO8bUzm XRGHDs+y0t3BnCAO5QgXCMnfxYgPz0lQgP3GC7wi2VD8OoaWzBPKnNkk21nn+CwGHThPd2 1fzTIfrM7fXX/6zOew/h8MPITSyTBOxCFH7IVaCaN4b7ZgLdn1z8nmwnEE/+wKnq475YDU 14jNakA+mPUBJVpy4E7+9WXyFR/g498OqPYfailkvMtT5Pd6tNsNL99oHy8MI3+qTfwmP7 UamZxGXkjztnNVmCEcowskt7TIcTwNaEimf8bTM0Crf8o3+8wWf7a8GoadBjkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728505633; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o4HQ7UifdP6tko7HgerhA4pHrnv9jgsJ5jwOKX0phCs=; b=dfuHpJAE4+Rxva18+Dw9JBpzLTlnr9x+OnZStFtS+psFzuiX8TChqT4sveAx1zSEvF7z/9 mJhZwqMmmbokvbzwhQn3WjXOdpxuh9FRwjNUNyQ6LGnHShnjnx930x6XgBKk+Su09D/zMz eNbW0nQgfiwgkTrlmFlbfLpy2NwGhOLrvcTPezCS5YwE6QAdVU1lwvEj+pPSf92HjcIU1f GsZltWS5nO//oxORhdIrvQJact8QONkqcmZTxpFSgl8LG6tKvEuQVa3OTckUzcJeyqvQx/ MuFlwdhDjfH51Ib2gCV9i8V9XaQ9VqIWA3HNaktKxZmc7ZjVteFb70r0rChr+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728505633; a=rsa-sha256; cv=none; b=pWSIXygZIwm13J/N4+uDgaq7ntGztOWaC72hZPjLEriJzQ8Ga3HSFK1WmJ6xTiYBg/eixD kc96m4GBHX1JRm8u2xoqaKyQjop/sptGOPSkywraOQGUqBwF7ClGdA6MfcrQQL79vU0eHz JcuX81PoKaPuPLpU8yOSRZIhYqw6y5a2Gd3vbQwumQwjtnGoOpqYos/XaDO6mMxjreKm6I WbAhVk6hzx5J0uj7hGi8+TTkEUB8MJg0a+447+AmVuu0bVtEepe6NHLwzq5QuOJ3IgI3Zd HV3OB+MMEbKpjYXF4IqDqZtIVsiAyg1B/8YGgbRhpBf4dW+UQ/aUPo0UmIJlLg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XP4Dw6SJtzT58; Wed, 9 Oct 2024 20:27:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 499KRCs4057493; Wed, 9 Oct 2024 20:27:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 499KRCVt057490; Wed, 9 Oct 2024 20:27:12 GMT (envelope-from git) Date: Wed, 9 Oct 2024 20:27:12 GMT Message-Id: <202410092027.499KRCVt057490@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 7386c2ffd587 - main - dns/powerdns-recursor: Update 5.1.1 =?utf-8?Q?=E2=86=92?= 5.1.2 (fix CVE-2024-25590) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7386c2ffd587aad5d720f2c117827d30bf844e3d Auto-Submitted: auto-generated The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=7386c2ffd587aad5d720f2c117827d30bf844e3d commit 7386c2ffd587aad5d720f2c117827d30bf844e3d Author: Ralf van der Enden AuthorDate: 2024-10-09 20:23:26 +0000 Commit: Vladimir Druzenko CommitDate: 2024-10-09 20:26:44 +0000 dns/powerdns-recursor: Update 5.1.1 → 5.1.2 (fix CVE-2024-25590) PowerDNS Recursor Security Advisory 2024-04: An attacker can publish a zone containing specific Resource Record Sets. Repeatedly processing and caching results for these sets can lead to a denial of service. CVSS Score: 7.5 https://blog.powerdns.com/2024/10/03/powerdns-recursor-4-9-9-5-0-9-5-1-2-released PR: 281914 MFH: 2024Q4 --- dns/powerdns-recursor/Makefile | 6 ++---- dns/powerdns-recursor/distinfo | 6 +++--- .../files/{pdns-recursor.in => pdns_recursor.in} | 8 ++++++++ dns/powerdns-recursor/files/pkg-message.in | 15 +++++++++++++++ dns/powerdns-recursor/pkg-plist | 2 +- 5 files changed, 29 insertions(+), 8 deletions(-) diff --git a/dns/powerdns-recursor/Makefile b/dns/powerdns-recursor/Makefile index 684babcbbe88..1b8e6fce5ed2 100644 --- a/dns/powerdns-recursor/Makefile +++ b/dns/powerdns-recursor/Makefile @@ -1,6 +1,5 @@ PORTNAME= recursor -DISTVERSION= 5.1.1 -PORTREVISION= 3 +DISTVERSION= 5.1.2 CATEGORIES= dns MASTER_SITES= http://downloads.powerdns.com/releases/ PKGNAMEPREFIX= powerdns- @@ -27,10 +26,9 @@ USES= autoreconf cargo compiler:c++11-lib cpe gmake libtool \ localbase:ldflags pkgconfig python:build ssl tar:bzip2 CPE_VENDOR= powerdns -USE_RC_SUBR= pdns-recursor +USE_RC_SUBR= pdns_recursor GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/pdns \ --with-libsodium=no \ --with-service-user=pdns \ diff --git a/dns/powerdns-recursor/distinfo b/dns/powerdns-recursor/distinfo index 81dbf229cbb4..483048051798 100644 --- a/dns/powerdns-recursor/distinfo +++ b/dns/powerdns-recursor/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1721778766 -SHA256 (pdns-recursor-5.1.1.tar.bz2) = 5b7ab793ace822294a3f38092fe72ee64748ff0cbb8a5283dc77f40780605ae9 -SIZE (pdns-recursor-5.1.1.tar.bz2) = 1709091 +TIMESTAMP = 1728502563 +SHA256 (pdns-recursor-5.1.2.tar.bz2) = b3a37ebb20285ab9acbbb0e1370e623bb398ed3087f0e678f23ffa3b0063983d +SIZE (pdns-recursor-5.1.2.tar.bz2) = 1723288 SHA256 (rust/crates/base64-0.21.7.crate) = 9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567 SIZE (rust/crates/base64-0.21.7.crate) = 82576 SHA256 (rust/crates/cc-1.0.98.crate) = 41c270e7540d725e65ac7f1b212ac8ce349719624d7bcff99f8e2e488e8cf03f diff --git a/dns/powerdns-recursor/files/pdns-recursor.in b/dns/powerdns-recursor/files/pdns_recursor.in similarity index 86% rename from dns/powerdns-recursor/files/pdns-recursor.in rename to dns/powerdns-recursor/files/pdns_recursor.in index 122c52f47f1e..c4ea35acd8ff 100644 --- a/dns/powerdns-recursor/files/pdns-recursor.in +++ b/dns/powerdns-recursor/files/pdns_recursor.in @@ -31,6 +31,14 @@ required_files=${pdns_recursor_conf} actual_pdns_recursor_flags="${pdns_recursor_flags}" pdns_recursor_flags="" +extra_commands="showyaml" +showyaml_cmd="${name}_showyaml" + +pdns_recursor_showyaml() +{ + %%PREFIX%%/bin/rec_control show-yaml ${pdns_recursor_conf%%.*}.conf +} + pidfile="/var/run/${name}.pid" actual_command="%%PREFIX%%/sbin/${name}" command="/usr/sbin/daemon" diff --git a/dns/powerdns-recursor/files/pkg-message.in b/dns/powerdns-recursor/files/pkg-message.in index de732b5bc2cf..c0f69aa02c73 100644 --- a/dns/powerdns-recursor/files/pkg-message.in +++ b/dns/powerdns-recursor/files/pkg-message.in @@ -11,4 +11,19 @@ as recursor.conf-dist. EOM } +{ type: upgrade + minimum_version: "5.1.0" + message: <