summaryrefslogtreecommitdiff
path: root/security/netbird/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/netbird/Makefile')
-rw-r--r--security/netbird/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/security/netbird/Makefile b/security/netbird/Makefile
new file mode 100644
index 000000000000..ac0494289a48
--- /dev/null
+++ b/security/netbird/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= netbird
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.41.2
+CATEGORIES= security net net-vpn
+
+MAINTAINER= hakan.external@netbird.io
+COMMENT= Peer-to-peer VPN that seamlessly connects your devices
+WWW= https://netbird.io/
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+NOT_FOR_ARCHS= i386
+NOT_FOR_ARCHS_REASON= "no 32-bit builds supported"
+
+RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss
+
+USES= go:1.23,modules
+USE_RC_SUBR= netbird
+
+GO_MODULE= github.com/netbirdio/netbird
+GO_TARGET= ./client:netbird
+GO_BUILDFLAGS= -tags freebsd -o ${PORTNAME} -ldflags "\
+ -s -w -X github.com/netbirdio/netbird/version.version=${PORTVERSION}"
+
+WRKSRC= ${WRKDIR}/netbird-${PORTVERSION}
+
+PLIST_FILES= bin/netbird
+
+.include <bsd.port.mk>