git: 64e7d506ebf3 - main - net/nekobox: update 5.11.17 → 5.11.20
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Jun 2026 06:31:00 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=64e7d506ebf3f409fe96d675d1017bc30444e0c0
commit 64e7d506ebf3f409fe96d675d1017bc30444e0c0
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-12 06:29:05 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-12 06:29:05 +0000
net/nekobox: update 5.11.17 → 5.11.20
---
net/nekobox/Makefile | 4 +-
net/nekobox/distinfo | 6 +--
net/nekobox/files/patch-core_CMakeLists.txt | 26 ++++--------
...atch-src_gharqad_configs_proxy_AbstractBean.cpp | 16 --------
net/nekobox/files/patch-src_gharqad_main.cpp | 48 ----------------------
5 files changed, 13 insertions(+), 87 deletions(-)
diff --git a/net/nekobox/Makefile b/net/nekobox/Makefile
index 93b4bc24fd37..19a85fcd991d 100644
--- a/net/nekobox/Makefile
+++ b/net/nekobox/Makefile
@@ -1,5 +1,5 @@
PORTNAME= nekobox
-DISTVERSION= 5.11.17
+DISTVERSION= 5.11.20
CATEGORIES= net
MAINTAINER= yuri@FreeBSD.org
@@ -27,7 +27,7 @@ USE_XORG= ice sm x11 xext
USE_GITHUB= yes
GH_ACCOUNT= qr243vbi
GH_PROJECT= nekobox
-GH_TUPLE= quickjs-ng:quickjs:967aa0b:qjs/3rdparty/qjs
+GH_TUPLE= quickjs-ng:quickjs:967aa0b:qjs/src/3rdparty/qjs
CMAKE_ON= CMAKE_SKIP_INSTALL_RPATH \
SKIP_UPDATER
diff --git a/net/nekobox/distinfo b/net/nekobox/distinfo
index 89a8fbc1c995..02d002bb6f4e 100644
--- a/net/nekobox/distinfo
+++ b/net/nekobox/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1780983602
-SHA256 (qr243vbi-nekobox-5.11.17_GH0.tar.gz) = d254292bb2f2bc386304e881afdab4742e591c20da5e39a22b601a2e393710fb
-SIZE (qr243vbi-nekobox-5.11.17_GH0.tar.gz) = 10200060
+TIMESTAMP = 1781244173
+SHA256 (qr243vbi-nekobox-5.11.20_GH0.tar.gz) = f43f3d7e590db41d3e533f6beff6010ab50425764fa7bc2c15b8205b00e0cc63
+SIZE (qr243vbi-nekobox-5.11.20_GH0.tar.gz) = 10201160
SHA256 (quickjs-ng-quickjs-967aa0b_GH0.tar.gz) = 9a07b53b2af197c83d9aa8bf9303cfe39b3a94b7c8730ef2fdb7d8f943121591
SIZE (quickjs-ng-quickjs-967aa0b_GH0.tar.gz) = 847563
diff --git a/net/nekobox/files/patch-core_CMakeLists.txt b/net/nekobox/files/patch-core_CMakeLists.txt
index 7f45e757dc9f..47681056528a 100644
--- a/net/nekobox/files/patch-core_CMakeLists.txt
+++ b/net/nekobox/files/patch-core_CMakeLists.txt
@@ -1,28 +1,18 @@
--- Enable darwin build and disable TUN-based features on FreeBSD.
+-- Disable TUN-based features on FreeBSD.
--
--- This patch ensures GOOS is correctly set for macOS and that features
--- requiring TUN/TAP or gVisor are disabled on FreeBSD as they are not yet
--- fully supported or integrated in the same way.
---- core/CMakeLists.txt.orig 2026-06-04 03:56:20 UTC
+-- Features requiring TUN/TAP or gVisor are disabled on FreeBSD as they are
+-- not yet fully supported or integrated.
+--- core/CMakeLists.txt.orig 2026-06-12 06:03:42 UTC
+++ core/CMakeLists.txt
-@@ -42,6 +42,8 @@ if (GOOS STREQUAL "")
- set(GOOS "linux")
- elseif(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
- set(GOOS "freebsd")
-+ elseif(APPLE)
-+ set(GOOS "darwin")
- else()
- set(GOOS "")
- endif()
-@@ -184,13 +186,15 @@ message(STATUS "DESTINATION IS ${DESTDIR} FOR MACHINE
+@@ -186,13 +186,15 @@ message(STATUS "DESTINATION IS ${DESTDIR} FOR MACHINE
# ----------------------------
# Tags
# ----------------------------
--set(TAGS "with_clash_api,with_quic,with_wireguard,with_utls,with_dhcp,with_tailscale,with_shadowtls,with_grpc,with_acme,with_awg")
+-set(TAGS "with_clash_api,with_gvisor,with_quic,with_wireguard,with_utls,with_dhcp,with_shadowtls,with_grpc,with_acme,with_awg")
+set(TAGS "with_clash_api,with_quic,with_utls,with_grpc,with_acme")
- if(NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
-- set(TAGS "${TAGS},with_gvisor")
+ if(NOT GOOS STREQUAL "freebsd")
+- set(TAGS "${TAGS},with_tailscale")
+ set(TAGS "${TAGS},with_gvisor,with_wireguard,with_dhcp,with_tailscale,with_shadowtls,with_awg")
if(GOARCH STREQUAL "arm64" OR GOARCH STREQUAL "amd64")
set(TAGS "${TAGS},with_naive,with_naive_outbound,with_purego")
diff --git a/net/nekobox/files/patch-src_gharqad_configs_proxy_AbstractBean.cpp b/net/nekobox/files/patch-src_gharqad_configs_proxy_AbstractBean.cpp
deleted file mode 100644
index ed65b076bc86..000000000000
--- a/net/nekobox/files/patch-src_gharqad_configs_proxy_AbstractBean.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
--- Add missing network headers for FreeBSD.
---
--- This patch includes <sys/types.h> and <sys/socket.h> which are required
--- for networking constants and structures on FreeBSD.
---- src/gharqad/configs/proxy/AbstractBean.cpp.orig 2026-06-04 04:04:10 UTC
-+++ src/gharqad/configs/proxy/AbstractBean.cpp
-@@ -3,6 +3,9 @@
- #include <winsock2.h>
- #include <ws2tcpip.h>
- #else
-+#include <sys/types.h>
-+#include <sys/socket.h>
-+#include <netinet/in.h>
- #include <netdb.h>
- #include <arpa/inet.h>
- #endif
diff --git a/net/nekobox/files/patch-src_gharqad_main.cpp b/net/nekobox/files/patch-src_gharqad_main.cpp
deleted file mode 100644
index 5238dec9972a..000000000000
--- a/net/nekobox/files/patch-src_gharqad_main.cpp
+++ /dev/null
@@ -1,48 +0,0 @@
--- Suppress unused-value warnings for QT_TRANSLATE_NOOP.
---
---- src/gharqad/main.cpp.orig 2026-06-04 03:57:05 UTC
-+++ src/gharqad/main.cpp
-@@ -169,25 +169,25 @@ static void loadTranslate(QString locale) {
- }
-
- static void loadTranslate(QString locale) {
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Cancel");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Apply");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Yes");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "No");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "OK");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Defaults");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Restore Defaults");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Discard");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Cancel");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Apply");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Yes");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "No");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "OK");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Defaults");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Restore Defaults");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Discard");
-
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Undo");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Redo");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Cut");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Copy");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Paste");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Delete");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Select All");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Stop");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Clear");
-- QT_TRANSLATE_NOOP("QPlatformTheme", "Copy Link Location");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Undo");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Redo");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Cut");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Copy");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Paste");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Delete");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Select All");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Stop");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Clear");
-+ (void)QT_TRANSLATE_NOOP("QPlatformTheme", "Copy Link Location");
-
- if (trans != nullptr) {
- trans->deleteLater();