git: 9915c36deaf6 - 2026Q4 - net/byedpi: Add new port

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Thu, 08 Oct 2026 15:47:14 UTC
The branch 2026Q4 has been updated by makc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9915c36deaf6143121e8c879f88fee81acba089f

commit 9915c36deaf6143121e8c879f88fee81acba089f
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2026-10-04 09:41:58 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2026-10-08 15:44:02 +0000

    net/byedpi: Add new port
    
    SOCKS proxy server to bypass DPI.
    
    WWW: https://github.com/hufrea/byedpi
    (cherry picked from commit 2c9eb1e2cb4e0f120d73c8dd1ec5522dd724c23e)
---
 net/Makefile               |  1 +
 net/byedpi/Makefile        | 30 ++++++++++++++++++++++++++++++
 net/byedpi/distinfo        |  3 +++
 net/byedpi/files/byedpi.in | 36 ++++++++++++++++++++++++++++++++++++
 net/byedpi/pkg-descr       |  1 +
 5 files changed, 71 insertions(+)

diff --git a/net/Makefile b/net/Makefile
index f239412bfb60..8ab18e9e1f6f 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -77,6 +77,7 @@
     SUBDIR += bwi-firmware-kmod
     SUBDIR += bwn-firmware-kmod
     SUBDIR += bwping
+    SUBDIR += byedpi
     SUBDIR += c3270
     SUBDIR += calendarsupport
     SUBDIR += ccxstream
diff --git a/net/byedpi/Makefile b/net/byedpi/Makefile
new file mode 100644
index 000000000000..05c1997dcde8
--- /dev/null
+++ b/net/byedpi/Makefile
@@ -0,0 +1,30 @@
+PORTNAME=	byedpi
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.17.3
+CATEGORIES=	net
+
+MAINTAINER=	makc@FreeBSD.org
+COMMENT=	SOCKS proxy server to bypass DPI
+WWW=		https://github.com/hufrea/byedpi
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	hufrea
+
+USE_RC_SUBR=	byedpi
+
+PLIST_FILES=	bin/ciadpi
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=	DOCS
+
+do-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}/${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}/${DOCSDIR}
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/ciadpi
+
+.include <bsd.port.mk>
diff --git a/net/byedpi/distinfo b/net/byedpi/distinfo
new file mode 100644
index 000000000000..006cb747ce27
--- /dev/null
+++ b/net/byedpi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1790513630
+SHA256 (hufrea-byedpi-v0.17.3_GH0.tar.gz) = 0a9cb8585554c68c3e2be88c33c9bf6f99f8e8c7f54b362285adab99e262566c
+SIZE (hufrea-byedpi-v0.17.3_GH0.tar.gz) = 48271
diff --git a/net/byedpi/files/byedpi.in b/net/byedpi/files/byedpi.in
new file mode 100644
index 000000000000..ab074ff2d61f
--- /dev/null
+++ b/net/byedpi/files/byedpi.in
@@ -0,0 +1,36 @@
+#!/bin/sh
+#
+# PROVIDE: byedpi
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Add these lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable byedpi:
+#
+# byedpi_enable (bool):	Set to "YES" to enable byedpi.
+#			(default: "NO")
+# byedpi_addr (str):	Listening IP.
+#			(default: "127.0.0.1")
+# byedpi_port (str):	Listening port.
+#			(default: "1080")
+# byedpi_flags (str):	ciadpi arguments
+#			(default: "")
+
+. /etc/rc.subr
+
+name=byedpi
+rcvar=byedpi_enable
+desc="SOCKS proxy server to bypass DPI"
+
+load_rc_config $name
+
+: ${byedpi_enable:=NO}
+: ${byedpi_addr=127.0.0.1}
+: ${byedpi_port=1080}
+
+command=%%PREFIX%%/bin/ciadpi
+pidfile=/var/run/${name}.pid
+
+command_args="--daemon --pidfile $pidfile --ip ${byedpi_addr} --port ${byedpi_port}"
+
+run_rc_command "$1"
diff --git a/net/byedpi/pkg-descr b/net/byedpi/pkg-descr
new file mode 100644
index 000000000000..8c4dd716d25b
--- /dev/null
+++ b/net/byedpi/pkg-descr
@@ -0,0 +1 @@
+SOCKS proxy server implementing some DPI bypass methods.