Bug 285264 - net/libpfctl: Fix makesum to deal with multiple OS release versions
Summary: net/libpfctl: Fix makesum to deal with multiple OS release versions
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: Kristof Provost
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-08 23:51 UTC by Craig Leres
Modified: 2025-04-05 19:57 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (kp)


Attachments
patch (1.98 KB, patch)
2025-03-08 23:53 UTC, Craig Leres
leres: maintainer-approval? (kp)
leres: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Leres freebsd_committer freebsd_triage 2025-03-08 23:51:51 UTC
I was having trouble building net/libpfctl under 13.5-RELEASE and see that (a) the distro for 13.5-RELEASE doesn't exist yet and (b) makesum only creates distinfo entries for the current OS version.

Here's a patch adapted from lang/python-doc-html that allows makesum to generate entries for all supported versions.
Comment 1 Craig Leres freebsd_committer freebsd_triage 2025-03-08 23:53:15 UTC
Created attachment 258440 [details]
patch
Comment 2 commit-hook freebsd_committer freebsd_triage 2025-03-09 12:00:11 UTC
A commit in branch main references this bug:

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

commit 0f0d78cc8f311ed02883805e61a6b3e08f62c5d2
Author:     Craig Leres <leres@freebsd.org>
AuthorDate: 2025-03-09 10:40:13 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2025-03-09 10:41:30 +0000

    net/libpfctl: Fix makesum to deal with multiple OS release versions

    Allow makesum to generate entries for all supported versions.
    patch adapted from lang/python-doc-html.

    PR:             285264

 net/libpfctl/Makefile | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)