View | Details | Raw Unified | Return to bug 281608
Collapse All | Expand All

(-)b/security/crowdsec/Makefile (+1 lines)
Lines 2-7 PORTNAME= crowdsec Link Here
2
DISTVERSIONPREFIX=	v
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	1.6.3
3
DISTVERSION=	1.6.3
4
CATEGORIES=	security
4
CATEGORIES=	security
5
PORTREVISION=   1
5
6
6
MAINTAINER=	marco@crowdsec.net
7
MAINTAINER=	marco@crowdsec.net
7
COMMENT=	CrowdSec lightweight and collaborative security engine
8
COMMENT=	CrowdSec lightweight and collaborative security engine
(-)b/security/crowdsec/files/crowdsec.in (-2 / +1 lines)
Lines 91-97 crowdsec_precmd() { Link Here
91
    # If the hub is empty, install the freebsd collection and the private ip whitelist.
91
    # If the hub is empty, install the freebsd collection and the private ip whitelist.
92
    # We don't ship the whitelist in the collection because
92
    # We don't ship the whitelist in the collection because
93
    # there are legitimate use cases for banning private ip ranges.
93
    # there are legitimate use cases for banning private ip ranges.
94
    if [ "$(cscli hub list -o raw | wc -l)" -le 1 ]; then
94
    if [ "$(cs_cli hub list -o raw | wc -l)" -le 1 ]; then
95
        cs_cli parsers install crowdsecurity/whitelists --error || :
95
        cs_cli parsers install crowdsecurity/whitelists --error || :
96
        cs_cli collections install crowdsecurity/freebsd --error || :
96
        cs_cli collections install crowdsecurity/freebsd --error || :
97
    fi
97
    fi
98
- 

Return to bug 281608