Created
March 6, 2021 12:12
-
-
Save dmgk/4cd963c3eb047cff1fa56a198b8f3050 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment