aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2020-05-22 12:48:47 +0200
committerAlexander Couzens <lynxis@fe80.eu>2020-06-14 02:42:21 +0200
commit69e7d14e1b6e402c9970e6e8834c510f0b7ad836 (patch)
tree305d47e2a07d0b9d138738249fe7c8cdd8a5bb81
parenta241f439dcedabe0b083d01243334e767e52f498 (diff)
downloadupstream-69e7d14e1b6e402c9970e6e8834c510f0b7ad836.tar.gz
upstream-69e7d14e1b6e402c9970e6e8834c510f0b7ad836.tar.bz2
upstream-69e7d14e1b6e402c9970e6e8834c510f0b7ad836.zip
musl: use official release tar
To prevent "wrong" musl packages which have a new version number but the package still contains an old version, because PKG_SOURCE_VERSION was unchanged. Ref: musl ml https://www.openwall.com/lists/musl/2020/05/22/4 Reviewed-by: Petr Štetiar <ynezz@true.cz> Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
-rw-r--r--toolchain/musl/common.mk9
1 files changed, 3 insertions, 6 deletions
diff --git a/toolchain/musl/common.mk b/toolchain/musl/common.mk
index e1354f2635..6a59577108 100644
--- a/toolchain/musl/common.mk
+++ b/toolchain/musl/common.mk
@@ -11,12 +11,9 @@ PKG_NAME:=musl
PKG_VERSION:=1.1.24
PKG_RELEASE:=1
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=ea9525c8bcf6170df59364c4bcd616de1acf8703
-PKG_MIRROR_HASH:=6975c45b9bfe586ac00dbfcd1b1a13ab110af0528028ab3dee03e23e2c0763e5
-PKG_SOURCE_URL:=https://git.musl-libc.org/git/musl
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://musl.libc.org/releases/
+PKG_HASH:=1370c9a812b2cf2a7d92802510cca0058cc37e66a7bedd70051f0a34015022a3
LIBC_SO_VERSION:=$(PKG_VERSION)
PATCH_DIR:=$(PATH_PREFIX)/patches