Bug 261304 - security/crowdsec: upgrade to 1.2.3_1; crowdsec-firewall-bouncer: update to 0.0.22_1
Summary: security/crowdsec: upgrade to 1.2.3_1; crowdsec-firewall-bouncer: update to 0...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-18 13:12 UTC by marco
Modified: 2022-02-07 16:02 UTC (History)
2 users (show)

See Also:
marco: merge-quarterly?


Attachments
patch for crowdsec-firewall-bouncer 0.0.22 (8.15 KB, patch)
2022-01-18 13:12 UTC, marco
no flags Details | Diff
portrevision 1: restart service after upgrade if it was running before (6.37 KB, patch)
2022-01-23 23:10 UTC, marco
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description marco 2022-01-18 13:12:38 UTC
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.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2022-01-18 13:12:38 UTC
Maintainer informed via mail
Comment 2 marco 2022-01-23 23:10:49 UTC
Created attachment 231255 [details]
portrevision 1: restart service after upgrade if it was running before
Comment 3 Kurt Jaeger freebsd_committer freebsd_triage 2022-02-06 12:40:54 UTC
testbuilds@work
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-02-06 16:29:50 UTC
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(-)