Skip to contentSkip to conversation

cabextract: add UPSTREAM_CHECK variables

PATCH New [email protected] 1 participant 15 messages Aug 21

lore
Share & tools
lore
#0 lore raw

PATCH 1/15 cabextract: add UPSTREAM_CHECK variables

From: Ankur Tyagi <[email protected]>

Fixes:

$ devtool latest-version cabextract
...
INFO: Current version: 1.11
INFO: Latest version: 1.11-1
---
 meta-oe/recipes-support/cabextract/cabextract_1.11.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/cabextract/cabextract_1.11.bb +3 -0
index 0f06489ca9..96e29aef2b 100644
@@ -13,6 +13,9 @@ SRC_URI = "\
 
 SRC_URI[sha256sum] = "b5546db1155e4c718ff3d4b278573604f30dd64c3c5bfd4657cd089b823a3ac6"
 
+UPSTREAM_CHECK_URI = "https://github.com/kyz/libmspack/tags"
+UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
+
 DEPENDS = "libmspack"
 
 EXTRA_OECONF = "--with-external-libmspack"
#1 lore raw

PATCH 2/15 cjose: upgrade 0.6.2.7 -> 0.6.2.8

From: Ankur Tyagi <[email protected]>

Drop patch that is part of the upstream version.

Changelog:
https://github.com/OpenIDC/cjose/releases/tag/v0.6.2.8

---
 ...-the-decoded-buffer-lengths-up-front.patch | 149 ------------------
 .../{cjose_0.6.2.7.bb => cjose_0.6.2.8.bb}    |   6 +-
 2 files changed, 2 insertions(+), 153 deletions(-)
 delete mode 100644 meta-oe/recipes-support/cjose/cjose/0001-jwk-initialize-the-decoded-buffer-lengths-up-front.patch
 rename meta-oe/recipes-support/cjose/{cjose_0.6.2.7.bb => cjose_0.6.2.8.bb} (66%)
