From 28c982b5f4ea6f4e619ab02ab62407d764f7d9f3 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 6 Dec 2024 16:04:43 +0100 Subject: [PATCH] package/foot: change to git download to work around codeberg archive issue Fixes: http://autobuild.buildroot.net/results/1959614f6ad63878c390a23770a6778830d6c698/ The tarball downloaded from codeberg has changed. Interesting enough, it is only the compression that has changed, the uncompressed data is still identical: mkdir s.b.o codeberg wget -P codeberg https://codeberg.org/dnkl/foot/archive/1.16.2.tar.gz wget -P s.b.o http://sources.buildroot.org/foot/1.16.2.tar.gz sha256sum */* 0e02af376e5f4a96eeb90470b7ad2e79a1d660db2a7d1aa772be43c7db00e475 codeberg/1.16.2.tar.gz 8060ec28cbf6e2e3d408665330da4bc48fd094d4f1265d7c58dc75c767463c29 s.b.o/1.16.2.tar.gz gunzip */* sha256sum */* 7b9fad0611c75d6ba8f53d12ad1366d53c8697240031a5b27334d173b76560fe codeberg/1.16.2.tar 7b9fad0611c75d6ba8f53d12ad1366d53c8697240031a5b27334d173b76560fe s.b.o/1.16.2.tar Looking at the autobuilder history, this seems to have changed in January/February, E.G. on January 20th the file hash was correct: http://autobuild.buildroot.net/results/d4b90a505a035d9bab400ed65f94571854f74f24/ But on February 14th it wasn't: http://autobuild.buildroot.net/results/2ff85fe3fba2d36c7f0358f2ce43e703aef5f4f0/ This was unfortunately only noticed once we started doing builds without the s.b.o fallback. To fix it, change to a git clone instead. Signed-off-by: Peter Korsgaard --- package/foot/foot.hash | 2 +- package/foot/foot.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/foot/foot.hash b/package/foot/foot.hash index f3bf0f60581a..9a4335f2c60d 100644 --- a/package/foot/foot.hash +++ b/package/foot/foot.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 8060ec28cbf6e2e3d408665330da4bc48fd094d4f1265d7c58dc75c767463c29 1.16.2.tar.gz +sha256 ff81bca86178ef326588176f8bdf817bb3e0fbc891d026960144f69c8a74eb4d foot-1.16.2-git4.tar.gz sha256 d534a23a31500a0ac958d9634b84f532bd73ff1aca1bb8f7debbcbebc16ff39a LICENSE diff --git a/package/foot/foot.mk b/package/foot/foot.mk index 1595e2a71855..e300d04d0a6e 100644 --- a/package/foot/foot.mk +++ b/package/foot/foot.mk @@ -5,8 +5,8 @@ ################################################################################ FOOT_VERSION = 1.16.2 -FOOT_SOURCE = $(FOOT_VERSION).tar.gz -FOOT_SITE = https://codeberg.org/dnkl/foot/archive +FOOT_SITE = https://codeberg.org/dnkl/foot.git +FOOT_SITE_METHOD = git FOOT_LICENSE = MIT FOOT_LICENSE_FILES = LICENSE FOOT_DEPENDENCIES = \