mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
sync (#438)
This commit is contained in:
commit
a68acba41a
6 changed files with 31 additions and 32 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -8,7 +8,7 @@ jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
OMR_TARGET: [bpi-r1, bpi-r2, bpi-r64, rpi2, rpi4, wrt32x, espressobin, r2s, rpi3, wrt3200acm, x86, x86_64, ubnt-erx, r4s, r7800, rutx12, rutx50, r5s, qnap-301w, rpi5, z8102ax-128m]
|
OMR_TARGET: [bpi-r1, bpi-r2, bpi-r64, rpi2, rpi4, wrt32x, espressobin, r2s, rpi3, wrt3200acm, x86, x86_64, ubnt-erx, r4s, r7800, rutx12, rutx50, r5s, qnap-301w, rpi5, z8102ax_128m]
|
||||||
OMR_KERNEL: [5.4, 6.1]
|
OMR_KERNEL: [5.4, 6.1]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
|
@ -87,7 +87,7 @@ MY_DEPENDS := \
|
||||||
(TARGET_x86||TARGET_x86_64):kmod-mlx4-core \
|
(TARGET_x86||TARGET_x86_64):kmod-mlx4-core \
|
||||||
!(TARGET_ips40xx||TARGET_ramips):iptables-mod-ndpi !(TARGET_ips40xx||TARGET_ramips):kmod-ipt-ndpi libip4tc libip6tc \
|
!(TARGET_ips40xx||TARGET_ramips):iptables-mod-ndpi !(TARGET_ips40xx||TARGET_ramips):kmod-ipt-ndpi libip4tc libip6tc \
|
||||||
xray-core LINUX_5_4:xray-config !LINUX_5_4:xray-config-nft (LINUX_5_4&&(TARGET_x86_64||aarch64)):kmod-tcp-bbr2 kmod-ovpn-dco-v2 \
|
xray-core LINUX_5_4:xray-config !LINUX_5_4:xray-config-nft (LINUX_5_4&&(TARGET_x86_64||aarch64)):kmod-tcp-bbr2 kmod-ovpn-dco-v2 \
|
||||||
!LINUX_5_4:shadowsocks-rust-sslocal !LINUX_5_4:shadowsocks-rust-ssservice !LINUX_5_4:shadowsocks-rust-config-nft !LINUX_5_4:luci-app-shadowsocks-rust \
|
shadowsocks-rust-sslocal shadowsocks-rust-ssservice LINUX_5_4:shadowsocks-rust-config !LINUX_5_4:shadowsocks-rust-config-nft luci-app-shadowsocks-rust \
|
||||||
luci-proto-external omr-schedule jq luci-app-ddns
|
luci-proto-external omr-schedule jq luci-app-ddns
|
||||||
|
|
||||||
# shadowsocks-rust-sslocal shadowsocks-rust-ssservice LINUX_5_4:shadowsocks-rust-config !LINUX_5_4:shadowsocks-rust-config-nft luci-app-shadowsocks-rust \
|
# shadowsocks-rust-sslocal shadowsocks-rust-ssservice LINUX_5_4:shadowsocks-rust-config !LINUX_5_4:shadowsocks-rust-config-nft luci-app-shadowsocks-rust \
|
||||||
|
|
|
@ -2261,15 +2261,15 @@ _config_service() {
|
||||||
if [ "$user_permission" != "ro" ]; then
|
if [ "$user_permission" != "ro" ]; then
|
||||||
#config_load shadowsocks-libev
|
#config_load shadowsocks-libev
|
||||||
#config_foreach _set_ss_server_vps server
|
#config_foreach _set_ss_server_vps server
|
||||||
_set_ss_server_vps
|
[ -n "$(uci -q get shadowsocks-libev)" ] && _set_ss_server_vps
|
||||||
_set_ssgo_server_vps
|
[ -n "$(uci -q get shadowsocks-rust)" ] && _set_ssgo_server_vps
|
||||||
_set_v2ray_server_vps
|
[ -n "$(uci -q get v2ray)" ] && _set_v2ray_server_vps
|
||||||
_set_xray_server_vps
|
[ -n "$(uci -q get xray)" ] && _set_xray_server_vps
|
||||||
[ -z "$(_set_glorytun_vps)" ] && error=1
|
([ -n "$(uci -q get glorytun)" ] || [ -n "$(uci -q get glorytun-udp)" ]) && [ -z "$(_set_glorytun_vps)" ] && error=1
|
||||||
[ -z "$(_set_openvpn_vps)" ] && error=1
|
[ -n "$(uci -q get openvpn)" ] && [ -z "$(_set_openvpn_vps)" ] && error=1
|
||||||
[ -z "$(_set_mlvpn_vps)" ] && error=1
|
[ -n "$(uci -q get mlvpn)" ] && [ -z "$(_set_mlvpn_vps)" ] && error=1
|
||||||
_set_vps_firewall
|
_set_vps_firewall
|
||||||
[ -z "$(_set_wireguard_vps)" ] && error=1
|
[ -n "$(uci -q get wireguard)" ] && [ -z "$(_set_wireguard_vps)" ] && error=1
|
||||||
fi
|
fi
|
||||||
_backup_list
|
_backup_list
|
||||||
redirect_port="0"
|
redirect_port="0"
|
||||||
|
@ -2341,7 +2341,7 @@ token() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_fix_server() {
|
_fix_server() {
|
||||||
uci -q rename openmptcprouter.$1=server
|
uci -q set openmptcprouter.$1=server
|
||||||
}
|
}
|
||||||
|
|
||||||
start_service() {
|
start_service() {
|
||||||
|
|
|
@ -100,9 +100,7 @@ endef
|
||||||
define Host/Install
|
define Host/Install
|
||||||
( \
|
( \
|
||||||
cd $(HOST_BUILD_DIR)/build/dist ; \
|
cd $(HOST_BUILD_DIR)/build/dist ; \
|
||||||
for targz in *.tar.gz; do \
|
find -iname "*.tar.gz" -exec tar -xzf {} \; ; \
|
||||||
$(STAGING_DIR_HOST)/bin/libdeflate-gzip -dc "$$$$targz" | tar -xf - ; \
|
|
||||||
done ; \
|
|
||||||
find . -mindepth 2 -maxdepth 2 -type f -name install.sh \
|
find . -mindepth 2 -maxdepth 2 -type f -name install.sh \
|
||||||
-execdir bash '{}' --prefix=$(STAGING_DIR)/host --disable-ldconfig \; ; \
|
-execdir bash '{}' --prefix=$(STAGING_DIR)/host --disable-ldconfig \; ; \
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,10 +7,10 @@ This patch bumps all libc dependencies and checksums to 0.2.147, which includes
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
-version = "0.2.126"
|
-version = "0.2.126"
|
||||||
+version = "0.2.147"
|
+version = "0.2.153"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
-checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
|
-checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
|
||||||
+checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
|
+checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "memchr"
|
name = "memchr"
|
||||||
|
@ -21,10 +21,10 @@ This patch bumps all libc dependencies and checksums to 0.2.147, which includes
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
-version = "0.2.138"
|
-version = "0.2.138"
|
||||||
+version = "0.2.147"
|
+version = "0.2.153"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
-checksum = "db6d7e329c562c5dfab7a46a2afabc8b987ab9a4834c9d1ca04dc54c1546cef8"
|
-checksum = "db6d7e329c562c5dfab7a46a2afabc8b987ab9a4834c9d1ca04dc54c1546cef8"
|
||||||
+checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
|
+checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libloading"
|
name = "libloading"
|
||||||
|
@ -35,10 +35,10 @@ This patch bumps all libc dependencies and checksums to 0.2.147, which includes
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
-version = "0.2.141"
|
-version = "0.2.141"
|
||||||
+version = "0.2.147"
|
+version = "0.2.153"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
-checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5"
|
-checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5"
|
||||||
+checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
|
+checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "num_cpus"
|
name = "num_cpus"
|
||||||
|
@ -49,10 +49,10 @@ This patch bumps all libc dependencies and checksums to 0.2.147, which includes
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
-version = "0.2.140"
|
-version = "0.2.140"
|
||||||
+version = "0.2.147"
|
+version = "0.2.153"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
-checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c"
|
-checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c"
|
||||||
+checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
|
+checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lindera"
|
name = "lindera"
|
||||||
|
@ -63,10 +63,10 @@ This patch bumps all libc dependencies and checksums to 0.2.147, which includes
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
-version = "0.2.140"
|
-version = "0.2.140"
|
||||||
+version = "0.2.147"
|
+version = "0.2.153"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
-checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c"
|
-checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c"
|
||||||
+checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
|
+checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lock_api"
|
name = "lock_api"
|
||||||
|
@ -77,10 +77,10 @@ This patch bumps all libc dependencies and checksums to 0.2.147, which includes
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
-version = "0.2.140"
|
-version = "0.2.140"
|
||||||
+version = "0.2.147"
|
+version = "0.2.153"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
-checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c"
|
-checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c"
|
||||||
+checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
|
+checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libffi"
|
name = "libffi"
|
||||||
|
@ -91,10 +91,10 @@ This patch bumps all libc dependencies and checksums to 0.2.147, which includes
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "libc"
|
name = "libc"
|
||||||
-version = "0.2.141"
|
-version = "0.2.141"
|
||||||
+version = "0.2.147"
|
+version = "0.2.153"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
-checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5"
|
-checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5"
|
||||||
+checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
|
+checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "linux-raw-sys"
|
name = "linux-raw-sys"
|
||||||
|
|
|
@ -11,7 +11,8 @@ unexport RUSTC_WRAPPER
|
||||||
# Rust Environmental Vars
|
# Rust Environmental Vars
|
||||||
RUSTC_HOST_SUFFIX:=$(word 4, $(subst -, ,$(GNU_HOST_NAME)))
|
RUSTC_HOST_SUFFIX:=$(word 4, $(subst -, ,$(GNU_HOST_NAME)))
|
||||||
RUSTC_HOST_ARCH:=$(HOST_ARCH)-unknown-linux-$(RUSTC_HOST_SUFFIX)
|
RUSTC_HOST_ARCH:=$(HOST_ARCH)-unknown-linux-$(RUSTC_HOST_SUFFIX)
|
||||||
CARGO_HOME:=$(DL_DIR)/cargo
|
#CARGO_HOME:=$(DL_DIR)/cargo
|
||||||
|
CARGO_HOME:=$(STAGING_DIR)/cargo
|
||||||
|
|
||||||
ifeq ($(CONFIG_USE_MUSL),y)
|
ifeq ($(CONFIG_USE_MUSL),y)
|
||||||
# Force linking of the SSP library for musl
|
# Force linking of the SSP library for musl
|
||||||
|
@ -62,9 +63,9 @@ ifeq ($(ARCH),arm)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(ARCH),aarch64)
|
#ifeq ($(ARCH),aarch64)
|
||||||
RUSTC_CFLAGS:=-mno-outline-atomics
|
# RUSTC_CFLAGS:=-mno-outline-atomics
|
||||||
endif
|
#endif
|
||||||
|
|
||||||
# Support only a subset for now.
|
# Support only a subset for now.
|
||||||
RUST_ARCH_DEPENDS:=@(aarch64||arm||i386||i686||mips||mipsel||mips64||mips64el||mipsel||powerpc64||riscv64||x86_64)
|
RUST_ARCH_DEPENDS:=@(aarch64||arm||i386||i686||mips||mipsel||mips64||mips64el||mipsel||powerpc64||riscv64||x86_64)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue