Created attachment 231126 [details] patch for crowdsec-firewall-bouncer 0.0.22 This fixes an issue with the previous version, where it would (only on freebsd) flush the firewall rules upon install. The new version uses a pf anchor to avoid interference with the other applications.
Maintainer informed via mail
Created attachment 231255 [details] portrevision 1: restart service after upgrade if it was running before
testbuilds@work
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b927d496c166174f151c75caf0470df953727389 commit b927d496c166174f151c75caf0470df953727389 Author: Marco <marco@crowdsec.net> AuthorDate: 2022-02-06 16:21:58 +0000 Commit: Kurt Jaeger <pi@FreeBSD.org> CommitDate: 2022-02-06 16:28:28 +0000 security/crowdsec{-firewall-bouncer}: handle pkg upgrade - avoid flushing the firewall rules upon install by using pf anchors - restart service after upgrade if it was running before PR: 261304 MFH: 2022Q1 security/crowdsec-firewall-bouncer/Makefile | 1 + security/crowdsec-firewall-bouncer/files/pkg-deinstall.in | 3 ++- security/crowdsec-firewall-bouncer/files/pkg-install.in (new) | 10 ++++++++++ security/crowdsec/Makefile | 4 +++- security/crowdsec/files/crowdsec.conf-newsyslog | 4 ++-- security/crowdsec/files/crowdsec.in | 2 +- security/crowdsec/files/pkg-deinstall.in | 3 ++- security/crowdsec/files/pkg-install.in (new) | 10 ++++++++++ security/crowdsec/pkg-plist | 3 --- 9 files changed, 31 insertions(+), 9 deletions(-)