mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-04 13:57:45 +08:00
update 2026-01-27 10:06:27
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=docker
|
||||
PKG_VERSION:=29.2.0-rc.2
|
||||
PKG_VERSION:=29.2.0
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/docker/cli/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=7ee49a8fe2fcaa0b7a8ac63a4055425ba1a08e4ee5f5eee56b8076db836b96bb
|
||||
PKG_HASH:=f2bdc2b7ee7f7840a4d5b845f6c1fdf8bd7a123bba7cf9f1056220794b07ba9c
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/cli-$(PKG_VERSION)
|
||||
PKG_GIT_SHORT_COMMIT:=$(shell $(CURDIR)/git-short-commit.sh 'github.com/docker/cli' 'v$(PKG_VERSION)' '$(TMP_DIR)/git-short-commit/$(PKG_NAME)-$(PKG_VERSION)')
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=dockerd
|
||||
PKG_VERSION:=29.1.5
|
||||
PKG_VERSION:=29.2.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_LICENSE:=Apache-2.0
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||
PKG_MAINTAINER:=Thaolga <https://github.com/Thaolga/luci-app-nekobox>
|
||||
PKG_NAME:=luci-app-nekobox
|
||||
PKG_VERSION:=2.0.9
|
||||
PKG_RELEASE:=rc13
|
||||
PKG_RELEASE:=rc14
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
|
||||
@@ -325,7 +325,7 @@ function autoCleanInvalidSubInfo($subscriptions) {
|
||||
}
|
||||
|
||||
function isValidSubscriptionContent($content) {
|
||||
$keywords = ['ss', 'shadowsocks', 'vmess', 'vless', 'trojan', 'hysteria2', 'socks5', 'http'];
|
||||
$keywords = ['ss', 'anytls', 'vmess', 'vless', 'trojan', 'hysteria2', 'socks5', 'http'];
|
||||
foreach ($keywords as $keyword) {
|
||||
if (stripos($content, $keyword) !== false) {
|
||||
return true;
|
||||
@@ -1139,7 +1139,7 @@ $(document).ready(function() {
|
||||
$size = file_exists($filePath) ? formatSize(filesize($filePath)) : ($translations['fileNotExist'] ?? 'Not Exist');
|
||||
$modified = file_exists($filePath) ? date('Y-m-d H:i:s', filemtime($filePath)) : '-';
|
||||
|
||||
$validProtocols = '/^(ss|shadowsocks|vmess|vless|trojan|hysteria2|socks5|http)$/i';
|
||||
$validProtocols = '/^(ss|shadowsocks|anytls|vmess|vless|trojan|hysteria2|socks5|http)$/i';
|
||||
$nodeCount = 0;
|
||||
|
||||
if (file_exists($filePath)) {
|
||||
@@ -1215,12 +1215,12 @@ $(document).ready(function() {
|
||||
}
|
||||
}
|
||||
}
|
||||
elseif (preg_match('/^(ss|vmess|vless|trojan|hysteria2|socks5|http):\/\//im', $content)) {
|
||||
elseif (preg_match('/^(ss|shadowsocks|anytls|vmess|vless|trojan|hysteria2|socks5|http):\/\//im', $content)) {
|
||||
$lines = preg_split("/\r?\n/", $content);
|
||||
foreach ($lines as $line) {
|
||||
$line = trim($line);
|
||||
if ($line === '' || str_starts_with($line, '#')) continue;
|
||||
if (preg_match('/^(ss|vmess|vless|trojan|hysteria2|socks5|http):\/\//i', $line)) {
|
||||
if (preg_match('/^(ss|shadowsocks|anytls|vmess|vless|trojan|hysteria2|socks5|http):\/\//i', $line)) {
|
||||
$nodeCount++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -751,7 +751,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
<div id="color-preview" class="rounded border mb-3" style="height: 100px; background: #333;"></div>
|
||||
<div class="d-flex align-items-center gap-2 mb-3">
|
||||
<div class="d-flex align-items-center justify-content-center rounded"
|
||||
style="width: 80px; height: 50px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.3);">
|
||||
style="width: 80px; height: 50px; background: rgba(255,255,255,0.05); border: var(--border-strong);">
|
||||
<input type="color" id="color-selector"
|
||||
class="form-control form-control-color p-0"
|
||||
value="#0f3460"
|
||||
@@ -760,7 +760,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
</div>
|
||||
<div id="current-color-block"
|
||||
class="rounded d-flex align-items-center justify-content-center text-white position-relative"
|
||||
style="height: 50px; flex: 1; cursor: pointer; background: #333; border: 2px solid white; transition: all 0.3s ease;">
|
||||
style="height: 50px; flex: 1; cursor: pointer; background: #333; border: var(--border-strong); transition: all 0.3s ease;">
|
||||
<input type="text"
|
||||
id="color-input"
|
||||
class="form-control text-center border-0 bg-transparent text-white p-0 m-0"
|
||||
|
||||
@@ -566,7 +566,7 @@ $downloadedContent = '';
|
||||
$fixedFileName = 'subscription.txt';
|
||||
|
||||
function isValidSubscriptionContent($content) {
|
||||
$patterns = ['shadowsocks', 'vmess', 'vless', 'trojan', 'hysteria2', 'socks5', 'http'];
|
||||
$patterns = ['anytls', 'shadowsocks', 'vmess', 'vless', 'trojan', 'hysteria2', 'socks5', 'http'];
|
||||
foreach ($patterns as $p) {
|
||||
if (stripos($content, $p) !== false) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user