[openwrt/openwrt] zstd: fix package source

LEDE Commits lede-commits at lists.infradead.org
Wed Jan 13 19:06:25 EST 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/af49ae7d233666c294353a3cfc3bdf6fec7419fc

commit af49ae7d233666c294353a3cfc3bdf6fec7419fc
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Mon Dec 7 04:53:02 2020 +0100

    zstd: fix package source
    
    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 at david-bauer.net>
---
 tools/zstd/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/zstd/Makefile b/tools/zstd/Makefile
index ec85362544..4ec910d4ba 100644
--- a/tools/zstd/Makefile
+++ b/tools/zstd/Makefile
@@ -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



More information about the lede-commits mailing list