git: 3dac205de189 - main - security/crowdsec: Update to 1.4.1

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Thu, 04 Aug 2022 18:35:07 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3dac205de1896cb1e3362d2b74a672ef94d10654

commit 3dac205de1896cb1e3362d2b74a672ef94d10654
Author:     Marco <marco@crowdsec.net>
AuthorDate: 2022-08-04 18:32:44 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-08-04 18:34:51 +0000

    security/crowdsec: Update to 1.4.1
    
     - Performance improvements, TLS support and more.
    
    ChangeLog:      https://github.com/crowdsecurity/crowdsec/releases/tag/v1.4.1
    PR:             265462
---
 security/crowdsec/Makefile | 17 +++++++++--------
 security/crowdsec/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/security/crowdsec/Makefile b/security/crowdsec/Makefile
index cb2e602133e2..27423a3ca551 100644
--- a/security/crowdsec/Makefile
+++ b/security/crowdsec/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	crowdsec
-PORTVERSION=	1.3.4	# NOTE: change BUILD_VERSION and BUILD_TAG as well
-PORTREVISION=	3
 DISTVERSIONPREFIX=	v
+DISTVERSION=	1.4.1
 CATEGORIES=	security
 
 MAINTAINER=	marco@crowdsec.net
@@ -10,20 +9,19 @@ COMMENT=	CrowdSec lightweight and collaborative security engine
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	git:devel/git@lite \
-		jq:textproc/jq
+BUILD_DEPENDS=	git:devel/git@lite
 
 USES=		gmake go:no_targets
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	crowdsecurity
 GH_PROJECT=	crowdsec
-GH_TAGNAME=	v1.3.4-freebsd
-#GH_TAGNAME is automatically set from DISTVERSION
+GH_TAGNAME=	${DISTVERSIONFULL}-freebsd
+_BUILD_TAG=	527995f
 USE_RC_SUBR=	crowdsec
 
-MAKE_ENV=	BUILD_VERSION="v1.3.4" \
-		BUILD_TAG="c196ed45b62c12d9c6549da927c37c64bd08c642" \
+MAKE_ENV=	BUILD_VERSION="${DISTVERSIONFULL}" \
+		BUILD_TAG="${_BUILD_TAG}" \
 		DEFAULT_CONFIGDIR="${PREFIX}/etc/crowdsec" \
 		DEFAULT_DATADIR="/var/db/crowdsec/data"
 ALL_TARGET=	build
@@ -131,6 +129,9 @@ do-install:
 	@${RM} ${STAGEDIR}${ETCDIR}/crowdsec.service
 	@${RM} ${STAGEDIR}${ETCDIR}/dev.yaml
 	@${RM} ${STAGEDIR}${ETCDIR}/user.yaml
+	@${RM} ${STAGEDIR}${ETCDIR}/acquis_win.yaml
+	@${RM} ${STAGEDIR}${ETCDIR}/config_win.yaml
+	@${RM} ${STAGEDIR}${ETCDIR}/config_win_no_lapi.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 9d7bcf60aca7..f003aa1d1b01 100644
--- a/security/crowdsec/distinfo
+++ b/security/crowdsec/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1651227928
-SHA256 (crowdsecurity-crowdsec-v1.3.4-v1.3.4-freebsd_GH0.tar.gz) = 238d268fe580da05e4f35142e168deb9f82b459d5835ad06bba532e9caa9516c
-SIZE (crowdsecurity-crowdsec-v1.3.4-v1.3.4-freebsd_GH0.tar.gz) = 20699880
+TIMESTAMP = 1658844897
+SHA256 (crowdsecurity-crowdsec-v1.4.1-v1.4.1-freebsd_GH0.tar.gz) = a05e75838f4c4e87906ab6df846cc73b4701f6460834e35e5b64b7774e16bb63
+SIZE (crowdsecurity-crowdsec-v1.4.1-v1.4.1-freebsd_GH0.tar.gz) = 20805956