Add ruantiblock modules
Source: https://github.com/gSpotx2f/ruantiblock_openwrt
This commit is contained in:
@@ -51,3 +51,7 @@ CONFIG_FEED__alpine_fan_control=m
|
||||
#GIT_FEED _amneziawg=https://github.com/lolo6oT/awg-openwrt.git
|
||||
CONFIG_FEED__amneziawg=m
|
||||
|
||||
### ruantiblock
|
||||
#GIT_FEED _ruantiblock=https://github.com/gSpotx2f/ruantiblock_openwrt.git
|
||||
CONFIG_FEED__ruantiblock=m
|
||||
|
||||
|
||||
@@ -238,4 +238,4 @@ CONFIG_PACKAGE_luci-i18n-nlbwmon-ru=y
|
||||
#DISABLED_SVC=xray_core
|
||||
#DISABLED_SVC=xray
|
||||
#DISABLED_SVC=https-dns-proxy
|
||||
|
||||
#DISABLED_SVC=ruantiblock
|
||||
|
||||
@@ -33,3 +33,8 @@ CONFIG_PACKAGE_kmod-nft-tproxy=y
|
||||
#CONFIG_PACKAGE_luci-app-xray=y
|
||||
#CONFIG_PACKAGE_v2ray-geoip=y
|
||||
#CONFIG_PACKAGE_v2ray-geosite=y
|
||||
|
||||
CONFIG_PACKAGE_ruantiblock=y
|
||||
CONFIG_PACKAGE_luci-app-ruantiblock=y
|
||||
CONFIG_PACKAGE_ruantiblock-mod-lua=y
|
||||
CONFIG_PACKAGE_ruantiblock-mod-py=y
|
||||
|
||||
7
xmake.sh
7
xmake.sh
@@ -116,6 +116,13 @@ function build_target {
|
||||
sed -i 's/ squashfs-sys/ sys/g' $XDIR/target/linux/mediatek/image/mt7622.mk
|
||||
sed -i 's/ squashfs-sys/ sys/g' $XDIR/target/linux/mediatek/image/mt7623.mk
|
||||
fi
|
||||
fi
|
||||
|
||||
AWG_LUCI_MK=$XDIR/package/feeds/_ruantiblock/luci-app-ruantiblock/Makefile
|
||||
if [ -f $AWG_LUCI_MK ]; then
|
||||
if ! grep "PKG_PROVIDES" $AWG_LUCI_MK >/dev/null ; then
|
||||
sed -i 's/LUCI_PKGARCH:=all/LUCI_PKGARCH:=all\nPKG_PROVIDES:=luci-app-ruantiblock/g' $AWG_LUCI_MK
|
||||
fi
|
||||
fi
|
||||
|
||||
make defconfig
|
||||
|
||||
Reference in New Issue
Block a user