]> git.99rst.org Git - openwrt-packages.git/commitdiff
openwisp-config: fetch release tarball instead of git clone
authorGagan Deep <redacted>
Wed, 9 Sep 2026 17:09:31 +0000 (17:09 +0000)
committerJosef Schlehofer <redacted>
Sun, 13 Sep 2026 07:00:47 +0000 (09:00 +0200)
Switch source fetch from git clone to the upstream release tarball
published for every tag, as recommended by the feed guidelines.
This replaces PKG_MIRROR_HASH with a plain PKG_HASH of the
codeload tarball.

Co-authored-by: Federico Capoano <redacted>
Signed-off-by: Gagan Deep <redacted>
admin/openwisp-config/Makefile

index 0139475ea0d560c960755bd080ce4b6defb49603..f34ae642adeb850ad4ab59916f7d67aa5e4b17fd 100644 (file)
@@ -11,10 +11,9 @@ PKG_RELEASE:=1
 PKG_MAINTAINER:=Federico Capoano <f.capoano@openwisp.io>
 PKG_LICENSE:=GPL-3.0-or-later
 
-PKG_SOURCE_URL:=https://github.com/openwisp/openwisp-config.git
-PKG_MIRROR_HASH:=0113649c065afff16c8c7364ce8dc36d78707720e04170164db03118c026f0df
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_VERSION:=$(PKG_VERSION)
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=https://codeload.github.com/openwisp/$(PKG_NAME)/tar.gz/$(PKG_VERSION)?
+PKG_HASH:=f7f7d8cec2d37eff4f570e45204ad10543e109d71a2794f649bcb58f4973dfb6
 
 include $(INCLUDE_DIR)/package.mk
 
git clone https://git.99rst.org/PROJECT