FreeBSD Bugzilla – Attachment 253690 Details for
Bug 281608
security/crowdsec: fix "command not found" on install script
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 1.6.3-1
0001-security-crowdsec-v1.6.3_1-fix-command-not-found-on-.patch (text/plain), 1.48 KB, created by
marco
on 2024-09-20 15:11:39 UTC
(
hide
)
Description:
patch for 1.6.3-1
Filename:
MIME Type:
Creator:
marco
Created:
2024-09-20 15:11:39 UTC
Size:
1.48 KB
patch
obsolete
>From 32586101d5291caf1ceaa1e0d4efa27242e1c4a7 Mon Sep 17 00:00:00 2001 >From: marco <marco@crowdsec.net> >Date: Fri, 20 Sep 2024 17:07:37 +0200 >Subject: [PATCH] security/crowdsec v1.6.3_1: fix "command not found" on > service script > >--- > security/crowdsec/Makefile | 1 + > security/crowdsec/files/crowdsec.in | 2 +- > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/security/crowdsec/Makefile b/security/crowdsec/Makefile >index 538e98c54a04..55a0d3db2e6d 100644 >--- a/security/crowdsec/Makefile >+++ b/security/crowdsec/Makefile >@@ -2,6 +2,7 @@ PORTNAME= crowdsec > DISTVERSIONPREFIX= v > DISTVERSION= 1.6.3 > CATEGORIES= security >+PORTREVISION= 1 > > MAINTAINER= marco@crowdsec.net > COMMENT= CrowdSec lightweight and collaborative security engine >diff --git a/security/crowdsec/files/crowdsec.in b/security/crowdsec/files/crowdsec.in >index 42abf1d829eb..5e827add0062 100644 >--- a/security/crowdsec/files/crowdsec.in >+++ b/security/crowdsec/files/crowdsec.in >@@ -91,7 +91,7 @@ crowdsec_precmd() { > # If the hub is empty, install the freebsd collection and the private ip whitelist. > # We don't ship the whitelist in the collection because > # there are legitimate use cases for banning private ip ranges. >- if [ "$(cscli hub list -o raw | wc -l)" -le 1 ]; then >+ if [ "$(cs_cli hub list -o raw | wc -l)" -le 1 ]; then > cs_cli parsers install crowdsecurity/whitelists --error || : > cs_cli collections install crowdsecurity/freebsd --error || : > fi >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
marco:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 281608
: 253690