aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Mariani <marco@crowdsec.net>2023-05-16 12:33:13 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-05-18 08:19:50 +0000
commit3961a9f2bb8b3fdf795c1115f2411568037a7d5d (patch)
tree446a2f1b21cb35974c360d0615486dad65e527c4
parentf69368cdae663408d8d317a382bb0387429289c5 (diff)
downloadports-3961a9f2bb8b3fdf795c1115f2411568037a7d5d.tar.gz
ports-3961a9f2bb8b3fdf795c1115f2411568037a7d5d.zip
security/crowdsec: update to 1.5.1
-rw-r--r--security/crowdsec/Makefile15
-rw-r--r--security/crowdsec/distinfo6
2 files changed, 10 insertions, 11 deletions
diff --git a/security/crowdsec/Makefile b/security/crowdsec/Makefile
index e6d3afd5298d..1dfd2bf1e857 100644
--- a/security/crowdsec/Makefile
+++ b/security/crowdsec/Makefile
@@ -1,7 +1,7 @@
PORTNAME= crowdsec
DISTVERSIONPREFIX= v
-DISTVERSION= 1.4.6
-PORTREVISION= 2
+DISTVERSION= 1.5.1
+DISTVERSIONSUFFIX= -freebsd
CATEGORIES= security
MAINTAINER= marco@crowdsec.net
@@ -11,15 +11,12 @@ WWW= https://github.com/crowdsecurity/crowdsec
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= git:devel/git@lite
-
-USES= gmake go:1.19,no_targets
+USES= gmake go:no_targets
USE_GITHUB= yes
GH_ACCOUNT= crowdsecurity
GH_PROJECT= crowdsec
-GH_TAGNAME= ${DISTVERSIONFULL}-freebsd
-_BUILD_TAG= c8cb9ac9
+_BUILD_TAG= b76e95e3
USE_RC_SUBR= crowdsec
MAKE_ARGS= BUILD_VERSION="${DISTVERSIONFULL}" \
@@ -36,7 +33,7 @@ OPTIONS_DEFINE= FIREWALL_BOUNCER
OPTIONS_DEFAULT=
FIREWALL_BOUNCER_DESC= Depend on security/crowdsec-firewall-bouncer
-FIREWALL_BOUNCER_RUN_DEPENDS= crowdsec-firewall-bouncer>=0.0.23.r2:security/crowdsec-firewall-bouncer
+FIREWALL_BOUNCER_RUN_DEPENDS= crowdsec-firewall-bouncer>=0.0.27:security/crowdsec-firewall-bouncer
PLUGIN_DIR= ${PREFIX}/lib/crowdsec/plugins
STAGE_PLUGINS= ${STAGEDIR}${PLUGIN_DIR}
@@ -143,6 +140,8 @@ do-install:
@${RM} ${STAGEDIR}${ETCDIR}/crowdsec.service
@${RM} ${STAGEDIR}${ETCDIR}/dev.yaml
@${RM} ${STAGEDIR}${ETCDIR}/user.yaml
+ @${RM} ${STAGEDIR}${ETCDIR}/detect.yaml
+ @${RM} ${STAGEDIR}${ETCDIR}/context.yaml
@${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/email
@${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/http
@${RMDIR} ${STAGEDIR}${ETCDIR}/notifications/slack
diff --git a/security/crowdsec/distinfo b/security/crowdsec/distinfo
index 72e2921086b7..5da1501580be 100644
--- a/security/crowdsec/distinfo
+++ b/security/crowdsec/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1676843374
-SHA256 (crowdsecurity-crowdsec-v1.4.6-v1.4.6-freebsd_GH0.tar.gz) = ac36bb234d88456eee7ea2708505aa2b9c7b9de78684994e920bda2ae24906f9
-SIZE (crowdsecurity-crowdsec-v1.4.6-v1.4.6-freebsd_GH0.tar.gz) = 21312272
+TIMESTAMP = 1684323254
+SHA256 (crowdsecurity-crowdsec-v1.5.1-freebsd_GH0.tar.gz) = b00ba881d4691ac122d03d1b23ebc2ef2513e42392d628f0c5381b00f07d0996
+SIZE (crowdsecurity-crowdsec-v1.5.1-freebsd_GH0.tar.gz) = 23803699