Skip to contentSkip to conversation

ipmtool: add UPSTREAM_CHECK_GITTAGREGEX

PATCH In review Yi Zhao 2 participants 7 messages Sep 28, 2024 – Sep 29, 2024

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/6 ipmtool: add UPSTREAM_CHECK_GITTAGREGEX

Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version ipmitool
INFO: Current version: 1.8.19
INFO: Latest version: 10.
INFO: Latest version's commit: 990f9672c9581ab5fcb6bfed98f5da12edd29411

After the patch:

$ devtool latest-version ipmitool
INFO: Current version: 1.8.19
INFO: Latest version: 1.8.19
INFO: Latest version's commit: 19d78782d795d0cf4ceefe655f616210c9143e62
---
 meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-kernel/ipmitool/ipmitool_1.8.19.bb +3 -0
index dcd3edaf3..f53150cfa 100644
@@ -26,6 +26,9 @@ SRC_URI = "git://codeberg.org/ipmitool/ipmitool;protocol=https;branch=master \
            ${IANA_ENTERPRISE_NUMBERS} \
            file://0001-csv-revision-Drop-the-git-revision-info.patch \
            "
+
+UPSTREAM_CHECK_GITTAGREGEX = "IPMITOOL_(?P<pver>\d+(_\d+)+)"
+
 IANA_ENTERPRISE_NUMBERS ?= ""
 
 # Add these via bbappend if this database is needed by the system
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 2/6 gnulib: upgrade 202401 -> 202407

---
 .../gnulib/{gnulib_202401.bb => gnulib_202407.bb}               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/gnulib/{gnulib_202401.bb => gnulib_202407.bb} (95%)
meta-oe/recipes-support/gnulib/gnulib_202407.bb renamed from meta-oe/recipes-support/gnulib/gnulib_202401.bb +1 -1
similarity index 95%
rename from meta-oe/recipes-support/gnulib/gnulib_202401.bb
rename to meta-oe/recipes-support/gnulib/gnulib_202407.bb
index 41675d358..6a8e9d222 100644
@@ -11,7 +11,7 @@ SECTION = "devel"
 LICENSE = "LGPL-2.0-or-later"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=56a22a6e5bcce45e2c8ac184f81412b5"
-SRCREV = "c99c8d491850dc3a6e0b8604a2729d8bc5c0eff1"
+SRCREV = "02ba2f41c6e88f1c0ef2f90e042dd0b0e44997dc"
 
 SRC_URI = "git://git.savannah.gnu.org/git/gnulib.git;branch=stable-${PV};protocol=https \
 "
Signature · 1 line
2.25.1
#2 lore raw

Re: [oe] [meta-oe][PATCH 2/6] gnulib: upgrade 202401 -> 202407

This patch causes netcf to break -
https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/4182/steps/14/logs/stdio
netcf can be removed these days, if we can remove it from libvirt as dependency, libvirt has already removed it as a needed packaged few years ago. I will accept a removal.

Quoted 35 lines · Yi Zhao via lists.openembedded.org
---
 .../gnulib/{gnulib_202401.bb => gnulib_202407.bb}               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/gnulib/{gnulib_202401.bb => gnulib_202407.bb} (95%)
meta-oe/recipes-support/gnulib/gnulib_202407.bb renamed from meta-oe/recipes-support/gnulib/gnulib_202401.bb +1 -2
similarity index 95%
rename from meta-oe/recipes-support/gnulib/gnulib_202401.bb
rename to meta-oe/recipes-support/gnulib/gnulib_202407.bb
index 41675d358..6a8e9d222 100644
@@ -11,7 +11,7 @@ SECTION = "devel"
 LICENSE = "LGPL-2.0-or-later"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=56a22a6e5bcce45e2c8ac184f81412b5"
-SRCREV = "c99c8d491850dc3a6e0b8604a2729d8bc5c0eff1"
+SRCREV = "02ba2f41c6e88f1c0ef2f90e042dd0b0e44997dc"
 
 SRC_URI = "git://git.savannah.gnu.org/git/gnulib.git;branch=stable-${PV};protocol=https \
 "
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112534): https://lists.openembedded.org/g/openembedded-devel/message/112534
Mute This Topic: https://lists.openembedded.org/mt/108701369/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#3 lore raw

