All of lore.kernel.org
 help / color / mirror / Atom feed
* [dunfell 0/6] Patch review May 16th
@ 2021-05-18 14:14 Armin Kuster
  2021-05-18 14:14 ` [dunfell 1/6] nostromo: Blacklist and exclude from world builds Armin Kuster
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Armin Kuster @ 2021-05-18 14:14 UTC (permalink / raw)
  To: openembedded-devel

Please have comments back by Thursday

The following changes since commit 2915810edbb6599051e30efb3b7f805665ddcc23:

  ostree: switch from default master branch to main to fix do_fetch failure (2021-05-13 21:52:34 -0700)

are available in the Git repository at:

  git://git.openembedded.org/meta-openembedded-contrib stable/dunfell-nut
  http://cgit.openembedded.org/meta-openembedded-contrib/log/?h=stable/dunfell-nut

Armin Kuster (2):
  nostromo: Blacklist and exclude from world builds
  packagegroup-meta-webserver: remove nostromo from pkg grp

Clément Péron (1):
  nodejs: 12.20.2 -> 12.21.0

Khem Raj (1):
  linuxptp: Fix cross build

Saloni Jain (1):
  fuse: Whitelisted CVE-2019-14860

Sean Nyekjaer (1):
  nodejs: 12.20.1 -> 12.20.2

 .../recipes-support/fuse/fuse_2.9.9.bb        |  5 ++++
 .../linuxptp/Use-cross-cpp-in-incdefs.patch   | 26 +++++++++++++++++
 .../no-incdefs-using-host-headers.patch       | 29 -------------------
 .../linuxptp/linuxptp_2.0.bb                  |  7 +++--
 .../{nodejs_12.20.1.bb => nodejs_12.21.0.bb}  |  2 +-
 .../packagegroup-meta-webserver.bb            |  2 +-
 .../recipes-httpd/nostromo/nostromo_1.9.7.bb  |  3 ++
 7 files changed, 40 insertions(+), 34 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/linuxptp/linuxptp/Use-cross-cpp-in-incdefs.patch
 delete mode 100644 meta-oe/recipes-connectivity/linuxptp/linuxptp/no-incdefs-using-host-headers.patch
 rename meta-oe/recipes-devtools/nodejs/{nodejs_12.20.1.bb => nodejs_12.21.0.bb} (98%)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [dunfell 1/6] nostromo: Blacklist and exclude from world builds
  2021-05-18 14:14 [dunfell 0/6] Patch review May 16th Armin Kuster
@ 2021-05-18 14:14 ` Armin Kuster
  2021-05-18 14:14 ` [dunfell 2/6] packagegroup-meta-webserver: remove nostromo from pkg grp Armin Kuster
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Armin Kuster @ 2021-05-18 14:14 UTC (permalink / raw)
  To: openembedded-devel

Host site is dead.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta-webserver/recipes-httpd/nostromo/nostromo_1.9.7.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.7.bb b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.7.bb
index d13ef74feb..deb76ac95c 100644
--- a/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.7.bb
+++ b/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.7.bb
@@ -62,3 +62,6 @@ pkg_postinst_${PN} () {
         fi
     fi
 }
+
+PNBLACKLIST[nostromo] ?= "Host site for URI is dead"
+EXCLUDE_FROM_WORLD = "1"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [dunfell 2/6] packagegroup-meta-webserver: remove nostromo from pkg grp
  2021-05-18 14:14 [dunfell 0/6] Patch review May 16th Armin Kuster
  2021-05-18 14:14 ` [dunfell 1/6] nostromo: Blacklist and exclude from world builds Armin Kuster
@ 2021-05-18 14:14 ` Armin Kuster
  2021-05-18 14:14 ` [dunfell 3/6] nodejs: 12.20.1 -> 12.20.2 Armin Kuster
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Armin Kuster @ 2021-05-18 14:14 UTC (permalink / raw)
  To: openembedded-devel

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../recipes-core/packagesgroups/packagegroup-meta-webserver.bb  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-webserver/recipes-core/packagesgroups/packagegroup-meta-webserver.bb b/meta-webserver/recipes-core/packagesgroups/packagegroup-meta-webserver.bb
index f5d5debe11..d83a4a20b1 100644
--- a/meta-webserver/recipes-core/packagesgroups/packagegroup-meta-webserver.bb
+++ b/meta-webserver/recipes-core/packagesgroups/packagegroup-meta-webserver.bb
@@ -19,7 +19,7 @@ RDEPENDS_packagegroup-meta-webserver = "\
 "
 
 RDEPENDS_packagegroup-meta-webserver-http = "\
-    nginx monkey hiawatha nostromo apache-websocket \
+    nginx monkey hiawatha apache-websocket \
     apache2 sthttpd \
     ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "cherokee", "", d)} \
     "
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [dunfell 3/6] nodejs: 12.20.1 -> 12.20.2
  2021-05-18 14:14 [dunfell 0/6] Patch review May 16th Armin Kuster
  2021-05-18 14:14 ` [dunfell 1/6] nostromo: Blacklist and exclude from world builds Armin Kuster
  2021-05-18 14:14 ` [dunfell 2/6] packagegroup-meta-webserver: remove nostromo from pkg grp Armin Kuster
