Bug 274529 - security/crowdsec-firewall-bouncer: update to 0.0.28-1 (fix initial configuration)
Summary: security/crowdsec-firewall-bouncer: update to 0.0.28-1 (fix initial configura...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Robert Clausecker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-17 07:52 UTC by marco
Modified: 2023-10-19 07:16 UTC (History)
1 user (show)

See Also:


Attachments
patch to 0.0.28-1 (2.16 KB, patch)
2023-10-17 07:52 UTC, marco
marco: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.