From 5cb230959edae2e79d90c1a25fd85dc2bcf0b1b6 Mon Sep 17 00:00:00 2001 From: Jiaying Song Date: Tue, 26 Aug 2025 12:27:44 +0800 Subject: [PATCH] libconfig: switch source to GitHub repository The original tarball URL no longer provides version 1.7.3 or any other historical releases.To ensure reproducible builds, the source has been switched to the official GitHub repository. Signed-off-by: Jiaying Song Signed-off-by: Khem Raj (cherry picked from commit c5de36f5882f0dbaa63f88bb8f9010910cdbb9cf) Signed-off-by: Gyorgy Sarvari --- meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb b/meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb index 6382569923..f897d22c5d 100644 --- a/meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb +++ b/meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb @@ -7,15 +7,17 @@ SECTION = "libs" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=fad9b3332be894bab9bc501572864b29" -SRC_URI = "https://hyperrealm.github.io/libconfig/dist/libconfig-${PV}.tar.gz" +SRC_URI = "git://github.com/hyperrealm/libconfig.git;protocol=https;branch=master" +SRCREV = "525922a6b49ca19235cdf307376e7c9c539d1b93" +S = "${WORKDIR}/git" + +# needed when we modify grammar.y with above patch +DEPENDS += "bison-native" UPSTREAM_CHECK_URI = "https://github.com/hyperrealm/libconfig/releases" UPSTREAM_CHECK_REGEX = "Version (?P\d+(\.\d+)+)" inherit autotools-brokensep pkgconfig -SRC_URI[md5sum] = "15ec701205f91f21b1187f8b61e0d64f" -SRC_URI[sha256sum] = "545166d6cac037744381d1e9cc5a5405094e7bfad16a411699bcff40bbb31ee7" - PACKAGE_BEFORE_PN = "${PN}++" FILES:${PN}++ = "${libdir}/${BPN}++*${SOLIBS}"