diff mbox series

[meta-oe,06/12] tclap: Build from the 1.4.0 release tarball

Message ID 20261202060612.3378528-7-khem.raj@oss.qualcomm.com
State New
Headers show
Series Fix broken upstream version checks in meta-oe | expand

Commit Message

Khem Raj Dec. 2, 2026, 6:06 a.m. UTC
tclap 1.4.0 (and 1.6.0) are published only as SourceForge release
tarballs; the git repository has no tags for them, only 1.4.0-rc1/rc2.
The recipe built a snapshot of the 1.4 branch and its upstream check
could never see a release, so it was declared UPSTREAM_VERSION_UNKNOWN.

Fetch the release tarball and check the SourceForge file listing
instead. The check now sees 1.6.0 as the next version.

License-Update: copyright year range extended to 2017-2026

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 ...ibjson-perl_4.05000.bb => libjson-perl_4.11.bb} |  0
 meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb      | 14 +++++++-------
 2 files changed, 7 insertions(+), 7 deletions(-)
 rename meta-oe/recipes-devtools/perl/{libjson-perl_4.05000.bb => libjson-perl_4.11.bb} (100%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/perl/libjson-perl_4.05000.bb b/meta-oe/recipes-devtools/perl/libjson-perl_4.11.bb
similarity index 100%
rename from meta-oe/recipes-devtools/perl/libjson-perl_4.05000.bb
rename to meta-oe/recipes-devtools/perl/libjson-perl_4.11.bb
diff --git a/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb b/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
index 2b9f10514e..1031220c45 100644
--- a/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
+++ b/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
@@ -8,14 +8,14 @@  objects, such as IntArg, FloatArg, and StringArg. While the library is not stric
 compliant with the GNU or POSIX standards, it is close. \
 "
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=5c64b2e8cc50917b2744a90950faa7cd"
+LIC_FILES_CHKSUM = "file://COPYING;md5=79e4a7d0162e3a5de4c399b35829ca01"
 
-SRCREV = "81b3d2a0c47895c22e9bb8c577f5ab521f76e5d2"
-# The 1.4 line has only -rc tags so far (1.4.0-rc1/rc2), which the checker skips;
-# older stable tags are "vX.Y.Z". Marked unknown until 1.4.0 final is tagged.
-UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
-UPSTREAM_VERSION_UNKNOWN = "1"
-SRC_URI = "git://git.code.sf.net/p/tclap/code;branch=1.4"
+SRC_URI = "${SOURCEFORGE_MIRROR}/tclap/v${PV}/tclap-${PV}.tar.gz"
+SRC_URI[sha256sum] = "413014a7e68740d9aa972a058532e3e9959b4af7509d6ae7b11a8c1828378567"
+
+# Releases are published as tarballs only; the git repository has no tags for them
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/tclap/files/"
+UPSTREAM_CHECK_REGEX = "/files/v(?P<pver>\d+(\.\d+)+)/"
 
 inherit cmake