Date   

Re: Question about Fluentbit upgrade

Lekshmi Ravindran
 

Sound good! Let me work on it.

Thanks,
Lekshmi


Re: Question about Fluentbit upgrade

Khem Raj
 

On Tue, May 10, 2022 at 10:01 AM <lravindran@...> wrote:

Hello,

The current fluentbit version with oe is very old (1.3.5), whereas the latest is 1.9.3. Wondering if there is anything prohibiting us from upgrading the recipe to the latest version.
nothing prohibiting, someone has to work on it and send upgrade to mailing list.

Thanks for looking into this,
Lekshmi


Question about Fluentbit upgrade

Lekshmi Ravindran
 

Hello,

The current fluentbit version with oe is very old (1.3.5), whereas the latest is 1.9.3. Wondering if there is anything prohibiting us from upgrading the recipe to the latest version.

Thanks for looking into this,
Lekshmi


[dunfell][PATCH] python3-cryptography: backport 3 changes to fix CVE-2020-36242

Martin Jansa
 

* backport the actual code change from
https://github.com/pyca/cryptography/pull/5747
without the docs and CI changes (which aren't applicable on old 2.8
version) and backport 2 older changes to make this fix applicable
on 2.8.

Signed-off-by: Martin Jansa <Martin.Jansa@...>
---
.../0001-chunked-update_into-5419.patch | 99 +++++++++++++++++++
...2-chunking-didn-t-actually-work-5499.patch | 43 ++++++++
...verflows-cause-by-integer-overflow-i.patch | 37 +++++++
.../python/python3-cryptography_2.8.bb | 3 +
4 files changed, 182 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python3-cryptography/0001-chunked-update_into-5419.patch
create mode 100644 meta-python/recipes-devtools/python/python3-cryptography/0002-chunking-didn-t-actually-work-5499.patch
create mode 100644 meta-python/recipes-devtools/python/python3-cryptography/0003-correct-buffer-overflows-cause-by-integer-overflow-i.patch

