jq: fix hash mismatch problem
authorBradford Zhang <zyc@zyc.name>
Fri, 30 Sep 2022 13:56:21 +0000 (21:56 +0800)
committerRosen Penev <rosenp@gmail.com>
Thu, 17 Nov 2022 22:54:35 +0000 (14:54 -0800)
change jq source proto to git to deal with hash mismatch problem.

Signed-off-by: Bradford Zhang <zyc@zyc.name>
utils/jq/Makefile

index d0516a8def97eae7e4367fe1cce830ed70025012..66b4306a5cccf5b01c2e740a43bb2ce680b7e0c2 100644 (file)
@@ -12,11 +12,14 @@ PKG_VERSION:=1.6
 PKG_RELEASE:=2
 PKG_LICENSE:=BSD
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://github.com/stedolan/jq/releases/download/jq-$(PKG_VERSION)/
-PKG_HASH:=9625784cf2e4fd9842f1d407681ce4878b5b0dcddbcd31c6135114a30c71e6a8
+PKG_SOURCE_PROTO:=git
+PKG_SOURCE_URL:=https://github.com/stedolan/jq.git
+PKG_SOURCE_DATE:=2018-11-02
+PKG_SOURCE_VERSION:=2e01ff1fb69609540b2bdc4e62a60499f2b2fb8e
+PKG_MIRROR_HASH:=ee52d2dce67dfbea633020d11a908d5818145a2bf87e5a0a17c0ff6885a428a7
 PKG_MAINTAINER:=Marko Ratkaj <markoratkaj@gmail.com>
 
+PKG_FIXUP:=autoreconf
 PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk