Index: security/Makefile =================================================================== --- security/Makefile +++ security/Makefile @@ -107,6 +107,7 @@ SUBDIR += cracklib SUBDIR += crackpkcs12 SUBDIR += create-cert + SUBDIR += crowdsec SUBDIR += cryptlib SUBDIR += cryptopp SUBDIR += ct-submit Index: security/crowdsec/Makefile =================================================================== --- /dev/null +++ security/crowdsec/Makefile @@ -0,0 +1,27 @@ +# $FreeBSD$ + +PORTNAME= crowdsec +PORTVERSION= 1.0.7 +DISTVERSIONPREFIX= v +CATEGORIES= security + +MAINTAINER= sbz@FreeBSD.org +COMMENT= Crowdsec lightweight and collaborative security engine + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules + +GO_MODULE= github.com/crowdsecurity/crowdsec + +GO_BUILDFLAGS= -ldflags "-s -w \ + -X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=${PORTVERSION}" + +GO_TARGET= ./cmd/crowdsec \ + ./cmd/crowdsec-cli + +PLIST_FILES= bin/crowdsec \ + bin/crowdsec-cli + +.include Index: security/crowdsec/distinfo =================================================================== --- /dev/null +++ security/crowdsec/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1615033328 +SHA256 (go/security_crowdsec/crowdsec-v1.0.7/v1.0.7.mod) = 810ca243ce2951dd7ab23d955efc8f50410c94feb8babc47a783146a4c06c798 +SIZE (go/security_crowdsec/crowdsec-v1.0.7/v1.0.7.mod) = 3310 +SHA256 (go/security_crowdsec/crowdsec-v1.0.7/v1.0.7.zip) = 1d7f5956826096405b24684db3c924476ffb7fa02f5859af5a6a2c00d8b1d753 +SIZE (go/security_crowdsec/crowdsec-v1.0.7/v1.0.7.zip) = 29305256 Index: security/crowdsec/pkg-descr =================================================================== --- /dev/null +++ security/crowdsec/pkg-descr @@ -0,0 +1,6 @@ +Crowdsec is an open-source, lightweight software, detecting peers with +aggressive behaviors to prevent them from accessing your systems. Its user +friendly design and assistance offers a low technical barrier of entry and +nevertheless a high security gain. + +WWW: https://github.com/crowdsecurity/crowdsec