meta-oe/recipes-support/cjose/cjose/0001-jwk-initialize-the-decoded-buffer-lengths-up-front.patch deleted +0 -149
deleted file mode 100644
index eace7b659f..0000000000
@@ -1,149 +0,0 @@
-From 5e8337d3c0ad2b19b78098f72814fbe2442226c9 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Wed, 5 Aug 2026 19:27:04 +0000
-Subject: [PATCH] jwk: initialize the decoded buffer lengths up front
-
-_cjose_jwk_import_EC() and _cjose_jwk_import_RSA() declare their
-*_buflen variables in the middle of the function, interleaved with
-error paths that goto the shared cleanup label. When an early decode
-fails, the goto jumps over the remaining declarations and the cleanup
-block then reads them uninitialized:
-
-| jwk.c:1501:9: error: variable 'dq_buflen' is used uninitialized
-|                whenever 'if' condition is true
-|                [-Werror,-Wsometimes-uninitialized]
-| jwk.c:1554:39: note: uninitialized use occurs here
-|     _cjose_cleanse_dealloc(dq_buffer, dq_buflen);
-
-_cjose_cleanse_dealloc() uses the length to wipe key material, so this
-is a real out-of-bounds write hazard on the error path, not just a
-warning. src/Makefile.am builds with -Werror, so it also breaks the
-build with clang.
-
-Declare the lengths alongside the buffers they pair with and assign
-them where they were previously initialized.
-
-Upstream-Status: Submitted [https://github.com/OpenIDC/cjose/pull/32]
-Signed-off-by: Khem Raj <[email protected]>
----
- src/jwk.c | 25 ++++++++++++++-----------
- 1 file changed, 14 insertions(+), 11 deletions(-)
-
-diff --git a/src/jwk.c b/src/jwk.c
-index 9c57a0b..58f872b 100644
---- a/src/jwk.c
-+++ b/src/jwk.c
-@@ -1371,6 +1371,9 @@ static cjose_jwk_t *_cjose_jwk_import_EC(json_t *jwk_json, cjose_err *err)
-     uint8_t *x_buffer = NULL;
-     uint8_t *y_buffer = NULL;
-     uint8_t *d_buffer = NULL;
-+    size_t x_buflen = 0;
-+    size_t y_buflen = 0;
-+    size_t d_buflen = 0;
-
-     // get the value of the crv attribute
-     const char *crv_str = _get_json_object_string_attribute(jwk_json, CJOSE_JWK_CRV_STR, err);
-@@ -1389,7 +1392,7 @@ static cjose_jwk_t *_cjose_jwk_import_EC(json_t *jwk_json, cjose_err *err)
-     }
-
-     // get the decoded value of the x coordinate
--    size_t x_buflen = (size_t)_ec_size_for_curve(crv, err);
-+    x_buflen = (size_t)_ec_size_for_curve(crv, err);
-     if (!_decode_json_object_base64url_attribute(jwk_json, CJOSE_JWK_X_STR, &x_buffer, &x_buflen, err))
-     {
-         CJOSE_ERROR(err, CJOSE_ERR_INVALID_ARG);
-@@ -1397,7 +1400,7 @@ static cjose_jwk_t *_cjose_jwk_import_EC(json_t *jwk_json, cjose_err *err)
-     }
-
-     // get the decoded value of the y coordinate
--    size_t y_buflen = (size_t)_ec_size_for_curve(crv, err);
-+    y_buflen = (size_t)_ec_size_for_curve(crv, err);
-     if (!_decode_json_object_base64url_attribute(jwk_json, CJOSE_JWK_Y_STR, &y_buffer, &y_buflen, err))
-     {
-         CJOSE_ERROR(err, CJOSE_ERR_INVALID_ARG);
-@@ -1405,7 +1408,7 @@ static cjose_jwk_t *_cjose_jwk_import_EC(json_t *jwk_json, cjose_err *err)
-     }
-
-     // get the decoded value of the private key d
--    size_t d_buflen = (size_t)_ec_size_for_curve(crv, err);
-+    d_buflen = (size_t)_ec_size_for_curve(crv, err);
-     if (!_decode_json_object_base64url_attribute(jwk_json, CJOSE_JWK_D_STR, &d_buffer, &d_buflen, err))
-     {
-         CJOSE_ERROR(err, CJOSE_ERR_INVALID_ARG);
-@@ -1455,9 +1458,16 @@ static cjose_jwk_t *_cjose_jwk_import_RSA(json_t *jwk_json, cjose_err *err)
-     uint8_t *dp_buffer = NULL;
-     uint8_t *dq_buffer = NULL;
-     uint8_t *qi_buffer = NULL;
-+    size_t n_buflen = 0;
-+    size_t e_buflen = 0;
-+    size_t d_buflen = 0;
-+    size_t p_buflen = 0;
-+    size_t q_buflen = 0;
-+    size_t dp_buflen = 0;
-+    size_t dq_buflen = 0;
-+    size_t qi_buflen = 0;
-
-     // get the decoded value of n (buflen = 0 means no particular expected len)
--    size_t n_buflen = 0;
-     if (!_decode_json_object_base64url_attribute(jwk_json, CJOSE_JWK_N_STR, &n_buffer, &n_buflen, err))
-     {
-         CJOSE_ERROR(err, CJOSE_ERR_INVALID_ARG);
-@@ -1465,7 +1475,6 @@ static cjose_jwk_t *_cjose_jwk_import_RSA(json_t *jwk_json, cjose_err *err)
-     }
-
-     // get the decoded value of e
--    size_t e_buflen = 0;
-     if (!_decode_json_object_base64url_attribute(jwk_json, CJOSE_JWK_E_STR, &e_buffer, &e_buflen, err))
-     {
-         CJOSE_ERROR(err, CJOSE_ERR_INVALID_ARG);
-@@ -1473,7 +1482,6 @@ static cjose_jwk_t *_cjose_jwk_import_RSA(json_t *jwk_json, cjose_err *err)
-     }
-
-     // get the decoded value of d
--    size_t d_buflen = 0;
-     if (!_decode_json_object_base64url_attribute(jwk_json, CJOSE_JWK_D_STR, &d_buffer, &d_buflen, err))
-     {
-         CJOSE_ERROR(err, CJOSE_ERR_INVALID_ARG);
-@@ -1481,7 +1489,6 @@ static cjose_jwk_t *_cjose_jwk_import_RSA(json_t *jwk_json, cjose_err *err)
-     }
-
-     // get the decoded value of p
--    size_t p_buflen = 0;
-     if (!_decode_json_object_base64url_attribute(jwk_json, CJOSE_JWK_P_STR, &p_buffer, &p_buflen, err))
-     {
-         CJOSE_ERROR(err, CJOSE_ERR_INVALID_ARG);
-@@ -1489,7 +1496,6 @@ static cjose_jwk_t *_cjose_jwk_import_RSA(json_t *jwk_json, cjose_err *err)
-     }
-
-     // get the decoded value of q
--    size_t q_buflen = 0;
-     if (!_decode_json_object_base64url_attribute(jwk_json, CJOSE_JWK_Q_STR, &q_buffer, &q_buflen, err))
-     {
-         CJOSE_ERROR(err, CJOSE_ERR_INVALID_ARG);
-@@ -1497,7 +1503,6 @@ static cjose_jwk_t *_cjose_jwk_import_RSA(json_t *jwk_json, cjose_err *err)
-     }
-
-     // get the decoded value of dp
--    size_t dp_buflen = 0;
-     if (!_decode_json_object_base64url_attribute(jwk_json, CJOSE_JWK_DP_STR, &dp_buffer, &dp_buflen, err))
-     {
-         CJOSE_ERROR(err, CJOSE_ERR_INVALID_ARG);
-@@ -1505,7 +1510,6 @@ static cjose_jwk_t *_cjose_jwk_import_RSA(json_t *jwk_json, cjose_err *err)
-     }
-
-     // get the decoded value of dq
--    size_t dq_buflen = 0;
-     if (!_decode_json_object_base64url_attribute(jwk_json, CJOSE_JWK_DQ_STR, &dq_buffer, &dq_buflen, err))
-     {
-         CJOSE_ERROR(err, CJOSE_ERR_INVALID_ARG);
-@@ -1513,7 +1517,6 @@ static cjose_jwk_t *_cjose_jwk_import_RSA(json_t *jwk_json, cjose_err *err)
-     }
-
-     // get the decoded value of qi
--    size_t qi_buflen = 0;
-     if (!_decode_json_object_base64url_attribute(jwk_json, CJOSE_JWK_QI_STR, &qi_buffer, &qi_buflen, err))
-     {
-         CJOSE_ERROR(err, CJOSE_ERR_INVALID_ARG);
---
-2.43.0
-
meta-oe/recipes-support/cjose/cjose_0.6.2.8.bb renamed from meta-oe/recipes-support/cjose/cjose_0.6.2.7.bb +2 -4
similarity index 66%
rename from meta-oe/recipes-support/cjose/cjose_0.6.2.7.bb
rename to meta-oe/recipes-support/cjose/cjose_0.6.2.8.bb
index 4538d33ef6..492ee0d143 100644
@@ -3,11 +3,9 @@ HOMEPAGE = "https://github.com/OpenIDC/cjose"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7249e2f9437adfb8c88d870438042f0e"
 
-SRC_URI = "git://github.com/OpenIDC/cjose;protocol=https;branch=version-0.6.2.x;tag=v${PV} \
-           file://0001-jwk-initialize-the-decoded-buffer-lengths-up-front.patch \
-           "
+SRC_URI = "git://github.com/OpenIDC/cjose;protocol=https;branch=version-0.6.2.x;tag=v${PV}"
 
-SRCREV = "10af8915a666b50caa5500cdc3f2523b916be720"
+SRCREV = "e787ace6a203d483038a793fd58f958a2f9b48c1"
 
 DEPENDS = "openssl libcheck jansson"
 
#2 lore raw

PATCH 3/15 exempi: add UPSTREAM_CHECK variables

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Fixes:

$ devtool latest-version exempi
...
INFO: Current version: 2.6.6
INFO: Latest version:
---
 meta-oe/recipes-support/exempi/exempi_2.6.6.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/exempi/exempi_2.6.6.bb +3 -0
index 887863dea0..818c459d4f 100644
@@ -8,6 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f816aac8b22d16134477b8e156f0a0f4"
 SRC_URI = "https://libopenraw.freedesktop.org/download/${BPN}-${PV}.tar.xz"
 SRC_URI[sha256sum] = "900fb9957be2095c78e5111b99c49378adac58161a358f52f93c55126f34eb8f"
 
+UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/libopenraw/exempi/-/tags"
+UPSTREAM_CHECK_REGEX = "tags/(?P<pver>\d+(\.\d+)+)"
+
 inherit autotools pkgconfig
 
 DEPENDS = "expat zlib"
#3 lore raw

PATCH 4/15 freeipmi: add UPSTREAM_CHECK variables

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Fixes:

$ devtool latest-version freeipmi
...
INFO: Current version: 1.6.18
INFO: Latest version:
---
 meta-oe/recipes-support/freeipmi/freeipmi_1.6.18.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/freeipmi/freeipmi_1.6.18.bb +3 -0
index 92290f5010..f357be2cb3 100644
@@ -16,6 +16,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
 SRC_URI = "${GNU_MIRROR}/freeipmi/freeipmi-${PV}.tar.gz"
 SRC_URI[sha256sum] = "8098b23820038ad0aa39abf0f9a012e24683d384d9f91e760acb2a68b465e0fe"
 
+UPSTREAM_CHECK_URI = "https://ftp.gnu.org/gnu/freeipmi/"
+UPSTREAM_CHECK_REGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)\.tar\.gz"
+
 DEPENDS = "libgcrypt"
 DEPENDS:append:libc-musl = " argp-standalone"
 
#4 lore raw

PATCH 5/15 glaze: upgrade 8.0.0 -> 8.1.0

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Changelog:
https://github.com/stephenberry/glaze/releases/tag/v8.1.0

---
 .../recipes-support/glaze/{glaze_8.0.0.bb => glaze_8.1.0.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/glaze/{glaze_8.0.0.bb => glaze_8.1.0.bb} (92%)
meta-oe/recipes-support/glaze/glaze_8.1.0.bb renamed from meta-oe/recipes-support/glaze/glaze_8.0.0.bb +1 -1
similarity index 92%
rename from meta-oe/recipes-support/glaze/glaze_8.0.0.bb
rename to meta-oe/recipes-support/glaze/glaze_8.1.0.bb
index a96a729ea1..2d592e0acc 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4d29875d83fbbf50485c846dbbbed8"
 
 SRC_URI = "git://github.com/stephenberry/glaze;protocol=https;branch=main;tag=v${PV}"
 
-SRCREV = "be4481f4b106fc82f0b7bc85f6a92202f8c0dd59"
+SRCREV = "07e5ef2e2d4c53fdfd8603a61be37053b5a27bc5"
 
 inherit cmake
 
#5 lore raw

PATCH 6/15 libconfuse: upgrade 3.3 -> 3.4

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Drop patches that are part of the upstream version

---
 ...rch-path-logic-to-relative-pathnames.patch | 48 -------------------
 .../libconfuse/files/CVE-2022-40320.patch     | 42 ----------------
 .../{libconfuse_3.3.bb => libconfuse_3.4.bb}  |  6 +--
 3 files changed, 1 insertion(+), 95 deletions(-)
 delete mode 100644 meta-oe/recipes-support/libconfuse/files/0001-only-apply-search-path-logic-to-relative-pathnames.patch
 delete mode 100755 meta-oe/recipes-support/libconfuse/files/CVE-2022-40320.patch
 rename meta-oe/recipes-support/libconfuse/{libconfuse_3.3.bb => libconfuse_3.4.bb} (70%)
meta-oe/recipes-support/libconfuse/files/0001-only-apply-search-path-logic-to-relative-pathnames.patch deleted +0 -48
deleted file mode 100644
index aa9fab86e6..0000000000
@@ -1,48 +0,0 @@
-From b684f4cc25821b6e86a58576f864e4b12dfdfecc Mon Sep 17 00:00:00 2001
-From: Rasmus Villemoes <[email protected]>
-Date: Sat, 5 Jun 2021 22:57:51 +0200
-Subject: [PATCH] only apply search path logic to relative pathnames
-
-Adding any directory to the search path via cfg_add_searchpath breaks
-lookup of absolute paths. So change the logic in cfg_searchpath() to
-ignore the search path when the given filename is absolute, and merely
-check that for existence.
-
-This is technically an ABI change, but the current behaviour is quite
-unusual and unexpected.
-
-Upstream-Status: Backport [https://github.com/libconfuse/libconfuse/pull/155]
-
-Signed-off-by: Rasmus Villemoes <[email protected]>
----
- src/confuse.c | 8 ++++++++
- 1 file changed, 8 insertions(+)
-
-diff --git a/src/confuse.c b/src/confuse.c
-index 2ea0254..19b56e3 100644
---- a/src/confuse.c
-+++ b/src/confuse.c
-@@ -1746,12 +1746,20 @@ DLLIMPORT char *cfg_searchpath(cfg_searchpath_t *p, const char *file)
- 		return NULL;
- 	}
- 
-+	if (file[0] == '/') {
-+		fullpath = strdup(file);
-+		if (!fullpath)
-+			return NULL;
-+		goto check;
-+	}
-+
- 	if ((fullpath = cfg_searchpath(p->next, file)) != NULL)
- 		return fullpath;
- 
- 	if ((fullpath = cfg_make_fullpath(p->dir, file)) == NULL)
- 		return NULL;
- 
-+check:
- #ifdef HAVE_SYS_STAT_H
- 	err = stat((const char *)fullpath, &st);
- 	if ((!err) && S_ISREG(st.st_mode))
--- 
-2.31.1
-
meta-oe/recipes-support/libconfuse/files/CVE-2022-40320.patch deleted +0 -42

42 lines not on this page · raw message

meta-oe/recipes-support/libconfuse/libconfuse_3.4.bb renamed from meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb +1 -5
similarity index 70%
rename from meta-oe/recipes-support/libconfuse/libconfuse_3.3.bb
rename to meta-oe/recipes-support/libconfuse/libconfuse_3.4.bb
index b755c5d0b5..3d23fde23f 100644
@@ -3,15 +3,11 @@ LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=42fa47330d4051cd219f7d99d023de3a"
 
 SRC_URI = "https://github.com/libconfuse/libconfuse/releases/download/v${PV}/confuse-${PV}.tar.gz"
-SRC_URI[sha256sum] = "3a59ded20bc652eaa8e6261ab46f7e483bc13dad79263c15af42ecbb329707b8"
+SRC_URI[sha256sum] = "d98a793f4cafc1b3c18e2509ba54f6cb9ac6291b181bcda152dc987cb78f43ec"
 
 UPSTREAM_CHECK_URI = "https://github.com/libconfuse/libconfuse/releases"
 UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
 
-
-SRC_URI += "file://0001-only-apply-search-path-logic-to-relative-pathnames.patch"
-SRC_URI += "file://CVE-2022-40320.patch"
-
 inherit autotools-brokensep pkgconfig gettext
 
 S = "${UNPACKDIR}/confuse-${PV}"
#6 lore raw

PATCH 7/15 libp11: upgrade 0.4.19 -> 0.4.20

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Drop patch that is part of the upstream version

Changelog:
https://github.com/OpenSC/libp11/releases/tag/libp11-0.4.20

---
 ...-p11_ver.h-file-to-installed-headers.patch | 32 -------------------
 .../{libp11_0.4.19.bb => libp11_0.4.20.bb}    |  6 ++--
 2 files changed, 2 insertions(+), 36 deletions(-)
 delete mode 100644 meta-oe/recipes-support/libp11/libp11/0001-Add-missing-p11_ver.h-file-to-installed-headers.patch
 rename meta-oe/recipes-support/libp11/{libp11_0.4.19.bb => libp11_0.4.20.bb} (86%)
meta-oe/recipes-support/libp11/libp11/0001-Add-missing-p11_ver.h-file-to-installed-headers.patch deleted +0 -32
deleted file mode 100644
index a8276179a1..0000000000
@@ -1,32 +0,0 @@
-From 007043d355a9f7f1cd3cb6e80d16cad609fdf2a1 Mon Sep 17 00:00:00 2001
-From: botantony <[email protected]>
-Date: Wed, 22 Jul 2026 02:50:28 +0200
-Subject: [PATCH] Add missing `p11_ver.h` file to installed headers
-
-Running `make install` does not install `p11_ver.h` header which is used
-by `p11_err.h`. This PR fixes it
-
-Found in https://github.com/Homebrew/homebrew-core/pull/294427
-
-Signed-off-by: botantony <[email protected]>
-
-Upstream-Status: Backport [https://github.com/OpenSC/libp11/commit/007043d355a9f7f1cd3cb6e80d16cad609fdf2a1]
----
- src/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 92d3fdb..549ac67 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -9,7 +9,7 @@ EXTRA_DIST = Makefile.mak libp11.rc.in pkcs11.rc.in
-
- # Headers
- noinst_HEADERS= libp11-int.h pkcs11.h p11_pthread.h provider_helpers.h util.h
--include_HEADERS= libp11.h p11_err.h
-+include_HEADERS= libp11.h p11_err.h p11_ver.h
-
- lib_LTLIBRARIES = libp11.la
- enginesexec_LTLIBRARIES =
---
-2.43.0
meta-oe/recipes-support/libp11/libp11_0.4.20.bb renamed from meta-oe/recipes-support/libp11/libp11_0.4.19.bb +2 -4
similarity index 86%
rename from meta-oe/recipes-support/libp11/libp11_0.4.19.bb
rename to meta-oe/recipes-support/libp11/libp11_0.4.20.bb
index ea40e6d4b4..259ecb04b8 100644
@@ -9,11 +9,9 @@ LICENSE = "LGPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fad9b3332be894bab9bc501572864b29"
 DEPENDS = "libtool openssl"
 
-SRC_URI = "git://github.com/OpenSC/libp11.git;branch=master;protocol=https;tag=${BPN}-${PV} \
-           file://0001-Add-missing-p11_ver.h-file-to-installed-headers.patch \
-           "
+SRC_URI = "git://github.com/OpenSC/libp11.git;branch=master;protocol=https;tag=${BPN}-${PV}"
 
-SRCREV = "ae5756ccf5cb7929bb8edc986a9e6a65584406bd"
+SRCREV = "61dc3acf95b859c88844e000001a99948c0abb48"
 
 UPSTREAM_CHECK_GITTAGREGEX = "libp11-(?P<pver>\d+(\.\d+)+)"
 
#7 lore raw

PATCH 8/15 libpaper: fix UPSTREAM_CHECK_REGEX

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Fixes:

$ devtool latest-version libpaper
...
INFO: Current version: 2.2.8
INFO: Latest version: 11.28
---
 meta-oe/recipes-support/libpaper/libpaper_2.2.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/libpaper/libpaper_2.2.8.bb +1 -1
index c8680eb128..83932d3830 100644
@@ -5,7 +5,7 @@ SRC_URI = "https://github.com/rrthomas/libpaper/releases/download/v${PV}/libpape
 SRC_URI[sha256sum] = "1e330571690191874eca415ec76889dd11bab9887a2302d6a3665cd081c4d77b"
 
 UPSTREAM_CHECK_URI = "https://github.com/rrthomas/libpaper/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
 
 inherit perlnative autotools
 
#8 lore raw

PATCH 9/15 librdkafka: add UPSTREAM_CHECK_GITTAGREGEX

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Also include tag in the SRC_URI

Fixes:

$ devtool latest-version librdkafka
...
INFO: Current version: 2.11.1
INFO: Latest version: 64
INFO: Latest version's commit: 1f33da62396378c1f8a92ac4b8c8b4beb6b40617
---
 meta-oe/recipes-support/librdkafka/librdkafka_2.11.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-support/librdkafka/librdkafka_2.11.1.bb +3 -1
index 23ae2fbb29..d7f3ee572d 100644
@@ -7,9 +7,11 @@ LICENSE = "BSD-2-Clause"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=40b04809b5d6f648f20f45143cbcb1ad"
 
-SRC_URI = "git://github.com/edenhill/librdkafka;protocol=https;branch=master"
+SRC_URI = "git://github.com/edenhill/librdkafka;protocol=https;branch=master;tag=v${PV}"
 SRCREV = "69b1865efdc0118cd017760d038d34e52fb3f0d0"
 
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
+
 DEPENDS = "zlib openssl zstd curl"
 
 inherit cmake
#9 lore raw

PATCH 10/15 librdkafka: upgrade 2.11.1 -> 2.15.0

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Changelog:
https://github.com/confluentinc/librdkafka/blob/v2.15.0/CHANGELOG.md

---
 .../librdkafka/{librdkafka_2.11.1.bb => librdkafka_2.15.0.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/librdkafka/{librdkafka_2.11.1.bb => librdkafka_2.15.0.bb} (92%)
meta-oe/recipes-support/librdkafka/librdkafka_2.15.0.bb renamed from meta-oe/recipes-support/librdkafka/librdkafka_2.11.1.bb +1 -1
similarity index 92%
rename from meta-oe/recipes-support/librdkafka/librdkafka_2.11.1.bb
rename to meta-oe/recipes-support/librdkafka/librdkafka_2.15.0.bb
index d7f3ee572d..9a8a84da98 100644
@@ -8,7 +8,7 @@ LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=40b04809b5d6f648f20f45143cbcb1ad"
 
 SRC_URI = "git://github.com/edenhill/librdkafka;protocol=https;branch=master;tag=v${PV}"
-SRCREV = "69b1865efdc0118cd017760d038d34e52fb3f0d0"
+SRCREV = "9a94e11452cdeb0a844db44ee5dd01ccbe17d3ab"
 
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
#10 lore raw

PATCH 11/15 msktutil: fix UPSTREAM_CHECK_REGEX

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Fixes:

$ devtool latest-version msktutil
...
INFO: Current version: 1.2.2
INFO: Latest version: 11.28
---
 meta-oe/recipes-support/msktutil/msktutil_1.2.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/msktutil/msktutil_1.2.2.bb +1 -1
index 3d9322d831..14df6baa0c 100644
@@ -12,7 +12,7 @@ SRC_URI = "https://github.com/msktutil/msktutil/releases/download/${PV}/${BP}.ta
 SRC_URI[sha256sum] = "51314bb222c20e963da61724c752e418261a7bfc2408e7b7d619e82a425f6541"
 
 UPSTREAM_CHECK_URI = "https://github.com/msktutil/msktutil/releases/"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)"
 
 DEPENDS += "krb5 cyrus-sasl openldap"
 
#11 lore raw

PATCH 12/15 onig: fix UPSTREAM_CHECK_REGEX

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Fixes:

$ devtool latest-version onig
...
INFO: Current version: 6.9.10
INFO: Latest version: 11.28
---
 meta-oe/recipes-support/onig/onig_6.9.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/onig/onig_6.9.10.bb +1 -1
index d7419b4ace..36f943e816 100644
@@ -17,7 +17,7 @@ SRC_URI = "\
 SRC_URI[sha256sum] = "2a5cfc5ae259e4e97f86b68dfffc152cdaffe94e2060b770cb827238d769fc05"
 
 UPSTREAM_CHECK_URI = "https://github.com/kkos/oniguruma/releases/"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
 
 BINCONFIG = "${bindir}/onig-config"
 
#12 lore raw

PATCH 13/15 uim: fix UPSTREAM_CHECK_REGEX

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Fixes:

$ devtool latest-version uim
...
INFO: Current version: 1.9.6
INFO: Latest version: 11.28
---
 meta-oe/recipes-support/uim/uim_1.9.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/uim/uim_1.9.6.bb +1 -1
index 1ea0f488ed..a14a122d6a 100644
@@ -13,7 +13,7 @@ SRC_URI:append:class-target = "\
 SRC_URI[sha256sum] = "67f0e5fa4292a533edc6f98b842df60c531a89cf82d0336a4e1ab72202ab8c83"
 
 UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)+)"
 
 DEPENDS = "anthy-unicode fontconfig libxft libxt glib-2.0 ncurses intltool libedit autoconf-archive-native"
 DEPENDS:append:class-target = " intltool-native gtk+ gtk+3 uim-native"
#13 lore raw

PATCH 14/15 cmocka: update SRC_URI and add UPSTREAM_CHECK_TAGREGEX

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Fixes:

$ devtool latest-version cmocka
...
fatal: https://git.cryptomilk.org/projects/cmocka.git/info/refs not valid: could not determine hash algorithm; is this a git repository?

INFO: Current version: 2.0.2
INFO: Latest version:

---
 meta-oe/recipes-test/cmocka/cmocka_2.0.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-test/cmocka/cmocka_2.0.2.bb +2 -1
index 11e8db87d8..26f872a701 100644
@@ -7,10 +7,11 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
 SRCREV = "fefa2b8a023121f7235e18ed17249e4012dd144f"
-SRC_URI = "git://git.cryptomilk.org/projects/cmocka.git;protocol=https;branch=stable-2.0;tag=cmocka-${PV} \
+SRC_URI = "git://gitlab.com/cmocka/cmocka.git;protocol=https;branch=stable-2.0;tag=cmocka-${PV} \
            file://run-ptest \
           "
 
+UPSTREAM_CHECK_TAGREGEX = "${BPN}-(?P<pver>\d+(\.\d+)+)"
 
 inherit cmake ptest
 
#14 lore raw

PATCH 15/15 cockpit: add UPSTREAM_CHECK variables

In reply to [email protected]

From: Ankur Tyagi <[email protected]>

Fixes:

$ devtool latest-version cockpit
...
INFO: Current version: 364
INFO: Latest version:
---
 meta-webserver/recipes-webadmin/cockpit/cockpit_364.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-webserver/recipes-webadmin/cockpit/cockpit_364.bb +3 -0
index 07e2b9d163..2b9c7677fe 100644
@@ -11,6 +11,9 @@ SRC_URI += " \
     "
 SRC_URI[sha256sum] = "514cea072e1ef137323ab92bdb07a66bbb5106ecd584e7a046294cf0170cb690"
 
+UPSTREAM_CHECK_URI = "https://github.com/cockpit-project/cockpit/tags"
+UPSTREAM_CHECK_REGEX = "releases/tag/(?P<pver>\d+(\.\d+)*)"
+
 inherit gettext pkgconfig autotools systemd features_check python3targetconfig
 
 DEPENDS += "glib-2.0-native intltool-native gnutls virtual/gettext json-glib krb5 libpam systemd python3-pip-native python3-setuptools-native"