tools: prefer gz or bz2 tarballs
authorRobert Marko <robimarko@gmail.com>
Wed, 3 Apr 2024 17:12:57 +0000 (19:12 +0200)
committerRobert Marko <robimarko@gmail.com>
Sat, 6 Apr 2024 09:24:18 +0000 (11:24 +0200)
In the light of recent XZ events, and fundamental XZ issues lets work on
moving away from using XZ.

So, use gz compressed tarballs as sources whenever possible.

dwarves only offers bz2 compressed tarballs, so use those as size
difference is minor compared to XZ.

Signed-off-by: Robert Marko <robimarko@gmail.com>
dwarves

20 files changed:
tools/autoconf/Makefile
tools/automake/Makefile
tools/bison/Makefile
tools/ccache/Makefile
tools/coreutils/Makefile
tools/dwarves/Makefile
tools/e2fsprogs/Makefile
tools/expat/Makefile
tools/gmp/Makefile
tools/isl/Makefile
tools/libtool/Makefile
tools/m4/Makefile
tools/mpfr/Makefile
tools/patch/Makefile
tools/pkgconf/Makefile
tools/sed/Makefile
tools/sparse/Makefile
tools/tar/Makefile
tools/util-linux/Makefile
tools/zlib/Makefile

index a1ce158031245728ace3d6cc745756eff24ab128..d933c712b41df0e260a72e47116746bcfd34944a 100644 (file)
@@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=autoconf
 PKG_VERSION:=2.71
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/autoconf
-PKG_HASH:=f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4
+PKG_HASH:=431075ad0bf529ef13cb41e9042c542381103e80015686222b8a9d4abef42a1c
 
 include $(INCLUDE_DIR)/host-build.mk
 
index 4c1e5758cbcbcea53e5dcb76d91990db611759f6..7f129c1d838708ad8303e337bac5571589499e80 100644 (file)
@@ -11,9 +11,9 @@ PKG_CPE_ID:=cpe:/a:gnu:automake
 PKG_VERSION:=1.16.5
 PKG_API_VERSION:=$(word 2,$(subst ., ,$(PKG_VERSION)))
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/automake
-PKG_HASH:=f01d58cd6d9d77fbdca9eb4bbd5ead1988228fdb73d6f7a201f5f8d6b118b469
+PKG_HASH:=07bd24ad08a64bc17250ce09ec56e921d6343903943e99ccf63bbf0705e34605
 
 include $(INCLUDE_DIR)/host-build.mk
 
index 0aa0969b20bc5e0cd91dd1850f718a31a0bb2fd1..97d34b5a166161a5b1eb2b676982ff4053fe6a82 100644 (file)
@@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=bison
 PKG_VERSION:=3.8.2
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
-PKG_HASH:=9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2
+PKG_HASH:=06c9e13bdf7eb24d4ceb6b59205a4f67c2c7e7213119644430fe82fbd14a0abb
 PKG_CPE_ID:=cpe:/a:gnu:bison
 
 HOST_BUILD_PARALLEL:=1
index 5720dabf6ed6632f482d8d38ac853b6b3a56d99b..cd2c6d27d5e1cd165ca6b2ba8bfb23febc3d2c75 100644 (file)
@@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=ccache
 PKG_VERSION:=4.9.1
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/ccache/ccache/releases/download/v$(PKG_VERSION)
-PKG_HASH:=4c03bc840699127d16c3f0e6112e3f40ce6a230d5873daa78c60a59c7ef59d25
+PKG_HASH:=12834ecaaaf2db069dda1d1d991f91c19e3274cc04a471af5b64195def17e90f
 
 include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/cmake.mk
index 863028620602393c1ab4ecef9613f3b0813775cd..69d1dcbd370bc4fed83723bcf9326d040a330485 100644 (file)
@@ -10,9 +10,9 @@ PKG_NAME:=coreutils
 PKG_CPE_ID:=cpe:/a:gnu:coreutils
 PKG_VERSION:=9.3
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/coreutils
-PKG_HASH:=adbcfcfe899235b71e8768dcf07cd532520b7f54f9a8064843f8d199a904bbaa
+PKG_HASH:=a33d2c0bc49be3c79a4794944dcd87103bf497b53a14bafcd431c8ca53975252
 
 HOST_BUILD_PARALLEL := 1
 
index f48516fcdfaf89582f3a4978783d445dbe931b85..8d72536b4257e2d109daad279f62b9639881c6d9 100644 (file)
@@ -6,9 +6,9 @@ PKG_NAME:=dwarves
 PKG_VERSION:=1.26
 PKG_RELEASE:=1
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://fedorapeople.org/~acme/dwarves/
-PKG_HASH:=ad4c08339850e404609e2808012580b7e98366d2b91054bb93fe6dca94651fb4
+PKG_HASH:=1d8c9a1c2d42e06cc121a70a39c4f621fd28f15c476ed1b7c7b226f41fdd32df
 
 PKG_LICENSE:=GPL-2.0-only
 PKG_LICENSE_FILES:=COPYING
