mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-03 22:23:56 +08:00
🦄 Sync 2026-10-13 13:56:55
This commit is contained in:
1 parent
315fd3c2ee
commit
bd85950c2b
6 files changed
+16
-94
No files matched your search
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=apfree-wifidog
|
||||
PKG_VERSION:=9.10.2961
|
||||
PKG_RELEASE:=5
|
||||
PKG_RELEASE:=6
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/liudf0716/$(PKG_NAME)/tar.gz/$(PKG_VERSION)?
|
||||
|
||||
@@ -34,6 +34,7 @@ config wifidogx 'common'
|
||||
list trusted_wildcard_domains '*.claude.ai'
|
||||
list trusted_wildcard_domains '*.github.com'
|
||||
list trusted_wildcard_domains '*.github.io'
|
||||
list trusted_wildcard_domains '*.qq.com'
|
||||
|
||||
config gateway 'apfree'
|
||||
option gateway_name 'br-lan'
|
||||
|
||||
+13
-26
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-open-box
|
||||
PKG_VERSION:=0.1.320
|
||||
PKG_RELEASE:=27
|
||||
PKG_RELEASE:=28
|
||||
|
||||
PKG_MAINTAINER:=liandu2024
|
||||
PKG_LICENSE:=GPL-3.0-or-later
|
||||
@@ -54,37 +54,24 @@ endef
|
||||
|
||||
# 3. 安装与打包:同时铺装 LuCI 页面、系统脚本以及 /opt/open-box 核心
|
||||
define Package/luci-app-open-box/install
|
||||
# 安装 LuCI 菜单与权限声明
|
||||
$(INSTALL_DIR) $(1)/usr/share/luci/menu.d
|
||||
$(INSTALL_DATA) ./root/usr/share/luci/menu.d/luci-app-openbox.json $(1)/usr/share/luci/menu.d/
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/share/rpcd/acl.d
|
||||
$(INSTALL_DATA) ./root/usr/share/rpcd/acl.d/luci-app-openbox.json $(1)/usr/share/rpcd/acl.d/
|
||||
|
||||
$(INSTALL_DIR) $(1)/www/luci-static/resources/view/openbox
|
||||
$(INSTALL_DATA) ./root/www/luci-static/resources/view/openbox/main.js $(1)/www/luci-static/resources/view/openbox/
|
||||
|
||||
# 安装系统服务与默认配置
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) ./root/etc/init.d/openbox $(1)/etc/init.d/openbox
|
||||
$(INSTALL_BIN) ./root/etc/init.d/openbox-panel $(1)/etc/init.d/openbox-panel
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) ./root/etc/config/openbox $(1)/etc/config/openbox
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/uci-defaults
|
||||
$(INSTALL_BIN) ./root/etc/uci-defaults/99-luci-app-openbox $(1)/etc/uci-defaults/99-luci-app-openbox
|
||||
|
||||
# 创建 CLI 管理命令软链接(直接指向 /opt/open-box/openwrt/bin/open-box 原版脚本)
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
ln -sf /opt/open-box/openwrt/bin/open-box $(1)/usr/bin/open-box
|
||||
|
||||
# 仅复制 _core 子目录内容,避免递归包含
|
||||
$(INSTALL_DIR) $(1)/opt/open-box $(1)/opt/open-box/data
|
||||
$(CP) $(PKG_BUILD_DIR)/_core/* $(1)/opt/open-box/
|
||||
chmod -R 0755 $(1)/opt/open-box/bin $(1)/opt/open-box/node/bin $(1)/opt/open-box/openwrt/bin 2>/dev/null || true
|
||||
chmod +x $(1)/opt/open-box/update.sh $(1)/opt/open-box/uninstall.sh 2>/dev/null || true
|
||||
echo "3036" > $(1)/opt/open-box/data/panel-port
|
||||
|
||||
$(CP) $(1)/opt/open-box/openwrt/luci/root/* $(1)/
|
||||
$(CP) $(1)/opt/open-box/openwrt/luci/htdocs/* $(1)/www/
|
||||
|
||||
# 安装系统服务与默认配置
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) $(1)/opt/open-box/openwrt/initd/openbox $(1)/etc/init.d/openbox
|
||||
$(INSTALL_BIN) $(1)/opt/open-box/openwrt/initd/openbox-panel $(1)/etc/init.d/openbox-panel
|
||||
|
||||
# 创建 CLI 管理命令软链接(直接指向 /opt/open-box/openwrt/bin/open-box 原版脚本)
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
ln -sf /opt/open-box/openwrt/bin/open-box $(1)/usr/bin/open-box
|
||||
endef
|
||||
|
||||
define Package/luci-app-open-box/extra_provides
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
zh_Hans
|
||||
@@ -1,65 +0,0 @@
|
||||
msgid ""
|
||||
msgstr "Content-Type: text/plain; charset=UTF-8\n"
|
||||
|
||||
msgid "Open-Box"
|
||||
msgstr "Open-Box"
|
||||
|
||||
msgid "Open-Box 管理面板"
|
||||
msgstr "Open-Box 管理面板"
|
||||
|
||||
msgid "服务运行状态"
|
||||
msgstr "服务运行状态"
|
||||
|
||||
msgid "面板服务 (openbox-panel)"
|
||||
msgstr "面板服务 (openbox-panel)"
|
||||
|
||||
msgid "内核代理服务 (openbox)"
|
||||
msgstr "内核代理服务 (openbox)"
|
||||
|
||||
msgid "组件与更新维护"
|
||||
msgstr "组件与更新维护"
|
||||
|
||||
msgid "核心组件状态"
|
||||
msgstr "核心组件状态"
|
||||
|
||||
msgid "更新加速镜像"
|
||||
msgstr "更新加速镜像"
|
||||
|
||||
msgid "系统升级与维护"
|
||||
msgstr "系统升级与维护"
|
||||
|
||||
msgid "打开管理面板"
|
||||
msgstr "打开管理面板"
|
||||
|
||||
msgid "修改端口"
|
||||
msgstr "修改端口"
|
||||
|
||||
msgid "复制密码"
|
||||
msgstr "复制密码"
|
||||
|
||||
msgid "启动面板"
|
||||
msgstr "启动面板"
|
||||
|
||||
msgid "停止面板"
|
||||
msgstr "停止面板"
|
||||
|
||||
msgid "重启面板"
|
||||
msgstr "重启面板"
|
||||
|
||||
msgid "启动内核"
|
||||
msgstr "启动内核"
|
||||
|
||||
msgid "紧急停止内核 (恢复直连)"
|
||||
msgstr "紧急停止内核 (恢复直连)"
|
||||
|
||||
msgid "按配置重载/重启"
|
||||
msgstr "按配置重载/重启"
|
||||
|
||||
msgid "检查并升级到最新版"
|
||||
msgstr "检查并升级到最新版"
|
||||
|
||||
msgid "回退到上个版本 (Rollback)"
|
||||
msgstr "回退到上个版本 (Rollback)"
|
||||
|
||||
msgid "卸载 Open-Box"
|
||||
msgstr "卸载 Open-Box"
|
||||
@@ -11,7 +11,7 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
msgid "xkcptun"
|
||||
msgstr "xkcptun"
|
||||
msgstr "网络加速"
|
||||
|
||||
msgid "xkcptun is a high-performance C implementation of kcptun with dynamic destination multi-tunnel unified daemon architecture."
|
||||
msgstr "xkcptun 是采用动态目标多隧道统一守护进程架构的高性能 C 语言版 kcptun 实现。"
|
||||
|
||||
Reference in new issue
Block a user