5 Commits

Author SHA1 Message Date
remittor
e723da8e08 vpn: Replace AWG package to fork by Slava-Shchipunov
Source: https://github.com/Slava-Shchipunov/awg-openwrt
2025-10-22 15:19:42 +03:00
remittor
1ecab03a91 config: Remove SQM package for kng_re 2025-05-12 11:11:06 +03:00
remittor
91f0229c56 xmake: Fix build podkop (remove conflicts) 2025-05-06 11:48:09 +03:00
remittor
c2b23fc75d proxy: Add package zapret-openwrt 2025-05-05 13:41:28 +03:00
remittor
8889b52c08 xmake: Add support install custom patches 2025-04-12 17:29:52 +03:00
5 changed files with 34 additions and 6 deletions

View File

@@ -42,9 +42,13 @@ CONFIG_FEED__alpine_fan_control=m
### AmneziaWG
#GIT_FEED _amneziawg=https://github.com/lolo6oT/awg-openwrt.git dev-24.10
#GIT_FEED _amneziawg=https://github.com/Slava-Shchipunov/awg-openwrt.git
CONFIG_FEED__amneziawg=m
### Zapret
#GIT_FEED _zapret=https://github.com/remittor/zapret-openwrt.git
CONFIG_FEED__zapret=m
### ruantiblock
#GIT_FEED _ruantiblock=https://github.com/gSpotx2f/ruantiblock_openwrt.git
CONFIG_FEED__ruantiblock=m

View File

@@ -7,3 +7,9 @@ CONFIG_PACKAGE_luci-app-https-dns-proxy=y
CONFIG_PACKAGE_luci-i18n-https-dns-proxy-ru=y
CONFIG_PACKAGE_igmpproxy=y
CONFIG_PACKAGE_zapret=y
CONFIG_PACKAGE_zapret-tpws=y
CONFIG_PACKAGE_zapret-mdig=y
CONFIG_PACKAGE_zapret-ip2net=y
CONFIG_PACKAGE_luci-app-zapret=y

View File

@@ -24,6 +24,7 @@ CONFIG_PACKAGE_luci-proto-wireguard=y
CONFIG_PACKAGE_kmod-amneziawg=y
CONFIG_PACKAGE_amneziawg-tools=y
CONFIG_PACKAGE_luci-proto-amneziawg=y
CONFIG_PACKAGE_luci-i18n-amneziawg-ru=y
CONFIG_PACKAGE_shadowsocks-libev-ss-local=y
CONFIG_PACKAGE_shadowsocks-libev-ss-redir=y

View File

@@ -24,10 +24,6 @@ CONFIG_PACKAGE_hdparm=y
CONFIG_PACKAGE_luci-app-tn-netports=y
CONFIG_PACKAGE_luci-i18n-tn-netports-ru=y
### Network traffic
CONFIG_PACKAGE_luci-app-sqm=y
CONFIG_PACKAGE_luci-i18n-sqm-ru=y
### TimeControl
CONFIG_PACKAGE_luci-app-timecontrol=m

View File

@@ -127,9 +127,17 @@ function build_target {
fi
fi
AWG_KMOD_MK=$XDIR/package/feeds/_amneziawg/kmod-amneziawg/Makefile
if [ -f $AWG_KMOD_MK ]; then
if grep "876bf7571e47e349d0e86b70c244330b470d9642" $AWG_KMOD_MK >/dev/null ; then
sed -i 's/PKG_SOURCE_VERSION:=876bf7571e47e349d0e86b70c244330b470d9642/PKG_SOURCE_VERSION:=b96e12d00112dbee9d51d18d8438aa991cec0f6a/g' $AWG_KMOD_MK
fi
fi
PODKOP_MK=$XDIR/package/feeds/_podkop/podkop/Makefile
if [ -f $PODKOP_MK ]; then
sed -i 's/+sing-box / /g' $PODKOP_MK
sed -i 's/CONFLICTS:=.*/CONFLICTS:=/g' $PODKOP_MK
fi
PODKOP_SH=$XDIR/package/feeds/_podkop/podkop/files/usr/bin/podkop
if [ -f $PODKOP_SH ] && ! grep -q '(which sing-box)' $PODKOP_SH ; then
@@ -239,7 +247,20 @@ function build_target {
sed -i 's/\$(INSTALL_DIR) \$(1)\/usr\/{bin,sbin}/#\$(INSTALL_DIR) \$(1)\/usr\/__bin_sbin__/g' $NTFS3G
fi
fi
XPATCHES=$XDIR/patches
for incfn in $XPATCHES/*.patch; do
[ ! -f "$incfn" ] && continue
inc=`patch -p1 -N -r - < "$incfn"`
if [ $? != 0 ]; then
if ! echo "$inc" | grep -q "patch detected! Skipping patch."; then
echo "Patch '$(basename $incfn)' FAILED"
exit 1
fi
fi
echo "Patch '$(basename $incfn)' result: OK"
done
OPKG_DIR=$XDIR/files/etc/opkg
if [ -d $OPKG_DIR ]; then
rm -rf $OPKG_DIR