[oe] [meta-oe][PATCH v2] pcapplusplus: add new recipe

2022-02-24 Thread Christian Eggers
"A multiplatform C++ library for capturing, parsing and crafting of
network packets"

PcapPlusPlus is currently transitioning from a custom build system
(shell script + Makefile) to CMake. After this has been merged, SRC_URI
must be set the main repository.

Signed-off-by: Christian Eggers 
---
RFC --> v2:

- Update patch status (Submitted --> Accepted)
- inherit dox2unix (files in GIT have Windows line endings)
- convert patch to unix line endings

v1 --> RFC:

- move to Clément Péron's fork [branch: cmake-ng]
- change recipe to cmake
- add patch for -Wnarrowing warnings/errors
- build shared libraries
- remove RDEPENDS:${PN}-dev (main pkg contains now shared libs)
- add -Wno-psabi to CXXFLAGS

This is the 2nd attempt to move the build system of PcapPlusPlus to
CMake. I highly suppose that this will get merged soon.
 ...-Fix-timeval-to-timespec-conversions.patch | 58 +++
 .../pcapplusplus/pcapplusplus_21.11.bb| 33 +++
 2 files changed, 91 insertions(+)
 create mode 100644 
meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Fix-timeval-to-timespec-conversions.patch
 create mode 100644 
meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_21.11.bb

diff --git 
a/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Fix-timeval-to-timespec-conversions.patch
 