index 7aafc9f06be38735b941bc1874217154bb7a7fe0..567e6a4c9a8ffbc5fa4f104314dcbd18d895162a 100644 (file)
@@ -10,10 +10,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=e2fsprogs
 PKG_CPE_ID:=cpe:/a:e2fsprogs_project:e2fsprogs
 PKG_VERSION:=1.47.0
-PKG_HASH:=144af53f2bbd921cef6f8bea88bb9faddca865da3fbc657cc9b4d2001097d5db
+PKG_HASH:=0b4fe723d779b0927fb83c9ae709bc7b40f66d7df36433bef143e41c54257084
 PKG_RELEASE:=1
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@KERNEL/linux/kernel/people/tytso/e2fsprogs/v$(PKG_VERSION)/
 
 HOST_BUILD_PARALLEL:=1
index 95e631716cb6f3b0a2f1da3e69c2bb5883ea2af2..4cd9ef11b2ffec2685ec4b6771672e5dba8d9bdf 100644 (file)
@@ -11,8 +11,8 @@ PKG_NAME:=expat
 PKG_CPE_ID:=cpe:/a:libexpat:expat
 PKG_VERSION:=2.6.2
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_HASH:=ee14b4c5d8908b1bec37ad937607eab183d4d9806a08adee472c3c3121d27364
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_HASH:=d4cf38d26e21a56654ffe4acd9cd5481164619626802328506a2869afab29ab3
 PKG_SOURCE_URL:=https://github.com/libexpat/libexpat/releases/download/R_$(subst .,_,$(PKG_VERSION))
 
 HOST_BUILD_PARALLEL:=1
index 7f0a7a7a6a1eb1ed3b6b9ad980b8f6e8ac5838f5..f1aa5b1a4053d5b3168f414b889e482946c24a55 100644 (file)
@@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=gmp
 PKG_VERSION:=6.3.0
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/gmp/
-PKG_HASH:=a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898
+PKG_HASH:=e56fd59d76810932a0555aa15a14b61c16bed66110d3c75cc2ac49ddaa9ab24c
 PKG_CPE_ID:=cpe:/a:gmplib:gmp
 
 HOST_FIXUP:=autoreconf
index 4ad23a63183183d30b984b25ea3a7cda411fafdf..1ce20fb49cb3987b85e1b9af87288b99f8330ba1 100644 (file)
@@ -10,8 +10,8 @@ PKG_NAME:=isl
 PKG_VERSION:=0.26
 
 PKG_SOURCE_URL:=https://libisl.sourceforge.io/
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_HASH:=a0b5cb06d24f9fa9e77b55fabbe9a3c94a336190345c2555f9915bb38e976504
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_HASH:=b10473024cbf17d7db85323121eff0e50f03de14342a03738b4d384b587ce212
 
 HOST_BUILD_PARALLEL:=1
 
index 118719147821b9c163ece69e63ea6a6026fba015..dd9afc05bd86bf5ced55a1f84b9dc890ad98d7a1 100644 (file)
@@ -10,9 +10,9 @@ PKG_NAME:=libtool
 PKG_CPE_ID:=cpe:/a:gnu:libtool
 PKG_VERSION:=2.4.7
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
-PKG_HASH:=4f7f217f057ce655ff22559ad221a0fd8ef84ad1fc5fcb6990cecc333aa1635d
+PKG_HASH:=04e96c2404ea70c590c546eba4202a4e12722c640016c12b9b2f1ce3d481e9a8
 
 HOST_BUILD_PARALLEL:=1
 
index d621000daf56c1fe7c1453e3edca1c8762183106..ee369f3cbb3d995f9103a6d2acfa2d5923e32a72 100644 (file)
@@ -10,10 +10,9 @@ PKG_NAME:=m4
 PKG_CPE_ID:=cpe:/a:gnu:m4
 PKG_VERSION:=1.4.19
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
-PKG_HASH:=63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96
-PKG_CAT:=xzcat
+PKG_HASH:=3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70
 
 HOST_BUILD_PARALLEL:=1
 
index e7f5106a672c0a521bf4691a9c31517a2d75caa4..bfbbf399d2cc625c3adc05001980c23df05732a3 100644 (file)
@@ -11,8 +11,8 @@ PKG_VERSION:=4.2.1
 PKG_CPE_ID:=cpe:/a:mpfr:gnu_mpfr
 
 PKG_SOURCE_URL:=@GNU/mpfr http://www.mpfr.org/mpfr-$(PKG_VERSION)
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
-PKG_HASH:=277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_HASH:=116715552bd966c85b417c424db1bbdf639f53836eb361549d1f8d6ded5cb4c6
 
 HOST_BUILD_PARALLEL:=1
 HOST_FIXUP:=autoreconf
