blob: 7a8d578b0d9d9a4955d712bace933d4b8c008f6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
PORTNAME= crowdsec
PORTVERSION= 1.0.9
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
USE_RC_SUBR= crowdsec
PLIST_FILES= bin/crowdsec \
bin/crowdsec-cli
.include <bsd.port.mk>
|