Bug 276520 - dns/powerdns-recursor: update to 5.0.1
Summary: dns/powerdns-recursor: update to 5.0.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Fernando Apesteguía
URL: https://blog.powerdns.com/2024/01/10/...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-22 10:24 UTC by Ralf van der Enden
Modified: 2024-01-25 22:10 UTC (History)
2 users (show)

See Also:


Attachments
Update PowerDNS Recursor to 5.0.1 (11.16 KB, patch)
2024-01-22 10:32 UTC, Ralf van der Enden
tremere: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf van der Enden 2024-01-22 10:24:32 UTC
Full changelog: https://doc.powerdns.com/recursor/changelog/5.0.html#change-5.0.1

Check the upgrade guide when upgrading: https://docs.powerdns.com/recursor/upgrade.html

Q&A:
poudriere: testport ok (14.0-RELEASE;amd64;)
Makefile portclippy/portmft processed
Comment 1 Ralf van der Enden 2024-01-22 10:32:47 UTC
Created attachment 247839 [details]
Update PowerDNS Recursor to 5.0.1
Comment 2 Fernando Apesteguía freebsd_committer freebsd_triage 2024-01-23 08:00:05 UTC
Thanks for the update Ralf,

I think I will remove the reference to BROKEN_FreeBSD_12_powerpc64. FreeBSD12 is not supported anymore.
Comment 3 Ralf van der Enden 2024-01-23 08:05:33 UTC
(In reply to Fernando Apesteguía from comment #2)
Sounds good. I totally forgot about FBSD 12 going EOL. Thanks
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-01-25 17:22:34 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=95d69f42ba0d6e8afd7da5c84a3ccc20338847e8

commit 95d69f42ba0d6e8afd7da5c84a3ccc20338847e8
Author:     Ralf van der Enden <tremere@cainites.net>
AuthorDate: 2024-01-23 08:00:28 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-01-25 17:21:28 +0000

    dns/powerdns-recursor: update to 5.0.1

    ChangeLog: https://blog.powerdns.com/2024/01/10/powerdns-recursor-5-0-1-released

    PR:             276520
    Reported by:    tremere@cainites.net (maintainer)

 dns/powerdns-recursor/Makefile                     | 22 ++++++--
 dns/powerdns-recursor/distinfo                     | 66 +++++++++++++++++++++-
 .../files/patch-m4_pdns__check__libcrypto.m4       |  3 +-
 .../files/patch-rec-main.cc (gone)                 | 18 ------
 dns/powerdns-recursor/pkg-plist                    |  1 +
 5 files changed, 84 insertions(+), 26 deletions(-)
Comment 5 Fernando Apesteguía freebsd_committer freebsd_triage 2024-01-25 17:26:56 UTC
Committed,

Thanks!
Comment 6 Juraj Lutter freebsd_committer freebsd_triage 2024-01-25 18:36:48 UTC
On 15-CURRENT building in poudriere:

===>   Additional optimization to port applied
===>   Cargo config:
[source.cargo]
directory = '/wrkdirs/usr/ports/dns/powerdns-recursor/work/pdns-recursor-5.0.1/cargo-crates'
[source.crates-io]
replace-with = 'cargo'
===>   Updating Cargo.lock
error: no matching package named `cxx` found
location searched: registry `crates-io`
required by package `settings v0.1.0 (/wrkdirs/usr/ports/dns/powerdns-recursor/work/pdns-recursor-5.0.1/settings/rust)`
*** Error code 101

Stop.
make: stopped in /usr/ports/dns/powerdns-recursor
=>> Cleaning up wrkdir
===>  Cleaning for powerdns-recursor-5.0.1
Comment 7 Fernando Apesteguía freebsd_committer freebsd_triage 2024-01-25 20:38:29 UTC
(In reply to Juraj Lutter from comment #6)
That's weird, I tested in 13.2, 14.0 and current(ish).
I'll have a look at it.

Thanks for the heads up.
Comment 8 commit-hook freebsd_committer freebsd_triage 2024-01-25 22:10:01 UTC
A commit in branch main references this bug:

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

commit fdf5455bde7a2ea3d2b6f6d33531a12381ac53d4
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2024-01-25 21:51:26 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-01-25 21:51:26 +0000

    dns/powerdns-recursor: Fix build

    Add forgotten Makefile.crates

    PR:             276520
    Reported by:    otis@
    Fixes:          95d69f42ba0d6e8afd7da5c84a3ccc20338847e8

 dns/powerdns-recursor/Makefile.crates (new) | 30 +++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
Comment 9 Fernando Apesteguía freebsd_committer freebsd_triage 2024-01-25 22:10:35 UTC
Well, I tested it...

The operation will free 11 MiB.
[current-default] [1/1] Deinstalling powerdns-recursor-5.0.1...
[current-default] [1/1] Deleting files for powerdns-recursor-5.0.1: .......... done
==> You should manually remove the "pdns_recursor" user. 
==> You should manually remove the "pdns" group 
===========================================================================
=>> Checking for extra files and directories
[00:12:15] Installing from package
[current-default] Installing powerdns-recursor-5.0.1...
===> Creating groups.
Using existing group 'pdns'.
===> Creating users
Using existing user 'pdns_recursor'.
[current-default] Extracting powerdns-recursor-5.0.1: .......... done
=====
Message from powerdns-recursor-5.0.1:

--
If you want to use the PowerDNS Recursor,
 you need the following line in /etc/rc.conf(.local)
 or in /etc/rc.conf.d/pdns_recursor

    pdns_recursor_enable="YES"

 Configuration templates are available in /usr/local/etc/pdns
 as recursor.conf-dist.
[00:12:16] Cleaning up
===>  Cleaning for powerdns-recursor-5.0.1
[00:12:17] Deinstalling package
Updating database digests format: . done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        powerdns-recursor: 5.0.1

Number of packages to be removed: 1

The operation will free 11 MiB.
[current-default] [1/1] Deinstalling powerdns-recursor-5.0.1...
[current-default] [1/1] Deleting files for powerdns-recursor-5.0.1: .......... done
==> You should manually remove the "pdns_recursor" user. 
==> You should manually remove the "pdns" group 
build of dns/powerdns-recursor | powerdns-recursor-5.0.1 ended at Tue Jan 23 10:38:30 CET 2024
build time: 00:10:14

and I forgot to git add Makefile.crates...

Should be fixed now.

Thanks!