index 957fe6e309f85c7e0f881cefad4868976c0d46de..f4cf588622ffa985ae67388d54295ef027fcd455 100644 (file)
@@ -11,9 +11,9 @@ PKG_VERSION:=2.7.6
 PKG_RELEASE:=7
 PKG_CPE_ID:=cpe:/a:gnu:patch
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/patch
-PKG_HASH:=ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd
+PKG_HASH:=8cf86e00ad3aaa6d26aca30640e86b0e3e1f395ed99f189b06d4c9f74bc58a4e
 
 HOST_BUILD_PARALLEL := 1
 
index e1dea71c8a31c4b8556b51ee3e4c139052c34ba0..517b8d847ba874420a2a82479e02523c2daa8b4c 100644 (file)
@@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=pkgconf
 PKG_VERSION:=2.1.1
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://distfiles.dereferenced.org/pkgconf
-PKG_HASH:=3a224f2accf091b77a5781316e27b9ee3ba82c083cc2e539e08940b68a44fec5
+PKG_HASH:=1a00b7fa08c7b506a24c40f7cc8d9e0e59be748d731af8f7aa0b4d722bd8ccbe
 
 PKG_CPE_ID:=cpe:/a:pkgconf:pkgconf
 
index 49cbc72e6e1db674e5046615bf7128ad4fde36ea..f6bb61e2295cfa121759f8206d3574c5c3b65ba3 100644 (file)
@@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=sed
 PKG_VERSION:=4.9
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
-PKG_HASH:=6e226b732e1cd739464ad6862bd1a1aba42d7982922da7a53519631d24975181
+PKG_HASH:=d1478a18f033a73ac16822901f6533d30b6be561bcbce46ffd7abce93602282e
 PKG_CPE_ID:=cpe:/a:gnu:sed
 
 export SED:=
index e08bd1d05f55a128788203ff7687269c4b5b0383..74d25bfbde6908dc6635bb0f7effe2e93ebe465c 100644 (file)
@@ -7,10 +7,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=sparse
 
 PKG_VERSION:=0.6.4
-PKG_HASH:=6ab28b4991bc6aedbd73550291360aa6ab3df41f59206a9bde9690208a6e387c
+PKG_HASH:=8b907c007459a66db110496f0a02fcff1c3c8b67ddff37b959fb102a28424209
 PKG_RELEASE:=1
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@KERNEL/software/devel/sparse/dist/
 
 PKG_BUILD_PARALLEL:=1
index 47aad9ec6e0404e1da5f1a46d2d2e5f2d9a923fa..a05ffc43816720c50317c00b1470324edbf241be 100644 (file)
@@ -10,9 +10,9 @@ PKG_NAME:=tar
 PKG_CPE_ID:=cpe:/a:gnu:tar
 PKG_VERSION:=1.34
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@GNU/tar
-PKG_HASH:=63bebd26879c5e1eea4352f0d03c991f966aeb3ddeb3c7445c902568d5411d28
+PKG_HASH:=03d908cf5768cfe6b7ad588c921c6ed21acabfb2b79b788d1330453507647aed
 
 HOST_BUILD_PARALLEL:=1
 
index acd819e38b78b2a9f4a67e45babb3c84fc20ef1a..846005ebe9210eafe75832e65350aaabafa478f6 100644 (file)
@@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=util-linux
 PKG_VERSION:=2.39.3
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@KERNEL/linux/utils/$(PKG_NAME)/v2.39
-PKG_HASH:=7b6605e48d1a49f43cc4b4cfc59f313d0dd5402fa40b96810bd572e167dfed0f
+PKG_HASH:=40ea07584d56c310455471afa92c119ec259776a561af7159cc802344c2c370d
 PKG_CPE_ID:=cpe:/a:kernel:util-linux
 
 HOST_BUILD_PARALLEL:=1
index 6786e14be40d7c135737fd0a78c9c664c606d6eb..f7434456787a07d208cb681d6d5d845112678674 100644 (file)
@@ -11,9 +11,9 @@ PKG_NAME:=zlib
 PKG_VERSION:=1.3.1
 PKG_RELEASE:=1
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/madler/zlib/releases/download/v$(PKG_VERSION)
-PKG_HASH:=38ef96b8dfe510d42707d9c781877914792541133e1870841463bfa73f883e32
+PKG_HASH:=9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23
 
 PKG_LICENSE:=Zlib
 PKG_LICENSE_FILES:=README