2022-04-28 17:14:35 +08:00
|
|
|
|
2021-09-05 16:48:26 +08:00
|
|
|
#!/bin/bash
|
2022-04-28 17:14:35 +08:00
|
|
|
function git_clone() {
|
|
|
|
git clone --depth 1 $1 $2 || true
|
|
|
|
}
|
|
|
|
function git_sparse_clone() {
|
2022-04-18 20:34:06 +08:00
|
|
|
branch="$1" rurl="$2" localdir="$3" && shift 3
|
|
|
|
git clone -b $branch --depth 1 --filter=blob:none --sparse $rurl $localdir
|
|
|
|
cd $localdir
|
|
|
|
git sparse-checkout init --cone
|
|
|
|
git sparse-checkout set $@
|
|
|
|
mv -n $@ ../
|
|
|
|
cd ..
|
|
|
|
rm -rf $localdir
|
2022-04-28 17:14:35 +08:00
|
|
|
}
|
2021-09-24 23:33:49 +08:00
|
|
|
function mvdir() {
|
|
|
|
mv -n `find $1/* -maxdepth 0 -type d` ./
|
|
|
|
rm -rf $1
|
|
|
|
}
|
2023-01-28 00:31:32 +08:00
|
|
|
git clone --depth 1 https://github.com/kiddin9/my-packages && mvdir my-packages
|
2021-09-24 23:33:49 +08:00
|
|
|
git clone --depth 1 https://github.com/kiddin9/luci-app-dnsfilter
|
|
|
|
git clone --depth 1 https://github.com/kiddin9/aria2
|
|
|
|
git clone --depth 1 https://github.com/kiddin9/luci-app-baidupcs-web
|
|
|
|
git clone --depth 1 https://github.com/kiddin9/qBittorrent-Enhanced-Edition
|
|
|
|
git clone --depth 1 https://github.com/kiddin9/autoshare && mvdir autoshare
|
|
|
|
git clone --depth 1 https://github.com/kiddin9/openwrt-openvpn && mvdir openwrt-openvpn
|
|
|
|
git clone --depth 1 https://github.com/kiddin9/luci-app-xlnetacc
|
2022-03-25 09:16:34 +08:00
|
|
|
git clone --depth 1 https://github.com/kiddin9/luci-app-wizard
|
2023-01-27 15:00:20 +08:00
|
|
|
git clone --depth 1 -b 18.06 https://github.com/kiddin9/luci-theme-edge
|
2022-04-22 18:54:04 +08:00
|
|
|
git clone --depth 1 https://github.com/yichya/luci-app-xray
|
2021-09-24 23:33:49 +08:00
|
|
|
git clone --depth 1 https://github.com/Lienol/openwrt-package
|
2022-03-25 09:16:34 +08:00
|
|
|
git clone --depth 1 https://github.com/ysc3839/openwrt-minieap
|
2022-03-25 12:17:10 +08:00
|
|
|
git clone --depth 1 https://github.com/ysc3839/luci-proto-minieap
|
2021-09-24 23:33:49 +08:00
|
|
|
git clone --depth 1 https://github.com/BoringCat/luci-app-mentohust
|
2022-03-25 11:59:07 +08:00
|
|
|
git clone --depth 1 https://github.com/BoringCat/luci-app-minieap
|
2022-03-25 12:17:10 +08:00
|
|
|
git clone --depth 1 https://github.com/peter-tank/luci-app-dnscrypt-proxy2
|
|
|
|
git clone --depth 1 https://github.com/peter-tank/luci-app-autorepeater
|
2021-09-24 23:33:49 +08:00
|
|
|
git clone --depth 1 https://github.com/rufengsuixing/luci-app-autoipsetadder
|
2022-07-25 20:41:02 +08:00
|
|
|
git clone --depth 1 https://github.com/ElvenP/luci-app-onliner
|
2022-03-25 11:59:07 +08:00
|
|
|
git clone --depth 1 https://github.com/rufengsuixing/luci-app-usb3disable
|
2023-01-29 23:00:26 +08:00
|
|
|
git clone --depth 1 https://github.com/lisaac/luci-app-dockerman dockerman && mv -n dockerman/applications/* ./; rm -rf dockerman
|
2022-03-25 12:17:10 +08:00
|
|
|
git clone --depth 1 https://github.com/riverscn/openwrt-iptvhelper && mvdir openwrt-iptvhelper
|
|
|
|
git clone --depth 1 https://github.com/KyleRicardo/MentoHUST-OpenWrt-ipk
|
2022-03-25 11:59:07 +08:00
|
|
|
git clone --depth 1 https://github.com/NateLol/luci-app-beardropper
|
2022-04-03 17:50:00 +08:00
|
|
|
git clone --depth 1 https://github.com/yaof2/luci-app-ikoolproxy
|
2021-09-24 23:33:49 +08:00
|
|
|
git clone --depth 1 https://github.com/project-lede/luci-app-godproxy
|
2023-01-27 16:22:57 +08:00
|
|
|
git clone --depth 1 https://github.com/sbwml/luci-app-alist openwrt-alist && mv -n openwrt-alist/*alist ./ ; rm -rf openwrt-alist
|
2021-09-24 23:33:49 +08:00
|
|
|
git clone --depth 1 https://github.com/tty228/luci-app-serverchan
|
|
|
|
git clone --depth 1 https://github.com/4IceG/luci-app-sms-tool smstool && mvdir smstool
|
|
|
|
git clone --depth 1 https://github.com/silime/luci-app-xunlei
|
|
|
|
git clone --depth 1 https://github.com/BCYDTZ/luci-app-UUGameAcc
|
|
|
|
git clone --depth 1 https://github.com/ntlf9t/luci-app-easymesh
|
|
|
|
git clone --depth 1 https://github.com/zzsj0928/luci-app-pushbot
|
|
|
|
git clone --depth 1 https://github.com/shanglanxin/luci-app-homebridge
|
2022-03-25 12:17:10 +08:00
|
|
|
git clone --depth 1 https://github.com/esirplayground/luci-app-poweroff
|
|
|
|
git clone --depth 1 https://github.com/esirplayground/LingTiGameAcc
|
|
|
|
git clone --depth 1 https://github.com/esirplayground/luci-app-LingTiGameAcc
|
|
|
|
git clone --depth 1 https://github.com/brvphoenix/luci-app-wrtbwmon wrtbwmon1 && mvdir wrtbwmon1
|
|
|
|
git clone --depth 1 https://github.com/brvphoenix/wrtbwmon wrtbwmon2 && mvdir wrtbwmon2
|
2021-09-24 23:33:49 +08:00
|
|
|
git clone --depth 1 https://github.com/jerrykuku/luci-theme-argon
|
|
|
|
git clone --depth 1 https://github.com/jerrykuku/luci-app-argon-config
|
|
|
|
git clone --depth 1 https://github.com/jerrykuku/luci-app-vssr
|
|
|
|
git clone --depth 1 https://github.com/jerrykuku/luci-app-ttnode
|
2022-03-25 12:17:10 +08:00
|
|
|
git clone --depth 1 https://github.com/jerrykuku/luci-app-jd-dailybonus
|
|
|
|
git clone --depth 1 https://github.com/jerrykuku/luci-app-go-aliyundrive-webdav
|
2023-01-27 15:58:38 +08:00
|
|
|
git clone --depth 1 https://github.com/jerrykuku/lua-maxminddb
|
2021-09-24 23:33:49 +08:00
|
|
|
git clone --depth 1 https://github.com/sirpdboy/luci-app-advanced
|
2022-11-05 16:44:53 +08:00
|
|
|
git clone --depth 1 https://github.com/sirpdboy/luci-theme-opentopd
|
2021-09-24 23:33:49 +08:00
|
|
|
git clone --depth 1 https://github.com/sirpdboy/luci-app-poweroffdevice
|
|
|
|
git clone --depth 1 https://github.com/sirpdboy/luci-app-autotimeset
|
2023-01-27 15:58:38 +08:00
|
|
|
git clone --depth 1 https://github.com/sirpdboy/luci-app-lucky
|
|
|
|
git clone --depth 1 https://github.com/sirpdboy/luci-app-partexp
|
|
|
|
git clone --depth 1 https://github.com/sirpdboy/luci-app-ddns-go ddns-go && mvdir ddns-go
|
|
|
|
git clone --depth 1 https://github.com/sirpdboy/netspeedtest speedtest && mv -f speedtest/*/ ./ && rm -rf speedtest
|
|
|
|
git clone --depth 1 https://github.com/Jason6111/luci-app-netdata
|
2022-04-17 15:51:32 +08:00
|
|
|
git clone --depth 1 https://github.com/KFERMercer/luci-app-tcpdump
|
2022-03-25 12:17:10 +08:00
|
|
|
git clone --depth 1 https://github.com/jefferymvp/luci-app-koolproxyR
|
2021-09-24 23:33:49 +08:00
|
|
|
git clone --depth 1 https://github.com/wolandmaster/luci-app-rtorrent
|
|
|
|
git clone --depth 1 https://github.com/NateLol/luci-app-oled
|
2021-11-22 23:37:39 +08:00
|
|
|
git clone --depth 1 https://github.com/hubbylei/luci-app-clash
|
2021-09-24 23:33:49 +08:00
|
|
|
git clone --depth 1 https://github.com/destan19/OpenAppFilter && mvdir OpenAppFilter
|
|
|
|
git clone --depth 1 https://github.com/lvqier/luci-app-dnsmasq-ipset
|
|
|
|
git clone --depth 1 https://github.com/walkingsky/luci-wifidog luci-app-wifidog
|
|
|
|
git clone --depth 1 https://github.com/CCnut/feed-netkeeper && mvdir feed-netkeeper
|
|
|
|
git clone --depth 1 https://github.com/sensec/luci-app-udp2raw
|
|
|
|
git clone --depth 1 https://github.com/LGA1150/openwrt-sysuh3c && mvdir openwrt-sysuh3c
|
|
|
|
git clone --depth 1 https://github.com/gdck/luci-app-cupsd cupsd1 && mv -n cupsd1/luci-app-cupsd cupsd1/cups/cups ./ ; rm -rf cupsd1
|
2023-01-27 15:58:38 +08:00
|
|
|
git clone --depth 1 https://github.com/QiuSimons/openwrt-mos && mv -n openwrt-mos/{*mosdns,v2ray-geodata} ./ ; rm -rf openwrt-mos
|
2022-04-19 21:28:45 +08:00
|
|
|
git clone --depth 1 https://github.com/peter-tank/luci-app-fullconenat
|
2021-12-04 02:27:29 +08:00
|
|
|
git clone --depth 1 https://github.com/sundaqiang/openwrt-packages && mv -n openwrt-packages/luci-* ./; rm -rf openwrt-packages
|
2022-02-12 16:02:06 +08:00
|
|
|
git clone --depth 1 https://github.com/zxlhhyccc/luci-app-v2raya
|
2022-05-28 18:16:19 +08:00
|
|
|
git clone --depth 1 https://github.com/kenzok8/luci-theme-ifit ifit && mv -n ifit/luci-theme-ifit ./;rm -rf ifit
|
2022-03-25 11:23:54 +08:00
|
|
|
git clone --depth 1 https://github.com/kenzok78/openwrt-minisign
|
2022-03-25 09:16:34 +08:00
|
|
|
git clone --depth 1 https://github.com/kenzok78/luci-theme-argonne
|
|
|
|
git clone --depth 1 https://github.com/kenzok78/luci-app-argonne-config
|
2022-03-25 11:23:54 +08:00
|
|
|
git clone --depth 1 https://github.com/thinktip/luci-theme-neobird
|
2022-03-25 12:17:10 +08:00
|
|
|
git clone --depth 1 -b lede https://github.com/pymumu/luci-app-smartdns
|
2022-05-05 11:25:13 +08:00
|
|
|
git clone --depth 1 https://github.com/ophub/luci-app-amlogic amlogic && mv -n amlogic/luci-app-amlogic ./;rm -rf amlogic
|
2022-09-05 17:03:21 +08:00
|
|
|
git clone --depth 1 https://github.com/linkease/nas-packages && mv -n nas-packages/{network/services/*,multimedia/*} ./; rm -rf nas-packages
|
|
|
|
git clone --depth 1 https://github.com/linkease/nas-packages-luci && mv -n nas-packages-luci/luci/* ./; rm -rf nas-packages-luci
|
|
|
|
git clone --depth 1 https://github.com/linkease/istore && mv -n istore/luci/* ./; rm -rf istore
|
2023-01-27 15:58:38 +08:00
|
|
|
git clone --depth 1 https://github.com/AlexZhuo/luci-app-bandwidthd
|
2022-09-05 17:03:21 +08:00
|
|
|
git clone --depth 1 https://github.com/linkease/openwrt-app-actions
|
2022-09-05 17:09:19 +08:00
|
|
|
git clone --depth 1 https://github.com/ZeaKyX/luci-app-speedtest-web
|
|
|
|
git clone --depth 1 https://github.com/ZeaKyX/speedtest-web
|
2022-11-02 23:21:47 +08:00
|
|
|
git clone --depth 1 https://github.com/Huangjoe123/luci-app-eqos
|
2023-01-26 15:52:30 +08:00
|
|
|
git clone --depth 1 https://github.com/honwen/luci-app-aliddns
|
2023-01-25 19:45:49 +08:00
|
|
|
|
2023-01-27 15:37:22 +08:00
|
|
|
git clone --depth 1 https://github.com/Hyy2001X/AutoBuild-Packages && mv -n AutoBuild-Packages/luci-app-adguardhome ./; rm -rf AutoBuild-Packages
|
|
|
|
git clone --depth 1 https://github.com/vernesong/OpenClash && mv -n OpenClash/luci-app-openclash ./; rm -rf OpenClash
|
|
|
|
git clone --depth 1 https://github.com/messense/aliyundrive-webdav aliyundrive && mv -n aliyundrive/openwrt/* ./ ; rm -rf aliyundrive
|
|
|
|
git clone --depth 1 https://github.com/messense/aliyundrive-fuse aliyundrive && mv -n aliyundrive/openwrt/* ./;rm -rf aliyundrive
|
|
|
|
git clone --depth 1 https://github.com/kenzok8/litte && mv -n litte/luci-theme-atmaterial_new litte/luci-theme-mcat litte/luci-theme-tomato ./ ; rm -rf litte
|
|
|
|
git clone --depth 1 https://github.com/fw876/helloworld && mv -n helloworld/luci-app-ssr-plus helloworld/lua-neturl helloworld/v2raya helloworld/naiveproxy helloworld/sagernet-core helloworld/tcping helloworld/redsocks2 helloworld/microsocks ./ ; rm -rf helloworld
|
|
|
|
git clone --depth 1 https://github.com/xiaorouji/openwrt-passwall && mvdir openwrt-passwall
|
|
|
|
git clone --depth 1 https://github.com/xiaorouji/openwrt-passwall2 passwall2 && mv -n passwall2/luci-app-passwall2 ./;rm -rf passwall2
|
|
|
|
git clone --depth 1 -b luci https://github.com/xiaorouji/openwrt-passwall passwall && mv -n passwall/luci-app-passwall ./;rm -rf passwall
|
|
|
|
git clone --depth 1 https://github.com/SSSSSimon/tencentcloud-openwrt-plugin-ddns && mv -n tencentcloud-openwrt-plugin-ddns/tencentcloud_ddns ./luci-app-tencentddns; rm -rf tencentcloud-openwrt-plugin-ddns
|
|
|
|
git clone --depth 1 https://github.com/Tencent-Cloud-Plugins/tencentcloud-openwrt-plugin-cos && mv -n tencentcloud-openwrt-plugin-cos/tencentcloud_cos ./luci-app-tencentcloud-cos; rm -rf tencentcloud-openwrt-plugin-cos
|
2023-01-28 01:40:31 +08:00
|
|
|
git clone --depth 1 https://github.com/kiddin9/openwrt-packages && mv -n openwrt-packages/luci-app-bypass openwrt-packages/luci-app-fileassistant ./ ; rm -rf openwrt-packages
|
2023-01-27 15:37:22 +08:00
|
|
|
git clone --depth 1 https://github.com/immortalwrt/packages && mv -n packages/net/gost packages/net/smartdns packages/net/adguardhome packages/net/cdnspeedtest packages/utils/filebrowser ./ ; rm -rf packages
|
2023-01-29 23:00:26 +08:00
|
|
|
git clone --depth 1 https://github.com/immortalwrt/luci && mv -n luci/applications/luci-app-unblockneteasemusic luci/applications/luci-app-msd_lite luci/applications/luci-app-gost luci/applications/luci-app-filebrowser ./ ; rm -rf luci
|
2023-01-27 15:37:22 +08:00
|
|
|
git clone --depth 1 https://github.com/mingxiaoyu/luci-app-cloudflarespeedtest cloudflarespeedtest && mv -n cloudflarespeedtest/applications/* ./;rm -rf cloudflarespeedtest
|
|
|
|
git clone --depth 1 https://github.com/doushang/luci-app-shortcutmenu luci-shortcutmenu && mv -n luci-shortcutmenu/luci-app-shortcutmenu ./ ; rm -rf luci-shortcutmenu
|
|
|
|
git clone --depth 1 https://github.com/sbilly/netmaker-openwrt && mv -n netmaker-openwrt/netmaker ./; rm -rf netmaker-openwrt
|
|
|
|
git clone --depth 1 https://github.com/coolsnowwolf/packages && mv -n packages/multimedia/UnblockNeteaseMusic packages/multimedia/UnblockNeteaseMusic-Go packages/net/msd_lite ./ ; rm -rf packages
|
|
|
|
|
2022-10-08 19:48:30 +08:00
|
|
|
svn export https://github.com/coolsnowwolf/luci/trunk/libs/luci-lib-ipkg
|
2022-04-26 15:34:38 +08:00
|
|
|
svn export https://github.com/x-wrt/packages/trunk/net/nft-qos
|
|
|
|
svn export https://github.com/x-wrt/luci/trunk/applications/luci-app-nft-qos
|
|
|
|
svn export https://github.com/Lienol/openwrt-package/branches/other/lean/luci-app-autoreboot
|
|
|
|
svn export https://github.com/Ysurac/openmptcprouter-feeds/trunk/luci-app-iperf
|
|
|
|
svn export https://github.com/openwrt/packages/trunk/net/shadowsocks-libev
|
2022-03-25 12:17:10 +08:00
|
|
|
|
2023-01-26 15:29:02 +08:00
|
|
|
git_sparse_clone master "https://github.com/coolsnowwolf/packages" "leanpack" net/miniupnpd net/mwan3 multimedia/UnblockNeteaseMusic-Go \
|
2022-03-25 10:17:32 +08:00
|
|
|
multimedia/UnblockNeteaseMusic net/amule net/baidupcs-web multimedia/gmediarender net/go-aliyundrive-webdav \
|
|
|
|
net/qBittorrent-static net/qBittorrent libs/qtbase libs/qttools libs/rblibtorrent \
|
|
|
|
net/uugamebooster net/verysync net/dnsforwarder net/nps net/microsocks net/tcpping net/redsocks2
|
|
|
|
|
2023-01-28 01:26:44 +08:00
|
|
|
git_sparse_clone master "https://github.com/immortalwrt/packages" "immpack" net/sub-web \
|
2022-03-25 10:30:14 +08:00
|
|
|
net/smartdns net/dnsproxy net/haproxy net/v2raya net/cdnspeedtest \
|
2022-03-25 10:06:28 +08:00
|
|
|
net/subconverter net/ngrokc net/oscam net/njitclient net/scutclient net/gost net/gowebdav \
|
2022-03-25 09:16:34 +08:00
|
|
|
admin/bpytop libs/jpcre2 libs/wxbase libs/rapidjson libs/libcron libs/quickjspp libs/toml11 \
|
|
|
|
utils/cpulimit utils/filebrowser
|
|
|
|
|
2023-01-28 01:26:44 +08:00
|
|
|
git_sparse_clone develop "https://github.com/Ysurac/openmptcprouter-feeds" "enmptcp" luci-app-snmpd \
|
2022-03-25 10:06:28 +08:00
|
|
|
luci-app-packet-capture luci-app-mail msmtp
|
2023-01-28 01:26:44 +08:00
|
|
|
git_sparse_clone master "https://github.com/x-wrt/com.x-wrt" "x-wrt" natflow lua-ipops luci-app-macvlan
|
2022-03-25 10:06:28 +08:00
|
|
|
|
2023-01-28 01:26:44 +08:00
|
|
|
git_sparse_clone openwrt-21.02 "https://github.com/openwrt/openwrt" "21openwrt" package/libs/mbedtls \
|
|
|
|
git_sparse_clone openwrt-21.02 "https://github.com/openwrt/packages" "21packages" \
|
2022-03-25 10:06:28 +08:00
|
|
|
net/openvpn utils/cgroupfs-mount utils/coremark net/xray-core net/nginx net/uwsgi net/ddns-scripts admin/netdata
|
2022-03-13 21:56:09 +08:00
|
|
|
|
2021-09-24 23:33:49 +08:00
|
|
|
mv -n openwrt-passwall/* ./ ; rm -Rf openwrt-passwall
|
|
|
|
mv -n openwrt-package/* ./ ; rm -Rf openwrt-package
|
2022-03-13 21:56:09 +08:00
|
|
|
|
2021-09-05 16:48:26 +08:00
|
|
|
rm -rf ./*/.git & rm -f ./*/.gitattributes
|
|
|
|
rm -rf ./*/.svn & rm -rf ./*/.github & rm -rf ./*/.gitignore
|
2022-03-13 21:56:09 +08:00
|
|
|
|
2022-04-15 18:58:49 +08:00
|
|
|
sed -i \
|
|
|
|
-e 's?include \.\./\.\./\(lang\|devel\)?include $(TOPDIR)/feeds/packages/\1?' \
|
|
|
|
-e 's?2. Clash For OpenWRT?3. Applications?' \
|
|
|
|
-e 's?\.\./\.\./luci.mk?$(TOPDIR)/feeds/luci/luci.mk?' \
|
|
|
|
-e 's/ca-certificates/ca-bundle/' \
|
|
|
|
*/Makefile
|
|
|
|
|
|
|
|
sed -i 's/luci-lib-ipkg/luci-base/g' luci-app-store/Makefile
|
|
|
|
sed -i "/minisign:minisign/d" luci-app-dnscrypt-proxy2/Makefile
|
|
|
|
sed -i 's/+dockerd/+dockerd +cgroupfs-mount/' luci-app-docker*/Makefile
|
|
|
|
sed -i '$i /etc/init.d/dockerd restart &' luci-app-docker*/root/etc/uci-defaults/*
|
|
|
|
sed -i 's/+libcap /+libcap +libcap-bin /' luci-app-openclash/Makefile
|
|
|
|
sed -i 's/\(+luci-compat\)/\1 +luci-theme-argon/' luci-app-argon-config/Makefile
|
|
|
|
sed -i 's/\(+luci-compat\)/\1 +luci-theme-argonne/' luci-app-argonne-config/Makefile
|
|
|
|
sed -i 's/ +uhttpd-mod-ubus//' luci-app-packet-capture/Makefile
|
|
|
|
sed -i 's/ ip.neighbors/ luci.ip.neighbors/' luci-app-wifidog/luasrc/model/cbi/wifidog/wifidog_cfg.lua
|
2022-04-26 15:41:46 +08:00
|
|
|
sed -i "s/nas/services/g" `grep nas -rl luci-app-fileassistant`
|
|
|
|
sed -i "s/NAS/Services/g" `grep NAS -rl luci-app-fileassistant`
|
2022-07-13 16:20:43 +08:00
|
|
|
find -type f -name Makefile -exec sed -ri 's#mosdns[-_]neo#mosdns#g' {} \;
|
2022-04-15 18:58:49 +08:00
|
|
|
|
|
|
|
bash diy/create_acl_for_luci.sh -a >/dev/null 2>&1
|
|
|
|
bash diy/convert_translation.sh -a >/dev/null 2>&1
|
|
|
|
|
2022-05-13 17:57:24 +08:00
|
|
|
rm -rf create_acl_for_luci.err & rm -rf create_acl_for_luci.ok
|
|
|
|
rm -rf create_acl_for_luci.warn
|
|
|
|
|
2022-03-25 10:34:43 +08:00
|
|
|
exit 0
|