ulogd2: upgrade 2.0.8 -> 2.0.9
PATCH 1/11 ulogd2: upgrade 2.0.8 -> 2.0.9
From: Ankur Tyagi <[email protected]>
Removed ulog from packageconfig[1]
Changelog:
https://git.netfilter.org/ulogd2/log/?h=ulogd-2.0.9
[1] https://git.netfilter.org/ulogd2/commit/?h=ulogd-2.0.9&id=2f49c9bb6a9e4b7ed26d8e487e372695031aa5f9
---
.../ulogd2/{ulogd2_2.0.8.bb => ulogd2_2.0.9.bb} | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
rename meta-networking/recipes-filter/ulogd2/{ulogd2_2.0.8.bb => ulogd2_2.0.9.bb} (94%)meta-networking/recipes-filter/ulogd2/ulogd2_2.0.9.bb renamed from meta-networking/recipes-filter/ulogd2/ulogd2_2.0.8.bb +2 -5
@@ -9,18 +9,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b" DEPENDS = "libnfnetlink" PROVIDES = "ulogd" -PV .= "+git" - SRC_URI = "git://git.netfilter.org/ulogd2;branch=master \ file://ulogd.init \ file://ulogd.service \ " -SRCREV = "79aa980f2df9dda0c097e8f883a62f414b9e5138" +SRCREV = "1fe54ec39a071ea3b06e6883e542dfdcf40d2840" inherit autotools manpages pkgconfig systemd update-rc.d -PACKAGECONFIG ?= "dbi json nfacct nfct nflog pcap sqlite3 ulog" +PACKAGECONFIG ?= "dbi json nfacct nfct nflog pcap sqlite3" PACKAGECONFIG[dbi] = "--enable-dbi,--disable-dbi,libdbi" PACKAGECONFIG[json] = "--enable-json,--disable-json,jansson" PACKAGECONFIG[manpages] = ""
@@ -31,7 +29,6 @@ PACKAGECONFIG[nflog] = "--enable-nflog,--disable-nflog,libnetfilter-log" PACKAGECONFIG[pcap] = "--enable-pcap,--disable-pcap,libpcap" PACKAGECONFIG[pgsql] = "--enable-pgsql,--disable-pgsql,postgresql" PACKAGECONFIG[sqlite3] = "--enable-sqlite3,--disable-sqlite3,sqlite3" -PACKAGECONFIG[ulog] = "--enable-ulog,--disable-ulog" do_install:append () { install -d ${D}${sysconfdir}
PATCH 2/11 nghttp3: upgrade 1.15.0 -> 1.18.0
From: Ankur Tyagi <[email protected]>
Sub-source munit SRCREV unchanged.
https://github.com/ngtcp2/nghttp3/releases/tag/v1.16.0
https://github.com/ngtcp2/nghttp3/releases/tag/v1.17.0
https://github.com/ngtcp2/nghttp3/releases/tag/v1.18.0
---
.../nghttp3/{nghttp3_1.15.0.bb => nghttp3_1.18.0.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-networking/recipes-protocols/nghttp3/{nghttp3_1.15.0.bb => nghttp3_1.18.0.bb} (87%)meta-networking/recipes-protocols/nghttp3/nghttp3_1.18.0.bb renamed from meta-networking/recipes-protocols/nghttp3/nghttp3_1.15.0.bb +2 -2
@@ -9,9 +9,9 @@ SRC_URI = "git://github.com/ngtcp2/nghttp3;protocol=https;branch=main;tag=v${PV} git://github.com/ngtcp2/sfparse;protocol=https;branch=main;name=sfparse;subdir=${S}/lib/sfparse \ " -SRCREV_nghttp3 = "d326f4c1eb3f6a780d77793b30e16756c498f913" +SRCREV_nghttp3 = "dbfc24286138cb0b6490160e7ca87fe1ce6722a0" SRCREV_munit = "11e8e3466b2d6a8bdfd4b05a3d1ee7805c5d3442" -SRCREV_sfparse = "ff7f230e7df2844afef7dc49631cda03a30455f3" +SRCREV_sfparse = "4b313cfd2e1b389ae632b36dcd50402307289af2" SRCREV_FORMAT = "nghttp3"
PATCH 3/11 cifs-utils: upgrade 7.4 -> 7.7
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Changelog:
cifs-utils: bump version to 7.7
cifs.upcall: fix regression with krb5 + creduid
cifs.upcall: Avoid int overflow after year 2038
mount.cifs: fix const correctness in parse_options
cifs.upcall: fix compiler warning with -Wvla
smbinfo: parse action and filename from change notifications
cifs-utils: bump version to 7.6
cifs.upcall: remove getpwuid() dependency
smbinfo: update notify subcommand
smbinfo: add filecompressioninfo subcommand
cifs.upcall: Adjust log level
docs: Enable debug logs
cifs.upcall: add option to enable debug logs
cifs.upcall: Retry krb5 TGS request with uppercase service name mount.cifs: remove runtime pass_length calculation
mount.cifs: adjust get_password_from_file() buf sizebuild_assert: add ccan build_assert.h header
mount.cifs: fix buffer overrun in set_password
smbinfo: fix decimated subseconds in smbinfo filebasicinfo timestamp output
smbinfo: add notify subcommand
docs: update username= option to drop invalid examples cifs.upcall: fix calloc() argument order in main()
cifs-utils: bump version to 7.5
docs: update echo_interval description
cifscreds: fix parsing of commands and parameters
cifs-utils: Fix documentation for character remappings.
---
.../cifs/{cifs-utils_7.4.bb => cifs-utils_7.7.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-networking/recipes-support/cifs/{cifs-utils_7.4.bb => cifs-utils_7.7.bb} (97%)meta-networking/recipes-support/cifs/cifs-utils_7.7.bb renamed from meta-networking/recipes-support/cifs/cifs-utils_7.4.bb +1 -1
@@ -4,7 +4,7 @@ SECTION = "otherosfs" LICENSE = "GPL-3.0-only AND LGPL-3.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -SRCREV = "edac7178bec9520fb57d14946e67f5dd33b82d43" +SRCREV = "3a7dc396306654aa225c35767e56ac1fb239922e" SRC_URI = "git://git.samba.org/cifs-utils.git;branch=master;tag=${BP}" DEPENDS += "libtalloc"
PATCH 4/11 sngrep: upgrade 1.8.3 -> 1.8.4
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Included tag in the SRC_URI and dropped explicitly setting PV in the recipe
Changelog:
https://github.com/irontec/sngrep/blob/v1.8.4/ChangeLog
---
.../sngrep/{sngrep_1.8.3.bb => sngrep_1.8.4.bb} | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
rename meta-networking/recipes-support/sngrep/{sngrep_1.8.3.bb => sngrep_1.8.4.bb} (93%)meta-networking/recipes-support/sngrep/sngrep_1.8.4.bb renamed from meta-networking/recipes-support/sngrep/sngrep_1.8.3.bb +2 -4
@@ -15,10 +15,8 @@ DEPENDS = "\ ncurses \ " -SRC_URI = "git://github.com/irontec/sngrep.git;protocol=https;branch=master" -SRCREV = "c77bd75a52d1aac96ae9d1603f2b7dfbe7e90ffd" -PV .= "+git" - +SRC_URI = "git://github.com/irontec/sngrep.git;protocol=https;branch=master;tag=v${PV}" +SRCREV = "9c370866afaf5ccb258bf03848b2d22f30cf61bd" inherit cmake pkgconfig
PATCH 5/11 usbredir: upgrade 0.14.0 -> 0.15.0
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Also included tag in the SRC_URI.
Changelog:
- usbredirect: Fix crash with multiple connections
- usbredirect: Fix win32 cross-compile warning
- usbredirtestclient: Fix memory leak
---
.../spice/{usbredir_0.14.0.bb => usbredir_0.15.0.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-networking/recipes-support/spice/{usbredir_0.14.0.bb => usbredir_0.15.0.bb} (82%)meta-networking/recipes-support/spice/usbredir_0.15.0.bb renamed from meta-networking/recipes-support/spice/usbredir_0.14.0.bb +2 -2
@@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ DEPENDS = "libusb1 glib-2.0" -SRCREV = "2d373432e604960c1dcc14fb97098febe4d64025" +SRCREV = "41c79583a4eecaf6cfe938278554210c718c85d2" -SRC_URI = "git://gitlab.freedesktop.org/spice/usbredir;branch=main;protocol=https" +SRC_URI = "git://gitlab.freedesktop.org/spice/usbredir;branch=main;protocol=https;tag=${BP}" inherit meson pkgconfig
PATCH 6/11 tcpreplay: upgrade 4.5.2 -> 4.5.5
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Release Notes:
https://github.com/appneta/tcpreplay/releases/tag/v4.5.3
https://github.com/appneta/tcpreplay/releases/tag/v4.5.4
https://github.com/appneta/tcpreplay/releases/tag/v4.5.5
---
.../tcpreplay/{tcpreplay_4.5.2.bb => tcpreplay_4.5.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-networking/recipes-support/tcpreplay/{tcpreplay_4.5.2.bb => tcpreplay_4.5.5.bb} (89%)meta-networking/recipes-support/tcpreplay/tcpreplay_4.5.5.bb renamed from meta-networking/recipes-support/tcpreplay/tcpreplay_4.5.2.bb +1 -1
@@ -11,7 +11,7 @@ SRC_URI = "https://github.com/appneta/${BPN}/releases/download/v${PV}/${BP}.tar. file://0001-libopts.m4-set-POSIX_SHELL-to-bin-sh.patch \ " -SRC_URI[sha256sum] = "ccff3bb29469a04ccc20ed0b518e3e43c4a7b5a876339d9435bfd9db7fe5d0f1" +SRC_URI[sha256sum] = "ba37b6c9270fcebe86b83f68c4ec3d5ac8981f8c6087b582af0205a35ec4b11d" UPSTREAM_CHECK_URI = "https://github.com/appneta/tcpreplay/releases" UPSTREAM_CHECK_REGEX = "releases/tag/v(?P<pver>\d+(\.\d+)+)"
PATCH 7/11 unbound: upgrade 1.25.1 -> 1.25.2
In reply to [email protected]From: Ankur Tyagi <[email protected]>
This release has a number of security fixes.
https://github.com/NLnetLabs/unbound/releases/tag/release-1.25.2
---
.../unbound/{unbound_1.25.1.bb => unbound_1.25.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-networking/recipes-support/unbound/{unbound_1.25.1.bb => unbound_1.25.2.bb} (98%)meta-networking/recipes-support/unbound/unbound_1.25.2.bb renamed from meta-networking/recipes-support/unbound/unbound_1.25.1.bb +1 -1
@@ -13,7 +13,7 @@ SRC_URI = "git://github.com/NLnetLabs/unbound.git;protocol=https;branch=master;t file://run-ptest \ " -SRCREV = "75b6dba593d4fff000434cd64807c6ebd50bd244" +SRCREV = "c33ad1b1a21e48bfe4f140e90252a9be1b0c5745" inherit autotools pkgconfig systemd update-rc.d ptest
PATCH 8/11 jsoncpp: upgrade 1.9.7 -> 1.9.8
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Dropped patches that are merged in the upstream version.
Changelog:
https://github.com/open-source-parsers/jsoncpp/releases/tag/1.9.8
---
...akage-when-compiled-with-C-17-1668-1.patch | 368 ------------------
...6ca38e90dc902e8178ba484af4f27fa11947.patch | 63 ---
.../{jsoncpp_1.9.7.bb => jsoncpp_1.9.8.bb} | 4 +-
3 files changed, 1 insertion(+), 434 deletions(-)
delete mode 100644 meta-oe/recipes-devtools/jsoncpp/jsoncpp/0001-Fix-C-11-ABI-breakage-when-compiled-with-C-17-1668-1.patch
delete mode 100644 meta-oe/recipes-devtools/jsoncpp/jsoncpp/71d46ca38e90dc902e8178ba484af4f27fa11947.patch
rename meta-oe/recipes-devtools/jsoncpp/{jsoncpp_1.9.7.bb => jsoncpp_1.9.8.bb} (90%)meta-oe/recipes-devtools/jsoncpp/jsoncpp/0001-Fix-C-11-ABI-breakage-when-compiled-with-C-17-1668-1.patch deleted +0 -368
@@ -1,368 +0,0 @@ -From c67034e4b4c722579ee15fddb8e4af8f04252b08 Mon Sep 17 00:00:00 2001 -From: Jordan Bayles <[email protected]> -Date: Thu, 9 Apr 2026 10:37:08 -0700 -Subject: [PATCH] Fix C++11 ABI breakage when compiled with C++17 #1668 (#1675) - -When JSONCPP_HAS_STRING_VIEW was defined, the library dropped the -`const char*` and `const String&` overloads for `operator[]`, `get`, -`removeMember`, and `isMember`, breaking ABI compatibility for projects -consuming the library with C++11. - -This change unconditionally declares and defines the legacy overloads -so they are always exported, restoring compatibility. - -This commit completely eliminates the ABI breakage that occurs across -C++ standard boundaries when using `std::string_view`. - -Previously, when the library was built with C++17+, CMake would leak -`JSONCPP_HAS_STRING_VIEW=1` as a PUBLIC definition. A C++11 consumer -would receive this definition, attempt to parse the header, and fail -with compiler errors because `std::string_view` is not available in -their environment. - -Conversely, if the library was built in C++11 (without `string_view` -symbols), a C++17 consumer would naturally define -`JSONCPP_HAS_STRING_VIEW` based on `__cplusplus` inside `value.h`. The -consumer would then call the declared `string_view` methods, resulting -in linker errors because the methods weren't compiled into the library. - -By moving all `std::string_view` overloads directly into `value.h` as -`inline` methods that delegate to the fundamental -`const char*, const char*` methods: -1. The consumer's compiler dictates whether the overloads are visible - (via `__cplusplus >= 201703L`). -2. The consumer compiles the inline wrappers locally, removing any - reliance on the library's exported symbols for `std::string_view`. -3. CMake no longer needs to pollute the consumer's environment with - PUBLIC compile definitions. - -Backported only the library/header changes. Upstream CI and example -test additions are omitted. - -Upstream-Status: Backport [https://github.com/open-source-parsers/jsoncpp/commit/c67034e4b4c722579ee15fddb8e4af8f04252b08] -Signed-off-by: Ernest Van Hoecke <[email protected]> ---- - include/json/value.h | 54 ++++++++++++++++++++---------- - src/lib_json/CMakeLists.txt | 9 ----- - src/lib_json/json_value.cpp | 66 ------------------------------------- - 3 files changed, 36 insertions(+), 93 deletions(-) - -diff --git a/include/json/value.h b/include/json/value.h -index f32f45609365..2007e6b4251d 100644 ---- a/include/json/value.h -+++ b/include/json/value.h -@@ -357,7 +357,8 @@ public: - Value(const StaticString& value); - Value(const String& value); - #ifdef JSONCPP_HAS_STRING_VIEW -- Value(std::string_view value); -+ inline Value(std::string_view value) -+ : Value(value.data(), value.data() + value.length()) {} - #endif - Value(bool value); - Value(std::nullptr_t ptr) = delete; -@@ -405,7 +406,14 @@ public: - /** Get string_view of string-value. - * \return false if !string. (Seg-fault if str is NULL.) - */ -- bool getString(std::string_view* str) const; -+ inline bool getString(std::string_view* str) const { -+ char const* begin; -+ char const* end; -+ if (!getString(&begin, &end)) -+ return false; -+ *str = std::string_view(begin, static_cast<size_t>(end - begin)); -+ return true; -+ } - #endif - Int asInt() const; - UInt asUInt() const; -@@ -496,12 +504,19 @@ public: - #ifdef JSONCPP_HAS_STRING_VIEW - /// Access an object value by name, create a null member if it does not exist. - /// \param key may contain embedded nulls. -- Value& operator[](std::string_view key); -+ inline Value& operator[](std::string_view key) { -+ return resolveReference(key.data(), key.data() + key.length()); -+ } - /// Access an object value by name, returns null if there is no member with - /// that name. - /// \param key may contain embedded nulls. -- const Value& operator[](std::string_view key) const; --#else -+ inline const Value& operator[](std::string_view key) const { -+ Value const* found = find(key.data(), key.data() + key.length()); -+ if (!found) -+ return nullSingleton(); -+ return *found; -+ } -+#endif - /// Access an object value by name, create a null member if it does not exist. - /// \note Because of our implementation, keys are limited to 2^30 -1 chars. - /// Exceeding that will cause an exception. -@@ -516,7 +531,6 @@ public: - /// that name. - /// \param key may contain embedded nulls. - const Value& operator[](const String& key) const; --#endif - /** \brief Access an object value by name, create a null member if it does not - * exist. - * -@@ -533,8 +547,10 @@ public: - #ifdef JSONCPP_HAS_STRING_VIEW - /// Return the member named key if it exist, defaultValue otherwise. - /// \note deep copy -- Value get(std::string_view key, const Value& defaultValue) const; --#else -+ inline Value get(std::string_view key, const Value& defaultValue) const { -+ return get(key.data(), key.data() + key.length(), defaultValue); -+ } -+#endif - /// Return the member named key if it exist, defaultValue otherwise. - /// \note deep copy - Value get(const char* key, const Value& defaultValue) const; -@@ -542,7 +558,6 @@ public: - /// \note deep copy - /// \param key may contain embedded nulls. - Value get(const String& key, const Value& defaultValue) const; --#endif - /// Return the member named key if it exist, defaultValue otherwise. - /// \note deep copy - /// \note key may contain embedded nulls. -@@ -588,13 +603,14 @@ public: - /// \pre type() is objectValue or nullValue - /// \post type() is unchanged - #if JSONCPP_HAS_STRING_VIEW -- void removeMember(std::string_view key); --#else -+ inline void removeMember(std::string_view key) { -+ removeMember(key.data(), key.data() + key.length(), nullptr); -+ } -+#endif - void removeMember(const char* key); - /// Same as removeMember(const char*) - /// \param key may contain embedded nulls. - void removeMember(const String& key); --#endif - /** \brief Remove the named map member. - * - * Update 'removed' iff removed. -@@ -602,13 +618,14 @@ public: - * \return true iff removed (no exceptions) - */ - #if JSONCPP_HAS_STRING_VIEW -- bool removeMember(std::string_view key, Value* removed); --#else -+ inline bool removeMember(std::string_view key, Value* removed) { -+ return removeMember(key.data(), key.data() + key.length(), removed); -+ } -+#endif - bool removeMember(String const& key, Value* removed); - /// Same as removeMember(const char* begin, const char* end, Value* removed), - /// but 'key' is null-terminated. - bool removeMember(const char* key, Value* removed); --#endif - /// Same as removeMember(String const& key, Value* removed) - bool removeMember(const char* begin, const char* end, Value* removed); - /** \brief Remove the indexed array element. -@@ -622,15 +639,16 @@ public: - #ifdef JSONCPP_HAS_STRING_VIEW - /// Return true if the object has a member named key. - /// \param key may contain embedded nulls. -- bool isMember(std::string_view key) const; --#else -+ inline bool isMember(std::string_view key) const { -+ return isMember(key.data(), key.data() + key.length()); -+ } -+#endif - /// Return true if the object has a member named key. - /// \note 'key' must be null-terminated. - bool isMember(const char* key) const; - /// Return true if the object has a member named key. - /// \param key may contain embedded nulls. - bool isMember(const String& key) const; --#endif - /// Same as isMember(String const& key)const - bool isMember(const char* begin, const char* end) const; - -diff --git a/src/lib_json/CMakeLists.txt b/src/lib_json/CMakeLists.txt -index 03e9335525ca..a0695e9eba83 100644 ---- a/src/lib_json/CMakeLists.txt -+++ b/src/lib_json/CMakeLists.txt -@@ -131,9 +131,6 @@ if(BUILD_SHARED_LIBS) - - target_compile_features(${SHARED_LIB} PUBLIC ${REQUIRED_FEATURES}) - -- if(JSONCPP_HAS_STRING_VIEW) -- target_compile_definitions(${SHARED_LIB} PUBLIC JSONCPP_HAS_STRING_VIEW=1) -- endif() - - target_include_directories(${SHARED_LIB} PUBLIC - $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> -@@ -168,9 +165,6 @@ if(BUILD_STATIC_LIBS) - - target_compile_features(${STATIC_LIB} PUBLIC ${REQUIRED_FEATURES}) - -- if(JSONCPP_HAS_STRING_VIEW) -- target_compile_definitions(${STATIC_LIB} PUBLIC JSONCPP_HAS_STRING_VIEW=1) -- endif() - - target_include_directories(${STATIC_LIB} PUBLIC - $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> -@@ -198,9 +192,6 @@ if(BUILD_OBJECT_LIBS) - - target_compile_features(${OBJECT_LIB} PUBLIC ${REQUIRED_FEATURES}) - -- if(JSONCPP_HAS_STRING_VIEW) -- target_compile_definitions(${OBJECT_LIB} PUBLIC JSONCPP_HAS_STRING_VIEW=1) -- endif() - - target_include_directories(${OBJECT_LIB} PUBLIC - $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}> -diff --git a/src/lib_json/json_value.cpp b/src/lib_json/json_value.cpp -index 74f77896fa7b..a8eb72d6b75f 100644 ---- a/src/lib_json/json_value.cpp -+++ b/src/lib_json/json_value.cpp -@@ -441,14 +441,6 @@ Value::Value(const String& value) { - value.data(), static_cast<unsigned>(value.length())); - } - --#ifdef JSONCPP_HAS_STRING_VIEW --Value::Value(std::string_view value) { -- initBasic(stringValue, true); -- value_.string_ = duplicateAndPrefixStringValue( -- value.data(), static_cast<unsigned>(value.length())); --} --#endif -- - Value::Value(const StaticString& value) { - initBasic(stringValue); - value_.string_ = const_cast<char*>(value.c_str()); -@@ -656,21 +648,6 @@ bool Value::getString(char const** begin, char const** end) const { - return true; - } - --#ifdef JSONCPP_HAS_STRING_VIEW --bool Value::getString(std::string_view* str) const { -- if (type() != stringValue) -- return false; -- if (value_.string_ == nullptr) -- return false; -- const char* begin; -- unsigned length; -- decodePrefixedString(this->isAllocated(), this->value_.string_, &length, -- &begin); -- *str = std::string_view(begin, length); -- return true; --} --#endif -- - String Value::asString() const { - switch (type()) { - case nullValue: -@@ -1190,17 +1167,6 @@ Value* Value::demand(char const* begin, char const* end) { - "objectValue or nullValue"); - return &resolveReference(begin, end); - } --#ifdef JSONCPP_HAS_STRING_VIEW --const Value& Value::operator[](std::string_view key) const { -- Value const* found = find(key.data(), key.data() + key.length()); -- if (!found) -- return nullSingleton(); -- return *found; --} --Value& Value::operator[](std::string_view key) { -- return resolveReference(key.data(), key.data() + key.length()); --} --#else - const Value& Value::operator[](const char* key) const { - Value const* found = find(key, key + strlen(key)); - if (!found) -@@ -1221,7 +1187,6 @@ Value& Value::operator[](const char* key) { - Value& Value::operator[](const String& key) { - return resolveReference(key.data(), key.data() + key.length()); - } --#endif - - Value& Value::operator[](const StaticString& key) { - return resolveReference(key.c_str()); -@@ -1261,18 +1226,12 @@ Value Value::get(char const* begin, char const* end, - Value const* found = find(begin, end); - return !found ? defaultValue : *found; - } --#ifdef JSONCPP_HAS_STRING_VIEW --Value Value::get(std::string_view key, const Value& defaultValue) const { -- return get(key.data(), key.data() + key.length(), defaultValue); --} --#else - Value Value::get(char const* key, Value const& defaultValue) const { - return get(key, key + strlen(key), defaultValue); - } - Value Value::get(String const& key, Value const& defaultValue) const { - return get(key.data(), key.data() + key.length(), defaultValue); - } --#endif - - bool Value::removeMember(const char* begin, const char* end, Value* removed) { - if (type() != objectValue) { -@@ -1288,31 +1247,13 @@ bool Value::removeMember(const char* begin, const char* end, Value* removed) { - value_.map_->erase(it); - return true; - } --#ifdef JSONCPP_HAS_STRING_VIEW --bool Value::removeMember(std::string_view key, Value* removed) { -- return removeMember(key.data(), key.data() + key.length(), removed); --} --#else - bool Value::removeMember(const char* key, Value* removed) { - return removeMember(key, key + strlen(key), removed); - } - bool Value::removeMember(String const& key, Value* removed) { - return removeMember(key.data(), key.data() + key.length(), removed); - } --#endif -- --#ifdef JSONCPP_HAS_STRING_VIEW --void Value::removeMember(std::string_view key) { -- JSON_ASSERT_MESSAGE(type() == nullValue || type() == objectValue, -- "in Json::Value::removeMember(): requires objectValue"); -- if (type() == nullValue) -- return; - -- CZString actualKey(key.data(), unsigned(key.length()), -- CZString::noDuplication); -- value_.map_->erase(actualKey); --} --#else - void Value::removeMember(const char* key) { - JSON_ASSERT_MESSAGE(type() == nullValue || type() == objectValue, - "in Json::Value::removeMember(): requires objectValue"); -@@ -1323,7 +1264,6 @@ void Value::removeMember(const char* key) { - value_.map_->erase(actualKey); - } - void Value::removeMember(const String& key) { removeMember(key.c_str()); } --#endif - - bool Value::removeIndex(ArrayIndex index, Value* removed) { - if (type() != arrayValue) { -@@ -1353,18 +1293,12 @@ bool Value::isMember(char const* begin, char const* end) const { - Value const* value = find(begin, end); - return nullptr != value; - } --#ifdef JSONCPP_HAS_STRING_VIEW --bool Value::isMember(std::string_view key) const { -- return isMember(key.data(), key.data() + key.length()); --} --#else - bool Value::isMember(char const* key) const { - return isMember(key, key + strlen(key)); - } - bool Value::isMember(String const& key) const { - return isMember(key.data(), key.data() + key.length()); - } --#endif - - Value::Members Value::getMemberNames() const { - JSON_ASSERT_MESSAGE( --- -2.43.0
meta-oe/recipes-devtools/jsoncpp/jsoncpp/71d46ca38e90dc902e8178ba484af4f27fa11947.patch deleted +0 -63
63 lines not on this page · raw message
meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.8.bb renamed from meta-oe/recipes-devtools/jsoncpp/jsoncpp_1.9.7.bb +1 -3
@@ -13,10 +13,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d73c165a0f9e86a1342f32d19ec5926" PE = "1" -SRCREV = "3455302847cf1e4671f1d8f5fa953fd46a7b1404" +SRCREV = "8519b8381f3c741ad1421f88237b1deda0b11412" SRC_URI = "git://github.com/open-source-parsers/jsoncpp;branch=master;protocol=https;tag=${PV} \ - file://0001-Fix-C-11-ABI-breakage-when-compiled-with-C-17-1668-1.patch \ - file://71d46ca38e90dc902e8178ba484af4f27fa11947.patch \ file://run-ptest \ "
PATCH 9/11 mbpoll: upgrade 1.5.2 -> 1.5.4
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Dropped 0001-allow-build-with-cmake-4.patch as upstream fixed it. Also included tag in the SRC_URI.
https://github.com/epsilonrt/mbpoll/releases/tag/v1.5.3
https://github.com/epsilonrt/mbpoll/releases/tag/v1.5.4
---
.../0001-allow-build-with-cmake-4.patch | 42 -------------------
.../{mbpoll_1.5.2.bb => mbpoll_1.5.4.bb} | 5 +--
2 files changed, 2 insertions(+), 45 deletions(-)
delete mode 100644 meta-oe/recipes-devtools/mbpoll/mbpoll/0001-allow-build-with-cmake-4.patch
rename meta-oe/recipes-devtools/mbpoll/{mbpoll_1.5.2.bb => mbpoll_1.5.4.bb} (84%)meta-oe/recipes-devtools/mbpoll/mbpoll/0001-allow-build-with-cmake-4.patch deleted +0 -42
@@ -1,42 +0,0 @@ -From 765fbaea85b723893c0c27d5527df479ab6abc46 Mon Sep 17 00:00:00 2001 -From: Alper Ak <[email protected]> -Date: Mon, 7 Jul 2025 20:09:45 +0300 -Subject: [PATCH] cmake: Set minimum required version to 3.5 for CMake 4+ - compatibility - -Fix: - -| CMake Error at CMakeLists.txt:3 (cmake_minimum_required): -| Compatibility with CMake < 3.5 has been removed from CMake. -| -| Update the VERSION argument <min> value. Or, use the <min>...<max> syntax -| to tell CMake that the project requires at least <min> but has been updated -| to work with policies introduced by <max> or earlier. -| -| Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. -| -| -| -- Configuring incomplete, errors occurred! - -Upstream-Status: Submitted [https://github.com/epsilonrt/mbpoll/pull/95] - -Signed-off-by: Alper Ak <[email protected]> ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 6daa039..af32354 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,6 +1,6 @@ - # -*- CMakeLists.txt generated by CodeLite IDE. Do not edit by hand -*- - --cmake_minimum_required(VERSION 2.9) -+cmake_minimum_required(VERSION 3.5) - - # Workspace name - project(mbpoll) --- -2.43.0 -
meta-oe/recipes-devtools/mbpoll/mbpoll_1.5.4.bb renamed from meta-oe/recipes-devtools/mbpoll/mbpoll_1.5.2.bb +2 -3
@@ -8,8 +8,7 @@ HOMEPAGE = "https://github.com/epsilonrt/mbpoll" LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464" DEPENDS = "libmodbus (>=3.1.4)" -SRC_URI = "git://github.com/epsilonrt/mbpoll;protocol=https;branch=master \ - file://0001-allow-build-with-cmake-4.patch" -SRCREV = "a0bd6c08d3d15b086f2104477295c0705aed366a" +SRC_URI = "git://github.com/epsilonrt/mbpoll;protocol=https;branch=master;tag=v${PV}" +SRCREV = "d541211d0e2451888de11c82fb1604c3d6285b1a" inherit pkgconfig cmake
PATCH 10/11 libwmf: upgrade 0.2.13 -> 0.2.15
In reply to [email protected]From: Ankur Tyagi <[email protected]>
Also included tag in the SRC_URI.
https://github.com/caolanm/libwmf/releases/tag/v0.2.15
---
.../libwmf/{libwmf_0.2.13.bb => libwmf_0.2.15.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-oe/recipes-extended/libwmf/{libwmf_0.2.13.bb => libwmf_0.2.15.bb} (92%)meta-oe/recipes-extended/libwmf/libwmf_0.2.15.bb renamed from meta-oe/recipes-extended/libwmf/libwmf_0.2.13.bb +2 -2
@@ -16,8 +16,8 @@ inherit features_check autotools pkgconfig REQUIRED_DISTRO_FEATURES = "x11" -SRC_URI = "git://github.com/caolanm/libwmf.git;protocol=https;branch=master" -SRCREV = "9e4737f2293c0d127bda92e5b01896df10571424" +SRC_URI = "git://github.com/caolanm/libwmf.git;protocol=https;branch=master;tag=v${PV}" +SRCREV = "d00b314cc5fbed48fe79fd3acdcf42324d2f4b8e" do_install:append() {
PATCH 11/11 parallel: upgrade 20260522 -> 20260722
In reply to [email protected]From: Ankur Tyagi <[email protected]>
---
.../parallel/{parallel_20260522.bb => parallel_20260722.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-extended/parallel/{parallel_20260522.bb => parallel_20260722.bb} (93%)meta-oe/recipes-extended/parallel/parallel_20260722.bb renamed from meta-oe/recipes-extended/parallel/parallel_20260522.bb +1 -1
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = " \ " SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.bz2" -SRC_URI[sha256sum] = "2bab0cf913eeb60a24c6575d60e3c167cd03e63b4f7d17965915844e005dd895" +SRC_URI[sha256sum] = "afe4b572a4334aac3a002a080ad618249f00b84d7659d03e77412727d18f1ad6" inherit autotools bash-completion