From: Daniel Engberg Date: Sat, 7 Jan 2017 19:16:17 +0000 (+0100) Subject: net/zerotier: Fix source tarball filename X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=9984b851faebbb9a4a8bef55ce3eb93939fb29bf;p=openwrt-packages.git net/zerotier: Fix source tarball filename HTTP header content-disposition isn't honored resulting in source tarball name only containing version number. Switch to GIT repo as workaround to avoid clashing filenames. Signed-off-by: Daniel Engberg --- diff --git a/net/zerotier/Makefile b/net/zerotier/Makefile index 4b58ef0cd..f838ffc06 100644 --- a/net/zerotier/Makefile +++ b/net/zerotier/Makefile @@ -11,11 +11,13 @@ PKG_RELEASE:=4 PKG_LICENSE:=GPL-3.0 -PKG_SOURCE:=$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://github.com/zerotier/ZeroTierOne/archive/ +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/zerotier/ZeroTierOne PKG_SOURCE_SUBDIR:=ZeroTierOne-$(PKG_VERSION) +PKG_SOURCE_VERSION:=ae491c277e6f35d1acbdcbf700e2b834957295ae +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_MIRROR_MD5SUM:=c8c3219c995a59161832d580a194f6280de7a4eef75cebece6f38400b64f003e PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR) -PKG_MD5SUM:=5e381f0864797886b3b3bf20beb49bba PKG_BUILD_DEPENDS:=uclibcxx PKG_BUILD_PARALLEL:=1