Skip to content

Instantly share code, notes, and snippets.

@dmgk
Created March 6, 2021 12:12
Show Gist options
  • Save dmgk/4cd963c3eb047cff1fa56a198b8f3050 to your computer and use it in GitHub Desktop.
Save dmgk/4cd963c3eb047cff1fa56a198b8f3050 to your computer and use it in GitHub Desktop.
# $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