diff mbox series

[meta-oe] libconfig: switch source to GitHub repository

Message ID 20250825074558.2945810-1-jiaying.song.cn@windriver.com
State Accepted
Headers show
Series [meta-oe] libconfig: switch source to GitHub repository | expand

Commit Message

Song, Jiaying (CN) Aug. 25, 2025, 7:45 a.m. UTC
From: Jiaying Song <jiaying.song.cn@windriver.com>

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 <jiaying.song.cn@windriver.com>
---
 meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Khem Raj Aug. 26, 2025, 2:54 a.m. UTC | #1
On Mon, Aug 25, 2025 at 12:46 AM Song, Jiaying (CN) via
lists.openembedded.org
<Jiaying.Song.CN=windriver.com@lists.openembedded.org> wrote:
>
> From: Jiaying Song <jiaying.song.cn@windriver.com>
>
> 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 <jiaying.song.cn@windriver.com>
> ---
>  meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb | 6 +++---
>  1 file changed, 3 insertions(+), 3 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 a4df707dd7..ace2698fa4 100644
> --- a/meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb
> +++ b/meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb
> @@ -7,9 +7,11 @@ 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 \

add tag=v${PV} as well.

>      file://0001-Fix-declarations-to-allow-build-with-gcc-15.patch \
>  "
> +SRCREV = "525922a6b49ca19235cdf307376e7c9c539d1b93"
> +S = "${WORKDIR}/git"

setting S not needed.

>
>  # needed when we modify grammar.y with above patch
>  DEPENDS += "bison-native"
> @@ -19,7 +21,5 @@ UPSTREAM_CHECK_REGEX = "Version (?P<pver>\d+(\.\d+)+)"
>
>  inherit autotools-brokensep pkgconfig
>
> -SRC_URI[sha256sum] = "545166d6cac037744381d1e9cc5a5405094e7bfad16a411699bcff40bbb31ee7"
> -
>  PACKAGE_BEFORE_PN = "${PN}++"
>  FILES:${PN}++ = "${libdir}/${BPN}++*${SOLIBS}"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#119092): https://lists.openembedded.org/g/openembedded-devel/message/119092
> Mute This Topic: https://lists.openembedded.org/mt/114878025/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Song, Jiaying (CN) Aug. 26, 2025, 4:22 a.m. UTC | #2
Thanks for the review and reminder. I have updated the recipe and sent V2.

Best regards,
Jiaying

-----Original Message-----
From: Khem Raj <raj.khem@gmail.com> 
Sent: Tuesday, August 26, 2025 10:54 AM
To: Song, Jiaying (CN) <Jiaying.Song.CN@windriver.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [meta-oe][PATCH] libconfig: switch source to GitHub repository

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

On Mon, Aug 25, 2025 at 12:46 AM Song, Jiaying (CN) via lists.openembedded.org <Jiaying.Song.CN=windriver.com@lists.openembedded.org> wrote:
>
> From: Jiaying Song <jiaying.song.cn@windriver.com>
>
> 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 <jiaying.song.cn@windriver.com>
> ---
>  meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb | 6 +++---
>  1 file changed, 3 insertions(+), 3 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 a4df707dd7..ace2698fa4 100644
> --- a/meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb
> +++ b/meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb
> @@ -7,9 +7,11 @@ 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=mast
> +er \

add tag=v${PV} as well.

>      file://0001-Fix-declarations-to-allow-build-with-gcc-15.patch \  
> "
> +SRCREV = "525922a6b49ca19235cdf307376e7c9c539d1b93"
> +S = "${WORKDIR}/git"

setting S not needed.

>
>  # needed when we modify grammar.y with above patch  DEPENDS += 
> "bison-native"
> @@ -19,7 +21,5 @@ UPSTREAM_CHECK_REGEX = "Version (?P<pver>\d+(\.\d+)+)"
>
>  inherit autotools-brokensep pkgconfig
>
> -SRC_URI[sha256sum] = "545166d6cac037744381d1e9cc5a5405094e7bfad16a411699bcff40bbb31ee7"
> -
>  PACKAGE_BEFORE_PN = "${PN}++"
>  FILES:${PN}++ = "${libdir}/${BPN}++*${SOLIBS}"
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#119092): 
> https://lists.openembedded.org/g/openembedded-devel/message/119092
> Mute This Topic: https://lists.openembedded.org/mt/114878025/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
> [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

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 a4df707dd7..ace2698fa4 100644
--- a/meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb
+++ b/meta-oe/recipes-extended/libconfig/libconfig_1.7.3.bb
@@ -7,9 +7,11 @@  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 \
     file://0001-Fix-declarations-to-allow-build-with-gcc-15.patch \
 "
+SRCREV = "525922a6b49ca19235cdf307376e7c9c539d1b93"
+S = "${WORKDIR}/git"
 
 # needed when we modify grammar.y with above patch
 DEPENDS += "bison-native"
@@ -19,7 +21,5 @@  UPSTREAM_CHECK_REGEX = "Version (?P<pver>\d+(\.\d+)+)"
 
 inherit autotools-brokensep pkgconfig
 
-SRC_URI[sha256sum] = "545166d6cac037744381d1e9cc5a5405094e7bfad16a411699bcff40bbb31ee7"
-
 PACKAGE_BEFORE_PN = "${PN}++"
 FILES:${PN}++ = "${libdir}/${BPN}++*${SOLIBS}"