diff --git a/meta-python/recipes-devtools/python/python3-cryptography/0001-chunked-update_into-5419.patch b/meta-python/recipes-devtools/python/python3-cryptography/0001-chunked-update_into-5419.patch
new file mode 100644
index 0000000000..c5d7ca3860
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cryptography/0001-chunked-update_into-5419.patch
@@ -0,0 +1,99 @@
+From 7dee5927eb528f7ddebd62fbab31232d505acc22 Mon Sep 17 00:00:00 2001
+From: Paul Kehrer <paul.l.kehrer@...>
+Date: Sun, 23 Aug 2020 23:41:33 -0500
+Subject: [PATCH] chunked update_into (#5419)
+
+* chunked update_into
+
+* all pointer arithmetic all the time
+
+* review feedback
+
+Upstream-Status: Backport [https://github.com/pyca/cryptography/commit/f90ba1808ee9bd9a13c5673b776484644f29d7ba]
+
+Signed-off-by: Martin Jansa <Martin.Jansa@...>
+---
+ .../hazmat/backends/openssl/ciphers.py | 31 +++++++++++++------
+ tests/hazmat/primitives/test_ciphers.py | 17 ++++++++++
+ 2 files changed, 38 insertions(+), 10 deletions(-)
+
+diff --git a/src/cryptography/hazmat/backends/openssl/ciphers.py b/src/cryptography/hazmat/backends/openssl/ciphers.py
+index 94b48f52..86bc94b3 100644
+--- a/src/cryptography/hazmat/backends/openssl/ciphers.py
++++ b/src/cryptography/hazmat/backends/openssl/ciphers.py
+@@ -17,6 +17,7 @@ from cryptography.hazmat.primitives.ciphers import modes
+ class _CipherContext(object):
+ _ENCRYPT = 1
+ _DECRYPT = 0
++ _MAX_CHUNK_SIZE = 2 ** 31
+
+ def __init__(self, backend, cipher, mode, operation):
+ self._backend = backend
+@@ -125,22 +126,32 @@ class _CipherContext(object):
+ return bytes(buf[:n])
+
+ def update_into(self, data, buf):
+- if len(buf) < (len(data) + self._block_size_bytes - 1):
++ total_data_len = len(data)
++ if len(buf) < (total_data_len + self._block_size_bytes - 1):
+ raise ValueError(
+ "buffer must be at least {} bytes for this "
+ "payload".format(len(data) + self._block_size_bytes - 1)
+ )
+
+- buf = self._backend._ffi.cast(
+- "unsigned char *", self._backend._ffi.from_buffer(buf)
+- )
++ data_processed = 0
++ total_out = 0
+ outlen = self._backend._ffi.new("int *")
+- res = self._backend._lib.EVP_CipherUpdate(
+- self._ctx, buf, outlen,
+- self._backend._ffi.from_buffer(data), len(data)
+- )
+- self._backend.openssl_assert(res != 0)
+- return outlen[0]
++ baseoutbuf = self._backend._ffi.from_buffer(buf)
++ baseinbuf = self._backend._ffi.from_buffer(data)
++
++ while data_processed != total_data_len:
++ outbuf = baseoutbuf + total_out
++ inbuf = baseinbuf + data_processed
++ inlen = min(self._MAX_CHUNK_SIZE, total_data_len - data_processed)
++
++ res = self._backend._lib.EVP_CipherUpdate(
++ self._ctx, outbuf, outlen, inbuf, inlen
++ )
++ self._backend.openssl_assert(res != 0)
++ data_processed += inlen
++ total_out += outlen[0]
++
++ return total_out
+
+ def finalize(self):
+ # OpenSSL 1.0.1 on Ubuntu 12.04 (and possibly other distributions)
+diff --git a/tests/hazmat/primitives/test_ciphers.py b/tests/hazmat/primitives/test_ciphers.py
+index f29ba9a9..b88610e7 100644
+--- a/tests/hazmat/primitives/test_ciphers.py
++++ b/tests/hazmat/primitives/test_ciphers.py
+@@ -309,3 +309,20 @@ class TestCipherUpdateInto(object):
+ buf = bytearray(5)
+ with pytest.raises(ValueError):
+ encryptor.update_into(b"testing", buf)
++
++ def test_update_into_auto_chunking(self, backend, monkeypatch):
++ key = b"\x00" * 16
++ c = ciphers.Cipher(AES(key), modes.ECB(), backend)
++ encryptor = c.encryptor()
++ # Lower max chunk size so we can test chunking
++ monkeypatch.setattr(encryptor._ctx, "_MAX_CHUNK_SIZE", 40)
++ buf = bytearray(527)
++ pt = b"abcdefghijklmnopqrstuvwxyz012345" * 16 # 512 bytes
++ processed = encryptor.update_into(pt, buf)
++ assert processed == 512
++ decryptor = c.decryptor()
++ # Change max chunk size to verify alternate boundaries don't matter
++ monkeypatch.setattr(decryptor._ctx, "_MAX_CHUNK_SIZE", 73)
++ decbuf = bytearray(527)
++ decprocessed = decryptor.update_into(buf[:processed], decbuf)
++ assert decbuf[:decprocessed] == pt
diff --git a/meta-python/recipes-devtools/python/python3-cryptography/0002-chunking-didn-t-actually-work-5499.patch b/meta-python/recipes-devtools/python/python3-cryptography/0002-chunking-didn-t-actually-work-5499.patch
new file mode 100644
index 0000000000..f28f414197
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cryptography/0002-chunking-didn-t-actually-work-5499.patch
@@ -0,0 +1,43 @@
+From 7c72190620c3ccaeeab53fdd93547ca4d37b2f6b Mon Sep 17 00:00:00 2001
+From: Paul Kehrer <paul.l.kehrer@...>
+Date: Sun, 25 Oct 2020 06:15:18 -0700
+Subject: [PATCH] chunking didn't actually work (#5499)
+
+Upstream-Status: Backport [https://github.com/pyca/cryptography/commit/836a92a28fbe9df8c37121e340b91ed9cd519ddd]
+
+Signed-off-by: Martin Jansa <Martin.Jansa@...>
+---
+ src/cryptography/hazmat/backends/openssl/ciphers.py | 2 +-
+ tests/hazmat/primitives/test_ciphers.py | 9 +++++++++
+ 2 files changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/src/cryptography/hazmat/backends/openssl/ciphers.py b/src/cryptography/hazmat/backends/openssl/ciphers.py
+index 86bc94b3..2b7da80c 100644
+--- a/src/cryptography/hazmat/backends/openssl/ciphers.py
++++ b/src/cryptography/hazmat/backends/openssl/ciphers.py
+@@ -17,7 +17,7 @@ from cryptography.hazmat.primitives.ciphers import modes
+ class _CipherContext(object):
+ _ENCRYPT = 1
+ _DECRYPT = 0
+- _MAX_CHUNK_SIZE = 2 ** 31
++ _MAX_CHUNK_SIZE = 2 ** 31 - 1
+
+ def __init__(self, backend, cipher, mode, operation):
+ self._backend = backend
+diff --git a/tests/hazmat/primitives/test_ciphers.py b/tests/hazmat/primitives/test_ciphers.py
+index b88610e7..fd9048b7 100644
+--- a/tests/hazmat/primitives/test_ciphers.py
++++ b/tests/hazmat/primitives/test_ciphers.py
+@@ -326,3 +326,12 @@ class TestCipherUpdateInto(object):
+ decbuf = bytearray(527)
+ decprocessed = decryptor.update_into(buf[:processed], decbuf)
+ assert decbuf[:decprocessed] == pt
++
++ def test_max_chunk_size_fits_in_int32(self, backend):
++ # max chunk must fit in signed int32 or else a call large enough to
++ # cause chunking will result in the very OverflowError we want to
++ # avoid with chunking.
++ key = b"\x00" * 16
++ c = ciphers.Cipher(AES(key), modes.ECB(), backend)
++ encryptor = c.encryptor()
++ backend._ffi.new("int *", encryptor._ctx._MAX_CHUNK_SIZE)
diff --git a/meta-python/recipes-devtools/python/python3-cryptography/0003-correct-buffer-overflows-cause-by-integer-overflow-i.patch b/meta-python/recipes-devtools/python/python3-cryptography/0003-correct-buffer-overflows-cause-by-integer-overflow-i.patch
new file mode 100644
index 0000000000..449dd692e6
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cryptography/0003-correct-buffer-overflows-cause-by-integer-overflow-i.patch
@@ -0,0 +1,37 @@
+From 6d0a76521abe287f5ddb5cd1cfbc799d35f08cf9 Mon Sep 17 00:00:00 2001
+From: Alex Gaynor <alex.gaynor@...>
+Date: Sun, 7 Feb 2021 11:36:56 -0500
+Subject: [PATCH] correct buffer overflows cause by integer overflow in openssl
+ (#5747)
+
+* correct buffer overflows cause by integer overflow in openssl
+
+frustratingly, there is no test for this -- that's because testing this
+requires allocating more memory than is available in CI.
+
+fixes #5615.
+
+* backport CI fixes
+
+* another CI backport
+
+Upstream-Status: Backport [https://github.com/pyca/cryptography/commit/82b6ce28389f0a317bc55ba2091a74b346db7cae]
+
+Signed-off-by: Martin Jansa <Martin.Jansa@...>
+---
+ src/cryptography/hazmat/backends/openssl/ciphers.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/cryptography/hazmat/backends/openssl/ciphers.py b/src/cryptography/hazmat/backends/openssl/ciphers.py
+index 2b7da80c..7ef5f1ea 100644
+--- a/src/cryptography/hazmat/backends/openssl/ciphers.py
++++ b/src/cryptography/hazmat/backends/openssl/ciphers.py
+@@ -17,7 +17,7 @@ from cryptography.hazmat.primitives.ciphers import modes
+ class _CipherContext(object):
+ _ENCRYPT = 1
+ _DECRYPT = 0
+- _MAX_CHUNK_SIZE = 2 ** 31 - 1
++ _MAX_CHUNK_SIZE = 2 ** 30 - 1
+
+ def __init__(self, backend, cipher, mode, operation):
+ self._backend = backend
diff --git a/meta-python/recipes-devtools/python/python3-cryptography_2.8.bb b/meta-python/recipes-devtools/python/python3-cryptography_2.8.bb
index c75dabb974..e50c97df45 100644
--- a/meta-python/recipes-devtools/python/python3-cryptography_2.8.bb
+++ b/meta-python/recipes-devtools/python/python3-cryptography_2.8.bb
@@ -11,6 +11,9 @@ SRC_URI[sha256sum] = "3cda1f0ed8747339bbdf71b9f38ca74c7b592f24f65cdb3ab3765e4b02

SRC_URI += " \
file://run-ptest \
+ file://0001-chunked-update_into-5419.patch \
+ file://0002-chunking-didn-t-actually-work-5499.patch \
+ file://0003-correct-buffer-overflows-cause-by-integer-overflow-i.patch \
"

inherit pypi setuptools3
--
2.35.1


[master][kirkstone][meta-oe][PATCH] libwebsockets: Avoid absolute paths in *.cmake files in the sysroot

Peter Kjellerstedt
 

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@...>
---
.../recipes-connectivity/libwebsockets/libwebsockets_4.2.2.bb | 3 +++
1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.2.2.bb b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.2.2.bb
index a5fcb8d72..2a3a4ebd0 100644
--- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.2.2.bb
+++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_4.2.2.bb
@@ -41,3 +41,6 @@ RDEPENDS:${PN} += " ${@bb.utils.contains('PACKAGECONFIG', 'libuv', '${PN}-evlib-
RDEPENDS:${PN} += " ${@bb.utils.contains('PACKAGECONFIG', 'libev', '${PN}-evlib-ev', '', d)}"

RDEPENDS:${PN}-dev += " ${@bb.utils.contains('PACKAGECONFIG', 'static', '${PN}-staticdev', '', d)}"
+
+# Avoid absolute paths to end up in the sysroot.
+SSTATE_SCAN_FILES += "*.cmake"


Re: [meta-oe][PATCH] bats: Add patch to fix false-negatives caused by teardown code

Richard Neill <richard.neill@...>
 

Hi,

As the bug is occurring on kirkstone, could this patch also be backported to kirkstone please?

Thanks,
Richard

From: openembedded-devel@... <openembedded-devel@...> on behalf of Richard Neill via lists.openembedded.org <richard.neill=arm.com@...>
Sent: Monday, May 9, 2022 5:32 PM
To: openembedded-devel@... <openembedded-devel@...>
Cc: nd <nd@...>
Subject: [oe] [meta-oe][PATCH] bats: Add patch to fix false-negatives caused by teardown code
 
BATS v1.6.0 has a regression which can result in test case failures being
ignored when teardown code executes successfully. This patch applies the
accepted bug-fix until the next BATS release.

Also, fix a comment that wasn't updated during the BATS upgrade, to match the
correct release (v1.6.0) associated with the SRCREV.

Signed-off-by: Richard Neill <richard.neill@...>
---
 meta-oe/recipes-test/bats/bats_1.6.0.bb       |   8 +-
 ...tus-in-teardown-overriding-exit-code.patch | 150 ++++++++++++++++++
 2 files changed, 156 insertions(+), 2 deletions(-)
 create mode 100644 meta-oe/recipes-test/bats/files/0001-Fix-status-in-teardown-overriding-exit-code.patch

diff --git a/meta-oe/recipes-test/bats/bats_1.6.0.bb b/meta-oe/recipes-test/bats/bats_1.6.0.bb
index 7ea1aa8f3..df81595c9 100644
--- a/meta-oe/recipes-test/bats/bats_1.6.0.bb
+++ b/meta-oe/recipes-test/bats/bats_1.6.0.bb
@@ -6,8 +6,12 @@ HOMEPAGE = "https://github.com/bats-core/bats-core"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=2970203aedf9e829edb96a137a4fe81b"

-SRC_URI = "git://github.com/bats-core/bats-core.git;branch=master;protocol=https"
-# v1.4.1
+SRC_URI = "\
+  git://github.com/bats-core/bats-core.git;branch=master;protocol=https \
file://0001-Fix-status-in-teardown-overriding-exit-code.patch \
+  "
+
+# v1.6.0
 SRCREV = "210acf3a8ed318ddedad3137c15451739beba7d4"

 S = "${WORKDIR}/git"
diff --git a/meta-oe/recipes-test/bats/files/0001-Fix-status-in-teardown-overriding-exit-code.patch b/meta-oe/recipes-test/bats/files/0001-Fix-status-in-teardown-overriding-exit-code.patch
new file mode 100644
index 000000000..f4b1db931
--- /dev/null
+++ b/meta-oe/recipes-test/bats/files/0001-Fix-status-in-teardown-overriding-exit-code.patch
@@ -0,0 +1,150 @@
+From aa628ccdc4dec1c129c1bd98b53ef94d8c2e119a Mon Sep 17 00:00:00 2001
+From: Richard Neill <richard.neill@...>
+Date: Mon, 9 May 2022 12:20:48 +0100
+Subject: [PATCH] Fix status in teardown* overriding exit code
+
+Patch fixes regression which produces false-negatives in v1.6.0, where the
+teardown function can cause BATS to report success even if test cases fail.
+Fixes: https://github.com/bats-core/bats-core/issues/575
+
+Upstream-Status: Backport [Adapted from https://github.com/bats-core/bats-core/commit/5f372058b05f817e4e3a8dab27f83c30fd467504]
+Signed-off-by: Richard Neill <richard.neill@...>
+---
+ libexec/bats-core/bats-exec-file  | 18 ++++++++----------
+ libexec/bats-core/bats-exec-suite | 12 ++++++------
+ libexec/bats-core/bats-exec-test  |  8 ++++----
+ 3 files changed, 18 insertions(+), 20 deletions(-)
+
+diff --git a/libexec/bats-core/bats-exec-file b/libexec/bats-core/bats-exec-file
+index 298441b..63452c7 100755
+--- a/libexec/bats-core/bats-exec-file
++++ b/libexec/bats-core/bats-exec-file
+@@ -118,7 +118,6 @@ bats_run_teardown_file() {
+
+ bats_file_teardown_trap() {
+   bats_run_teardown_file
+-  local status=0
+   bats_file_exit_trap
+ }
+
+@@ -144,9 +143,9 @@ bats_file_exit_trap() {
+     bats_print_failed_command "${stack_trace[@]}" >&3
+     bats_prefix_lines_for_tap_output < "$BATS_OUT" | bats_replace_filename >&3
+     rm -rf "$BATS_OUT"
+-    status=1
++    bats_exec_file_status=1
+   fi
+-  exit $status
++  exit $bats_exec_file_status
+ }
+
+ function setup_file() {
+@@ -250,15 +249,15 @@ bats_read_tests_list_file() {
+ }
+
+ bats_run_tests() {
+-  status=0
++  bats_exec_file_status=0
+
+   if [[ "$num_jobs" != 1 && "${BATS_NO_PARALLELIZE_WITHIN_FILE-False}" == False ]]; then
+     export BATS_SEMAPHORE_NUMBER_OF_SLOTS="$num_jobs"
+-    bats_run_tests_in_parallel "$BATS_RUN_TMPDIR/parallel_output" || status=1
++    bats_run_tests_in_parallel "$BATS_RUN_TMPDIR/parallel_output" || bats_exec_file_status=1
+   else
+     for test_name in "${tests_to_run[@]}"; do
+       if [[ "${BATS_INTERRUPTED-NOTSET}" != NOTSET ]]; then
+-        status=130 # bash's code for SIGINT exits
++        bats_exec_file_status=130 # bash's code for SIGINT exits
+         break
+       fi
+       # Only handle non-empty lines
+@@ -267,14 +266,13 @@ bats_run_tests() {
+         ((++test_number_in_file))
+         # deal with empty flags to avoid spurious "unbound variable" errors on Bash 4.3 and lower
+         if [[ "${#flags[@]}" -gt 0 ]]; then
+-          "$BATS_LIBEXEC/bats-exec-test" "${flags[@]}" "$filename" "$test_name" "$test_number_in_suite" "$test_number_in_file" || status=1
++          "$BATS_LIBEXEC/bats-exec-test" "${flags[@]}" "$filename" "$test_name" "$test_number_in_suite" "$test_number_in_file" || bats_exec_file_status=1
+         else
+-          "$BATS_LIBEXEC/bats-exec-test" "$filename" "$test_name" "$test_number_in_suite" "$test_number_in_file" || status=1
++          "$BATS_LIBEXEC/bats-exec-test" "$filename" "$test_name" "$test_number_in_suite" "$test_number_in_file" || bats_exec_file_status=1
+         fi
+       fi
+     done
+   fi
+-  export status
+ }
+
+ bats_create_file_tempdirs() {
+@@ -322,4 +320,4 @@ bats_run_tests
+ trap bats_interrupt_trap INT
+ bats_run_teardown_file
+
+-exit $status
++exit $bats_exec_file_status
+diff --git a/libexec/bats-core/bats-exec-suite b/libexec/bats-core/bats-exec-suite
+index 05c66f4..4d440ae 100755
+--- a/libexec/bats-core/bats-exec-suite
++++ b/libexec/bats-core/bats-exec-suite
+@@ -135,10 +135,10 @@ bats_exit_trap() {
+   if [[ ${BATS_INTERRUPTED-NOTSET} != NOTSET ]]; then
+     printf "\n# Received SIGINT, aborting ...\n\n"
+   fi
+-  exit "$status"
++  exit "$bats_exec_suite_status"
+ }
+
+-status=0
++bats_exec_suite_status=0
+ printf '1..%d\n' "${test_count}"
+
+ # No point on continuing if there's no tests.
+@@ -163,15 +163,15 @@ if [[ "$num_jobs" -gt 1 ]] && [[ -z "$bats_no_parallelize_across_files" ]]; then
+   # shellcheck disable=SC2086,SC2068
+   # we need to handle the quoting of ${flags[@]} ourselves,
+   # because parallel can only quote it as one
+-  parallel --keep-order --jobs "$num_jobs" bats-exec-file "$(printf "%q " "${flags[@]}")" "{}" "$TESTS_LIST_FILE"  ::: "${BATS_UNIQUE_TEST_FILENAMES[@]}" 2>&1 || status=1
++  parallel --keep-order --jobs "$num_jobs" bats-exec-file "$(printf "%q " "${flags[@]}")" "{}" "$TESTS_LIST_FILE"  ::: "${BATS_UNIQUE_TEST_FILENAMES[@]}" 2>&1 || bats_exec_suite_status=1
+ else
+   for filename in "${BATS_UNIQUE_TEST_FILENAMES[@]}"; do
+     if [[ "${BATS_INTERRUPTED-NOTSET}" != NOTSET ]]; then
+-      status=130 # bash's code for SIGINT exits
++      bats_exec_suite_status=130 # bash's code for SIGINT exits
+       break
+     fi
+-    bats-exec-file "${flags[@]}" "$filename" "${TESTS_LIST_FILE}" || status=1
++    bats-exec-file "${flags[@]}" "$filename" "${TESTS_LIST_FILE}" || bats_exec_suite_status=1
+   done
+ fi
+
+-exit "$status"
++exit "$bats_exec_suite_status"
+diff --git a/libexec/bats-core/bats-exec-test b/libexec/bats-core/bats-exec-test
+index aae4572..57bdf18 100755
+--- a/libexec/bats-core/bats-exec-test
++++ b/libexec/bats-core/bats-exec-test
+@@ -94,18 +94,18 @@ source "$BATS_ROOT/lib/bats-core/tracing.bash"
+
+ bats_teardown_trap() {
+   bats_check_status_from_trap
+-  local status=0
++  local bats_teardown_trap_status=0
+   # mark the start of this function to distinguish where skip is called
+   # parameter 1 will signify the reason why this function was called
+   # this is used to identify when this is called as exit trap function
+   BATS_TEARDOWN_STARTED=${1:-1}
+-  teardown >>"$BATS_OUT" 2>&1 || status="$?"
++  teardown >>"$BATS_OUT" 2>&1 || bats_teardown_trap_status="$?"
+
+-  if [[ $status -eq 0 ]]; then
++  if [[ $bats_teardown_trap_status -eq 0 ]]; then
+     BATS_TEARDOWN_COMPLETED=1
+   elif [[ -n "$BATS_TEST_COMPLETED" ]]; then
+     BATS_DEBUG_LAST_STACK_TRACE_IS_VALID=1
+-    BATS_ERROR_STATUS="$status"
++    BATS_ERROR_STATUS="$bats_teardown_trap_status"
+   fi
+
+   bats_exit_trap
+--
+2.25.1
+
--
2.25.1


[meta-oe][PATCH] imlib2: update SRC_URI

Nicolas Dechesne
 

The upstream repo location has changed, it's now
https://git.enlightenment.org/old/legacy-imlib2

It's not clear when or why it happened, but the the commit hash we use
in SRCREV exists in the 'new' location, so let's at least update the
SRC_URI for now, and fix this warning:

WARNING: imlib2-1.7.1-r0 do_fetch: Failed to fetch URL git://git.enlightenment.org/legacy/imlib2.git;protocol=https;branch=master, attempting MIRRORS if available

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@...>
---
meta-oe/recipes-graphics/imlib2/imlib2_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/imlib2/imlib2_git.bb b/meta-oe/recipes-graphics/imlib2/imlib2_git.bb
index 56d41cd39..869f8123d 100644
--- a/meta-oe/recipes-graphics/imlib2/imlib2_git.bb
+++ b/meta-oe/recipes-graphics/imlib2/imlib2_git.bb
@@ -14,7 +14,7 @@ inherit autotools pkgconfig lib_package

AUTO_LIBNAME_PKGS = ""

-SRC_URI = "git://git.enlightenment.org/legacy/${BPN}.git;protocol=https;branch=master"
+SRC_URI = "git://git.enlightenment.org/old/legacy-${BPN}.git;protocol=https;branch=master"
S = "${WORKDIR}/git"

PACKAGECONFIG ??= "jpeg png zlib ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
--
2.30.2


[meta-networking][PATCH] conntrack-tools: fix postinst script

Kai Kang
 

From: Kai Kang <kai.kang@...>

Fix error caused by postinst script of conntrack-tools:

| /var/tmp/rpm-tmp.or09Iq: line 4: unexpected EOF while looking for matching `"'
| %post(conntrack-tools-1.4.6-r0.core2_64): waitpid(1173) rc 1173 status 200
| warning: %post(conntrack-tools-1.4.6-r0.core2_64) scriptlet failed, exit status 2

Signed-off-by: Kai Kang <kai.kang@...>
---
.../recipes-filter/conntrack-tools/conntrack-tools_1.4.6.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.6.bb b/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.6.bb
index e76238fe0..50f7ced88 100644
--- a/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.6.bb
+++ b/meta-networking/recipes-filter/conntrack-tools/conntrack-tools_1.4.6.bb
@@ -35,5 +35,5 @@ do_install:append() {

# fix error message: Do not forget that you need *root* or CAP_NET_ADMIN capabilities ;-)
pkg_postinst:${PN} () {
- setcap cap_net_admin+ep $D/${sbindir}/conntrack"
-}
\ No newline at end of file
+ setcap cap_net_admin+ep "$D/${sbindir}/conntrack"
+}
--
2.17.1


Re: [meta-oe][PATCH] intel-speed-select: Add libnl dependency and extend CFLAGS

Aryaman Gupta
 

Hi Bruce,

I'm working with Randy as a summer intern. We figured you may be interested in this commit. It's a simple change to add a dependency but strangely, it used to work for linux-yocto but recently started to fail for linux-yocto-dev. We noticed this discrepancy within the last week when rebasing wr-linux, where the genl.h file from libnl is present in the recipe-sysroot for linux-yocto but not for linux-yocto-dev (unless this dependency is added). Randy and I are puzzled why this change showed up at this point; any ideas?

Regards,
Aryaman and Randy

-----Original Message-----
From: Gupta, Aryaman
Sent: Monday, May 9, 2022 4:44 PM
To: openembedded-devel@...
Subject: [meta-oe][PATCH] intel-speed-select: Add libnl dependency and extend CFLAGS

From: Randy MacLeod <Randy.MacLeod@...>

Add libnl dependency and extend CFLAGS to include the libnl3 directory.

Signed-off-by: Randy MacLeod <Randy.MacLeod@...>
Signed-off-by: Aryaman Gupta <aryaman.gupta@...>
---
.../recipes-kernel/intel-speed-select/intel-speed-select.bb | 3 +++
1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
index c895e6c1d..23ea0d8aa 100644
--- a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
+++ b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
@@ -11,10 +11,13 @@ inherit kernelsrc
COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
COMPATIBLE_HOST:libc-musl = 'null'

+DEPENDS = "libnl"
+
do_populate_lic[depends] += "virtual/kernel:do_patch"

B = "${WORKDIR}/${BPN}-${PV}"

+CFLAGS += "-I${STAGING_INCDIR}/libnl3"
EXTRA_OEMAKE = "-C ${S}/tools/power/x86/intel-speed-select O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}"

PACKAGE_ARCH = "${MACHINE_ARCH}"
--
2.33.0


[meta-oe][PATCH] intel-speed-select: Add libnl dependency and extend CFLAGS

Aryaman Gupta
 

From: Randy MacLeod <Randy.MacLeod@...>

Add libnl dependency and extend CFLAGS to include the libnl3 directory.

Signed-off-by: Randy MacLeod <Randy.MacLeod@...>
Signed-off-by: Aryaman Gupta <aryaman.gupta@...>
---
.../recipes-kernel/intel-speed-select/intel-speed-select.bb | 3 +++
1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
index c895e6c1d..23ea0d8aa 100644
--- a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
+++ b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb
@@ -11,10 +11,13 @@ inherit kernelsrc
COMPATIBLE_HOST = '(x86_64|i.86).*-linux'
COMPATIBLE_HOST:libc-musl = 'null'

+DEPENDS = "libnl"
+
do_populate_lic[depends] += "virtual/kernel:do_patch"

B = "${WORKDIR}/${BPN}-${PV}"

+CFLAGS += "-I${STAGING_INCDIR}/libnl3"
EXTRA_OEMAKE = "-C ${S}/tools/power/x86/intel-speed-select O=${B} CROSS=${TARGET_PREFIX} CC="${CC}" LD="${LD}" AR=${AR} ARCH=${ARCH}"

PACKAGE_ARCH = "${MACHINE_ARCH}"
--
2.33.0


[meta-oe][PATCH] bats: Add patch to fix false-negatives caused by teardown code

Richard Neill <richard.neill@...>
 

BATS v1.6.0 has a regression which can result in test case failures being
ignored when teardown code executes successfully. This patch applies the
accepted bug-fix until the next BATS release.

Also, fix a comment that wasn't updated during the BATS upgrade, to match=
the
correct release (v1.6.0) associated with the SRCREV.

Signed-off-by: Richard Neill <richard.neill@...>
---
meta-oe/recipes-test/bats/bats_1.6.0.bb | 8 +-
...tus-in-teardown-overriding-exit-code.patch | 150 ++++++++++++++++++
2 files changed, 156 insertions(+), 2 deletions(-)
create mode 100644 meta-oe/recipes-test/bats/files/0001-Fix-status-in-te=
ardown-overriding-exit-code.patch

diff --git a/meta-oe/recipes-test/bats/bats_1.6.0.bb b/meta-oe/recipes-te=
st/bats/bats_1.6.0.bb
index 7ea1aa8f3..df81595c9 100644
--- a/meta-oe/recipes-test/bats/bats_1.6.0.bb
+++ b/meta-oe/recipes-test/bats/bats_1.6.0.bb
@@ -6,8 +6,12 @@ HOMEPAGE =3D "https://github.com/bats-core/bats-core"
LICENSE =3D "MIT"
LIC_FILES_CHKSUM =3D "file://LICENSE.md;md5=3D2970203aedf9e829edb96a137a=
4fe81b"

-SRC_URI =3D "git://github.com/bats-core/bats-core.git;branch=3Dmaster;pr=
otocol=3Dhttps"
-# v1.4.1
+SRC_URI =3D "\
+ git://github.com/bats-core/bats-core.git;branch=3Dmaster;protocol=3Dht=
tps \
+ file://0001-Fix-status-in-teardown-overriding-exit-code.patch \
+ "
+
+# v1.6.0
SRCREV =3D "210acf3a8ed318ddedad3137c15451739beba7d4"

S =3D "${WORKDIR}/git"
diff --git a/meta-oe/recipes-test/bats/files/0001-Fix-status-in-teardown-=
overriding-exit-code.patch b/meta-oe/recipes-test/bats/files/0001-Fix-sta=
tus-in-teardown-overriding-exit-code.patch
new file mode 100644
index 000000000..f4b1db931
--- /dev/null
+++ b/meta-oe/recipes-test/bats/files/0001-Fix-status-in-teardown-overrid=
ing-exit-code.patch
@@ -0,0 +1,150 @@
+From aa628ccdc4dec1c129c1bd98b53ef94d8c2e119a Mon Sep 17 00:00:00 2001
+From: Richard Neill <richard.neill@...>
+Date: Mon, 9 May 2022 12:20:48 +0100
+Subject: [PATCH] Fix status in teardown* overriding exit code
+
+Patch fixes regression which produces false-negatives in v1.6.0, where t=
he
+teardown function can cause BATS to report success even if test cases fa=
il.
+Fixes: https://github.com/bats-core/bats-core/issues/575
+
+Upstream-Status: Backport [Adapted from https://github.com/bats-core/bat=
s-core/commit/5f372058b05f817e4e3a8dab27f83c30fd467504]
+Signed-off-by: Richard Neill <richard.neill@...>
+---
+ libexec/bats-core/bats-exec-file | 18 ++++++++----------
+ libexec/bats-core/bats-exec-suite | 12 ++++++------
+ libexec/bats-core/bats-exec-test | 8 ++++----
+ 3 files changed, 18 insertions(+), 20 deletions(-)
+
+diff --git a/libexec/bats-core/bats-exec-file b/libexec/bats-core/bats-e=
xec-file
+index 298441b..63452c7 100755
+--- a/libexec/bats-core/bats-exec-file
++++ b/libexec/bats-core/bats-exec-file
+@@ -118,7 +118,6 @@ bats_run_teardown_file() {
+
+ bats_file_teardown_trap() {
+ bats_run_teardown_file
+- local status=3D0
+ bats_file_exit_trap
+ }
+
+@@ -144,9 +143,9 @@ bats_file_exit_trap() {
+ bats_print_failed_command "${stack_trace[@]}" >&3
+ bats_prefix_lines_for_tap_output < "$BATS_OUT" | bats_replace_filen=
ame >&3
+ rm -rf "$BATS_OUT"
+- status=3D1
++ bats_exec_file_status=3D1
+ fi
+- exit $status
++ exit $bats_exec_file_status
+ }
+
+ function setup_file() {
+@@ -250,15 +249,15 @@ bats_read_tests_list_file() {
+ }
+
+ bats_run_tests() {
+- status=3D0
++ bats_exec_file_status=3D0
+
+ if [[ "$num_jobs" !=3D 1 && "${BATS_NO_PARALLELIZE_WITHIN_FILE-False}=
" =3D=3D False ]]; then
+ export BATS_SEMAPHORE_NUMBER_OF_SLOTS=3D"$num_jobs"
+- bats_run_tests_in_parallel "$BATS_RUN_TMPDIR/parallel_output" || st=
atus=3D1
++ bats_run_tests_in_parallel "$BATS_RUN_TMPDIR/parallel_output" || ba=
ts_exec_file_status=3D1
+ else
+ for test_name in "${tests_to_run[@]}"; do
+ if [[ "${BATS_INTERRUPTED-NOTSET}" !=3D NOTSET ]]; then
+- status=3D130 # bash's code for SIGINT exits
++ bats_exec_file_status=3D130 # bash's code for SIGINT exits
+ break
+ fi
+ # Only handle non-empty lines
+@@ -267,14 +266,13 @@ bats_run_tests() {
+ ((++test_number_in_file))
+ # deal with empty flags to avoid spurious "unbound variable" er=
rors on Bash 4.3 and lower
+ if [[ "${#flags[@]}" -gt 0 ]]; then
+- "$BATS_LIBEXEC/bats-exec-test" "${flags[@]}" "$filename" "$te=
st_name" "$test_number_in_suite" "$test_number_in_file" || status=3D1
++ "$BATS_LIBEXEC/bats-exec-test" "${flags[@]}" "$filename" "$te=
st_name" "$test_number_in_suite" "$test_number_in_file" || bats_exec_file=
_status=3D1
+ else
+- "$BATS_LIBEXEC/bats-exec-test" "$filename" "$test_name" "$tes=
t_number_in_suite" "$test_number_in_file" || status=3D1
++ "$BATS_LIBEXEC/bats-exec-test" "$filename" "$test_name" "$tes=
t_number_in_suite" "$test_number_in_file" || bats_exec_file_status=3D1
+ fi
+ fi
+ done
+ fi
+- export status
+ }
+
+ bats_create_file_tempdirs() {
+@@ -322,4 +320,4 @@ bats_run_tests
+ trap bats_interrupt_trap INT
+ bats_run_teardown_file
+
+-exit $status
++exit $bats_exec_file_status
+diff --git a/libexec/bats-core/bats-exec-suite b/libexec/bats-core/bats-=
exec-suite
+index 05c66f4..4d440ae 100755
+--- a/libexec/bats-core/bats-exec-suite
++++ b/libexec/bats-core/bats-exec-suite
+@@ -135,10 +135,10 @@ bats_exit_trap() {
+ if [[ ${BATS_INTERRUPTED-NOTSET} !=3D NOTSET ]]; then
+ printf "\n# Received SIGINT, aborting ...\n\n"
+ fi
+- exit "$status"
++ exit "$bats_exec_suite_status"
+ }
+
+-status=3D0
++bats_exec_suite_status=3D0
+ printf '1..%d\n' "${test_count}"
+
+ # No point on continuing if there's no tests.
+@@ -163,15 +163,15 @@ if [[ "$num_jobs" -gt 1 ]] && [[ -z "$bats_no_para=
llelize_across_files" ]]; then
+ # shellcheck disable=3DSC2086,SC2068
+ # we need to handle the quoting of ${flags[@]} ourselves,
+ # because parallel can only quote it as one
+- parallel --keep-order --jobs "$num_jobs" bats-exec-file "$(printf "%q=
" "${flags[@]}")" "{}" "$TESTS_LIST_FILE" ::: "${BATS_UNIQUE_TEST_FILEN=
AMES[@]}" 2>&1 || status=3D1
++ parallel --keep-order --jobs "$num_jobs" bats-exec-file "$(printf "%q=
" "${flags[@]}")" "{}" "$TESTS_LIST_FILE" ::: "${BATS_UNIQUE_TEST_FILEN=
AMES[@]}" 2>&1 || bats_exec_suite_status=3D1
+ else
+ for filename in "${BATS_UNIQUE_TEST_FILENAMES[@]}"; do
+ if [[ "${BATS_INTERRUPTED-NOTSET}" !=3D NOTSET ]]; then
+- status=3D130 # bash's code for SIGINT exits
++ bats_exec_suite_status=3D130 # bash's code for SIGINT exits
+ break
+ fi
+- bats-exec-file "${flags[@]}" "$filename" "${TESTS_LIST_FILE}" || st=
atus=3D1
++ bats-exec-file "${flags[@]}" "$filename" "${TESTS_LIST_FILE}" || ba=
ts_exec_suite_status=3D1
+ done
+ fi
+
+-exit "$status"
++exit "$bats_exec_suite_status"
+diff --git a/libexec/bats-core/bats-exec-test b/libexec/bats-core/bats-e=
xec-test
+index aae4572..57bdf18 100755
+--- a/libexec/bats-core/bats-exec-test
++++ b/libexec/bats-core/bats-exec-test
+@@ -94,18 +94,18 @@ source "$BATS_ROOT/lib/bats-core/tracing.bash"
+
+ bats_teardown_trap() {
+ bats_check_status_from_trap
+- local status=3D0
++ local bats_teardown_trap_status=3D0
+ # mark the start of this function to distinguish where skip is called
+ # parameter 1 will signify the reason why this function was called
+ # this is used to identify when this is called as exit trap function
+ BATS_TEARDOWN_STARTED=3D${1:-1}
+- teardown >>"$BATS_OUT" 2>&1 || status=3D"$?"
++ teardown >>"$BATS_OUT" 2>&1 || bats_teardown_trap_status=3D"$?"
+
+- if [[ $status -eq 0 ]]; then
++ if [[ $bats_teardown_trap_status -eq 0 ]]; then
+ BATS_TEARDOWN_COMPLETED=3D1
+ elif [[ -n "$BATS_TEST_COMPLETED" ]]; then
+ BATS_DEBUG_LAST_STACK_TRACE_IS_VALID=3D1
+- BATS_ERROR_STATUS=3D"$status"
++ BATS_ERROR_STATUS=3D"$bats_teardown_trap_status"
+ fi
+
+ bats_exit_trap
+--
+2.25.1
+
--
2.25.1


[meta-gnome] [PATCH] gtk4: upgrade 4.6.2 -> 4.6.3

zhengruoqin
 

Overview of Changes in 4.6.3, 21-04-2022
========================================

* GtkOverlay:
- Bring back positional style classes

* GtkFileChooser:
- Prevent unwanted completion popups
- Fix small problems in save mode
- Fix buildable suport of GtkFileFilter

* GtkPopover:
- Fix button positions in right-to-left locales

* GtkLabel:
- Fix small issues with link handling

* Tooltips:
- Don't restrict the minimum tooltip length

* Theme:
- Don't use opacity for overlay scrollbars
- Fix selection text color in vertical spin buttons

* GSK:
- Accept textures that are generated by webkit
- Align offscreen rendering to the pixel grid

* Accessibility
- Fix a crash in startup when orca is running

* Input:
- Fix display changes in GtkIMMultiContext
- Fix activating on-screen keyboards
- Always propagate hold events in GtkEventControllerScroll

* Windows:
- Fix a critical warning in clipboard handling
- Report serial numbers for events

* MacOS:
- Prevent fullscreen transition reentrancy

* Translation updates
British English
Czech
German
Indonesian
Latvian

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
meta-gnome/recipes-gnome/gtk4/{gtk4_4.6.2.bb => gtk4_4.6.3.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-gnome/recipes-gnome/gtk4/{gtk4_4.6.2.bb => gtk4_4.6.3.bb} (98%)

diff --git a/meta-gnome/recipes-gnome/gtk4/gtk4_4.6.2.bb b/meta-gnome/recipes-gnome/gtk4/gtk4_4.6.3.bb
similarity index 98%
rename from meta-gnome/recipes-gnome/gtk4/gtk4_4.6.2.bb
rename to meta-gnome/recipes-gnome/gtk4/gtk4_4.6.3.bb
index fdfe3635c..a0a60fd45 100644
--- a/meta-gnome/recipes-gnome/gtk4/gtk4_4.6.2.bb
+++ b/meta-gnome/recipes-gnome/gtk4/gtk4_4.6.3.bb
@@ -33,7 +33,7 @@ MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
UPSTREAM_CHECK_REGEX = "gtk-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar.xz"

SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk/${MAJ_VER}/gtk-${PV}.tar.xz"
-SRC_URI[sha256sum] = "ff263af609a50eb76056653592d929459aef4819a444c436f6d52c6f63c1faec"
+SRC_URI[sha256sum] = "a57acd0e4482981700fdf86596c7413cb61ef47f75e4747fda809e8231b8d96c"

S = "${WORKDIR}/gtk-${PV}"

--
2.25.1


[meta-oe] [PATCH] mbw: upgrade 1.4 -> 1.5

zhengruoqin
 

License-Update: Version of mbw updated to 1.5

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
meta-oe/recipes-benchmark/mbw/mbw_git.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-benchmark/mbw/mbw_git.bb b/meta-oe/recipes-benchmark/mbw/mbw_git.bb
index 52b939950..cfdcfeb9b 100644
--- a/meta-oe/recipes-benchmark/mbw/mbw_git.bb
+++ b/meta-oe/recipes-benchmark/mbw/mbw_git.bb
@@ -2,13 +2,13 @@ SUMMARY = "MBW determines the copy memory bandwidth available to userspace progr
HOMEPAGE = "http://github.com/raas/mbw"
SECTION = "console/tests"
LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://mbw.spec;beginline=1;endline=10;md5=bbb77813272134a5c461f71abe945bef"
+LIC_FILES_CHKSUM = "file://mbw.spec;beginline=1;endline=10;md5=34d71e08e6337a8411d82d7dd0c54fe2"

SRC_URI = "git://github.com/raas/${BPN}.git;branch=master;protocol=https"

-SRCREV = "2a15026ff65160127204881263464b1740a57198"
+SRCREV = "d2cd3d36c353fee578f752c4e65a8c1efcee002c"

-PV = "1.4+git${SRCPV}"
+PV = "1.5"

S = "${WORKDIR}/git"

--
2.25.1


[meta-oe] [PATCH] libconfig-general-perl: upgrade 2.63 -> 2.65

zhengruoqin
 

License-Update: updated to Artistic-2.0

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
...general-perl_2.63.bb => libconfig-general-perl_2.65.bb} | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
rename meta-oe/recipes-devtools/perl/{libconfig-general-perl_2.63.bb => libconfig-general-perl_2.65.bb} (65%)

diff --git a/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.63.bb b/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.65.bb
similarity index 65%
rename from meta-oe/recipes-devtools/perl/libconfig-general-perl_2.63.bb
rename to meta-oe/recipes-devtools/perl/libconfig-general-perl_2.65.bb
index b12e2e4ba..ecc89d075 100644
--- a/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.63.bb
+++ b/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.65.bb
@@ -1,15 +1,14 @@
DESCRIPTION = "Config file parser module"
HOMEPAGE = "http://search.cpan.org/dist/Config-General/"
-LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
+LICENSE = "Artistic-2.0 | GPL-1.0-or-later"
SECTION = "libs"
-LIC_FILES_CHKSUM = "file://README;beginline=90;endline=90;md5=3ba4bbac1e79a08332688196f637d2b2"
+LIC_FILES_CHKSUM = "file://README;beginline=90;endline=90;md5=53fe13727e61798809ec5c160dc93e6e"

SRCNAME = "Config-General"

SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TL/TLINDEN/${SRCNAME}-${PV}.tar.gz"

-SRC_URI[md5sum] = "e3ea2a6dc76931cf638b5227aceabf60"
-SRC_URI[sha256sum] = "0a9bf977b8aabe76343e88095d2296c8a422410fd2a05a1901f2b20e2e1f6fad"
+SRC_URI[sha256sum] = "4d6d5754be3a9f30906836f0cc10e554c8832e14e7a1341efb15b05d706fc58f"

S = "${WORKDIR}/${SRCNAME}-${PV}"

--
2.25.1


[meta-oe] [PATCH] gpsd: upgrade 3.23.1 -> 3.24

zhengruoqin
 

3.24: 2022-04-22
NTRIP 2.0 now works. But still only plain HTML, not RTP, etc.
Remove ntrip option and NTRIP_ENABLE. Always build.
Remove passthrough option and PASSTHROUGH_ENABLE. Always build.
Remove nmea0183 option and NMEA0183_ENABLE. Always build.
Remove netfeed option and NETFEED_ENABLE. Always build.
gpsd will retry ntrip:// and tcp:// connections
cgps can expand to show more sats. Added --rtk option.
maidenhead() checks for input errors.
Better SHM logs.
PPS and TOFF JSON now include shm used, and real precision.
Add initial, untested, TSIPv1 support
split debug messages into different syslog() levels.
New ppscheck options, and can use /dev/ppsX devices.
First try at TSIPv1 protocol decodes.
Decode Quectel $PQVERNO for firmware version
Decode Skytrak PX1172RH_DS messages.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
.../recipes-navigation/gpsd/{gpsd_3.23.1.bb => gpsd_3.24.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-navigation/gpsd/{gpsd_3.23.1.bb => gpsd_3.24.bb} (98%)

diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb b/meta-oe/recipes-navigation/gpsd/gpsd_3.24.bb
similarity index 98%
rename from meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb
rename to meta-oe/recipes-navigation/gpsd/gpsd_3.24.bb
index 410db92bd..245f8728c 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.23.1.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.24.bb
@@ -8,7 +8,7 @@ PROVIDES = "virtual/gpsd"
SRC_URI = "${SAVANNAH_GNU_MIRROR}/${BPN}/${BP}.tar.gz \
file://gpsd.init \
"
-SRC_URI[sha256sum] = "0b991ce9a46538c4ea450f7a8ee428ff44fb4f8d665fddf2ffe40fe0ae9a6c09"
+SRC_URI[sha256sum] = "00ee13f615655284874a661be13553abe66128e6deb5cd648af9bc0cb345fe5c"

inherit scons update-rc.d python3-dir python3native systemd update-alternatives pkgconfig

--
2.25.1


[meta-gnome] [PATCH] gnome-text-editor: upgrade 42.0 -> 42.1

zhengruoqin
 

Changelog:
==========
• Improved preference dialog styling for libadwaita
• Build system fixes
• Fix icons for zoom controls
• Fix titles in save-changes dialog
• Translation updates

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
.../{gnome-text-editor_42.0.bb => gnome-text-editor_42.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-gnome/recipes-gnome/gnome-text-editor/{gnome-text-editor_42.0.bb => gnome-text-editor_42.1.bb} (84%)

diff --git a/meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor_42.0.bb b/meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor_42.1.bb
similarity index 84%
rename from meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor_42.0.bb
rename to meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor_42.1.bb
index 01504b1cb..7efc6867d 100644
--- a/meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor_42.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-text-editor/gnome-text-editor_42.1.bb
@@ -19,7 +19,7 @@ inherit gnomebase gtk-icon-cache itstool gnome-help mime-xdg features_check
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
REQUIRED_DISTRO_FEATURES = "opengl"

-SRC_URI[archive.sha256sum] = "0e32140ee1c13428563bcd5f784e61ee22ffd1ad27d8c02283b4358a81dfab50"
+SRC_URI[archive.sha256sum] = "a3c8508033bfb63a8b48a062ac1e67b2c333ba0153879b38c661968a103ad15c"

FILES:${PN} += " \
${datadir}/metainfo \
--
2.25.1


[meta-oe] [PATCH] apitrace: upgrade 10.0 -> 11.0

zhengruoqin
 

Changelog:
==========
appveyor: Update GitHub deployment token.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
.../apitrace/{apitrace_10.0.bb => apitrace_11.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-devtools/apitrace/{apitrace_10.0.bb => apitrace_11.0.bb} (94%)

diff --git a/meta-oe/recipes-devtools/apitrace/apitrace_10.0.bb b/meta-oe/recipes-devtools/apitrace/apitrace_11.0.bb
similarity index 94%
rename from meta-oe/recipes-devtools/apitrace/apitrace_10.0.bb
rename to meta-oe/recipes-devtools/apitrace/apitrace_11.0.bb
index d4d8d8eb4..1e5798de5 100644
--- a/meta-oe/recipes-devtools/apitrace/apitrace_10.0.bb
+++ b/meta-oe/recipes-devtools/apitrace/apitrace_11.0.bb
@@ -5,7 +5,7 @@ LICENSE = "MIT & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=aeb969185a143c3c25130bc2c3ef9a50 \
file://thirdparty/snappy/COPYING;md5=f62f3080324a97b3159a7a7e61812d0c"

-SRCREV = "d28a980802ad48568c87da02d630c8babfe163bb"
+SRCREV = "c54d99563414cd178abec7cf7d9663eb949a0f51"
PV .= "+10.0.1+git${SRCPV}"
SRC_URI = "gitsm://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \
"
--
2.25.1


[meta-oe] [PATCH] glibmm-2.68: upgrade 2.70.0 -> 2.72.1

zhengruoqin
 

Changelog:
==========
Glib:
* ustring_Iterator: Don't declare copy constructor =default.
A fix in the 2.72.0 release broke ABI.
* MainContext: Add create(MainContextFlags flags)

Gio:
* Add AppInfoMonitor
* DBus::Proxy: signal_signal() accepts a signal name
* File: Add move_async() and move_finish()
* SocketClient: Deprecate set/get/property_tls_validation_flags()
* TlsCertificate: Add properties private_key, private_key_pem,
pkcs11_uri, private_key_pkcs11_uri. Fix the create*() methods.
* TlsClientConnection.hg: Deprecate set/get/property_validation_flags()

gmmproc:
* Add "ignore_deprecations" argument in _WRAP_METHOD()

Build:
* Require glib-2.0 >= 2.71.2
* MSVC build: Support VS2022 builds
* Meson build: Specify 'check' option in run_command()
Require Meson >= 0.55.0

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@...>
---
.../glib-2.0/{glibmm-2.68_2.70.0.bb => glibmm-2.68_2.72.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-core/glib-2.0/{glibmm-2.68_2.70.0.bb => glibmm-2.68_2.72.1.bb} (90%)

diff --git a/meta-oe/recipes-core/glib-2.0/glibmm-2.68_2.70.0.bb b/meta-oe/recipes-core/glib-2.0/glibmm-2.68_2.72.1.bb
similarity index 90%
rename from meta-oe/recipes-core/glib-2.0/glibmm-2.68_2.70.0.bb
rename to meta-oe/recipes-core/glib-2.0/glibmm-2.68_2.72.1.bb
index 278cfd87b..f13cf9d50 100644
--- a/meta-oe/recipes-core/glib-2.0/glibmm-2.68_2.70.0.bb
+++ b/meta-oe/recipes-core/glib-2.0/glibmm-2.68_2.72.1.bb
@@ -13,7 +13,7 @@ inherit gnomebase

SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}"

-SRC_URI[archive.sha256sum] = "8008fd8aeddcc867a3f97f113de625f6e96ef98cf7860379813a9c0feffdb520"
+SRC_URI[archive.sha256sum] = "2a7649a28ab5dc53ac4dabb76c9f61599fbc628923ab6a7dd74bf675d9155cd8"

S = "${WORKDIR}/${GNOMEBN}-${PV}"

--
2.25.1


[meta-gnome] [PATCH] zenity: upgrade 3.42.0 -> 3.42.1

wangmy
 

Changelog:
==========
- scale: Make OK button default (allows pressing Enter to accept selected
value)
- Fix maximum width of message dialogs to 60 characters, and make message
dialogs non-resizable (fixes regression from 3b64d05e)

Signed-off-by: Wang Mingyu <wangmy@...>
---
.../recipes-gnome/zenity/{zenity_3.42.0.bb => zenity_3.42.1.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-gnome/recipes-gnome/zenity/{zenity_3.42.0.bb => zenity_3.42.1.bb} (88%)

diff --git a/meta-gnome/recipes-gnome/zenity/zenity_3.42.0.bb b/meta-gnome/recipes-gnome/zenity/zenity_3.42.1.bb
similarity index 88%
rename from meta-gnome/recipes-gnome/zenity/zenity_3.42.0.bb
rename to meta-gnome/recipes-gnome/zenity/zenity_3.42.1.bb
index ba2d4594a..d48eb826f 100644
--- a/meta-gnome/recipes-gnome/zenity/zenity_3.42.0.bb
+++ b/meta-gnome/recipes-gnome/zenity/zenity_3.42.1.bb
@@ -14,7 +14,7 @@ DEPENDS = " \

REQUIRED_DISTRO_FEATURES = "x11"

-SRC_URI[archive.sha256sum] = "c24c7fe6bb43163ced8adf232d583b2e013d3ba6c28deb5fcf807985e3deb5ef"
+SRC_URI[archive.sha256sum] = "a08e0c8e626615ee2c23ff74628eba6f8b486875dd54371ca7e2d7605b72a87c"
SRC_URI += "file://0001-Harcode-shebang-to-avoid-pointing-to-build-system-s-.patch"

PACKAGECONFIG[libnotify] = "-Dlibnotify=true,-Dlibnotify=false,libnotify"
--
2.25.1


[meta-networking] [PATCH] wolfssl: upgrade 5.2.0 -> 5.3.0

wangmy
 

Changelog:
https://github.com/wolfSSL/wolfssl/releases/tag/v5.3.0-stable

Signed-off-by: Wang Mingyu <wangmy@...>
---
.../wolfssl/{wolfssl_5.2.0.bb => wolfssl_5.3.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-networking/recipes-connectivity/wolfssl/{wolfssl_5.2.0.bb => wolfssl_5.3.0.bb} (93%)

diff --git a/meta-networking/recipes-connectivity/wolfssl/wolfssl_5.2.0.bb b/meta-networking/recipes-connectivity/wolfssl/wolfssl_5.3.0.bb
similarity index 93%
rename from meta-networking/recipes-connectivity/wolfssl/wolfssl_5.2.0.bb
rename to meta-networking/recipes-connectivity/wolfssl/wolfssl_5.3.0.bb
index 78a24bcdd..40a48f6d6 100644
--- a/meta-networking/recipes-connectivity/wolfssl/wolfssl_5.2.0.bb
+++ b/meta-networking/recipes-connectivity/wolfssl/wolfssl_5.3.0.bb
@@ -13,7 +13,7 @@ PROVIDES += "cyassl"
RPROVIDES:${PN} = "cyassl"

SRC_URI = "git://github.com/wolfSSL/wolfssl.git;protocol=https;branch=master"
-SRCREV = "e6c07a296d2996e8d5c3cc615dfc50013bbcc794"
+SRCREV = "e722c15be860794179082a05d09e6a90dc77ccf0"

S = "${WORKDIR}/git"

--
2.25.1

2881 - 2900 of 99908