[Bug 275884] net/ndproxy: fix build on FreeBSD 14.x kernel

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 22 Dec 2023 13:32:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275884

            Bug ID: 275884
           Summary: net/ndproxy: fix build on FreeBSD 14.x kernel
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dev@zolfa.nl
                CC: fbsd.bugzilla@fenyo.net, glebius@FreeBSD.org
                CC: fbsd.bugzilla@fenyo.net
             Flags: maintainer-feedback?(fbsd.bugzilla@fenyo.net)

Created attachment 247197
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247197&action=edit
proposed port patch

ndproxy is broken since FreeBSD 14, the main reason is a breaking
change in the PFIL interface that has been bumped to PFIL_VERSION 2,
precisely in commit:
https://reviews.freebsd.org/rGcaf32b260ad46b17a4c1a8ce6383e37ac489f023

A PR has been opened upstream https://github.com/AlexandreFenyo/ndproxy/pull/6.

Here, waiting for the solution upstream, we add the PR as patch to
the existing port to enable build on FreeBSD 14.x.

A condition check has been added to not break compilation against
FreeBSD 13.x and previous kernels.

The upstream patch has been tested and implemented successfully on
our production infrastructure.

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