openwisp-config: fetch release tarball instead of git clone

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 <f.capoano@openwisp.io>
Signed-off-by: Gagan Deep <pandafy.dev@gmail.com>
This commit is contained in:
Gagan DeepandFederico Capoano authored and Josef Schlehofer committed 2026-09-13 09:00:47 +02:00
1 parent 5c25f05e1e
commit bc29809524
1 file changed
+3 -4
+3 -4
View 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