Skip to contentSkip to conversation

gnome-tweaks, networkmanager-fortisslvpn, libesmtp, json-schema-validator, python3-pybluez, python3-pynetlinux, apache2: Fix Malformed Upstream-Status

PATCH New Martin Jansa 1 participant 2 messages Sep 27, 2023 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gnome-tweaks, networkmanager-fortisslvpn, libesmtp, json-schema-validator, python3-pybluez, python3-pynetlinux, apache2: Fix Malformed Upstream-Status

* Accepted was replaced with Backport in gatesgarth:
https://docs.yoctoproject.org/migration-guides/migration-3.2.html#miscellaneous-changes

* as detected with oe-core/scripts/contrib/patchreview.py:

meta-openembedded $ grep -A 3 Malformed *qa-patches
meta-gnome.qa-patches:Malformed Upstream-Status 'Malformed Upstream-Status in patch
meta-gnome.qa-patches-/OE/layers/meta-openembedded/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0002-meson-fix-invalid-positional-argument.patch
meta-gnome.qa-patches-Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status :
meta-gnome.qa-patches-Upstream-Status: Accepted [https://gitlab.gnome.org/GNOME/gnome-tweaks/-/commit/dc9701e18775c01d0b69fabaa350147f70096da8]' (/OE/layers/meta-openembedded/meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0002-meson-fix-invalid-positional-argument.patch) --
meta-networking.qa-patches:Malformed Upstream-Status 'Malformed Upstream-Status in patch meta-networking.qa-patches-/OE/layers/meta-openembedded/meta-networking/recipes-connectivity/networkmanager/networkmanager-fortisslvpn/0001-fix-ppp-2.5.0-build.patch
meta-networking.qa-patches-Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status :
meta-networking.qa-patches-Upstream-Status: Accepted' (/OE/layers/meta-openembedded/meta-networking/recipes-connectivity/networkmanager/networkmanager-fortisslvpn/0001-fix-ppp-2.5.0-build.patch)
meta-networking.qa-patches:Malformed Upstream-Status 'Malformed Upstream-Status in patch meta-networking.qa-patches-/OE/layers/meta-openembedded/meta-networking/recipes-connectivity/networkmanager/networkmanager-fortisslvpn/0002-fix-ppp-2.5.0-build.patch
meta-networking.qa-patches-Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status :
meta-networking.qa-patches-Upstream-Status: Accepted' (/OE/layers/meta-openembedded/meta-networking/recipes-connectivity/networkmanager/networkmanager-fortisslvpn/0002-fix-ppp-2.5.0-build.patch)
--
meta-networking.qa-patches:Malformed Upstream-Status 'Malformed Upstream-Status in patch
meta-networking.qa-patches-/OE/layers/meta-openembedded/meta-networking/recipes-support/libesmtp/libesmtp/0001-Add-build-option-for-NTLM-support.patch
meta-networking.qa-patches-Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status :
meta-networking.qa-patches-Upstream-Status: Accepted [https://github.com/libesmtp/libESMTP/commit/1c304e7886a08fb56485e41614ff3f8685afb59d]' (/OE/layers/meta-openembedded/meta-networking/recipes-support/libesmtp/libesmtp/0001-Add-build-option-for-NTLM-support.patch) --
meta-oe.qa-patches:Malformed Upstream-Status 'Malformed Upstream-Status in patch
meta-oe.qa-patches-/OE/layers/meta-openembedded/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator/0002-Fix-assumed-signed-char.patch
meta-oe.qa-patches-Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status :
meta-oe.qa-patches-Upstream-Status: Accepted [https://github.com/pboettch/json-schema-validator/commit/491ac44026e08f31790f5cacffa62e168bb35e32]' (/OE/layers/meta-openembedded/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator/0002-Fix-assumed-signed-char.patch) meta-oe.qa-patches:Malformed Upstream-Status 'Malformed Upstream-Status in patch
meta-oe.qa-patches-/OE/layers/meta-openembedded/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator/0003-For-root-value-use-empty-pointer.patch
meta-oe.qa-patches-Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status :
meta-oe.qa-patches-Upstream-Status: Accepted [https://github.com/pboettch/json-schema-validator/commit/59c9d6200bf3cd54b4fc717ec1660c91eddb4d1a]' (/OE/layers/meta-openembedded/meta-oe/recipes-devtools/json-schema-validator/json-schema-validator/0003-For-root-value-use-empty-pointer.patch) --
meta-python.qa-patches:Malformed Upstream-Status 'Malformed Upstream-Status in patch meta-python.qa-patches-/OE/layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez/0001-Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.patch
meta-python.qa-patches-Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status :
meta-python.qa-patches-Upstream-Status: Accepted' (/OE/layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez/0001-Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.patch)
meta-python.qa-patches:Malformed Upstream-Status 'Malformed Upstream-Status in patch
meta-python.qa-patches-/OE/layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pynetlinux/0002-Fixed-relative-imports.patch
meta-python.qa-patches-Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status :
meta-python.qa-patches-Upstream-Status: Accepted' (/OE/layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pynetlinux/0002-Fixed-relative-imports.patch)
--
meta-webserver.qa-patches:Malformed Upstream-Status 'Malformed Upstream-Status in patch meta-webserver.qa-patches-/OE/layers/meta-openembedded/meta-webserver/recipes-httpd/apache2/apache2/0011-modules-mappers-config9.m4-Add-server-directory-to-i.patch
meta-webserver.qa-patches-Please correct according to https://docs.yoctoproject.org/contributor-guide/recipe-style-guide.html#patch-upstream-status :
meta-webserver.qa-patches-Upstream-Status: Accepted [https://svn.apache.org/viewvc?view=revision&revision=1909241]' (/OE/layers/meta-openembedded/meta-webserver/recipes-httpd/apache2/apache2/0011-modules-mappers-config9.m4-Add-server-directory-to-i.patch)

---
v2: just rebase on top of master-next

 .../0002-meson-fix-invalid-positional-argument.patch          | 2 +-
 .../networkmanager-fortisslvpn/0001-fix-ppp-2.5.0-build.patch | 2 +-
 .../networkmanager-fortisslvpn/0002-fix-ppp-2.5.0-build.patch | 2 +-
 .../libesmtp/0001-Add-build-option-for-NTLM-support.patch     | 2 +-
 .../json-schema-validator/0002-Fix-assumed-signed-char.patch  | 2 +-
 .../0003-For-root-value-use-empty-pointer.patch               | 2 +-
 ...Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.patch | 4 +---
 .../python3-pynetlinux/0002-Fixed-relative-imports.patch      | 2 +-
 ...modules-mappers-config9.m4-Add-server-directory-to-i.patch | 2 +-
 9 files changed, 9 insertions(+), 11 deletions(-)
meta-gnome/recipes-gnome/gnome-tweaks/gnome-tweaks/0002-meson-fix-invalid-positional-argument.patch +1 -1
index bd7e76f208..d921ff3308 100644
@@ -3,7 +3,7 @@ From: Mae Dartmann <[email protected]>
 Date: Wed, 16 Feb 2022 06:08:41 +0000
 Subject: [PATCH] meson: fix invalid positional argument
 
-Upstream-Status: Accepted [https://gitlab.gnome.org/GNOME/gnome-tweaks/-/commit/dc9701e18775c01d0b69fabaa350147f70096da8]
+Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gnome-tweaks/-/commit/dc9701e18775c01d0b69fabaa350147f70096da8]
 ---
  data/meson.build | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-connectivity/networkmanager/networkmanager-fortisslvpn/0001-fix-ppp-2.5.0-build.patch +1 -1
index 0a568fa23c..2e84a334f0 100644
@@ -7,7 +7,7 @@ MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
 
-Upstream-Status: Accepted
+Upstream-Status: Backport
 Signed-off-by: Eivind Næss <[email protected]>
 ---
  Makefile.am                                   |  5 +-
meta-networking/recipes-connectivity/networkmanager/networkmanager-fortisslvpn/0002-fix-ppp-2.5.0-build.patch +1 -1
index 798a57b0da..6ac8f2b643 100644
@@ -6,7 +6,7 @@ MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
 
-Upstream-Status: Accepted
+Upstream-Status: Backport
 Signed-off-by: Eivind Næss <[email protected]>
 ---
  configure.ac | 6 +-----
meta-networking/recipes-support/libesmtp/libesmtp/0001-Add-build-option-for-NTLM-support.patch +1 -1
index 64938a4820..dbdd644830 100644
@@ -11,7 +11,7 @@ disabled by default.
 Like 1.0.6, it will check openssl MD4 algorithm support as MD4 is
 insecure and modern systems may drop MD4 support.
 
-Upstream-Status: Accepted [https://github.com/libesmtp/libESMTP/commit/1c304e7886a08fb56485e41614ff3f8685afb59d]
+Upstream-Status: Backport [https://github.com/libesmtp/libESMTP/commit/1c304e7886a08fb56485e41614ff3f8685afb59d]
 Signed-off-by: Jiaqing Zhao <[email protected]>
 ---
  meson.build       | 13 ++++++++++---
meta-oe/recipes-devtools/json-schema-validator/json-schema-validator/0002-Fix-assumed-signed-char.patch +1 -1
index 2ee0a39126..1c4b871bb6 100644
@@ -11,7 +11,7 @@ GCC treats char as unsigned resulting in compile errors:
 
 Fix this by specifying signed char.
 
-Upstream-Status: Accepted [https://github.com/pboettch/json-schema-validator/commit/491ac44026e08f31790f5cacffa62e168bb35e32]
+Upstream-Status: Backport [https://github.com/pboettch/json-schema-validator/commit/491ac44026e08f31790f5cacffa62e168bb35e32]
 
 Signed-off-by: Parian Golchin <[email protected]>
 ---
meta-oe/recipes-devtools/json-schema-validator/json-schema-validator/0003-For-root-value-use-empty-pointer.patch +1 -1
index e0d0cf8ce9..eac997ae58 100644
@@ -3,7 +3,7 @@ From: Sven Fink <[email protected]>
 Date: Fri, 13 Jan 2023 09:15:42 +0100
 Subject: [PATCH 3/3] For root value, use empty pointer
 
-Upstream-Status: Accepted [https://github.com/pboettch/json-schema-validator/commit/59c9d6200bf3cd54b4fc717ec1660c91eddb4d1a]
+Upstream-Status: Backport [https://github.com/pboettch/json-schema-validator/commit/59c9d6200bf3cd54b4fc717ec1660c91eddb4d1a]
 
 Signed-off-by: Parian Golchin <[email protected]>
 ---
meta-python/recipes-devtools/python/python3-pybluez/0001-Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.patch +1 -3
index ba3edff0b4..fea87a2ff0 100644
@@ -20,11 +20,9 @@ From python 3.8 changes:
 
 Fixes https://github.com/pybluez/pybluez/issues/426
 
-Upstream-Status: Accepted [https://github.com/pybluez/pybluez/pull/427]
+Upstream-Status: Backport [https://github.com/pybluez/pybluez/pull/427]
 Signed-off-by: Bartosz Golaszewski <[email protected]>
-
 ---
-
  bluez/btmodule.c | 23 ++++++++++++++---------
  msbt/_msbt.c     |  6 ++++--
  2 files changed, 18 insertions(+), 11 deletions(-)
meta-python/recipes-devtools/python/python3-pynetlinux/0002-Fixed-relative-imports.patch +1 -1
index bc438a8e7c..65f38814c3 100644
@@ -6,7 +6,7 @@ Subject: [PATCH] Fixed relative imports
 Signed-off-by: Bartosz Golaszewski <[email protected]>
 
 ---
-Upstream-Status: Accepted [https://github.com/rlisagor/pynetlinux/commit/afb778669efbc658a29e6bdb1c4834fee42931aa]
+Upstream-Status: Backport [https://github.com/rlisagor/pynetlinux/commit/afb778669efbc658a29e6bdb1c4834fee42931aa]
 
  pynetlinux/__init__.py | 8 ++++----
  pynetlinux/brctl.py    | 2 +-
meta-webserver/recipes-httpd/apache2/apache2/0011-modules-mappers-config9.m4-Add-server-directory-to-i.patch +1 -1
index 996eabf586..9accbf18a1 100644
@@ -4,7 +4,7 @@ Date: Tue, 18 Apr 2023 15:38:53 +0200
 Subject: [PATCH] * modules/mappers/config9.m4: Add 'server' directory to
  include path if mod_rewrite is enabled.
 
-Upstream-Status: Accepted [https://svn.apache.org/viewvc?view=revision&revision=1909241]
+Upstream-Status: Backport [https://svn.apache.org/viewvc?view=revision&revision=1909241]
 
 ---
  modules/mappers/config9.m4 | 5 +++++
#1 lore raw

PATCH 1/1 mozjs: use PV in MULTILIB_SCRIPTS

* to avoid possible issue next time new mozjs version recipe is introduced (as multilib isn't as well tested as other build configs)

* this depends on oe-core change to expand script name in MULTILIB_SCRIPTS:
https://lists.openembedded.org/g/openembedded-core/message/188301

---
v2: just rebase on top of master-next

 meta-oe/recipes-extended/mozjs/mozjs-102_102.15.1.bb | 7 ++++---
 meta-oe/recipes-extended/mozjs/mozjs-115_115.2.0.bb  | 7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)
meta-oe/recipes-extended/mozjs/mozjs-102_102.15.1.bb +4 -3
index 38e4128d6a..3a7b51c145 100644
@@ -66,12 +66,13 @@ do_install() {
 
 inherit multilib_script multilib_header
 
-MULTILIB_SCRIPTS += " ${PN}-dev:${bindir}/js102-config"
+MAJ_VER = "${@oe.utils.trim_version("${PV}", 1)}"
+MULTILIB_SCRIPTS += "${PN}-dev:${bindir}/js${MAJ_VER}-config"
 
 do_install:append() {
-    oe_multilib_header mozjs-102/js-config.h
+    oe_multilib_header mozjs-${MAJ_VER}/js-config.h
     sed -e 's@${STAGING_DIR_HOST}@@g' \
-        -i ${D}${bindir}/js102-config
+        -i ${D}${bindir}/js${MAJ_VER}-config
     rm -f ${D}${libdir}/libjs_static.ajs
     # remove the build path
     sed -i -e 's@${WORKDIR}@@g' `find ${B} -name Unified_c*.c*`
meta-oe/recipes-extended/mozjs/mozjs-115_115.2.0.bb +4 -3
index b029c5f4ec..fcdf64c932 100644
@@ -66,12 +66,13 @@ do_install() {
 
 inherit multilib_script multilib_header
 
-MULTILIB_SCRIPTS += " ${PN}-dev:${bindir}/js115-config"
+MAJ_VER = "${@oe.utils.trim_version("${PV}", 1)}"
+MULTILIB_SCRIPTS += "${PN}-dev:${bindir}/js${MAJ_VER}-config"
 
 do_install:append() {
-    oe_multilib_header mozjs-115/js-config.h
+    oe_multilib_header mozjs-${MAJ_VER}/js-config.h
     sed -e 's@${STAGING_DIR_HOST}@@g' \
-        -i ${D}${bindir}/js115-config
+        -i ${D}${bindir}/js${MAJ_VER}-config
     rm -f ${D}${libdir}/libjs_static.ajs
 }