Skip to content

Commit

Permalink
package/foot: change to git download to work around codeberg archive …
Browse files Browse the repository at this point in the history
…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 <[email protected]>
  • Loading branch information
jacmet committed Dec 7, 2024
1 parent 38c368e commit 28c982b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package/foot/foot.hash
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions package/foot/foot.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 = \
Expand Down

0 comments on commit 28c982b

Please sign in to comment.