Date: Wed, 10 Dec 2025 14:46:51 +0000 From: Philippe Audeoud <jadawin@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: marco <marco@crowdsec.net> Subject: git: 3394f7549461 - main - security/crowdsec: Update to 1.7.4 Message-ID: <693987db.31cf9.4b9f0d02@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by jadawin: URL: https://cgit.FreeBSD.org/ports/commit/?id=3394f7549461ef971314d973b347597e1b318784 commit 3394f7549461ef971314d973b347597e1b318784 Author: marco <marco@crowdsec.net> AuthorDate: 2025-12-10 09:01:24 +0000 Commit: Philippe Audeoud <jadawin@FreeBSD.org> CommitDate: 2025-12-10 14:46:38 +0000 security/crowdsec: Update to 1.7.4 PR: 291545 --- security/crowdsec/Makefile | 14 ++++++++++---- security/crowdsec/distinfo | 10 +++++----- .../crowdsec/files/patch-pkg_fsutil_getfstype__freebsd.go | 10 ++++++++++ security/crowdsec/pkg-plist | 2 ++ 4 files changed, 27 insertions(+), 9 deletions(-) diff --git a/security/crowdsec/Makefile b/security/crowdsec/Makefile index 879b8e063ae0..98a38280f440 100644 --- a/security/crowdsec/Makefile +++ b/security/crowdsec/Makefile @@ -1,7 +1,6 @@ PORTNAME= crowdsec DISTVERSIONPREFIX= v -DISTVERSION= 1.7.3 -PORTREVISION= 2 +DISTVERSION= 1.7.4 CATEGORIES= security MAINTAINER= marco@crowdsec.net @@ -14,8 +13,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libabsl_base.so:devel/abseil \ libre2.so:devel/re2 -USES= go:1.25,modules pkgconfig -_COMMIT= c8aad699 +USES= go:modules pkgconfig +_COMMIT= 469b374e _BUILD_DATE= $$(date -u "+%F_%T") USE_RC_SUBR= crowdsec @@ -23,6 +22,7 @@ GO_MODULE= github.com/crowdsecurity/crowdsec GO_TARGET= ./cmd/crowdsec \ ./cmd/crowdsec-cli \ ./cmd/notification-email \ + ./cmd/notification-file \ ./cmd/notification-http \ ./cmd/notification-sentinel \ ./cmd/notification-slack \ @@ -71,6 +71,7 @@ do-install: @${MKDIR} ${STAGE_PLUGINS} ${INSTALL_PROGRAM} ${WRKDIR}/bin/notification-email ${STAGE_PLUGINS}/ + ${INSTALL_PROGRAM} ${WRKDIR}/bin/notification-file ${STAGE_PLUGINS}/ ${INSTALL_PROGRAM} ${WRKDIR}/bin/notification-http ${STAGE_PLUGINS}/ ${INSTALL_PROGRAM} ${WRKDIR}/bin/notification-sentinel ${STAGE_PLUGINS}/ ${INSTALL_PROGRAM} ${WRKDIR}/bin/notification-slack ${STAGE_PLUGINS}/ @@ -112,6 +113,10 @@ do-install: @${MV} ${WRKSRC}/cmd/notification-email/email.yaml \ ${STAGEDIR}${ETCDIR}/notifications/email.yaml.sample + @${MKDIR} ${STAGEDIR}${ETCDIR}/notifications/file + @${MV} ${WRKSRC}/cmd/notification-file/file.yaml \ + ${STAGEDIR}${ETCDIR}/notifications/file.yaml.sample + @${MKDIR} ${STAGEDIR}${ETCDIR}/notifications/http @${MV} ${WRKSRC}/cmd/notification-http/http.yaml \ ${STAGEDIR}${ETCDIR}/notifications/http.yaml.sample @@ -168,6 +173,7 @@ do-install: @${RM} ${STAGEDIR}${ETCDIR}/windows-dev.yaml @${RM} ${STAGEDIR}${ETCDIR}/user.yaml @${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/email + @${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/file @${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/http @${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/sentinel @${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/slack diff --git a/security/crowdsec/distinfo b/security/crowdsec/distinfo index 6bc97888e68a..ff9215d7e63a 100644 --- a/security/crowdsec/distinfo +++ b/security/crowdsec/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1761254848 -SHA256 (go/security_crowdsec/crowdsec-v1.7.3/v1.7.3.mod) = c4bbd96e96bb3b6c05909402d1894201ebdff7255e525a228c9756a38576c87e -SIZE (go/security_crowdsec/crowdsec-v1.7.3/v1.7.3.mod) = 11817 -SHA256 (go/security_crowdsec/crowdsec-v1.7.3/v1.7.3.zip) = f9c0b012fc97bcbe26948a27d7c4e80f3adf0015af26298ffaf72fd395b79c09 -SIZE (go/security_crowdsec/crowdsec-v1.7.3/v1.7.3.zip) = 1819249 +TIMESTAMP = 1764861310 +SHA256 (go/security_crowdsec/crowdsec-v1.7.4/v1.7.4.mod) = 5bd7d91fdcc5c1af241aadbe80cb8ee99c9ff1f502c34e4e6d43f3e788fa2873 +SIZE (go/security_crowdsec/crowdsec-v1.7.4/v1.7.4.mod) = 12355 +SHA256 (go/security_crowdsec/crowdsec-v1.7.4/v1.7.4.zip) = 05803ff18eff8253d109a6cb4968428274e2299f5d950f701a1416f2341aa752 +SIZE (go/security_crowdsec/crowdsec-v1.7.4/v1.7.4.zip) = 1856566 diff --git a/security/crowdsec/files/patch-pkg_fsutil_getfstype__freebsd.go b/security/crowdsec/files/patch-pkg_fsutil_getfstype__freebsd.go new file mode 100644 index 000000000000..579dfc870371 --- /dev/null +++ b/security/crowdsec/files/patch-pkg_fsutil_getfstype__freebsd.go @@ -0,0 +1,10 @@ +--- pkg/fsutil/getfstype_freebsd.go.orig 2025-12-05 08:44:44 UTC ++++ pkg/fsutil/getfstype_freebsd.go +@@ -1,6 +1,6 @@ + //go:build freebsd + +-package types ++package fsutil + + import ( + "fmt" diff --git a/security/crowdsec/pkg-plist b/security/crowdsec/pkg-plist index d96c9de762dd..e309d3458775 100644 --- a/security/crowdsec/pkg-plist +++ b/security/crowdsec/pkg-plist @@ -8,6 +8,7 @@ libexec/crowdsec/upgrade-hub @sample %%ETCDIR%%/local_api_credentials.yaml.sample @sample %%ETCDIR%%/online_api_credentials.yaml.sample @sample %%ETCDIR%%/notifications/email.yaml.sample +@sample %%ETCDIR%%/notifications/file.yaml.sample @sample %%ETCDIR%%/notifications/http.yaml.sample @sample %%ETCDIR%%/notifications/sentinel.yaml.sample @sample %%ETCDIR%%/notifications/slack.yaml.sample @@ -44,6 +45,7 @@ libexec/crowdsec/upgrade-hub etc/cron.d/crowdsec @mode 0755 lib/crowdsec/plugins/notification-email +lib/crowdsec/plugins/notification-file lib/crowdsec/plugins/notification-http lib/crowdsec/plugins/notification-sentinel lib/crowdsec/plugins/notification-slackhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?693987db.31cf9.4b9f0d02>
