mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-01-30 22:30:36 +03:00
Compare commits
7 Commits
v0.9.20260
...
v0.9.20260
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c261476262 | ||
|
|
7fb5b37ad3 | ||
|
|
da3cd4a341 | ||
|
|
b4c3854774 | ||
|
|
81c269a7a6 | ||
|
|
fe59ce025f | ||
|
|
bbc12a2e1f |
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@@ -155,6 +155,7 @@ jobs:
|
|||||||
- mipsel_24kc_24kf
|
- mipsel_24kc_24kf
|
||||||
- mipsel_74kc
|
- mipsel_74kc
|
||||||
- mipsel_mips32
|
- mipsel_mips32
|
||||||
|
- riscv64_generic
|
||||||
- x86_64
|
- x86_64
|
||||||
isTestOrFake:
|
isTestOrFake:
|
||||||
- ${{ needs.check.outputs.test_build == 'true' || needs.check.outputs.fake_build == 'true' }}
|
- ${{ needs.check.outputs.test_build == 'true' || needs.check.outputs.fake_build == 'true' }}
|
||||||
@@ -163,6 +164,8 @@ jobs:
|
|||||||
arch: arm_cortex-a9_vfpv3-d16
|
arch: arm_cortex-a9_vfpv3-d16
|
||||||
- branch: ${{ needs.var.outputs.APK_BRANCH }}
|
- branch: ${{ needs.var.outputs.APK_BRANCH }}
|
||||||
arch: mips_4kec
|
arch: mips_4kec
|
||||||
|
- branch: ${{ needs.var.outputs.IPK_BRANCH }}
|
||||||
|
arch: riscv64_generic
|
||||||
- { isTestOrFake: true }
|
- { isTestOrFake: true }
|
||||||
include:
|
include:
|
||||||
- branch: ${{ needs.var.outputs.IPK_BRANCH }}
|
- branch: ${{ needs.var.outputs.IPK_BRANCH }}
|
||||||
@@ -270,6 +273,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
make defconfig
|
make defconfig
|
||||||
sed -i 's/CONFIG_LUCI_JSMIN=y/CONFIG_LUCI_JSMIN=n/g' .config
|
sed -i 's/CONFIG_LUCI_JSMIN=y/CONFIG_LUCI_JSMIN=n/g' .config
|
||||||
|
sed -i 's/CONFIG_LUCI_CSSTIDY=y/CONFIG_LUCI_CSSTIDY=n/g' .config
|
||||||
|
grep -q '^CONFIG_LUCI_CSSTIDY=' .config || echo 'CONFIG_LUCI_CSSTIDY=n' >> .config
|
||||||
|
sed -i 's/CONFIG_PACKAGE_luajit2=n/CONFIG_PACKAGE_luajit2=y/g' .config
|
||||||
|
grep -q '^CONFIG_PACKAGE_luajit2=' .config || echo 'CONFIG_PACKAGE_luajit2=y' >> .config
|
||||||
echo "status=success" >> $GITHUB_OUTPUT
|
echo "status=success" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Show config
|
- name: Show config
|
||||||
@@ -284,7 +291,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ARCH_TAG: ${{ matrix.arch }}
|
ARCH_TAG: ${{ matrix.arch }}
|
||||||
run: |
|
run: |
|
||||||
PKGLIST="package/zapret-openwrt/zapret2/compile"
|
PKGLIST="package/feeds/packages/luajit2/compile"
|
||||||
|
PKGLIST="$PKGLIST package/zapret-openwrt/zapret2/compile"
|
||||||
if [ "$ARCH_TAG" = "$LUCI_ARCH" ]; then
|
if [ "$ARCH_TAG" = "$LUCI_ARCH" ]; then
|
||||||
PKGLIST="$PKGLIST package/zapret-openwrt/luci-app-zapret2/compile"
|
PKGLIST="$PKGLIST package/zapret-openwrt/luci-app-zapret2/compile"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=luci-app-zapret2
|
PKG_NAME:=luci-app-zapret2
|
||||||
PKG_VERSION:=0.9.20260128
|
PKG_VERSION:=0.9.20260129
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
PKG_LICENSE:=MIT
|
PKG_LICENSE:=MIT
|
||||||
PKG_MAINTAINER:=remittor <https://github.com/remittor>
|
PKG_MAINTAINER:=remittor <https://github.com/remittor>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=zapret2
|
PKG_NAME:=zapret2
|
||||||
PKG_VERSION:=0.9.20260128
|
PKG_VERSION:=0.9.20260129
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_MAINTAINER:=bol-van
|
PKG_MAINTAINER:=bol-van
|
||||||
@@ -14,8 +14,8 @@ PKG_LICENSE_FILES:=docs/LICENSE.txt
|
|||||||
|
|
||||||
PKG_SOURCE_URL:=https://github.com/bol-van/zapret2.git
|
PKG_SOURCE_URL:=https://github.com/bol-van/zapret2.git
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_VERSION:=c8722d1ed9ac58561dd555b1c5b205e2f5f62432
|
PKG_SOURCE_VERSION:=4253b7b4086778226d2698c7e66f54422ee2143e
|
||||||
PKG_SOURCE_DATE:=2026-01-28
|
PKG_SOURCE_DATE:=2026-01-29
|
||||||
|
|
||||||
#PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
#PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
#PKG_SOURCE_URL:=https://github.com/bol-van/zapret2/archive/refs/tags/v$(PKG_VERSION).tar.gz?
|
#PKG_SOURCE_URL:=https://github.com/bol-van/zapret2/archive/refs/tags/v$(PKG_VERSION).tar.gz?
|
||||||
@@ -26,11 +26,11 @@ LUA_JIT?=1
|
|||||||
ifeq ($(LUA_JIT),1)
|
ifeq ($(LUA_JIT),1)
|
||||||
LUAJIT_VER?=2.1
|
LUAJIT_VER?=2.1
|
||||||
LUA_VER?=5.1
|
LUA_VER?=5.1
|
||||||
LUA_DEPEND:=luajit
|
LUA_DEPEND:=luajit2
|
||||||
LUA_INCLUDE:=-I$(STAGING_DIR)/usr/include/luajit-$(LUAJIT_VER)
|
LUA_INCLUDE:=-I$(STAGING_DIR)/usr/include/luajit-$(LUAJIT_VER)
|
||||||
LUA_LIBRARY:=-L$(STAGING_DIR)/usr/lib -lluajit-$(LUA_VER)
|
LUA_LIBRARY:=-L$(STAGING_DIR)/usr/lib -lluajit-$(LUA_VER)
|
||||||
else
|
else
|
||||||
LUA_VER?=5.5
|
LUA_VER?=5.4
|
||||||
LUA_DEPEND:=lua$(LUA_VER)
|
LUA_DEPEND:=lua$(LUA_VER)
|
||||||
LUA_INCLUDE:=-I$(STAGING_DIR)/usr/include/lua$(LUA_VER)
|
LUA_INCLUDE:=-I$(STAGING_DIR)/usr/include/lua$(LUA_VER)
|
||||||
LUA_LIBRARY:=-L$(STAGING_DIR)/usr/lib -llua$(LUA_VER)
|
LUA_LIBRARY:=-L$(STAGING_DIR)/usr/lib -llua$(LUA_VER)
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ function set_cfg_nfqws_strat
|
|||||||
--new
|
--new
|
||||||
--filter-tcp=443
|
--filter-tcp=443
|
||||||
--filter-l3=ipv4
|
--filter-l3=ipv4
|
||||||
--filter-l7=tls <HOSTLIST_AUTO>
|
--filter-l7=tls <HOSTLIST>
|
||||||
--out-range=-s34228
|
--out-range=-s34228
|
||||||
--in-range=-s5556 --lua-desync=circular:fails=2:maxtime=60
|
--in-range=-s5556 --lua-desync=circular:fails=2:maxtime=60
|
||||||
--in-range=x
|
--in-range=x
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ TEST_SUITE='
|
|||||||
{ id: "US.CF-04", provider: "🇨🇦 Cloudflare", times: 1, url: "https://www.bigcartel.com/" },
|
{ id: "US.CF-04", provider: "🇨🇦 Cloudflare", times: 1, url: "https://www.bigcartel.com/" },
|
||||||
{ id: "US.DO-01", provider: "🇺🇸 DigitalOcean", times: 2, url: "https://genderize.io/" },
|
{ id: "US.DO-01", provider: "🇺🇸 DigitalOcean", times: 2, url: "https://genderize.io/" },
|
||||||
{ id: "DE.HE-01", provider: "🇩🇪 Hetzner", times: 1, url: "https://j.dejure.org/jcg/doctrine/doctrine_banner.webp" },
|
{ id: "DE.HE-01", provider: "🇩🇪 Hetzner", times: 1, url: "https://j.dejure.org/jcg/doctrine/doctrine_banner.webp" },
|
||||||
{ id: "DE.HE-02", provider: "🇩🇪 Hetzner", times: 1, url: "https://maps.gnosis.earth/ogcapi/api/swagger-ui/swagger-ui-standalone-preset.js#" },
|
{ id: "DE.HE-02", provider: "🇩🇪 Hetzner", times: 1, url: "https://accesorioscelular.com/tienda/css/plugins.css" },
|
||||||
{ id: "FI.HE-01", provider: "🇫🇮 Hetzner", times: 1, url: "https://251b5cd9.nip.io/1MB.bin" },
|
{ id: "FI.HE-01", provider: "🇫🇮 Hetzner", times: 1, url: "https://251b5cd9.nip.io/1MB.bin" },
|
||||||
{ id: "FI.HE-02", provider: "🇫🇮 Hetzner", times: 1, url: "https://nioges.com/libs/fontawesome/webfonts/fa-solid-900.woff2" },
|
{ id: "FI.HE-02", provider: "🇫🇮 Hetzner", times: 1, url: "https://nioges.com/libs/fontawesome/webfonts/fa-solid-900.woff2" },
|
||||||
{ id: "FI.HE-03", provider: "🇫🇮 Hetzner", times: 1, url: "https://5fd8bdae.nip.io/1MB.bin" },
|
{ id: "FI.HE-03", provider: "🇫🇮 Hetzner", times: 1, url: "https://5fd8bdae.nip.io/1MB.bin" },
|
||||||
@@ -92,7 +92,7 @@ TEST_SUITE='
|
|||||||
{ id: "US.AKM-01", provider: "🇺🇸 Akamai", times: 1, url: "https://www.roxio.com/static/roxio/images/products/creator/nxt9/call-action-footer-bg.jpg" },
|
{ id: "US.AKM-01", provider: "🇺🇸 Akamai", times: 1, url: "https://www.roxio.com/static/roxio/images/products/creator/nxt9/call-action-footer-bg.jpg" },
|
||||||
{ id: "PL.AKM-01", provider: "🇵🇱 Akamai", times: 1, url: "https://media-assets.stryker.com/is/image/stryker/gateway_1?$max_width_1410$" },
|
{ id: "PL.AKM-01", provider: "🇵🇱 Akamai", times: 1, url: "https://media-assets.stryker.com/is/image/stryker/gateway_1?$max_width_1410$" },
|
||||||
{ id: "US.CDN77-01", provider: "🇺🇸 CDN77", times: 1, url: "https://cdn.eso.org/images/banner1920/eso2520a.jpg" },
|
{ id: "US.CDN77-01", provider: "🇺🇸 CDN77", times: 1, url: "https://cdn.eso.org/images/banner1920/eso2520a.jpg" },
|
||||||
{ id: "FR.CNTB-01", provider: "🇫🇷 Contabo", times: 1, url: "https://airsea.no/images/main_logo.png" },
|
{ id: "FR.CNTB-01", provider: "🇫🇷 Contabo", times: 1, url: "https://xdmarineshop.gr/index.php?route=index" },
|
||||||
{ id: "NL.SW-01", provider: "🇳🇱 Scaleway", times: 1, url: "https://www.velivole.fr/img/header.jpg" },
|
{ id: "NL.SW-01", provider: "🇳🇱 Scaleway", times: 1, url: "https://www.velivole.fr/img/header.jpg" },
|
||||||
{ id: "US.CNST-01", provider: "🇺🇸 Constant", times: 1, url: "https://cdn.xuansiwei.com/common/lib/font-awesome/4.7.0/fontawesome-webfont.woff2?v=4.7.0" }
|
{ id: "US.CNST-01", provider: "🇺🇸 Constant", times: 1, url: "https://cdn.xuansiwei.com/common/lib/font-awesome/4.7.0/fontawesome-webfont.woff2?v=4.7.0" }
|
||||||
'
|
'
|
||||||
|
|||||||
Reference in New Issue
Block a user