From 328a3b815d5ac64fa1be997a535175cdd3f7fc05 Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Mon, 2 Sep 2024 22:57:06 +0200 Subject: [PATCH] package/babeld: update URL site As reported in [1], version 1.9.2 has been moved to another archive, and it is recommended to use https://github.com/jech/babeld as the official repository. The use of the github macro: $(call github,jech,babeld,babeld-$(BABELD_VERSION)) would have downloaded a file with the same name (e.g. babeld-1.9.2.tar.gz) but with a different hash from the one downloaded from the previous URL, creating unacceptable backward compatibility issues. Therefore, it was decided to download the package via the git method. In this way, the downloaded file is babeld-babeld-1.9.2-br1.tar.gz, thus with a different name, to which its SHA can be associated without side effects, except for breaking the release monitoring process. Unfortunately, for now, we will have to live with this limitation. Particularly interesting are the explanations provided by Yann E. Morin, which you can find in [2], that guided the creation of this patch. Fixes: - http://autobuild.buildroot.org/results/2447060c86acf1bd8d6ee0bcf8f9b6adcdfc50c9 [1] https://alioth-lists.debian.net/pipermail/babel-users/2024-August/004187.html [2] https://patchwork.ozlabs.org/project/buildroot/patch/20240901063634.3504315-1-dario.binacchi@amarulasolutions.com/ Co-Developed-by: Yann E. MORIN Signed-off-by: Yann E. MORIN Signed-off-by: Dario Binacchi Signed-off-by: Thomas Petazzoni (cherry picked from commit 9172ffc3b425e2520827d0592b1fffef59b906c5) [Peter: adjust filename and hash for 2024.02.x] Signed-off-by: Peter Korsgaard --- package/babeld/babeld.hash | 2 +- package/babeld/babeld.mk | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package/babeld/babeld.hash b/package/babeld/babeld.hash index 2e0513efa0..5c33bc5ccf 100644 --- a/package/babeld/babeld.hash +++ b/package/babeld/babeld.hash @@ -1,3 +1,3 @@ # Locally computed -sha256 154f00e0a8bf35d6ea9028886c3dc5c3c342dd1a367df55ef29a547b75867f07 babeld-1.9.2.tar.gz +sha256 41a99b340b568a12ba58486cf07a63ab01b8dbbc8da1c4e833c30dc251340aaa babeld-babeld-1.9.2-br1.tar.gz sha256 b415c41292cedef6c97b243609e50552887c29343566c639f23282d31efd2afd LICENCE diff --git a/package/babeld/babeld.mk b/package/babeld/babeld.mk index 785fa2bce9..ac32e798c8 100644 --- a/package/babeld/babeld.mk +++ b/package/babeld/babeld.mk @@ -4,8 +4,9 @@ # ################################################################################ -BABELD_VERSION = 1.9.2 -BABELD_SITE = http://www.pps.univ-paris-diderot.fr/~jch/software/files +BABELD_VERSION = babeld-1.9.2 +BABELD_SITE = https://github.com/jech/babeld +BABELD_SITE_METHOD = git BABELD_LICENSE = MIT BABELD_LICENSE_FILES = LICENCE