diff mbox series

package/libuecc: switch to a functional Github repo

Message ID 20240824190720.2370919-1-thomas.petazzoni@bootlin.com
State Accepted
Headers show
Series package/libuecc: switch to a functional Github repo | expand

Commit Message

Thomas Petazzoni Aug. 24, 2024, 7:07 p.m. UTC
The https://projects.universe-factory.net/attachments/download/85 URL
no longer works, so let's switch to what appears to be the official
Github repo:

  https://github.com/neocturne/libuecc

The v7 in this Github is 100% identical to the v7 that was available
from https://projects.universe-factory.net/attachments/download/85.

Also at
https://metadata.ftp-master.debian.org/changelogs//main/libu/libuecc/libuecc_7-5_copyright
Debian lists https://github.com/NeoRaider/libuecc as the source, and
this URL redirects to https://github.com/neocturne/libuecc.

Thanks to the original tarball being a .tar.xz, and our Github macro
generating a .tar.gz, the filename is different, and therefore the
different hash will not be an issue.

Fixes:

  http://autobuild.buildroot.org/results/c4c24bd06bc7889c46d78e14d5bef528340d4463/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/libuecc/libuecc.hash | 4 +---
 package/libuecc/libuecc.mk   | 3 +--
 2 files changed, 2 insertions(+), 5 deletions(-)

Comments

Peter Korsgaard Aug. 26, 2024, 8:43 p.m. UTC | #1
>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:

 > The https://projects.universe-factory.net/attachments/download/85 URL
 > no longer works, so let's switch to what appears to be the official
 > Github repo:

 >   https://github.com/neocturne/libuecc

 > The v7 in this Github is 100% identical to the v7 that was available
 > from https://projects.universe-factory.net/attachments/download/85.

 > Also at
 > https://metadata.ftp-master.debian.org/changelogs//main/libu/libuecc/libuecc_7-5_copyright
 > Debian lists https://github.com/NeoRaider/libuecc as the source, and
 > this URL redirects to https://github.com/neocturne/libuecc.

 > Thanks to the original tarball being a .tar.xz, and our Github macro
 > generating a .tar.gz, the filename is different, and therefore the
 > different hash will not be an issue.

 > Fixes:

 >   http://autobuild.buildroot.org/results/c4c24bd06bc7889c46d78e14d5bef528340d4463/

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Committed, thanks.
Peter Korsgaard Sept. 18, 2024, 5:50 p.m. UTC | #2
>>>>> "Thomas" == Thomas Petazzoni via buildroot <buildroot@buildroot.org> writes:

 > The https://projects.universe-factory.net/attachments/download/85 URL
 > no longer works, so let's switch to what appears to be the official
 > Github repo:

 >   https://github.com/neocturne/libuecc

 > The v7 in this Github is 100% identical to the v7 that was available
 > from https://projects.universe-factory.net/attachments/download/85.

 > Also at
 > https://metadata.ftp-master.debian.org/changelogs//main/libu/libuecc/libuecc_7-5_copyright
 > Debian lists https://github.com/NeoRaider/libuecc as the source, and
 > this URL redirects to https://github.com/neocturne/libuecc.

 > Thanks to the original tarball being a .tar.xz, and our Github macro
 > generating a .tar.gz, the filename is different, and therefore the
 > different hash will not be an issue.

 > Fixes:

 >   http://autobuild.buildroot.org/results/c4c24bd06bc7889c46d78e14d5bef528340d4463/

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>

Committed to 2024.02.x, thanks.
diff mbox series

Patch

diff --git a/package/libuecc/libuecc.hash b/package/libuecc/libuecc.hash
index b72519f167..7ac5860cd1 100644
--- a/package/libuecc/libuecc.hash
+++ b/package/libuecc/libuecc.hash
@@ -1,5 +1,3 @@ 
-# from https://projects.universe-factory.net/projects/fastd/files
-md5  5cd543cb8e7bce83a22c07a0579c95a1  libuecc-7.tar.xz
 # computed locally
-sha256  b94aef08eab5359d0facaa7ead2ce81b193eef0c61379d9835213ebc0a46257a  libuecc-7.tar.xz
+sha256  465a6584c991c13fddf36700328c44fee9a3baff9025fb5f232b34d003d715e0  libuecc-7.tar.gz
 sha256  ec4d9fcc3a37a7998a9ea4decf38f4c0c91a44fd05bb17638c52fe16f2b12e23  COPYRIGHT
diff --git a/package/libuecc/libuecc.mk b/package/libuecc/libuecc.mk
index aad26e5aff..6251edb636 100644
--- a/package/libuecc/libuecc.mk
+++ b/package/libuecc/libuecc.mk
@@ -5,8 +5,7 @@ 
 ################################################################################
 
 LIBUECC_VERSION = 7
-LIBUECC_SITE = https://projects.universe-factory.net/attachments/download/85
-LIBUECC_SOURCE = libuecc-$(LIBUECC_VERSION).tar.xz
+LIBUECC_SITE = $(call github,neocturne,libuecc,v$(LIBUECC_VERSION))
 LIBUECC_LICENSE = BSD-2-Clause
 LIBUECC_LICENSE_FILES = COPYRIGHT
 LIBUECC_INSTALL_STAGING = YES