summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/crowdsec/Makefile8
-rw-r--r--security/crowdsec/distinfo10
-rw-r--r--security/crowdsec/files/acquis.yaml.sample18
-rw-r--r--security/crowdsec/files/patch-config_acquis.yaml12
-rw-r--r--security/py-greenbone-feed-sync/Makefile3
-rw-r--r--security/py-notus-scanner/Makefile3
6 files changed, 32 insertions, 22 deletions
diff --git a/security/crowdsec/Makefile b/security/crowdsec/Makefile
index 6def3753de60..00e137ea9782 100644
--- a/security/crowdsec/Makefile
+++ b/security/crowdsec/Makefile
@@ -1,7 +1,6 @@
PORTNAME= crowdsec
DISTVERSIONPREFIX= v
-DISTVERSION= 1.6.11
-PORTREVISION= 2
+DISTVERSION= 1.7.0
CATEGORIES= security
MAINTAINER= marco@crowdsec.net
@@ -15,7 +14,7 @@ LIB_DEPENDS= libabsl_base.so:devel/abseil \
libre2.so:devel/re2
USES= go:modules pkgconfig
-_COMMIT= d64ee2ae
+_COMMIT= c3036e21
_BUILD_DATE= $$(date -u "+%F_%T")
USE_RC_SUBR= crowdsec
@@ -86,6 +85,9 @@ do-install:
@${MV} ${STAGEDIR}${ETCDIR}/acquis.yaml \
${STAGEDIR}${ETCDIR}/acquis.yaml.sample
+ ${INSTALL_DATA} ${FILESDIR}/acquis.yaml.sample \
+ ${STAGEDIR}${ETCDIR}/acquis.yaml.sample
+
@${MV} ${STAGEDIR}${ETCDIR}/config.yaml \
${STAGEDIR}${ETCDIR}/config.yaml.sample
diff --git a/security/crowdsec/distinfo b/security/crowdsec/distinfo
index 47a7babd24af..27a1df0a8f93 100644
--- a/security/crowdsec/distinfo
+++ b/security/crowdsec/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1754034506
-SHA256 (go/security_crowdsec/crowdsec-v1.6.11/v1.6.11.mod) = c4dcc18622d60438579ba803257295e8118772dd383825b72ee758800e282bb7
-SIZE (go/security_crowdsec/crowdsec-v1.6.11/v1.6.11.mod) = 10729
-SHA256 (go/security_crowdsec/crowdsec-v1.6.11/v1.6.11.zip) = ca01f1e1321075a0690b5a2378dbd4cc02eee104594fe71ab64c010df5b77591
-SIZE (go/security_crowdsec/crowdsec-v1.6.11/v1.6.11.zip) = 1780687
+TIMESTAMP = 1756721640
+SHA256 (go/security_crowdsec/crowdsec-v1.7.0/v1.7.0.mod) = fe6e9e56759a9f85b7b7946724b1d64421340aabb174b1c56a5140e5e35169bb
+SIZE (go/security_crowdsec/crowdsec-v1.7.0/v1.7.0.mod) = 10467
+SHA256 (go/security_crowdsec/crowdsec-v1.7.0/v1.7.0.zip) = 8854689eea80df7d93437f05ec5fca7461a8444ddb3d09aed387be3a75452113
+SIZE (go/security_crowdsec/crowdsec-v1.7.0/v1.7.0.zip) = 1796649
diff --git a/security/crowdsec/files/acquis.yaml.sample b/security/crowdsec/files/acquis.yaml.sample
new file mode 100644
index 000000000000..b994f31b0a6b
--- /dev/null
+++ b/security/crowdsec/files/acquis.yaml.sample
@@ -0,0 +1,18 @@
+filenames:
+ - /var/log/nginx/*.log
+ - ./tests/nginx/nginx.log
+#this is not a syslog log, indicate which kind of logs it is
+labels:
+ type: nginx
+---
+filenames:
+ - /var/log/auth.log
+ - /var/log/syslog
+labels:
+ type: syslog
+---
+filenames:
+ - /var/log/httpd-access.log
+ - /var/log/httpd-error.log
+labels:
+ type: apache2
diff --git a/security/crowdsec/files/patch-config_acquis.yaml b/security/crowdsec/files/patch-config_acquis.yaml
deleted file mode 100644
index 67b4ef3c693b..000000000000
--- a/security/crowdsec/files/patch-config_acquis.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
---- config/acquis.yaml.orig 2021-12-15 10:39:37 UTC
-+++ config/acquis.yaml
-@@ -11,6 +11,8 @@ filenames:
- labels:
- type: syslog
- ---
--filename: /var/log/apache2/*.log
-+filenames:
-+ - /var/log/httpd-access.log
-+ - /var/log/httpd-error.log
- labels:
- type: apache2
diff --git a/security/py-greenbone-feed-sync/Makefile b/security/py-greenbone-feed-sync/Makefile
index 353b084cfaa8..d9ab494643e3 100644
--- a/security/py-greenbone-feed-sync/Makefile
+++ b/security/py-greenbone-feed-sync/Makefile
@@ -1,6 +1,7 @@
PORTNAME= greenbone-feed-sync
DISTVERSION= 25.1.0
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= security python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rich>=13.2.0:textproc/py-rich@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}tomli>=2.0.1:textproc/py-tomli@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}shtab>=1.6.5:devel/py-shtab@${PY_FLAVOR} \
+ ${PY_TOMLI} \
rsync:net/rsync
USE_GITHUB= yes
diff --git a/security/py-notus-scanner/Makefile b/security/py-notus-scanner/Makefile
index 713e822f766c..32397f0f8582 100644
--- a/security/py-notus-scanner/Makefile
+++ b/security/py-notus-scanner/Makefile
@@ -1,6 +1,7 @@
PORTNAME= notus-scanner
DISTVERSION= 22.7.2
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= security python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,7 +17,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}paho-mqtt>0:net/py-paho-mqtt@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-gnupg>0:security/py-python-gnupg@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}tomli>0:textproc/py-tomli@${PY_FLAVOR} \
+ ${PY_TOMLI} \
${PYTHON_PKGNAMEPREFIX}sentry-sdk>0:devel/py-sentry-sdk@${PY_FLAVOR} \
mosquitto:net/mosquitto