Bug 259337

Summary: dns/openresolv: Update to 3.12.0
Product: Ports & Packages Reporter: Gian-Simon Purkert <gspurki>
Component: Individual Port(s)Assignee: Fernando Apesteguía <fernape>
Status: Closed FIXED    
Severity: Affects Only Me CC: fernape, roy
Priority: --- Keywords: needs-qa
Version: LatestFlags: roy: maintainer-feedback+
Hardware: Any   
OS: Any   
URL: https://roy.marples.name/git/openresolv/shortlog/refs/tags/openresolv-3.12.0
Attachments:
Description Flags
Update to 3.12.0 none

Description Gian-Simon Purkert 2021-10-21 10:59:46 UTC
Created attachment 228919 [details]
Update to 3.12.0

Changes:

https://roy.marples.name/git/openresolv/shortlog/refs/tags/openresolv-3.12.0
Comment 1 roy 2021-10-21 11:08:13 UTC
The version shipped with FreeBSD needs updating as well, but this LGTM.
Comment 2 Gian-Simon Purkert 2021-12-20 10:14:07 UTC
Ping
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2022-02-01 12:56:49 UTC
Build fails:

====> Compressing man pages (compress-man)
===========================================================================
====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: /libexec/resolvconf/libc.d/avahi-daemon
Error: Orphaned: /libexec/resolvconf/libc.d/mdnsd
Error: Orphaned: /libexec/resolvconf/pdns_recursor
Error: Orphaned: @dir /libexec/resolvconf/libc.d
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1

Please, ensure updates builds in poudriere.
Comment 4 Fernando Apesteguía freebsd_committer freebsd_triage 2022-02-03 08:17:17 UTC
ping
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-02-17 14:57:42 UTC
A commit in branch main references this bug:

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

commit 3fcb3729c1f6cbc9ffa40dc07934dc58033e2773
Author:     Gian-Simon Purkert <gspurki@gmail.com>
AuthorDate: 2022-02-01 11:04:25 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-02-17 14:55:22 +0000

    dns/openresolv: Update to 3.12.0

    ChangeLog:
    https://roy.marples.name/git/openresolv/shortlog/refs/tags/openresolv-3.12.0

    PR:     259337
    Reported by:    gspurki@gmail.com
    Approved by:    roy@marples.name (maintainer)

 dns/openresolv/Makefile  | 12 ++++++------
 dns/openresolv/distinfo  |  5 +++--
 dns/openresolv/pkg-descr |  2 +-
 dns/openresolv/pkg-plist | 19 +++++++++++--------
 4 files changed, 21 insertions(+), 17 deletions(-)
Comment 6 Fernando Apesteguía freebsd_committer freebsd_triage 2022-02-17 15:00:05 UTC
Committed with changes.

GNU_CONFIGURE was missing son configure was not run and many of the directories for installation were left with the default values. As consequence, on uninstall, the package removes files of base's openresolv.

Please, ensure you test in a clean environment like poudriere. See https://docs.freebsd.org/en/books/porters-handbook/book/#testing-poudriere

Thanks!