Bug 281608

Summary: security/crowdsec: fix "command not found" on install script
Product: Ports & Packages Reporter: marco
Component: Individual Port(s)Assignee: Vladimir Druzenko <vvd>
Status: Closed FIXED    
Severity: Affects Some People CC: vvd
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch for 1.6.3-1 marco: maintainer-approval+

Description marco 2024-09-20 15:11:39 UTC
Created attachment 253690 [details]
patch for 1.6.3-1

A command is called which is not on $PATH, this fixes it by calling a wrapper that also provides the (possibly custom) configuration path.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-09-20 21:18:28 UTC
A commit in branch main references this bug:

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

commit 2ba0d51ff6a6322fa134f7cf77ea004b8a1e78cc
Author:     marco <marco@crowdsec.net>
AuthorDate: 2024-09-20 21:13:59 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-09-20 21:17:22 +0000

    security/crowdsec: fix "command not found" on install script

    A command is called which is not on $PATH, this fixes it by calling a
    wrapper that also provides the (possibly custom) configuration path.

    PR:     281608
    Fixes:  858c9f19409a (update to 1.6.3)

 security/crowdsec/Makefile          | 1 +
 security/crowdsec/files/crowdsec.in | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2024-09-20 21:18:51 UTC
Thanks.