From nobody Sun May 11 10:22:36 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZwJhX2BLdz5vgxl; Sun, 11 May 2025 10:22:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZwJhX1Rncz41N1; Sun, 11 May 2025 10:22:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746958956; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xoAtB+vU4o5cE0OJky9mX/8TYVRg23erKJY+n868Boo=; b=mdg4nfIh1FTvEz9LRLso80sRdX7kHvJiwNfWdPAgliXheOUbVy1FBPgmhqQXy2lxM6O/z0 UtqUl2tsMaBjqTojvaCmHVbdPxcONd5gGmpM3/4orzdYoB13WM+deUbbABjsov1T506yCF d0FI6vX9ChXMgTUSBYxWNZm+Rld5xUs+0F3tgLGp8oK+Pu0K9xfLW6fnRcILUGMJhaTPIq UoDYecn1oXvSRtLHzgurpnar+kX+oXmavYHLQlLR0vA2nQhUA0bUWYJYYCy1NH7IsA8Vi5 iW7QU8kmMW3E5IPnGt61TBSXOTbF1QofJ6GKhGfgxDKxq1Jrr/FMX1lMYgoxkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1746958956; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xoAtB+vU4o5cE0OJky9mX/8TYVRg23erKJY+n868Boo=; b=Coxt+t/gjvk3I21CaJEuDFhOWiiP4oF7w2/RzqqycTxR3n9fn3Fva+sBJdZ4LtqlB6/LUf wY5vhOuV0tZNbD6SaBHA4rjP2Y9QsfUWhDpPHPhWVmlG5XiGLs5bZWaq//bBTaRKVSfu4q MKg0OMuPRoP8Q0mtGGyqB7rFoStse4Ho5bGay6yZHNrz0TAEZ5fvEATrxU4VbrXA5Pxbde 6E5Y/J42kjcsJBgm0V9eOXnzreDt5ekKVFzw82jmmjVCU+8x2qvdbaEecUrSOj6s7vaI3Q epFMgRVdjn0BYYCw/XyB0/pfZFM7zN2s1TfTbkz3HKeYPpuqxIa2SpfUzwSBIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1746958956; a=rsa-sha256; cv=none; b=BwY1YJuAE0cB4OyKuFxgYAp/Gubfl9oTiSXUygvwak+SsPMlNTOx3RMdQ/3ZsxS3MWm9FO a20NyjI+Ph5rYQc1ZjFahkXbbOTFjBVO5VYLFPGRP/yic8cpbX4wq1QWE08eEP9uZO+onz OeuQ5YUvQMZtcgd2F/wUy3o3e50/kHxZ2bMG8yCtf9RS0gCkYWxiKsOfO9dD641zWYc8Gy rqYarGoQOsUPxmZ0/CKUxewyt23hh0S74SW34YIYJRUIOvPhMdOkAoP4WgOvUx0sR1Bt9o aqhwu+A8GnKlUq4M84oMFmu4Ob712x2WEicpRlSPj8oF7kFj+0Wjmms5oknTLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZwJhX0tvJzC8B; Sun, 11 May 2025 10:22:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 54BAMaA2016228; Sun, 11 May 2025 10:22:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 54BAMain016225; Sun, 11 May 2025 10:22:36 GMT (envelope-from git) Date: Sun, 11 May 2025 10:22:36 GMT Message-Id: <202505111022.54BAMain016225@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kurt Jaeger Subject: git: e3ce7637de5f - main - security/netbird: New Port: wireguard based VPN client List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e3ce7637de5f9b9056f7dc9b10069f89d41ecabd Auto-Submitted: auto-generated The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=e3ce7637de5f9b9056f7dc9b10069f89d41ecabd commit e3ce7637de5f9b9056f7dc9b10069f89d41ecabd Author: Hakan Sarıman AuthorDate: 2025-05-11 10:09:46 +0000 Commit: Kurt Jaeger CommitDate: 2025-05-11 10:22:28 +0000 security/netbird: New Port: wireguard based VPN client NetBird is an open-source WireGuard-based overlay network combined with Zero Trust Network Access, providing secure and reliable connectivity to internal resources. Key features: - Zero-config VPN: Easily create secure connections between devices without manual network setup. - Built on WireGuard: Leverages WireGuard's high-performance encryption for fast and secure communication. - Self-hosted or Cloud-managed: Users can deploy their own NetBird management server or use NetBird Cloud for centralized control. - Access Control & Routing: Fine-grained access control policies and automatic network routing simplify connectivity. - This FreeBSD port provides the NetBird client daemon and CLI tools, allowing FreeBSD systems to join a NetBird mesh network and securely communicate with other peers. For more details, visit: https://netbird.io PR: 284877 --- security/Makefile | 1 + security/netbird/Makefile | 30 ++++++++++++++++++++++++++++++ security/netbird/distinfo | 5 +++++ security/netbird/files/netbird.in | 18 ++++++++++++++++++ security/netbird/pkg-descr | 18 ++++++++++++++++++ 5 files changed, 72 insertions(+) diff --git a/security/Makefile b/security/Makefile index b697cb9b4465..54b0a4ba353f 100644 --- a/security/Makefile +++ b/security/Makefile @@ -400,6 +400,7 @@ SUBDIR += ncrack SUBDIR += ncrypt SUBDIR += nebula + SUBDIR += netbird SUBDIR += nettle SUBDIR += nextcloud-end_to_end_encryption SUBDIR += nextcloud-passman 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 diff --git a/security/netbird/distinfo b/security/netbird/distinfo new file mode 100644 index 000000000000..e17c221ae8c9 --- /dev/null +++ b/security/netbird/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1742927796 +SHA256 (go/security_netbird/netbird-v0.41.2/v0.41.2.mod) = 3649cbceb472822d76d4ce2db77665ff47ba2573b0151b3e63a69ec063518320 +SIZE (go/security_netbird/netbird-v0.41.2/v0.41.2.mod) = 12115 +SHA256 (go/security_netbird/netbird-v0.41.2/v0.41.2.zip) = b1c371b36075221150f53a6d651ec9cab9e30263a2d55975b1587c43e6c29bb9 +SIZE (go/security_netbird/netbird-v0.41.2/v0.41.2.zip) = 2821494 diff --git a/security/netbird/files/netbird.in b/security/netbird/files/netbird.in new file mode 100644 index 000000000000..191491ea3604 --- /dev/null +++ b/security/netbird/files/netbird.in @@ -0,0 +1,18 @@ +#!/bin/sh +# +# PROVIDE: netbird +# REQUIRE: SERVERS +# KEYWORD: shutdown +# + +. /etc/rc.subr + +name="netbird" +netbird_env="IS_DAEMON=1" +pidfile="/var/run/${name}.pid" +command="/usr/sbin/daemon" +daemon_args="-P ${pidfile} -r -t \"${name}: daemon\"" +command_args="${daemon_args} /usr/local/bin/netbird service run --config /var/db/netbird/config.json --log-level info --daemon-addr unix:///var/run/netbird.sock --log-file /var/log/netbird/client.log" + +run_rc_command "$1" + diff --git a/security/netbird/pkg-descr b/security/netbird/pkg-descr new file mode 100644 index 000000000000..e3c155b98d5e --- /dev/null +++ b/security/netbird/pkg-descr @@ -0,0 +1,18 @@ +NetBird is an open-source WireGuard-based overlay network combined with +Zero Trust Network Access, providing secure and reliable connectivity +to internal resources. + +Key features: +- Zero-config VPN: Easily create secure connections between devices without +manual network setup. +- Built on WireGuard: Leverages WireGuard's high-performance encryption for +fast and secure communication. +- Self-hosted or Cloud-managed: Users can deploy their own NetBird management +server or use NetBird Cloud for centralized control. +- Access Control & Routing: Fine-grained access control policies and automatic +network routing simplify connectivity. +- This FreeBSD port provides the NetBird client daemon and CLI tools, allowing +FreeBSD systems to join a NetBird mesh network and securely communicate with +other peers. + +For more details, visit: https://netbird.io