Bug 274529

Summary: security/crowdsec-firewall-bouncer: update to 0.0.28-1 (fix initial configuration)
Product: Ports & Packages Reporter: marco
Component: Individual Port(s)Assignee: Robert Clausecker <fuz>
Status: Closed FIXED    
Severity: Affects Many People CC: fuz
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to 0.0.28-1 marco: maintainer-approval+

Description marco 2023-10-17 07:52:49 UTC
Created attachment 245691 [details]
patch to 0.0.28-1

The update to 0.0.28 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274213  did not include a file that sets backend mode in new installations. If the backend is not set, the application does not start.

This version includes the missing patch file, and also sets the $BACKEND environment variable as a fallback. The application will substitute it at runtime if required.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-10-19 07:09:17 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e7efe5be3fb2d0b3c3bf4738b82f5963e00bc94d

commit e7efe5be3fb2d0b3c3bf4738b82f5963e00bc94d
Author:     Marco Mariani <marco@crowdsec.net>
AuthorDate: 2023-10-17 07:05:20 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-10-19 07:07:30 +0000

    security/crowdsec-firewall-bouncer: include configuration patch

    The update to 0.0.28 from PR 274213  did not include a file that sets
    backend mode in new installations. If the backend is not set, the
    application does not start.

    This version includes the missing patch file, and also sets the
    $BACKEND environment variable as a fallback. The application will
    substitute it at runtime if required.

    PR:             274213, 274529
    Fixes:          714e7fb44f516d31f08b657b2eb9a66ae1fbf9c7

 security/crowdsec-firewall-bouncer/Makefile                      | 1 +
 security/crowdsec-firewall-bouncer/files/crowdsec_firewall.in    | 2 ++
 .../files/patch-config_crowdsec-firewall-bouncer.yaml (new)      | 9 +++++++++
 3 files changed, 12 insertions(+)
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2023-10-19 07:16:16 UTC
Thank you for your contribution.