Bug 271732 - net/miniupnpd: remove ipfw port option
Summary: net/miniupnpd: remove ipfw port option
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: Robert Clausecker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-30 19:05 UTC by R. Christian McDonald
Modified: 2023-06-26 23:33 UTC (History)
4 users (show)

See Also:
fuz: maintainer-feedback-


Attachments
net/miniupnpd: remove ipfw port option (1.72 KB, patch)
2023-05-30 19:05 UTC, R. Christian McDonald
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description R. Christian McDonald 2023-05-30 19:05:44 UTC
Created attachment 242501 [details]
net/miniupnpd: remove ipfw port option

It is well-known that net/miniupnpd does not work with IPFW. However, the port options still allow building with IPFW support. In order to prevent unnecessary foot-shooting, let us eliminate this option outright and unconditionally use pf instead.
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2023-06-25 17:12:43 UTC
Will commit with my next batch.
If the maintainer times out again, perhaps you might want to take over maintainership of this port.
Comment 2 Daniel Engberg freebsd_committer freebsd_triage 2023-06-25 22:13:34 UTC
If that's the case perhaps also submit a fix upstream? https://github.com/miniupnp/miniupnp
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2023-06-25 22:23:55 UTC
(In reply to Daniel Engberg from comment #2)

See bug #232396.  The ipfw support is meant for macOS, not FreeBSD.  MacOS ipfw has a different API than FreeBSD, so it's unlikely that it was every meant to work here.
Comment 4 R. Christian McDonald 2023-06-26 16:30:40 UTC
(In reply to Robert Clausecker from comment #1)

I would be willing to take maintainership if necessary.

We can also close bug #251822 alongside this one as if we are unconditionally configuring miniupnpd to use pf(4) on FreeBSD (which we absolutely should), there then can't be any firewall detection problem *smiles*
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-06-26 23:31:00 UTC
A commit in branch main references this bug:

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

commit dcb400297a3bd5a5880c2abf0cead0dc53004ca3
Author:     R. Christian McDonald <rcm@rcm.sh>
AuthorDate: 2023-05-30 19:03:18 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-06-26 23:30:28 +0000

    net/miniupnpd: remove ipfw port option

    It is well-known that net/miniupnpd does not work with IPFW. However,
    the port options still allow building with IPFW support. In order to
    prevent unnecessary foot-shooting, let us eliminate this option outright
    and unconditionally use pf instead.

    PR:             271732
    Approved by:    squat@squat.no (maintainer timeout, two weeks)
    Sponsored by:   Rubicon Communications, LLC ("Netgate")

 net/miniupnpd/Makefile | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)
Comment 6 Robert Clausecker freebsd_committer freebsd_triage 2023-06-26 23:33:02 UTC
Thank you for your contribution.