From 07cdf98ba2a2a73a5c137e11ec873ff4716e2874 Mon Sep 17 00:00:00 2001 From: Josef Schlehofer Date: Sun, 14 Feb 2021 09:32:34 +0100 Subject: [PATCH] nebula: use codeload instead of github source code Previous code was downloading file v1.3.0, which is wrong, because in the dl folder there might be some tarballs with that naming and they are wrong as well. This could lead to some issues like this: Hash of the local file v1.3.0.tar.gz does not match (file: 87cf846b02dde6328b84832287d8725d91f12f41366eecb4d59eeda1d6c7efdf, requested: b94fba0251a4a436e25b127d0b9bc0181b991631f1dc8e344b1c8e895b55375d) - deleting download. Even though, if you tried it on SDK or minimal build when there is a small number of packages, you most likely don't encounter it. The correct solution is to download files with their name and version. E.g. nebula-version.tar.gz as it is in PKG_SOURCE variable now. Signed-off-by: Josef Schlehofer --- net/nebula/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/nebula/Makefile b/net/nebula/Makefile index a06ca1bcbd..b6de84df5f 100644 --- a/net/nebula/Makefile +++ b/net/nebula/Makefile @@ -8,8 +8,8 @@ PKG_VERSION:=1.3.0 PKG_RELEASE:=1 PKG_MAINTAINER:=Stan Grishin -PKG_SOURCE:=v$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://github.com/slackhq/nebula/archive/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://codeload.github.com/slackhq/nebula/tar.gz/v$(PKG_VERSION)? PKG_HASH:=b94fba0251a4a436e25b127d0b9bc0181b991631f1dc8e344b1c8e895b55375d PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE -- 2.30.2