Compare commits
3 Commits
v24-250411
...
v24-250506
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91f0229c56 | ||
|
|
c2b23fc75d | ||
|
|
8889b52c08 |
@@ -45,6 +45,10 @@ CONFIG_FEED__alpine_fan_control=m
|
||||
#GIT_FEED _amneziawg=https://github.com/lolo6oT/awg-openwrt.git dev-24.10
|
||||
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
|
||||
|
||||
@@ -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
|
||||
|
||||
16
xmake.sh
16
xmake.sh
@@ -130,6 +130,7 @@ function build_target {
|
||||
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 +240,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
|
||||
|
||||
Reference in New Issue
Block a user