zstd: fix package source
authorDavid Bauer <mail@david-bauer.net>
Mon, 7 Dec 2020 03:53:02 +0000 (04:53 +0100)
committerDavid Bauer <mail@david-bauer.net>
Thu, 14 Jan 2021 00:05:48 +0000 (01:05 +0100)
It looks like GitHub changed the URL path for release tarballs, thus the
download for the zstd package was always falling back to the OpenWrt
sources mirror.

Fix the GitHub URL for one which works. The file hash remains unchanged.

Signed-off-by: David Bauer <mail@david-bauer.net>
tools/zstd/Makefile

index ec85362544f1f897a079b3018bd195d90a637929..4ec910d4bae35ec3fe655bf7d0fdc47a51163b1e 100644 (file)
@@ -4,7 +4,8 @@ PKG_NAME:=zstd
 PKG_VERSION:=1.4.4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=@GITHUB/facebook/zstd/releases/download/v$(PKG_VERSION)
+PKG_SOURCE_URL_FILE:=v$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://github.com/facebook/zstd/archive/
 PKG_HASH:=a364f5162c7d1a455cc915e8e3cf5f4bd8b75d09bc0f53965b0c9ca1383c52c8
 
 PKG_LICENSE:=BSD-3-Clause