@ 2021-05-18 14:14 ` Armin Kuster
  2021-05-18 14:14 ` [dunfell 4/6] nodejs: 12.20.2 -> 12.21.0 Armin Kuster
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Armin Kuster @ 2021-05-18 14:14 UTC (permalink / raw)
  To: openembedded-devel

From: Sean Nyekjaer <sean@geanix.com>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6322c63987b1422d5a8c5e30077780b38011c89d)
[12.x is LTS version]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../nodejs/{nodejs_12.20.1.bb => nodejs_12.20.2.bb}             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-devtools/nodejs/{nodejs_12.20.1.bb => nodejs_12.20.2.bb} (98%)

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_12.20.1.bb b/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb
similarity index 98%
rename from meta-oe/recipes-devtools/nodejs/nodejs_12.20.1.bb
rename to meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb
index 0673a3202d..6acc36b4fb 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_12.20.1.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb
@@ -26,7 +26,7 @@ SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
 SRC_URI_append_class-target = " \
            file://0002-Using-native-binaries.patch \
            "
-SRC_URI[sha256sum] = "e00eee325d705b2bfa9929b7d061eb2315402d7e8548945eac9870bf84321853"
+SRC_URI[sha256sum] = "961ad600f0706c396390ebc7767fb01d5e3792a5022dc2e7774796756eec6d3c"
 
 S = "${WORKDIR}/node-v${PV}"
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [dunfell 4/6] nodejs: 12.20.2 -> 12.21.0
  2021-05-18 14:14 [dunfell 0/6] Patch review May 16th Armin Kuster
                   ` (2 preceding siblings ...)
  2021-05-18 14:14 ` [dunfell 3/6] nodejs: 12.20.1 -> 12.20.2 Armin Kuster
