freebsd-ports/security/crowdsec/Makefile
Sofian Brabez da6f1cc541 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

Differential Revision:	https://reviews.freebsd.org/D29107
2021-03-08 13:40:09 +00:00

27 lines
530 B
Makefile

# $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 <bsd.port.mk>