From 9edfe7dd13d973b2d0c754d79dabdeebaeb13d49 Mon Sep 17 00:00:00 2001 From: Daniel Engberg Date: Tue, 4 Oct 2016 07:28:54 -0500 Subject: source: Switch to xz for packages and tools where possible * Change git packages to xz * Update mirror checksums in packages where they are used * Change a few source tarballs to xz if available upstream * Remove unused lines in packages we're touching, requested by jow- and blogic * We're relying more on xz-utils so add official mirror as primary source, master site as secondary. * Add SHA256 checksums to multiple git tarball packages Signed-off-by: Daniel Engberg --- tools/b43-tools/Makefile | 4 ++-- tools/dosfstools/Makefile | 4 ++-- tools/libtool/Makefile | 4 ++-- tools/make-ext4fs/Makefile | 5 ++--- tools/mtd-utils/Makefile | 5 ++--- tools/sdimage/Makefile | 2 +- tools/upslug2/Makefile | 2 +- tools/xz/Makefile | 8 ++++---- tools/yaffs2/Makefile | 4 ++-- 9 files changed, 18 insertions(+), 20 deletions(-) (limited to 'tools') diff --git a/tools/b43-tools/Makefile b/tools/b43-tools/Makefile index 28a33d6..658b598 100644 --- a/tools/b43-tools/Makefile +++ b/tools/b43-tools/Makefile @@ -10,12 +10,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=b43-tools PKG_VERSION:=019 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/mbuesch/b43-tools.git PKG_SOURCE_PROTO:=git PKG_SOURCE_SUBDIR:=$(PKG_NAME) PKG_SOURCE_VERSION:=8dce53297966b31b6c70a7a03c2433978dd9f288 -#PKG_MIRROR_MD5SUM:=50ca3c763ee21ee213addd17cf1c1b86 +PKG_MIRROR_MD5SUM:=db113e11da82052a8b8a26558b796ae01b105a8200e0f350fe5d8bef3327b52f HOST_BUILD_DIR=$(BUILD_DIR_HOST)/$(PKG_NAME) include $(INCLUDE_DIR)/host-build.mk diff --git a/tools/dosfstools/Makefile b/tools/dosfstools/Makefile index 7b1e22e..73211d2 100644 --- a/tools/dosfstools/Makefile +++ b/tools/dosfstools/Makefile @@ -10,10 +10,10 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dosfstools PKG_VERSION:=4.0 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://github.com/dosfstools/dosfstools/releases/download/v$(PKG_VERSION)/ \ http://fossies.org/linux/misc -PKG_MD5SUM:=d96f46cbc5b84ad4c9766b4fbf6c8e09 +PKG_MD5SUM:=9037738953559d1efe04fc5408b6846216cc0138f7f9d32de80b6ec3c35e7daf HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION) diff --git a/tools/libtool/Makefile b/tools/libtool/Makefile index 9fab8d9..3df1d16 100644 --- a/tools/libtool/Makefile +++ b/tools/libtool/Makefile @@ -9,9 +9,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libtool PKG_VERSION:=2.4 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNU/$(PKG_NAME) -PKG_MD5SUM:=b32b04148ecdd7344abc6fe8bd1bb021 +PKG_MD5SUM:=afcce660d3dc54c63a0a5ba3cf05272239dc3c54bbeba20f6bad250f9dc007ae HOST_BUILD_PARALLEL:=1 diff --git a/tools/make-ext4fs/Makefile b/tools/make-ext4fs/Makefile index f74f602..20cf6cf 100644 --- a/tools/make-ext4fs/Makefile +++ b/tools/make-ext4fs/Makefile @@ -10,13 +10,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=make-ext4fs PKG_VERSION:=2016-08-14 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL=$(LEDE_GIT)/project/make_ext4fs.git PKG_SOURCE_PROTO:=git PKG_SOURCE_VERSION:=484903e4332be6c317f531b008cb2a841a18c506 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_MIRROR_MD5SUM:=b80d6ddcd6f6925e2f5b80775bb96f3e -PKG_CAT:=zcat +PKG_MIRROR_MD5SUM:=5a4473e58dcaed1f41c2391d2326a67af356ca9a3a075fc3486d95276fb9a400 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION) diff --git a/tools/mtd-utils/Makefile b/tools/mtd-utils/Makefile index 6a3518f..e56896a 100644 --- a/tools/mtd-utils/Makefile +++ b/tools/mtd-utils/Makefile @@ -10,12 +10,11 @@ PKG_NAME:=mtd-utils PKG_VERSION:=1.5.2 PKG_SOURCE_VERSION:=aea36417067dade75192bafa03af70b6eb2677b1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz PKG_SOURCE_URL:=git://git.infradead.org/mtd-utils.git PKG_SOURCE_PROTO:=git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_MIRROR_MD5SUM:= -PKG_CAT:=zcat +PKG_MIRROR_MD5SUM:=e11b342b85a36b2e438a8412ec52f87621d3046aec1a93039f8c72de9990b2a7 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION) diff --git a/tools/sdimage/Makefile b/tools/sdimage/Makefile index e590417..52c2b41 100644 --- a/tools/sdimage/Makefile +++ b/tools/sdimage/Makefile @@ -14,7 +14,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/mhei/fsl-imx-uuc.git PKG_SOURCE_VERSION:=2b99403b6dc60a22b07eb7a5cc0cb184abb89bdd PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION) -PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.bz2 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.xz PKG_LICENSE:=GPL-2.0+ PKG_LICENSE_FILES:=LICENSE diff --git a/tools/upslug2/Makefile b/tools/upslug2/Makefile index 33b1ff5..b28f9ef 100644 --- a/tools/upslug2/Makefile +++ b/tools/upslug2/Makefile @@ -13,7 +13,7 @@ PKG_SOURCE_URL:=http://svn.nslu2-linux.org/svnroot/upslug2/trunk PKG_SOURCE_PROTO:=svn PKG_SOURCE_SUBDIR:=upslug2-$(PKG_VERSION) PKG_SOURCE_VERSION:=41 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz include $(INCLUDE_DIR)/host-build.mk diff --git a/tools/xz/Makefile b/tools/xz/Makefile index ce67acf..1bccbdb 100644 --- a/tools/xz/Makefile +++ b/tools/xz/Makefile @@ -9,10 +9,10 @@ include $(TOPDIR)/rules.mk PKG_NAME:=xz PKG_VERSION:=5.2.2 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=http://tukaani.org/xz \ - http://fossies.org/linux/misc -PKG_MD5SUM:=f90c9a0c8b259aee2234c4e0d7fd70af +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_URL:=@SF/lzmautils \ + http://tukaani.org/xz +PKG_MD5SUM:=f341b1906ebcdde291dd619399ae944600edc9193619dd0c0110a5f05bfcc89e HOST_BUILD_PARALLEL:=1 diff --git a/tools/yaffs2/Makefile b/tools/yaffs2/Makefile index bc98a6c..48da131 100644 --- a/tools/yaffs2/Makefile +++ b/tools/yaffs2/Makefile @@ -10,12 +10,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=yaffs2_android PKG_VERSION:=2008-12-18 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://android.googlesource.com/platform/external/yaffs2 PKG_SOURCE_PROTO:=git PKG_SOURCE_SUBDIR:=$(PKG_NAME) PKG_SOURCE_VERSION:=d333fc232d7e5ae3370080d5d6f7d88ea9c6b3a1 -PKG_MIRROR_MD5SUM:=8145d4dd9b46face26121f27ad60cc1c +PKG_MIRROR_MD5SUM:=8ba9beeda93681a5fc3ea79bdc8186d7ed8c73779e7e64302ce38ab1c1a0faf5 HOST_BUILD_DIR=$(BUILD_DIR_HOST)/$(PKG_NAME) include $(INCLUDE_DIR)/host-build.mk -- cgit v1.1