use my own ssrp

This commit is contained in:
John Doe 2021-10-16 02:03:43 +08:00
parent c2847f33dd
commit 090e5c082f
No known key found for this signature in database
GPG Key ID: 30F190E0C359CB4F
2 changed files with 1 additions and 9 deletions

View File

@ -25,6 +25,7 @@ function merge_feed(){
rm -rf package/custom; mkdir package/custom
merge_feed nas "https://github.com/linkease/nas-packages;master"
merge_feed nas_luci "https://github.com/linkease/nas-packages-luci;main"
merge_package https://github.com/klever1988/helloworld/trunk/luci-app-ssr-plus
merge_package https://github.com/klever1988/openwrt-mos/trunk/luci-app-mosdns
merge_package https://github.com/klever1988/openwrt-mos/trunk/mosdns
merge_package https://github.com/project-lede/luci-app-godproxy

View File

@ -17,15 +17,6 @@ sed -i '/DEPENDS/ s/$/ +frpc/' `find package/ -follow -type f -path '*/luci-app-
sed -i 's/ +ntfs-3g/ +ntfs3-mount/' `find package/ -follow -type f -path '*/automount/Makefile'`
sed -i '/skip\=/ a skip=`mount | grep -q /dev/$device; echo $?`' `find package/ -follow -type f -path */automount/files/15-automount`
svn export https://github.com/klever1988/helloworld/trunk/luci-app-ssr-plus
dir_ssrp=`find package/ -follow -type d -path '*/luci-app-ssr-plus'`
cp luci-app-ssr-plus/root/etc/ssrplus/black.list ${dir_ssrp}/root/etc/ssrplus/black.list
cp luci-app-ssr-plus/root/etc/ssrplus/white.list ${dir_ssrp}/root/etc/ssrplus/white.list
cp luci-app-ssr-plus/root/etc/ssrplus/blockipv6.sh ${dir_ssrp}/root/etc/ssrplus/blockipv6.sh
cp luci-app-ssr-plus/root/etc/ssrplus/blackipv4.sh ${dir_ssrp}/root/etc/ssrplus/blackipv4.sh
cp luci-app-ssr-plus/root/usr/bin/ssr-rules ${dir_ssrp}/root/usr/bin/ssr-rules
rm -rf luci-app-ssr-plus/
mkdir -p `find package/ -follow -type d -path '*/pdnsd-alt'`/patches
mv $GITHUB_WORKSPACE/patches/99-disallow-aaaa.patch `find package/ -follow -type d -path '*/pdnsd-alt'`/patches