From bc64dd07c6c612aea2a45998cc7211c438fed9a3 Mon Sep 17 00:00:00 2001 From: xiaorouji <60100640+xiaorouji@users.noreply.github.com> Date: Wed, 14 Aug 2024 22:58:27 +0800 Subject: [PATCH] treewide: add PKG_SOURCE Add this variable, otherwise on Openwrt master will zst compression will be used. --- dns2socks/Makefile | 4 ++-- gn/Makefile | 1 + pdnsd-alt/Makefile | 1 + shadowsocksr-libev/Makefile | 1 + ssocks/Makefile | 1 + trojan-plus/Makefile | 1 + 6 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dns2socks/Makefile b/dns2socks/Makefile index 47662fa..a2ce047 100644 --- a/dns2socks/Makefile +++ b/dns2socks/Makefile @@ -8,8 +8,8 @@ PKG_NAME:=dns2socks PKG_VERSION:=2.1 PKG_RELEASE:=2 -PKG_SOURCE:=SourceCode.zip -PKG_SOURCE_URL:=@SF/dns2socks +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip +PKG_SOURCE_URL:=@SF/dns2socks/SourceCode.zip? PKG_SOURCE_DATE:=2020-02-18 PKG_HASH:=406b5003523577d39da66767adfe54f7af9b701374363729386f32f6a3a995f4 diff --git a/gn/Makefile b/gn/Makefile index 54cc874..a1ca39e 100644 --- a/gn/Makefile +++ b/gn/Makefile @@ -12,6 +12,7 @@ PKG_SOURCE_URL:=https://gn.googlesource.com/gn.git PKG_SOURCE_DATE:=2024-05-13 PKG_SOURCE_VERSION:=df98b86690c83b81aedc909ded18857296406159 PKG_MIRROR_HASH:=3c3ce5cb69a8ec210bb6574db84d53745f7f58e1d82442af0423f69f7190c31f +PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.xz PKG_LICENSE:=BSD 3-Clause PKG_LICENSE_FILES:=LICENSE diff --git a/pdnsd-alt/Makefile b/pdnsd-alt/Makefile index 37edb88..3a66f76 100644 --- a/pdnsd-alt/Makefile +++ b/pdnsd-alt/Makefile @@ -13,6 +13,7 @@ PKG_SOURCE_URL:=https://github.com/shadowsocks/pdnsd.git PKG_SOURCE_DATE:=2012-04-26 PKG_SOURCE_VERSION:=a8e46ccba7b0fa2230d6c42ab6dcd92926f6c21d PKG_MIRROR_HASH:=e3e9c56cf91b12d8db73def2c247be2f726a052bed012f7a1e48946375f8e478 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz PKG_BUILD_PARALLEL:=1 PKG_INSTALL:=1 diff --git a/shadowsocksr-libev/Makefile b/shadowsocksr-libev/Makefile index 5b960a4..a55bf0d 100644 --- a/shadowsocksr-libev/Makefile +++ b/shadowsocksr-libev/Makefile @@ -15,6 +15,7 @@ PKG_SOURCE_URL:=https://github.com/shadowsocksrr/shadowsocksr-libev PKG_SOURCE_DATE:=2018-03-07 PKG_SOURCE_VERSION:=d63ff863800a5645aca4309d5dd5962bd1e95543 PKG_MIRROR_HASH:=34308ed827a5dd4f4e35619914102d55b00604faa44fda051d1d25fb4a319325 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz PKG_LICENSE:=GPL-3.0 PKG_LICENSE_FILES:=LICENSE diff --git a/ssocks/Makefile b/ssocks/Makefile index 2de3b0b..cc8d2a1 100644 --- a/ssocks/Makefile +++ b/ssocks/Makefile @@ -19,6 +19,7 @@ PKG_SOURCE_URL:=https://github.com/tostercx/ssocks.git PKG_SOURCE_DATE:=2020-07-09 PKG_SOURCE_VERSION:=c2024789c1ee076d171fd6061d7c133302216ea7 PKG_MIRROR_HASH:=3654e9f1fb54646e1e89c19e7aa3e105b84b2e20b5b634662c21c66691d1d22e +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE diff --git a/trojan-plus/Makefile b/trojan-plus/Makefile index 5120ab7..73ae057 100644 --- a/trojan-plus/Makefile +++ b/trojan-plus/Makefile @@ -15,6 +15,7 @@ PKG_SOURCE_URL:=https://github.com/peter-tank/trojan-plus.git PKG_SOURCE_DATE:=2020-09-06 PKG_SOURCE_VERSION:=a6394cdd718669b0c7491493a78e61f6f0f899b3 PKG_MIRROR_HASH:=2d37d09fe6d39d7981116ad387706f58f2b30b74a34e27fc5608f267dacc9208 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz PKG_BUILD_PARALLEL:=1 PKG_BUILD_DEPENDS:=openssl