b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Fix-timeval-to-timespec-conversions.patch
new file mode 100644
index ..1f050815be61
--- /dev/null
+++ 
b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Fix-timeval-to-timespec-conversions.patch
@@ -0,0 +1,58 @@
+From 740971bb451e1147e19a1b0498436d2332b01293 Mon Sep 17 00:00:00 2001
+From: Christian Eggers 
+Date: Mon, 21 Feb 2022 13:53:49 +0100
+Subject: [PATCH] Fix timeval-to-timespec conversions
+
+Time values returned by gettimeofday() have microseconds in
+timeval::tv_usec while timespec::ts_nsec is nanoseconds.
+
+timeval::tv_usec is 64 bit (at least on some platforms), while
+timespec::tv_nsec is always 'long'. An explicit cast is required to
+avoid -Wnarrowing warnings/errors.
+
+Upstream-Status: Accepted [https://github.com/seladb/PcapPlusPlus/pull/814]
+
+Signed-off-by: Christian Eggers 
+---
+ Pcap++/src/NetworkUtils.cpp   | 4 ++--
+ Pcap++/src/PcapFileDevice.cpp | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/Pcap++/src/NetworkUtils.cpp b/Pcap++/src/NetworkUtils.cpp
+index bdbf87f4c380..749853927ecd 100644
+--- a/Pcap++/src/NetworkUtils.cpp
 b/Pcap++/src/NetworkUtils.cpp
+@@ -169,7 +169,7 @@ MacAddress NetworkUtils::getMacAddress(IPv4Address ipAddr, 
PcapLiveDevice* devic
+   // create the timeout
+   timespec timeout = {
+   now.tv_sec + arpTimeout,
+-  now.tv_usec
++  static_cast(now.tv_usec * 1000)
+   };
+ 
+   // start capturing. The capture is done on another thread, hence 
"arpPacketRecieved" is running on that thread
+@@ -436,7 +436,7 @@ IPv4Address NetworkUtils::getIPv4Address(std::string 
hostname, PcapLiveDevice* d
+   // create the timeout
+   timespec timeout = {
+   now.tv_sec + dnsTimeout,
+-  now.tv_usec
++  static_cast(now.tv_usec * 1000)
+   };
+ 
+   // start capturing. The capture is done on another thread, hence 
"dnsResponseRecieved" is running on that thread
+diff --git a/Pcap++/src/PcapFileDevice.cpp b/Pcap++/src/PcapFileDevice.cpp
+index 6bf04c1dd31a..256554407c50 100644
+--- a/Pcap++/src/PcapFileDevice.cpp
 b/Pcap++/src/PcapFileDevice.cpp
+@@ -188,7 +188,7 @@ bool PcapFileReaderDevice::getNextPacket(RawPacket& 
rawPacket)
+   uint8_t* pMyPacketData = new uint8_t[pkthdr.caplen];
+   memcpy(pMyPacketData, pPacketData, pkthdr.caplen);
+ #if defined(PCAP_TSTAMP_PRECISION_NANO)
+-  timespec ts = { pkthdr.ts.tv_sec, pkthdr.ts.tv_usec }; //because we 
opened with nano second precision 'tv_usec' is actually nanos
++  timespec ts = { pkthdr.ts.tv_sec, static_cast(pkthdr.ts.tv_usec) 
}; //because we opened with nano second precision 'tv_usec' is actually nanos
+ #else
+   struct timeval ts = pkthdr.ts;
+ #endif
+-- 
+2.34.1
+
diff --git a/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_21.11.bb 
b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_21.11.bb
new file mode 100644
index ..e2a2d104cf7e
--- /dev/null
+++ b/meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_21.11.bb
@@ -0,0 +1,33 @@
+SUMMARY = "A multiplatform C++ library for capturing, parsing and crafting of 
network packets"
+HOMEPAGE = "https://pcapplusplus.github.io/;
+BUGTRACKER = "https://github.com/seladb/PcapPlusPlus/issues;
+SECTION = "libs/network"
+LICENSE = "Unlicense"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f"
+
+DEPENDS = "libpcap"
+
+PV = "git${SRCPV}"
+
+# master branch with hand-crafted build system
+#SRC_URI = 

Re: [oe] [meta-oe][PATCH] libgpiod: RRECOMMENDS bats, python3-packaging for libgpiod-ptest

2022-02-24 Thread Khem Raj



On 2/24/22 12:23 PM, Douglas Royds wrote:

On 22/02/22 3:37 pm, Khem Raj wrote:

On 2/21/22 12:26 PM, Douglas via lists.openembedded.org wrote:
I should be adding this to the RDEPENDS:${PN}-ptest, not the 
RRECOMMENDS. I'll send another patch ...




OK thanks. I will wait for v2



Did you see this one? It doesn't seem to have made it into master-next ...


https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg81249.html



Can you send a v3, it is not captured by lore or patchwork.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95516): 
https://lists.openembedded.org/g/openembedded-devel/message/95516
Mute This Topic: https://lists.openembedded.org/mt/89287635/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] [meta-oe][PATCH] libgpiod: RRECOMMENDS bats, python3-packaging for libgpiod-ptest

2022-02-24 Thread Douglas via lists.openembedded.org

On 22/02/22 3:37 pm, Khem Raj wrote:

On 2/21/22 12:26 PM, Douglas via lists.openembedded.org wrote:
I should be adding this to the RDEPENDS:${PN}-ptest, not the 
RRECOMMENDS. I'll send another patch ...




OK thanks. I will wait for v2



Did you see this one? It doesn't seem to have made it into master-next ...

   
https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg81249.html

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95515): 
https://lists.openembedded.org/g/openembedded-devel/message/95515
Mute This Topic: https://lists.openembedded.org/mt/89287635/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH] distutils*.bbclass: move from oe-core

2022-02-24 Thread Tim Orling
distutils has been deprecated in Python 3.10 and will be removed in
Python 3.12 (predicted release date October 2023). For now, move these
classes from oe-core to allow users to migrate.

A deprecation warning has been added to each class.

Documentation is also being dropped in oe-core, but users can refer to
3.4 documentation for the legacy variables and classes.

[YOCTO #14610]

Signed-off-by: Tim Orling 
---
 .../classes/distutils-common-base.bbclass | 28 
 meta-python/classes/distutils3-base.bbclass   |  9 +++
 meta-python/classes/distutils3.bbclass| 71 +++
 3 files changed, 108 insertions(+)
 create mode 100644 meta-python/classes/distutils-common-base.bbclass
 create mode 100644 meta-python/classes/distutils3-base.bbclass
 create mode 100644 meta-python/classes/distutils3.bbclass

diff --git a/meta-python/classes/distutils-common-base.bbclass 
b/meta-python/classes/distutils-common-base.bbclass
new file mode 100644
index 00..59c750a3cf
--- /dev/null
+++ b/meta-python/classes/distutils-common-base.bbclass
@@ -0,0 +1,28 @@
+export STAGING_INCDIR
+export STAGING_LIBDIR
+
+# LDSHARED is the ld *command* used to create shared library
+export LDSHARED  = "${CCLD} -shared"
+# LDXXSHARED is the ld *command* used to create shared library of C++
+# objects
+export LDCXXSHARED  = "${CXX} -shared"
+# CCSHARED are the C *flags* used to create objects to go into a shared
+# library (module)
+export CCSHARED  = "-fPIC -DPIC"
+# LINKFORSHARED are the flags passed to the $(CC) command that links
+# the python executable
+export LINKFORSHARED = "${SECURITY_CFLAGS} -Xlinker -export-dynamic"
+
+FILES:${PN} += "${libdir}/* ${libdir}/${PYTHON_DIR}/*"
+
+FILES:${PN}-staticdev += "\
+  ${PYTHON_SITEPACKAGES_DIR}/*.a \
+"
+FILES:${PN}-dev += "\
+  ${datadir}/pkgconfig \
+  ${libdir}/pkgconfig \
+  ${PYTHON_SITEPACKAGES_DIR}/*.la \
+"
+python __anonymous() {
+bb.warn("distutils-common-base.bbclass is deprecated, please use 
setuptools3-base.bbclass instead")
+}
diff --git a/meta-python/classes/distutils3-base.bbclass 
b/meta-python/classes/distutils3-base.bbclass
new file mode 100644
index 00..850c535bb1
--- /dev/null
+++ b/meta-python/classes/distutils3-base.bbclass
@@ -0,0 +1,9 @@
+DEPENDS:append:class-target = " ${PYTHON_PN}-native ${PYTHON_PN}"
+DEPENDS:append:class-nativesdk = " ${PYTHON_PN}-native ${PYTHON_PN}"
+RDEPENDS:${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 
'class-target']}"
+
+inherit distutils-common-base python3native python3targetconfig
+
+python __anonymous() {
+bb.warn("distutils3-base.bbclass is deprecated, please use 
setuptools3-base.bbclass instead")
+
diff --git a/meta-python/classes/distutils3.bbclass 
b/meta-python/classes/distutils3.bbclass
new file mode 100644
index 00..a6d8e8763f
--- /dev/null
+++ b/meta-python/classes/distutils3.bbclass
@@ -0,0 +1,71 @@
+inherit distutils3-base
+
+B = "${WORKDIR}/build"
+distutils_do_configure[cleandirs] = "${B}"
+
+DISTUTILS_BUILD_ARGS ?= ""
+DISTUTILS_INSTALL_ARGS ?= "--root=${D} \
+--prefix=${prefix} \
+--install-lib=${PYTHON_SITEPACKAGES_DIR} \
+--install-data=${datadir}"
+
+DISTUTILS_PYTHON = "python3"
+DISTUTILS_PYTHON:class-native = "nativepython3"
+
+DISTUTILS_SETUP_PATH ?= "${S}"
+
+python __anonymous() {
+bb.warn("distutils3.bbclass is deprecated, please use setuptools3.bbclass 
instead")
+}
+
+distutils3_do_configure() {
+:
+}
+
+distutils3_do_compile() {
+cd ${DISTUTILS_SETUP_PATH}
+NO_FETCH_BUILD=1 \
+STAGING_INCDIR=${STAGING_INCDIR} \
+STAGING_LIBDIR=${STAGING_LIBDIR} \
+${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py \
+build --build-base=${B} ${DISTUTILS_BUILD_ARGS} || \
+bbfatal_log "'${PYTHON_PN} setup.py build ${DISTUTILS_BUILD_ARGS}' 
execution failed."
+}
+distutils3_do_compile[vardepsexclude] = "MACHINE"
+
+distutils3_do_install() {
+cd ${DISTUTILS_SETUP_PATH}
+install -d ${D}${PYTHON_SITEPACKAGES_DIR}
+STAGING_INCDIR=${STAGING_INCDIR} \
+STAGING_LIBDIR=${STAGING_LIBDIR} \
+PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR} \
+${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py \
+build --build-base=${B} install --skip-build ${DISTUTILS_INSTALL_ARGS} 
|| \
+bbfatal_log "'${PYTHON_PN} setup.py install ${DISTUTILS_INSTALL_ARGS}' 
execution failed."
+
+# support filenames with *spaces*
+find ${D} -name "*.py" -exec grep -q ${D} {} \; \
+   -exec sed -i -e s:${D}::g {} \;
+
+for i in ${D}${bindir}/* ${D}${sbindir}/*; do
+if [ -f "$i" ]; then
+sed -i -e s:${PYTHON}:${USRBINPATH}/env\ ${DISTUTILS_PYTHON}:g 
$i
+sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
+fi
+done
+
+rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth
+
+#
+# FIXME: Bandaid against 

Re: [oe] [meta-python][PATCH] python3-wheel: drop; moved to oe-core

2022-02-24 Thread Ross Burton
Can we have the discussion about moving meta-oe's priority so that it
matches oe-core and we don't have to deal with this sort of madness
again?

Ross

On Tue, 22 Feb 2022 at 18:49, Tim Orling  wrote:
>
> Because of layer priority, this recipe must be dropped before a build
> with the new PEP-517 packaging can proceed due to dependency loops.
>
> Signed-off-by: Tim Orling 
> ---
>  .../recipes-devtools/python/python3-wheel_0.37.1.bb  | 12 
>  1 file changed, 12 deletions(-)
>  delete mode 100644 
> meta-python/recipes-devtools/python/python3-wheel_0.37.1.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-wheel_0.37.1.bb 
> b/meta-python/recipes-devtools/python/python3-wheel_0.37.1.bb
> deleted file mode 100644
> index 6c7a31db9e..00
> --- a/meta-python/recipes-devtools/python/python3-wheel_0.37.1.bb
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -SUMMARY = "The official binary distribution format for Python "
> -HOMEPAGE = "https://github.com/pypa/wheel;
> -SECTION = "devel/python"
> -LICENSE = "MIT"
> -LIC_FILES_CHKSUM = 
> "file://PKG-INFO;beginline=10;endline=10;md5=8227180126797a0148f94f483f3e1489"
> -
> -SRC_URI[sha256sum] = 
> "e9a504e793efbca1b8e0e9cb979a249cf4a0a7b5b8c9e8b65a5e39d49529c1c4"
> -
> -inherit pypi setuptools3
> -
> -BBCLASSEXTEND = "native"
> -
> --
> 2.30.2
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95513): 
https://lists.openembedded.org/g/openembedded-devel/message/95513
Mute This Topic: https://lists.openembedded.org/mt/89323966/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] Please provide YP bugzilla comments when encountering bugs. -- IGNORE this one, see next.

2022-02-24 Thread Randy MacLeod

I clicked send but then cancelled.
See the next email from me with this subject.

../Randy


On 2022-02-24 13:50, Randy MacLeod wrote:

Hello,

Summary:
==

If you encounter a bug when using a Yocto layer, please check if it's 
already reported
in the Yocto Bugzilla. If it's not, open an new bug. If it is, please 
add a comment
stating that you are also affected and provide any additional relevant 
details.


https://bugzilla.yoctoproject.org/

Details:
=

Some bugs are only happening occasionally even on the Yocto autobuilder so
we'd like to encourage people to provide input so that people working on 
the

bug or prioritizing bugs can make more informed decisions.

For example, this bug:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14726AB-INT-NET: fetch 
failure in fetch.Fetch.test_git_mirrors


involves a fetch error for dbus-wait


--
# Randy MacLeod
# Wind River Linux








--
# Randy MacLeod
# Wind River Linux


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95512): 
https://lists.openembedded.org/g/openembedded-devel/message/95512
Mute This Topic: https://lists.openembedded.org/mt/89372268/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] Please provide YP bugzilla comments when encountering bugs.

2022-02-24 Thread Randy MacLeod

Hello,

Summary:
==

If you encounter a bug when using a Yocto layer, please check if it's 
already reported
in the Yocto Bugzilla. If it's not, open an new bug. If it is, please 
add a comment
stating that you are also affected and provide any additional relevant 
details.


https://bugzilla.yoctoproject.org/

Details:
=

Some bugs are only happening occasionally even on the Yocto autobuilder so
we'd like to encourage people to provide input so that people working on 
the

bug or prioritizing bugs can make more informed decisions.

For example, this bug:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14726
   AB-INT-NET: fetch failure in fetch.Fetch.test_git_mirrors

involves a fetch error for dbus-wait from:
https://downloads.yoctoproject.org/mirror/sources/git2_git.yoctoproject.org.dbus-wait.tar.gz

It was happening intermittently on the Yocto autobuilder workers but 
we've heard that other
people who are building outside of the autobuilder are also getting 
intermittent fetch errors.
That helps because it points at the http server rather than problems 
with the internal autobuilder network.



Note that layers like meta-openembedded, meta-virtualization, etc do NOT 
track bugs in
the YP Bugzilla so you'll have to report bugs for those layers to email 
lists or as per the README.


Aside: Some bug tracking systems have a way to just click a button to 
indicate that,

  "This bug affects me too."
but unfortunately I don't see that in our version of Bugzilla.


In conclusion, more input would be appreciated.

Thanks!


--
# Randy MacLeod
# Wind River Linux

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95511): 
https://lists.openembedded.org/g/openembedded-devel/message/95511
Mute This Topic: https://lists.openembedded.org/mt/89371980/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] Please provide YP bugzilla comments when encountering bugs.

2022-02-24 Thread Randy MacLeod

Hello,

Summary:
==

If you encounter a bug when using a Yocto layer, please check if it's 
already reported
in the Yocto Bugzilla. If it's not, open an new bug. If it is, please 
add a comment
stating that you are also affected and provide any additional relevant 
details.


https://bugzilla.yoctoproject.org/

Details:
=

Some bugs are only happening occasionally even on the Yocto autobuilder so
we'd like to encourage people to provide input so that people working on 
the

bug or prioritizing bugs can make more informed decisions.

For example, this bug:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14726AB-INT-NET: fetch 
failure in fetch.Fetch.test_git_mirrors


involves a fetch error for dbus-wait


--
# Randy MacLeod
# Wind River Linux

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95510): 
https://lists.openembedded.org/g/openembedded-devel/message/95510
Mute This Topic: https://lists.openembedded.org/mt/89371980/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [oe] FW: [PATCH] openldap: add CVE-2015-3276 to allowlist

2022-02-24 Thread Khem Raj
On Thu, Feb 24, 2022 at 12:40 AM Matsunaga-Shinji
 wrote:
>
> Ping.
>
> -Original Message-
> From: Matsunaga-Shinji 
> Sent: Monday, February 7, 2022 9:31 AM
> To: openembedded-devel@lists.openembedded.org
> Cc: Matsunaga, Shinji/松永 慎司 
> Subject: [PATCH] openldap: add CVE-2015-3276 to allowlist
>
> CVE-2015-3276 has no target code.
>
> Signed-off-by: Matsunaga-Shinji 
> ---
>  meta-oe/recipes-support/openldap/openldap_2.5.9.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta-oe/recipes-support/openldap/openldap_2.5.9.bb 
> b/meta-oe/recipes-support/openldap/openldap_2.5.9.bb
> index f3b8c6c98..a170b135f 100644
> --- a/meta-oe/recipes-support/openldap/openldap_2.5.9.bb
> +++ b/meta-oe/recipes-support/openldap/openldap_2.5.9.bb
> @@ -236,3 +236,6 @@ python populate_packages:prepend () {  }
>
>  BBCLASSEXTEND = "native"
> +
> +# CVE-2015-3276 has no target code.
> +CVE_CHECK_WHITELIST += "CVE-2015-3276"

this needed to be called CVE_CHECK_IGNORE, I have fixed it locally and
oindtaslled this patch

> --
> 2.17.1
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95509): 
https://lists.openembedded.org/g/openembedded-devel/message/95509
Mute This Topic: https://lists.openembedded.org/mt/89361403/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-java][PATCH 5/5] commons-jxpath: update variable names

2022-02-24 Thread Jeremy Puhlman
Signed-off-by: Jeremy A. Puhlman 
---
 recipes-core/jakarta-commons/commons-jxpath_1.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/jakarta-commons/commons-jxpath_1.3.bb 
b/recipes-core/jakarta-commons/commons-jxpath_1.3.bb
index 5f44315..94a4d45 100644
--- a/recipes-core/jakarta-commons/commons-jxpath_1.3.bb
+++ b/recipes-core/jakarta-commons/commons-jxpath_1.3.bb
@@ -6,7 +6,7 @@ SUMMARY = "JXPath interpreter for Java"
 
 SRC_URI = 
"http://archive.apache.org/dist/commons/jxpath/source/${BP}-src.tar.gz;
 
-PNBLACKLIST[commons-jxpath] ?= "BROKEN: indirectly depends on broken 'xom'"
+SKIP_RECIPE[commons-jxpath] ?= "BROKEN: indirectly depends on broken 'xom'"
 
 DEPENDS += "commons-logging commons-collections3 commons-beanutils servlet2.3 
jdom"
 RDEPENDS:${PN} = "libcommons-logging-java libcommons-collections3-java 
libcommons-beanutils-java libservlet2.3-java libjdom-java"
-- 
2.33.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95508): 
https://lists.openembedded.org/g/openembedded-devel/message/95508
Mute This Topic: https://lists.openembedded.org/mt/89361760/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-java][PATCH 4/5] commons-configuration: update variable names

2022-02-24 Thread Jeremy Puhlman
Signed-off-by: Jeremy A. Puhlman 
---
 recipes-core/jakarta-commons/commons-configuration_1.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/jakarta-commons/commons-configuration_1.5.bb 
b/recipes-core/jakarta-commons/commons-configuration_1.5.bb
index 4c2bce1..b0dad4a 100644
--- a/recipes-core/jakarta-commons/commons-configuration_1.5.bb
+++ b/recipes-core/jakarta-commons/commons-configuration_1.5.bb
@@ -9,7 +9,7 @@ SRC_URI = " \
   
http://ftp.hosting-studio.de/pub/linux/apache/ant/source/apache-ant-1.7.1-src.tar.bz2;name=ant
 \
   "
 
-PNBLACKLIST[commons-configuration] ?= "BROKEN: indirectly depends on broken 
'xom'"
+SKIP_RECIPE[commons-configuration] ?= "BROKEN: indirectly depends on broken 
'xom'"
 
 DEPENDS += "commons-logging commons-collections3 commons-beanutils 
commons-codec commons-digester commons-jxpath commons-lang servlet2.4"
 RDEPENDS:${PN} = "libcommons-logging-java libcommons-collections3-java 
libcommons-beanutils-java libcommons-codec-java libcommons-digester-java 
libcommons-jxpath-java libcommons-lang-java libservlet2.4-java"
-- 
2.33.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95507): 
https://lists.openembedded.org/g/openembedded-devel/message/95507
Mute This Topic: https://lists.openembedded.org/mt/89361759/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-java][PATCH 3/5] xerces-j: update variable names

2022-02-24 Thread Jeremy Puhlman
Signed-off-by: Jeremy A. Puhlman 
---
 recipes-core/xerces-j/xerces-j_2.11.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/xerces-j/xerces-j_2.11.0.bb 
b/recipes-core/xerces-j/xerces-j_2.11.0.bb
index fda6fe4..159fc9c 100644
--- a/recipes-core/xerces-j/xerces-j_2.11.0.bb
+++ b/recipes-core/xerces-j/xerces-j_2.11.0.bb
@@ -18,7 +18,7 @@ SRC_URI = 
"http://archive.apache.org/dist/xerces/j/Xerces-J-src.${PV}.tar.gz;
 # Already fixed with updates and closed.
 # https://access.redhat.com/security/cve/CVE-2018-2799
 # https://bugzilla.redhat.com/show_bug.cgi?id=1567542
-CVE_CHECK_WHITELIST += "CVE-2018-2799"
+CVE_CHECK_IGNORE += "CVE-2018-2799"
 
 S = "${WORKDIR}/xerces-2_11_0"
 
-- 
2.33.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95506): 
https://lists.openembedded.org/g/openembedded-devel/message/95506
Mute This Topic: https://lists.openembedded.org/mt/89361758/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-java][PATCH 2/5] jaxme: update variable names

2022-02-24 Thread Jeremy Puhlman
Signed-off-by: Jeremy A. Puhlman 
---
 recipes-core/xml-commons/jaxme_0.5.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/xml-commons/jaxme_0.5.2.bb 
b/recipes-core/xml-commons/jaxme_0.5.2.bb
index cf0377a..8411255 100644
--- a/recipes-core/xml-commons/jaxme_0.5.2.bb
+++ b/recipes-core/xml-commons/jaxme_0.5.2.bb
@@ -21,7 +21,7 @@ SRC_URI = "\
 # SGFactoryChain cannot be resolved to a type
 # --
 # ... and many more
-PNBLACKLIST[jaxme] ?= "BROKEN: do_compile fails"
+SKIP_RECIPE[jaxme] ?= "BROKEN: do_compile fails"
 
 S = "${WORKDIR}/ws-${P}"
 
-- 
2.33.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95505): 
https://lists.openembedded.org/g/openembedded-devel/message/95505
Mute This Topic: https://lists.openembedded.org/mt/89361756/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-java][PATCH 1/5] Switch compat to kirkstone

2022-02-24 Thread Jeremy Puhlman
Signed-off-by: Jeremy A. Puhlman 
---
 conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index 7791178..2e2ce16 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -7,7 +7,7 @@ BBFILES += "${LAYERDIR}/recipes*/*/*.bb 
${LAYERDIR}/recipes*/*/*.bbappend"
 BBFILE_COLLECTIONS += "meta-java"
 BBFILE_PATTERN_meta-java := "^${LAYERDIR}/"
 BBFILE_PRIORITY_meta-java = "10"
-LAYERSERIES_COMPAT_meta-java = "dunfell gatesgarth hardknott honister"
+LAYERSERIES_COMPAT_meta-java = "kirkstone"
 LAYERDEPENDS_meta-java += "openembedded-layer"
 
 LICENSE_PATH += "${LAYERDIR}/licenses"
-- 
2.33.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95504): 
https://lists.openembedded.org/g/openembedded-devel/message/95504
Mute This Topic: https://lists.openembedded.org/mt/89361754/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-java][PATCH 0/5] Update master to kirkstone compat

2022-02-24 Thread Jeremy Puhlman
Update variables to use kirkstone variants.

Jeremy A. Puhlman (5):
  Switch compat to kirkstone
  jaxme: update variable names
  xerces-j: update variable names
  commons-configuration: update variable names
  commons-jxpath: update variable names

 conf/layer.conf   | 2 +-
 recipes-core/jakarta-commons/commons-configuration_1.5.bb | 2 +-
 recipes-core/jakarta-commons/commons-jxpath_1.3.bb| 2 +-
 recipes-core/xerces-j/xerces-j_2.11.0.bb  | 2 +-
 recipes-core/xml-commons/jaxme_0.5.2.bb   | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

-- 
2.33.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95503): 
https://lists.openembedded.org/g/openembedded-devel/message/95503
Mute This Topic: https://lists.openembedded.org/mt/89361753/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] FW: [PATCH] openldap: add CVE-2015-3276 to allowlist

2022-02-24 Thread Matsunaga-Shinji
Ping.

-Original Message-
From: Matsunaga-Shinji  
Sent: Monday, February 7, 2022 9:31 AM
To: openembedded-devel@lists.openembedded.org
Cc: Matsunaga, Shinji/松永 慎司 
Subject: [PATCH] openldap: add CVE-2015-3276 to allowlist

CVE-2015-3276 has no target code.

Signed-off-by: Matsunaga-Shinji 
---
 meta-oe/recipes-support/openldap/openldap_2.5.9.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-support/openldap/openldap_2.5.9.bb 
b/meta-oe/recipes-support/openldap/openldap_2.5.9.bb
index f3b8c6c98..a170b135f 100644
--- a/meta-oe/recipes-support/openldap/openldap_2.5.9.bb
+++ b/meta-oe/recipes-support/openldap/openldap_2.5.9.bb
@@ -236,3 +236,6 @@ python populate_packages:prepend () {  }
 
 BBCLASSEXTEND = "native"
+
+# CVE-2015-3276 has no target code.
+CVE_CHECK_WHITELIST += "CVE-2015-3276"
--
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95502): 
https://lists.openembedded.org/g/openembedded-devel/message/95502
Mute This Topic: https://lists.openembedded.org/mt/89361403/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH 2/2] netplan: Add knob to enable tests

2022-02-24 Thread Khem Raj
this puts python3-nose away from default requirements, nose dependency
should eventually be removed and perhaps converted to pytest

Signed-off-by: Khem Raj 
---
 .../recipes-connectivity/netplan/netplan_0.104.bb   | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta-networking/recipes-connectivity/netplan/netplan_0.104.bb 
b/meta-networking/recipes-connectivity/netplan/netplan_0.104.bb
index 6a32f55d47..e26649744c 100644
--- a/meta-networking/recipes-connectivity/netplan/netplan_0.104.bb
+++ b/meta-networking/recipes-connectivity/netplan/netplan_0.104.bb
@@ -22,7 +22,11 @@ SRC_URI:append:libc-musl = " 
file://0001-don-t-fail-if-GLOB_BRACE-is-not-defined
 
 DEPENDS = "glib-2.0 libyaml ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', 
d)}"
 
-RDEPENDS:${PN} = "python3 python3-core python3-pyyaml python3-netifaces 
python3-nose python3-coverage python3-pycodestyle python3-pyflakes 
util-linux-libuuid libnetplan"
+PACKAGECONFIG ?= ""
+
+PACKAGECONFIG[tests] = ",,,python3-nose python3-coverage python3-netifaces 
python3-pycodestyle python3-pyflakes python3-pyyaml"
+
+RDEPENDS:${PN} = "python3 python3-core python3-netifaces python3-pyyaml 
util-linux-libuuid libnetplan"
 
 inherit pkgconfig systemd
 
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95501): 
https://lists.openembedded.org/g/openembedded-devel/message/95501
Mute This Topic: https://lists.openembedded.org/mt/89361128/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-python][PATCH 1/2] python3-oauthlib: Drop redundant nose dependency

2022-02-24 Thread Khem Raj
Add pytest module dependency for testing
nose has been dropped upstream too [1]

[1] 
https://github.com/oauthlib/oauthlib/commit/037453c6f92b502eaae2acafe11161e4bb2e38bb
Signed-off-by: Khem Raj 
---
 meta-python/recipes-devtools/python/python3-oauthlib_3.2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-oauthlib_3.2.0.bb 
b/meta-python/recipes-devtools/python/python3-oauthlib_3.2.0.bb
index 3e5d957c4e..e7f7f0b47b 100644
--- a/meta-python/recipes-devtools/python/python3-oauthlib_3.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-oauthlib_3.2.0.bb
@@ -14,7 +14,7 @@ inherit pypi setuptools3
 #
 # Uncomment this line to enable all the optional features.
 #PACKAGECONFIG ?= "test signedtoken signals rsa"
-PACKAGECONFIG[test] = ",,,${PYTHON_PN}-blinker ${PYTHON_PN}-cryptography 
${PYTHON_PN}-nose ${PYTHON_PN}-pyjwt"
+PACKAGECONFIG[test] = ",,,${PYTHON_PN}-blinker ${PYTHON_PN}-cryptography 
${PYTHON_PN}-pytest ${PYTHON_PN}-pyjwt"
 PACKAGECONFIG[signedtoken] = ",,,${PYTHON_PN}-cryptography ${PYTHON_PN}-pyjwt"
 PACKAGECONFIG[signals] = ",,,${PYTHON_PN}-blinker"
 PACKAGECONFIG[rsa] = ",,,${PYTHON_PN}-cryptography"
-- 
2.35.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#95500): 
https://lists.openembedded.org/g/openembedded-devel/message/95500
Mute This Topic: https://lists.openembedded.org/mt/89361127/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-