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

(-)b/security/crowdsec/Makefile (+1 lines)
Lines 1-5 Link Here
1
PORTNAME=	crowdsec
1
PORTNAME=	crowdsec
2
PORTVERSION=	1.2.1	# NOTE: change BUILD_VERSION and BUILD_TAG as well
2
PORTVERSION=	1.2.1	# NOTE: change BUILD_VERSION and BUILD_TAG as well
3
PORTREVISION=   2
3
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
4
CATEGORIES=	security
5
CATEGORIES=	security
5
6
(-)b/security/crowdsec/files/crowdsec.in (-7 / +2 lines)
Lines 59-71 crowdsec_precmd() { Link Here
59
        cs_cli capi register || :
59
        cs_cli capi register || :
60
    fi
60
    fi
61
61
62
    cs_cli collections inspect crowdsecurity/linux >/dev/null || cs_cli collections install crowdsecurity/linux || :
62
    cs_cli collections inspect crowdsecurity/freebsd | grep ^installed | grep -q true || \
63
63
        cs_cli collections install crowdsecurity/freebsd || :
64
    DATA_DIR=$(Config ConfigPaths.DataDir)
65
    if [ ! -f "${DATA_DIR}/GeoLite2-City.mmdb" ]; then
66
        echo "Installing GeoIP enricher"
67
        cs_cli parsers install crowdsecurity/geoip-enrich || :
68
    fi
69
}
64
}
70
65
71
crowdsec_start()
66
crowdsec_start()
(-)b/security/crowdsec/files/patch-config_acquis.yaml (-1 / +12 lines)
Added Link Here
0
- 
1
--- config/acquis.yaml.orig	2021-12-15 10:39:37 UTC
2
+++ config/acquis.yaml
3
@@ -11,6 +11,8 @@ filenames:
4
 labels:
5
   type: syslog
6
 ---
7
-filename: /var/log/apache2/*.log
8
+filenames:
9
+ - /var/log/httpd-access.log
10
+ - /var/log/httpd-error.log
11
 labels:
12
   type: apache2

Return to bug 260525