Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/wireguard-tools: switch to git-based source download
@ 2026-11-13  9:26 Sebastian Michel
  2026-11-14 14:00 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Michel @ 2026-11-13  9:26 UTC (permalink / raw)
  To: buildroot; +Cc: Sebastian Michel

Upstream wireguard-tools has replaced published release
tarballs in the past, causing Buildroot's hash validation to fail
despite the version being unchanged.
Switch to fetching sources directly from git tags to avoid relying
on potentially changing release archives.

Signed-off-by: Sebastian Michel <sebastian.michel@oss.othermo.de>
---
 package/wireguard-tools/wireguard-tools.hash | 2 +-
 package/wireguard-tools/wireguard-tools.mk   | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/wireguard-tools/wireguard-tools.hash b/package/wireguard-tools/wireguard-tools.hash
index 52e50fb752..ae6a9e4ae8 100644
--- a/package/wireguard-tools/wireguard-tools.hash
+++ b/package/wireguard-tools/wireguard-tools.hash
@@ -1,4 +1,4 @@
 # https://lists.zx2c4.com/pipermail/wireguard/2026-February/009514.html
-sha256  af459827b80bfd31b83b08077f4b5843acb7d18ad9a33a2ef532d3090f291fbf  wireguard-tools-1.0.20260223.tar.xz
 # Locally calculated
+sha256  f8c66849ab99ba1244360d7ed5fcc3280650b2364b5694d79b683c52b1445461  wireguard-tools-v1.0.20260223-git4.tar.gz
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
diff --git a/package/wireguard-tools/wireguard-tools.mk b/package/wireguard-tools/wireguard-tools.mk
index 444581b397..8c8fc2dd2f 100644
--- a/package/wireguard-tools/wireguard-tools.mk
+++ b/package/wireguard-tools/wireguard-tools.mk
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-WIREGUARD_TOOLS_VERSION = 1.0.20260223
-WIREGUARD_TOOLS_SITE = https://git.zx2c4.com/wireguard-tools/snapshot
-WIREGUARD_TOOLS_SOURCE = wireguard-tools-$(WIREGUARD_TOOLS_VERSION).tar.xz
+WIREGUARD_TOOLS_VERSION = v1.0.20260223
+WIREGUARD_TOOLS_SITE = https://git.zx2c4.com/wireguard-tools/
+WIREGUARD_TOOLS_SITE_METHOD = git
 WIREGUARD_TOOLS_LICENSE = GPL-2.0
 WIREGUARD_TOOLS_LICENSE_FILES = COPYING
 WIREGUARD_TOOLS_SELINUX_MODULES = wireguard
-- 
2.56.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-16  9:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-13  9:26 [Buildroot] [PATCH] package/wireguard-tools: switch to git-based source download Sebastian Michel
2026-11-14 14:00 ` Peter Korsgaard
2026-11-16  8:15   ` Sebastian Michel
2026-11-16  9:38     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox