[openwrt/openwrt] jansson: cleanup and switch to codeload.github.com

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 10 15:59:12 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/59610c214b7a7ddfc700d87cc3f063f7f2fe6a3e

commit 59610c214b7a7ddfc700d87cc3f063f7f2fe6a3e
Author: Nick Hainke <vincent at systemli.org>
AuthorDate: Sun Jul 3 21:04:23 2022 +0200

    jansson: cleanup and switch to codeload.github.com
    
    - Rearrange Makefile.
    - Switch to codeload.github.com because it looks like new version are
      not longer deployed at www.digip.org
    
    Signed-off-by: Nick Hainke <vincent at systemli.org>
---
 package/libs/jansson/Makefile | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/package/libs/jansson/Makefile b/package/libs/jansson/Makefile
index 5799a362dd..07bab58a54 100644
--- a/package/libs/jansson/Makefile
+++ b/package/libs/jansson/Makefile
@@ -10,13 +10,14 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=jansson
 PKG_VERSION:=2.13.1
 PKG_RELEASE:=2
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://codeload.github.com/akheron/$(PKG_NAME)/tar.gz/v$(PKG_VERSION)?
+PKG_HASH:=f22901582138e3203959c9257cf83eba9929ac41d7be4a42557213a22ebcc7a0
+
 PKG_LICENSE:=MIT
 PKG_LICENSE_FILES:=LICENSE
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=http://www.digip.org/jansson/releases/
-PKG_HASH:=ee90a0f879d2b7b7159124ff22b937a2a9a8c36d3bb65d1da7dd3f04370a10bd
-
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/cmake.mk
 




More information about the lede-commits mailing list