Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 2026 21:43:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 295856] dns/powerdns update to 5.1.1 with automatic authenticated DNSSEC Bootstrapping in PowerDNS Authoritative
Message-ID:  <bug-295856-7788-oZT56RE1G2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-295856-7788@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295856

Jordan Ostreff <jordan@ostreff.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #271655|                            |maintainer-approval?
              Flags|                            |

--- Comment #2 from Jordan Ostreff <jordan@ostreff.info> ---
Created attachment 271655
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=271655&action=edit
dns/powerdns Update to 5.1.1 and fix version detection in Meson

This patch updates dns/powerdns to version 5.1.1. 

Additionally, it introduces a fix for the version detection mechanism. Upstream
currently uses a custom script (`builder-support/gen-version`) in `meson.build`
which relies entirely on Git. Since official release tarballs do not contain a
`.git` directory, the build system falls back to setting the version as
"unknown". This causes `pdns_control version` and `pdns_server --version` to
return "unknown" instead of "5.1.1".

To resolve this without waiting for an upstream fix to their release/dist
process, a `post-patch` target has been added to use `REINPLACE_CMD` and
hardcode the correct `${DISTVERSION}` directly into `meson.build`.

Changes:
- Update port to 5.1.1
- Fix Meson project version definition to prevent "unknown" version output
- Validated via `pdns_control version` (now correctly returns 5.1.1)

QA:
- partially tested on freebsd 14 and freebsd 15 with different options enabled
on amd64
- Run-tested on a live testbed: OK

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-295856-7788-oZT56RE1G2>