From 7dee8c47f1c0bc2a563a7d718cf74f5d91e63a82 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Wed, 5 Mar 2025 15:25:58 +0100 Subject: [PATCH] znc: update to use SOURCE_VERSION for submodule download Commit 9fc79e2e2622 ("download: don't overwrite VERSION variable") changed the variable for direct download call from VERSION to SOURCE_VERSION. This cause the dl_github_archive script to pass empty value for --version arg making it always clone HEAD. Correctly update the variable to SOURCE_VERSION to actually clone the expected commit HASH. Signed-off-by: Christian Marangi --- net/znc/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net/znc/Makefile b/net/znc/Makefile index 89b85e59e4..5434e6530d 100644 --- a/net/znc/Makefile +++ b/net/znc/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=znc PKG_VERSION:=1.9.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://znc.in/releases \ @@ -159,9 +159,9 @@ define playback endef define Download/znc-playback - VERSION:=8dd128bfe2b24b2cc6a9ea2e2d28bfaa28d2a833 + SOURCE_VERSION:=8dd128bfe2b24b2cc6a9ea2e2d28bfaa28d2a833 SUBDIR:=znc-mod-playback - FILE:=znc-playback-$$(VERSION).tar.xz + FILE:=znc-playback-$$(SOURCE_VERSION).tar.xz URL:=https://github.com/jpnurmi/znc-playback.git MIRROR_HASH:=ac89d69048d62c5b15f39cc0d357a111ce4053816062e7bc1e553392b36fbd71 PROTO:=git @@ -195,9 +195,9 @@ define push endef define Download/znc-push - VERSION:=23d84678de2696e0b1f51aa5074764d29a98d37b + SOURCE_VERSION:=23d84678de2696e0b1f51aa5074764d29a98d37b SUBDIR:=znc-mod-push - FILE:=znc-push-$$(VERSION).tar.xz + FILE:=znc-push-$$(SOURCE_VERSION).tar.xz URL:=https://github.com/amyreese/znc-push.git MIRROR_HASH:=b1ec076ee8a37b8ff8cb530852d7639fbfce3df4a963cae29375056382020394 PROTO:=git -- 2.30.2