Add new additional package luci-app-homeproxy
This commit is contained in:
@@ -45,3 +45,6 @@ CONFIG_FEED__alpine_fan_control=m
|
|||||||
|
|
||||||
### luci-app-xray
|
### luci-app-xray
|
||||||
#GIT_PACKAGE luci-app-xray=https://github.com/yichya/luci-app-xray.git master
|
#GIT_PACKAGE luci-app-xray=https://github.com/yichya/luci-app-xray.git master
|
||||||
|
|
||||||
|
### luci-app-homeproxy
|
||||||
|
#GIT_PACKAGE luci-app-homeproxy=https://github.com/immortalwrt/homeproxy.git master
|
||||||
|
|||||||
@@ -227,3 +227,4 @@ CONFIG_PACKAGE_luci-i18n-nlbwmon-ru=y
|
|||||||
#DISABLED_SVC=shadowsocks-libev
|
#DISABLED_SVC=shadowsocks-libev
|
||||||
#DISABLED_SVC=xray_core
|
#DISABLED_SVC=xray_core
|
||||||
#DISABLED_SVC=xray
|
#DISABLED_SVC=xray
|
||||||
|
#DISABLED_SVC=homeproxy
|
||||||
|
|||||||
@@ -28,3 +28,7 @@ CONFIG_PACKAGE_kmod-nft-tproxy=y
|
|||||||
CONFIG_PACKAGE_luci-app-xray=y
|
CONFIG_PACKAGE_luci-app-xray=y
|
||||||
#CONFIG_PACKAGE_v2ray-geoip=y
|
#CONFIG_PACKAGE_v2ray-geoip=y
|
||||||
#CONFIG_PACKAGE_v2ray-geosite=y
|
#CONFIG_PACKAGE_v2ray-geosite=y
|
||||||
|
|
||||||
|
#CONFIG_PACKAGE_sing-box=y
|
||||||
|
#CONFIG_PACKAGE_chinadns-ng=y
|
||||||
|
CONFIG_PACKAGE_luci-app-homeproxy=y
|
||||||
|
|||||||
15
xmake.sh
15
xmake.sh
@@ -72,6 +72,21 @@ if [ -f $LUCI_XRAY_MK ]; then
|
|||||||
sed -i 's/ +xray-core / /g' $LUCI_XRAY_MK
|
sed -i 's/ +xray-core / /g' $LUCI_XRAY_MK
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
HOMEPROXY_MK=$XDIR/package/addons/luci-app-homeproxy/Makefile
|
||||||
|
if [ -f $HOMEPROXY_MK ]; then
|
||||||
|
pkg_chinadns=$( get_cfg_pkg_flag $CFG chinadns-ng )
|
||||||
|
if [ "$pkg_chinadns" != "y" ]; then
|
||||||
|
# Forced disable chinadns-ng package
|
||||||
|
sed -i '/CONFIG_PACKAGE_chinadns-ng=/d' $CFG
|
||||||
|
sed -i 's/+chinadns-ng /+luci /g' $HOMEPROXY_MK
|
||||||
|
fi
|
||||||
|
pkg_sing_box=$( get_cfg_pkg_flag $CFG sing-box )
|
||||||
|
if [ "$pkg_sing_box" != "y" ]; then
|
||||||
|
# Forced disable sing-box package
|
||||||
|
sed -i '/CONFIG_PACKAGE_sing-box=/d' $CFG
|
||||||
|
sed -i 's/+sing-box /+luci /g' $HOMEPROXY_MK
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
make defconfig
|
make defconfig
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user