PATCH 3/6 fio: upgrade 3.36 -> 3.37

In reply to Yi Zhao

* Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable version.

---
 meta-oe/recipes-benchmark/fio/{fio_3.36.bb => fio_3.37.bb} | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-benchmark/fio/{fio_3.36.bb => fio_3.37.bb} (93%)
meta-oe/recipes-benchmark/fio/fio_3.37.bb renamed from meta-oe/recipes-benchmark/fio/fio_3.36.bb +3 -2
similarity index 93%
rename from meta-oe/recipes-benchmark/fio/fio_3.36.bb
rename to meta-oe/recipes-benchmark/fio/fio_3.37.bb
index a871ed8fe..83c889a8f 100644
@@ -22,10 +22,11 @@ PACKAGECONFIG_NUMA:armeb = ""
 PACKAGECONFIG ??= "${PACKAGECONFIG_NUMA}"
 PACKAGECONFIG[numa] = ",--disable-numa,numactl"
 
-PV .= "+git"
-SRCREV = "b2403d413ee734e8835539319d8bc3429a0777ac"
+SRCREV = "9213e16d98b0e9d2f8d4f7e760ed0fd45c8960f6"
 SRC_URI = "git://git.kernel.dk/fio.git;branch=master"
 
+UPSTREAM_CHECK_GITTAGREGEX = "fio-(?P<pver>\d+(\.\d+)+)"
+
 S = "${WORKDIR}/git"
 
 # avoids build breaks when using no-static-libs.inc
Signature · 1 line
2.25.1
author
#4 lore raw

PATCH 4/6 catch2: upgrade 3.7.0 -> 3.7.1

In reply to Yi Zhao

ChangeLog:
https://github.com/catchorg/Catch2/releases/tag/v3.7.1

---
 .../recipes-test/catch2/{catch2_3.7.0.bb => catch2_3.7.1.bb}   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-oe/recipes-test/catch2/{catch2_3.7.0.bb => catch2_3.7.1.bb} (92%)
meta-oe/recipes-test/catch2/catch2_3.7.1.bb renamed from meta-oe/recipes-test/catch2/catch2_3.7.0.bb +2 -1
similarity index 92%
rename from meta-oe/recipes-test/catch2/catch2_3.7.0.bb
rename to meta-oe/recipes-test/catch2/catch2_3.7.1.bb
index 2d571a9cf..35cdab5e8 100644
@@ -5,7 +5,7 @@ LICENSE = "BSL-1.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
 
 SRC_URI = "git://github.com/catchorg/Catch2.git;branch=devel;protocol=https"
-SRCREV = "31588bb4f56b638dd5afc28d3ebff9b9dcefb88d"
+SRCREV = "fa43b77429ba76c462b1898d6cd2f2d7a9416b14"
 
 S = "${WORKDIR}/git"
 
@@ -16,6 +16,7 @@ do_install:append() {
     rm ${D}${datadir}/Catch2/gdbinit
     rmdir ${D}${datadir}/Catch2/
 }
+
 # Header-only library
 RDEPENDS:${PN}-dev = ""
 RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
Signature · 1 line
2.25.1
author
#5 lore raw

PATCH 5/6 linuxptp: upgrade 4.1 -> 4.4

In reply to Yi Zhao

* Update SRC_URI
* Drop backport patches
* Drop redundant UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX

---
 .../0001-include-string.h-for-strncpy.patch   | 26 ----------
 .../0002-linuxptp-Use-CC-in-incdefs.sh.patch  | 48 -------------------
 .../{linuxptp_4.1.bb => linuxptp_4.4.bb}      | 12 +----
 3 files changed, 2 insertions(+), 84 deletions(-)
 delete mode 100644 meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-include-string.h-for-strncpy.patch
 delete mode 100644 meta-oe/recipes-connectivity/linuxptp/linuxptp/0002-linuxptp-Use-CC-in-incdefs.sh.patch
 rename meta-oe/recipes-connectivity/linuxptp/{linuxptp_4.1.bb => linuxptp_4.4.bb} (76%)
meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-include-string.h-for-strncpy.patch deleted +0 -26
deleted file mode 100644
index b117dcf67..000000000
@@ -1,26 +0,0 @@
-From 6120cee594c543d17ae015bc601012debcf57177 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Mon, 23 Oct 2023 10:43:42 +0100
-Subject: [PATCH] include string.h for strncpy()
-
-Signed-off-by: Khem Raj <[email protected]>
-Upstream-Status: Backport [master: 6120cee594c543d17ae015bc601012debcf57177]
----
- interface.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/interface.c b/interface.c
-index 29229ad6f53d..9a83c36933e7 100644
---- a/interface.c
-+++ b/interface.c
-@@ -5,6 +5,7 @@
-  * @note SPDX-License-Identifier: GPL-2.0+
-  */
- #include <stdlib.h>
-+#include <string.h>
- #include "interface.h"
- 
- struct interface {
--- 
-2.34.1
-
meta-oe/recipes-connectivity/linuxptp/linuxptp/0002-linuxptp-Use-CC-in-incdefs.sh.patch deleted +0 -48

48 lines not on this page · raw message

meta-oe/recipes-connectivity/linuxptp/linuxptp_4.4.bb renamed from meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb +2 -10
similarity index 76%
rename from meta-oe/recipes-connectivity/linuxptp/linuxptp_4.1.bb
rename to meta-oe/recipes-connectivity/linuxptp/linuxptp_4.4.bb
index d1a73841a..84b3af8c5 100644
@@ -5,23 +5,15 @@ HOMEPAGE = "http://linuxptp.sourceforge.net/"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-LINUXPTP_SRC_URI = "http://sourceforge.net/projects/linuxptp"
-
-SRC_URI = "${LINUXPTP_SRC_URI}/files/v4.1/linuxptp-${PV}.tgz \
-           file://0001-include-string.h-for-strncpy.patch \
-           file://0002-linuxptp-Use-CC-in-incdefs.sh.patch \
+SRC_URI = "https://downloads.nwtime.org/linuxptp/linuxptp-${PV}.tgz \
            file://systemd/[email protected] \
            file://systemd/[email protected] \
            "
 
-SRC_URI[md5sum] = "1db8699fc155965341759be5e5aad938"
-SRC_URI[sha256sum] = "e1743d44f8208897e30895da3579e670ff919b914feb4b5a949f3e421ddde535"
+SRC_URI[sha256sum] = "61757bc0a58d789b8fcbdddf56c88a0230597184a70dcb2ac05b4c6b619f7d5c"
 
 inherit systemd
 
-UPSTREAM_CHECK_URI = "${LINUXPTP_SRC_URI}/files/"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)/"
-
 EXTRA_OEMAKE = "CC='${CC}' EXTRA_CFLAGS='${CFLAGS}' mandir='${mandir}' \
     sbindir='${sbindir}'"
 
Signature · 1 line
2.25.1
author
#6 lore raw

PATCH 6/6 thrift: upgrade 0.20.0 -> 0.21.0

In reply to Yi Zhao

ChangeLog:
https://github.com/apache/thrift/blob/v0.21.0/CHANGES.md

---
 .../thrift/{thrift_0.20.0.bb => thrift_0.21.0.bb}               | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-connectivity/thrift/{thrift_0.20.0.bb => thrift_0.21.0.bb} (96%)
meta-oe/recipes-connectivity/thrift/thrift_0.21.0.bb renamed from meta-oe/recipes-connectivity/thrift/thrift_0.20.0.bb +1 -1
similarity index 96%
rename from meta-oe/recipes-connectivity/thrift/thrift_0.20.0.bb
rename to meta-oe/recipes-connectivity/thrift/thrift_0.21.0.bb
index 23db052b9..35e55b225 100644
@@ -10,7 +10,7 @@ DEPENDS = "thrift-native boost flex-native bison-native openssl zlib"
 
 SRC_URI = "https://downloads.apache.org/${BPN}/${PV}/${BP}.tar.gz \
            file://0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch"
-SRC_URI[sha256sum] = "b5d8311a779470e1502c027f428a1db542f5c051c8e1280ccd2163fa935ff2d6"
+SRC_URI[sha256sum] = "9a24f3eba9a4ca493602226c16d8c228037db3b9291c6fc4019bfe3bd39fc67c"
 
 BBCLASSEXTEND = "native nativesdk"
 
Signature · 1 line
2.25.1