@ 2021-05-18 14:14 ` Armin Kuster
  2021-05-18 14:14 ` [dunfell 5/6] fuse: Whitelisted CVE-2019-14860 Armin Kuster
  2021-05-18 14:14 ` [dunfell 6/6] linuxptp: Fix cross build Armin Kuster
  5 siblings, 0 replies; 7+ messages in thread
From: Armin Kuster @ 2021-05-18 14:14 UTC (permalink / raw)
  To: openembedded-devel

From: Clément Péron <peron.clem@gmail.com>

Fixes :
 - CVE-2021-22883
 - CVE-2021-22884
 - CVE-2021-23840

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 02feb1d9324fba08c5d3055fa34bb6200ee91520)
[12.x LTS version]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../nodejs/{nodejs_12.20.2.bb => nodejs_12.21.0.bb}             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-devtools/nodejs/{nodejs_12.20.2.bb => nodejs_12.21.0.bb} (98%)

diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb b/meta-oe/recipes-devtools/nodejs/nodejs_12.21.0.bb
similarity index 98%
rename from meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb
rename to meta-oe/recipes-devtools/nodejs/nodejs_12.21.0.bb
index 6acc36b4fb..b9e3821776 100644
--- a/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb
+++ b/meta-oe/recipes-devtools/nodejs/nodejs_12.21.0.bb
@@ -26,7 +26,7 @@ SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \
 SRC_URI_append_class-target = " \
            file://0002-Using-native-binaries.patch \
            "
-SRC_URI[sha256sum] = "961ad600f0706c396390ebc7767fb01d5e3792a5022dc2e7774796756eec6d3c"
+SRC_URI[sha256sum] = "052f37ace6f569b513b5a1154b2a45d3c4d8b07d7d7c807b79f1566db61e979d"
 
 S = "${WORKDIR}/node-v${PV}"
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [dunfell 5/6] fuse: Whitelisted CVE-2019-14860
  2021-05-18 14:14 [dunfell 0/6] Patch review May 16th Armin Kuster
                   ` (3 preceding siblings ...)
  2021-05-18 14:14 ` [dunfell 4/6] nodejs: 12.20.2 -> 12.21.0 Armin Kuster
@ 2021-05-18 14:14 ` Armin Kuster
  2021-05-18 14:14 ` [dunfell 6/6] linuxptp: Fix cross build Armin Kuster
  5 siblings, 0 replies; 7+ messages in thread
From: Armin Kuster @ 2021-05-18 14:14 UTC (permalink / raw)
  To: openembedded-devel

From: Saloni Jain <Saloni.Jain@kpit.com>

CVE-2019-14860 is a REDHAT specific issue and
was addressed for REDHAT Fuse products on
Red Hat Fuse 7.4.1 and Red Hat Fuse 7.5.0.
REDHAT has also released the fix and updated their
security advisories after significant releases.
Hence, whitelisted the CVE-2019-14860.

Link: https://access.redhat.com/security/cve/cve-2019-14860
Link: https://access.redhat.com/errata/RHSA-2019:3244
Link: https://access.redhat.com/errata/RHSA-2019:3892
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb b/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb
index 95e870691c..49682b3cd4 100644
--- a/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb
+++ b/meta-filesystems/recipes-support/fuse/fuse_2.9.9.bb
@@ -19,6 +19,11 @@ SRC_URI = "https://github.com/libfuse/libfuse/releases/download/${BP}/${BP}.tar.
 SRC_URI[md5sum] = "8000410aadc9231fd48495f7642f3312"
 SRC_URI[sha256sum] = "d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7c1b4b5"
 
+# CVE-2019-14860 is a REDHAT specific issue and was addressed for REDHAT Fuse products on Red Hat Fuse 7.4.1 and Red Hat Fuse 7.5.0.
+# REDHAT has also released the fix and updated their security advisories after significant releases.
+CVE_PRODUCT = "fuse"
+CVE_CHECK_WHITELIST += "CVE-2019-14860"
+
 UPSTREAM_CHECK_URI = "https://github.com/libfuse/libfuse/releases"
 UPSTREAM_CHECK_REGEX = "fuse\-(?P<pver>2(\.\d+)+).tar.gz"
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [dunfell 6/6] linuxptp: Fix cross build
  2021-05-18 14:14 [dunfell 0/6] Patch review May 16th Armin Kuster
                   ` (4 preceding siblings ...)
  2021-05-18 14:14 ` [dunfell 5/6] fuse: Whitelisted CVE-2019-14860 Armin Kuster
@ 2021-05-18 14:14 ` Armin Kuster
  5 siblings, 0 replies; 7+ messages in thread
From: Armin Kuster @ 2021-05-18 14:14 UTC (permalink / raw)
  To: openembedded-devel

From: Khem Raj <raj.khem@gmail.com>

Adjust incdefs.sh to use cross tools to poke for system functionality
Re-enable using incdefs.sh
export KBUILD_OUTPUT to point to recipe sysroot

(From meta-oe rev: b6022761d6880382c5e6ffa4b3dc6f1ec2ae1e73)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../linuxptp/Use-cross-cpp-in-incdefs.patch   | 26 +++++++++++++++++
 .../no-incdefs-using-host-headers.patch       | 29 -------------------
 .../linuxptp/linuxptp_2.0.bb                  |  7 +++--
 3 files changed, 30 insertions(+), 32 deletions(-)
 create mode 100644 meta-oe/recipes-connectivity/linuxptp/linuxptp/Use-cross-cpp-in-incdefs.patch
 delete mode 100644 meta-oe/recipes-connectivity/linuxptp/linuxptp/no-incdefs-using-host-headers.patch

diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp/Use-cross-cpp-in-incdefs.patch b/meta-oe/recipes-connectivity/linuxptp/linuxptp/Use-cross-cpp-in-incdefs.patch
new file mode 100644
index 0000000000..876088649e
--- /dev/null
+++ b/meta-oe/recipes-connectivity/linuxptp/linuxptp/Use-cross-cpp-in-incdefs.patch
@@ -0,0 +1,26 @@
+From 8a4cad5e2f2cbb6a34bdc6e877fe499502b8c4c8 Mon Sep 17 00:00:00 2001
+From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
+Date: Fri, 23 Dec 2016 18:12:29 +0100
+Subject: [PATCH] linuxptp: Use cross cpp in incdefs
+
+Use cross cpp incdefs.sh shell script since we are doing cross compiling
+we need to ensure we use correct setttings from toolchain
+
+Upstream-Status: Inappropriate [OE-Specific]
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+
+ makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/incdefs.sh
++++ b/incdefs.sh
+@@ -27,7 +27,7 @@ user_flags()
+ 	printf " -D_GNU_SOURCE"
+ 
+ 	# Get list of directories searched for header files.
+-	dirs=$(echo "" | ${CROSS_COMPILE}cpp -Wp,-v 2>&1 >/dev/null | grep ^" /")
++	dirs=$(${CPP} -Wp,-v -xc /dev/null 2>&1 >/dev/null | grep ^" /")
+ 
+ 	# Look for clock_adjtime().
+ 	for d in $dirs; do
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp/no-incdefs-using-host-headers.patch b/meta-oe/recipes-connectivity/linuxptp/linuxptp/no-incdefs-using-host-headers.patch
deleted file mode 100644
index 02dbb23465..0000000000
--- a/meta-oe/recipes-connectivity/linuxptp/linuxptp/no-incdefs-using-host-headers.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 8a4cad5e2f2cbb6a34bdc6e877fe499502b8c4c8 Mon Sep 17 00:00:00 2001
-From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-Date: Fri, 23 Dec 2016 18:12:29 +0100
-Subject: [PATCH] linuxptp: no incdefs using host headers
-
-Avoid using host headers via incdefs.sh shell script.
-
-Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
----
-
- makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/makefile b/makefile
-index 8cdbd15..85174b8 100644
---- a/makefile
-+++ b/makefile
-@@ -33,7 +33,7 @@ OBJECTS	= $(OBJ) hwstamp_ctl.o phc2sys.o phc_ctl.o pmc.o pmc_common.o \
- SRC	= $(OBJECTS:.o=.c)
- DEPEND	= $(OBJECTS:.o=.d)
- srcdir	:= $(dir $(lastword $(MAKEFILE_LIST)))
--incdefs := $(shell $(srcdir)/incdefs.sh)
-+#incdefs := $(shell $(srcdir)/incdefs.sh)
- version := $(shell $(srcdir)/version.sh $(srcdir))
- VPATH	= $(srcdir)
- 
--- 
-2.9.3
-
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp_2.0.bb b/meta-oe/recipes-connectivity/linuxptp/linuxptp_2.0.bb
index 930c6673dc..c989767790 100644
--- a/meta-oe/recipes-connectivity/linuxptp/linuxptp_2.0.bb
+++ b/meta-oe/recipes-connectivity/linuxptp/linuxptp_2.0.bb
@@ -4,15 +4,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = "http://sourceforge.net/projects/linuxptp/files/v${PV}/linuxptp-${PV}.tgz \
            file://build-Allow-CC-and-prefix-to-be-overriden.patch \
-           file://no-incdefs-using-host-headers.patch \
+           file://Use-cross-cpp-in-incdefs.patch \
            file://time_t_maybe_long_long.patch \
            "
 
 SRC_URI[md5sum] = "d8bb7374943bb747db7786ac26f17f11"
 SRC_URI[sha256sum] = "0a24d9401e87d4af023d201e234d91127d82c350daad93432106284aa9459c7d"
 
-EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} \
-    EXTRA_CFLAGS='-D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME -DHAVE_POSIX_SPAWN -DHAVE_ONESTEP_SYNC ${CFLAGS}'"
+EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} EXTRA_CFLAGS='${CFLAGS}'"
+
+export KBUILD_OUTPUT="${RECIPE_SYSROOT}"
 
 do_install () {
     install -d ${D}/${bindir}
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-18 14:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 14:14 [dunfell 0/6] Patch review May 16th Armin Kuster
2021-05-18 14:14 ` [dunfell 1/6] nostromo: Blacklist and exclude from world builds Armin Kuster
2021-05-18 14:14 ` [dunfell 2/6] packagegroup-meta-webserver: remove nostromo from pkg grp Armin Kuster
2021-05-18 14:14 ` [dunfell 3/6] nodejs: 12.20.1 -> 12.20.2 Armin Kuster
2021-05-18 14:14 ` [dunfell 4/6] nodejs: 12.20.2 -> 12.21.0 Armin Kuster
2021-05-18 14:14 ` [dunfell 5/6] fuse: Whitelisted CVE-2019-14860 Armin Kuster
2021-05-18 14:14 ` [dunfell 6/6] linuxptp: Fix cross build Armin Kuster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.