mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 07:45:13 +08:00
🔥 Sync 2026-04-25 08:30:25
This commit is contained in:
1 parent
4295b1ca19
commit
80f09ddc21
6 files changed
+11
-8
No files matched your search
@@ -9,7 +9,7 @@ curl = "/usr/bin/curl"
|
|||||||
curl_args = {"-skfL", "--connect-timeout 3", "--retry 3"}
|
curl_args = {"-skfL", "--connect-timeout 3", "--retry 3"}
|
||||||
wget = "/usr/bin/wget"
|
wget = "/usr/bin/wget"
|
||||||
wget_args = {"--quiet", "--connect-timeout=3", "--timeout=6", "--tries=2"}
|
wget_args = {"--quiet", "--connect-timeout=3", "--timeout=6", "--tries=2"}
|
||||||
command_timeout = 60
|
command_timeout = 90
|
||||||
LEDE_BOARD = nil
|
LEDE_BOARD = nil
|
||||||
DISTRIB_TARGET = nil
|
DISTRIB_TARGET = nil
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=luci-app-passwall
|
PKG_NAME:=luci-app-passwall
|
||||||
PKG_VERSION:=26.4.15
|
PKG_VERSION:=26.4.15
|
||||||
PKG_RELEASE:=95
|
PKG_RELEASE:=96
|
||||||
PKG_PO_VERSION:=$(PKG_VERSION)
|
PKG_PO_VERSION:=$(PKG_VERSION)
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS:= \
|
PKG_CONFIG_DEPENDS:= \
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ local appname = api.appname
|
|||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|
||||||
document.addEventListener("DOMContentLoaded", function () {
|
document.addEventListener("DOMContentLoaded", () => setTimeout(() => {
|
||||||
const hiddenSelect = document.getElementById("cbid.<%=appname%>.<%=self.global_cfgid%>.tcp_node");
|
const hiddenSelect = document.getElementById("cbid.<%=appname%>.<%=self.global_cfgid%>.tcp_node");
|
||||||
let o_val = hiddenSelect.value
|
let o_val = hiddenSelect.value
|
||||||
const o_hasItem = shunt_list.find(element => element.id == o_val);
|
const o_hasItem = shunt_list.find(element => element.id == o_val);
|
||||||
@@ -268,6 +268,6 @@ local appname = api.appname
|
|||||||
shunt_taboption.appendChild(shunt_option_list);
|
shunt_taboption.appendChild(shunt_option_list);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
}, 100));
|
||||||
//]]>
|
//]]>
|
||||||
</script>
|
</script>
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
document.addEventListener("DOMContentLoaded", function () {
|
document.addEventListener("DOMContentLoaded", () => setTimeout(() => {
|
||||||
refresh_depends();
|
refresh_depends();
|
||||||
const table_dom = document.getElementById("cbi-passwall-shunt_option_list");
|
const table_dom = document.getElementById("cbi-passwall-shunt_option_list");
|
||||||
if (table_dom) {
|
if (table_dom) {
|
||||||
@@ -71,6 +71,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
}, 100));
|
||||||
//]]>
|
//]]>
|
||||||
</script>
|
</script>
|
||||||
+3
-1
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=teleproxy
|
PKG_NAME:=teleproxy
|
||||||
PKG_VERSION:=4.11.0
|
PKG_VERSION:=4.11.0
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_MAINTAINER:=Kosntantine Shevlakov <shevlakov@132lan.ru>
|
PKG_MAINTAINER:=Kosntantine Shevlakov <shevlakov@132lan.ru>
|
||||||
PKG_LICENSE:=GPLv2
|
PKG_LICENSE:=GPLv2
|
||||||
@@ -18,6 +18,8 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
|
|||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
MAKE_VARS += EXTRA_VERSION=$(PKG_VERSION)
|
||||||
|
|
||||||
define Package/$(PKG_NAME)
|
define Package/$(PKG_NAME)
|
||||||
SUBMENU:=Web Servers/Proxies
|
SUBMENU:=Web Servers/Proxies
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# generate secret key
|
# generate secret key
|
||||||
if uci -q get teleproxy.default.secret >/dev/null || [ -z "$(uci get teleproxy.default.secret)" ]; then
|
if uci -q get teleproxy.default.secret >/dev/null || [ -z "$(uci get teleproxy.default.secret)" ]; then
|
||||||
SECRET=$(dd if=/dev/urandom bs=16 count=1 2>/dev/null | hexdump -v -e '16/1 "%02x"')
|
#SECRET=$(dd if=/dev/urandom bs=16 count=1 2>/dev/null | hexdump -v -e '16/1 "%02x"')
|
||||||
|
SECRET=$(/usr/bin/teleproxy generate-secret)
|
||||||
uci set teleproxy.default.secret="$SECRET"
|
uci set teleproxy.default.secret="$SECRET"
|
||||||
uci commit teleproxy
|
uci commit teleproxy
|
||||||
fi
|
fi
|
||||||
Reference in new issue
Block a user