[Bug 267646] security/fragrouter: fix build on BPF-less jails

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Nov 2022 17:37:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267646

            Bug ID: 267646
           Summary: security/fragrouter: fix build on BPF-less jails
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: ohauer@FreeBSD.org
 Attachment #237948 maintainer-approval+
             Flags:
             Flags: merge-quarterly?

Created attachment 237948
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237948&action=edit
security/fragrouter: fix build on BPF-less jails

Such jails don't have /dev/bpf0, making a crucial configure test fail.
Fix the configure test to make the build succeed (e.g. on armv7).

While we are at it, take maintainership of this unmaintained port and
sprinkle in some patches here and there.

Tested with Poudriere on armv7 arm64 FreeBSD 13.1.
Please MFH if possible.

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