Created attachment 237948 [details] 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.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=37cf0da23dbd0c1d91602d25e831a7dc0dde1224 commit 37cf0da23dbd0c1d91602d25e831a7dc0dde1224 Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-11-11 20:32:38 +0000 Commit: Juraj Lutter <otis@FreeBSD.org> CommitDate: 2022-11-11 20:32:38 +0000 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). And while here, also assume MAINTAINER. PR: 267646 security/fragrouter/Makefile | 5 ++++- security/fragrouter/files/patch-Libnet-0.99b__configure | 15 ++++++++++++--- .../files/patch-Libnet-0.99b_src_version.c (new) | 9 +++++++++ security/fragrouter/files/patch-attack.c (new) | 10 ++++++++++ security/fragrouter/files/patch-fragrouter.c (new) | 13 +++++++++++++ security/fragrouter/files/patch-list.c (new) | 10 ++++++++++ 6 files changed, 58 insertions(+), 4 deletions(-)
Committed, thanks.