git: d67cca566cd1 - main - net/sing-box: New port: Universal proxy platform
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Dec 2023 02:36:33 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d67cca566cd1f9b2a9b4bec842db5ed8ae3bfebb
commit d67cca566cd1f9b2a9b4bec842db5ed8ae3bfebb
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-09 02:12:13 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-09 02:36:31 +0000
net/sing-box: New port: Universal proxy platform
---
net/Makefile | 1 +
net/sing-box/Makefile | 20 ++++++++++++++++++++
net/sing-box/distinfo | 5 +++++
net/sing-box/pkg-descr | 2 ++
4 files changed, 28 insertions(+)
diff --git a/net/Makefile b/net/Makefile
index f93f25dc7d7a..3456a6b0d402 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1454,6 +1454,7 @@
SUBDIR += shmux
SUBDIR += sie-nmsg
SUBDIR += simpleproxy
+ SUBDIR += sing-box
SUBDIR += siproxd
SUBDIR += sipsak
SUBDIR += skstream
diff --git a/net/sing-box/Makefile b/net/sing-box/Makefile
new file mode 100644
index 000000000000..a3bcad9d22c0
--- /dev/null
+++ b/net/sing-box/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= sing-box
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.7.4
+CATEGORIES= net
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Universal proxy platform
+WWW= https://sing-box.sagernet.org/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:1.20,modules
+
+GO_MODULE= github.com/sagernet/sing-box
+GO_TARGET= ./cmd/sing-box
+
+PLIST_FILES= bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/net/sing-box/distinfo b/net/sing-box/distinfo
new file mode 100644
index 000000000000..f956629aa9d6
--- /dev/null
+++ b/net/sing-box/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1702085750
+SHA256 (go/net_sing-box/sing-box-v1.7.4/v1.7.4.mod) = 87a5ea6ba465aa46585bf9738310bb891544027061a7ac0fee3be86d0f086a1c
+SIZE (go/net_sing-box/sing-box-v1.7.4/v1.7.4.mod) = 4301
+SHA256 (go/net_sing-box/sing-box-v1.7.4/v1.7.4.zip) = cf78f5106270312c7af049f5fe1058cab26d76a22f60b076831379189a890c77
+SIZE (go/net_sing-box/sing-box-v1.7.4/v1.7.4.zip) = 592309
diff --git a/net/sing-box/pkg-descr b/net/sing-box/pkg-descr
new file mode 100644
index 000000000000..18d9b1363a19
--- /dev/null
+++ b/net/sing-box/pkg-descr
@@ -0,0 +1,2 @@
+The sing-box project is an implementation of
+the universal proxy platform.