Skip to contentSkip to conversation

monit: upgrade 5.32.0 -> 5.33.0

PATCH In review [email protected] 1 participant 5 messages Mar 10, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 6/11 monit: upgrade 5.32.0 -> 5.33.0

From: Wang Mingyu <[email protected]>

Changelog:
==========
New: Added click-jacking protection headers to Monit HTTP GUI (the SAMEORIGIN
iframe is allowed).
Fixed: Issue #1035: If the start, stop or restart program statement contains
the equal sign, which is not followed by a space character, the configuration is not parsed correctly.
Fixed: Issue #1047: If the MariaDB server doesn't allow access to the host,
from which Monit test is running, Monit reported: Invalid handshake
packet sequence id -- not MySQL protocol.
Fixed: Add the missing responsetime option to the ping test.

---
 .../recipes-support/monit/{monit_5.32.0.bb => monit_5.33.0.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/monit/{monit_5.32.0.bb => monit_5.33.0.bb} (94%)
meta-oe/recipes-support/monit/monit_5.33.0.bb renamed from meta-oe/recipes-support/monit/monit_5.32.0.bb +1 -1
similarity index 94%
rename from meta-oe/recipes-support/monit/monit_5.32.0.bb
rename to meta-oe/recipes-support/monit/monit_5.33.0.bb
index e4ec9d526..66d4079a9 100644
@@ -15,7 +15,7 @@ SRC_URI = " \
 	file://monitrc \
 "
 
-SRC_URI[sha256sum] = "1077052d4c4e848ac47d14f9b37754d46419aecbe8c9a07e1f869c914faf3216"
+SRC_URI[sha256sum] = "1ace889c0183473a9d70160df6533bb6e1338dc1354f5928507803e1e2a863b5"
 
 DEPENDS = "zlib bison-native libnsl2 flex-native openssl virtual/crypt"
 
Signature · 1 line
2.34.1
#1 lore raw

PATCH 7/11 poppler: upgrade 23.02.0 -> 23.03.0

From: Wang Mingyu <[email protected]>

Changelog:
* PngWriter: Fix potential uninitialized memory use

---
 .../poppler/{poppler_23.02.0.bb => poppler_23.03.0.bb}          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/poppler/{poppler_23.02.0.bb => poppler_23.03.0.bb} (96%)
meta-oe/recipes-support/poppler/poppler_23.03.0.bb renamed from meta-oe/recipes-support/poppler/poppler_23.02.0.bb +1 -1
similarity index 96%
rename from meta-oe/recipes-support/poppler/poppler_23.02.0.bb
rename to meta-oe/recipes-support/poppler/poppler_23.03.0.bb
index 3752c901a..165e155ec 100644
@@ -8,7 +8,7 @@ SRC_URI = "http://poppler.freedesktop.org/${BP}.tar.xz \
            file://basename-include.patch \
            file://0001-cmake-Do-not-use-isystem.patch \
            "
-SRC_URI[sha256sum] = "3315dda270fe2b35cf1f41d275948c39652fa863b90de0766f6b293d9a558fc9"
+SRC_URI[sha256sum] = "b04148bf849c1965ada7eff6be4685130e3a18a84e0cce73bf9bc472ec32f2b4"
 
 DEPENDS = "fontconfig zlib cairo lcms glib-2.0"
 
Signature · 1 line
2.34.1
#2 lore raw

PATCH 8/11 raptor2: upgrade 2.0.15 -> 2.0.16

In reply to [email protected]

From: Wang Mingyu <[email protected]>

0001-Match-reutrn-type-from-RAPTOR_ASSERT_OBJECT_POINTER_.patch 0001-configure.ac-do-additional-checks-on-libxml2-also-wh.patch removed since they're included in 2.0.16

License-Update:
Copyright year updatd to 2023.
"David Beckett" changed to "Dave Beckett"
URL from http changed to https

Changelog:
==========
- Fixes CVE-2017-18926 and CVE-2020-25713
- Multiple Appveyor Windows and CMake build fixes by 0u812. (Note: the resulting binaries and libraries were not tested on Windows)

-  Turtle parser now reads input in chunks so can handle huge files. Patch
-  Added a serializer for the mKR language.
-  Rapper utility now counts triples using longs
-  Several smaller portability fixes for OpenBSD and cross building
---
 ...e-from-RAPTOR_ASSERT_OBJECT_POINTER_.patch | 47 -------------------
 ...additional-checks-on-libxml2-also-wh.patch | 32 -------------
 .../{raptor2_2.0.15.bb => raptor2_2.0.16.bb}  |  7 +--
 3 files changed, 2 insertions(+), 84 deletions(-)
 delete mode 100644 meta-oe/recipes-support/raptor2/files/0001-Match-reutrn-type-from-RAPTOR_ASSERT_OBJECT_POINTER_.patch
 delete mode 100644 meta-oe/recipes-support/raptor2/files/0001-configure.ac-do-additional-checks-on-libxml2-also-wh.patch
 rename meta-oe/recipes-support/raptor2/{raptor2_2.0.15.bb => raptor2_2.0.16.bb} (61%)
meta-oe/recipes-support/raptor2/files/0001-Match-reutrn-type-from-RAPTOR_ASSERT_OBJECT_POINTER_.patch deleted +0 -47
deleted file mode 100644
index 4c1afb46e..000000000
@@ -1,47 +0,0 @@
-From 97b5dcaa6b221eb403cc92e953225d38aee18f70 Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Thu, 1 Sep 2022 14:48:39 -0700
-Subject: [PATCH] Match reutrn type from
- RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE
-
-This ensures that integer type 0 is returned and not NULL
-Fixes
-raptor_serialize.c:243:66: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion]
-  RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL);
-                                                                 ^~~~
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <[email protected]>
----
- src/raptor_parse.c     | 2 +-
- src/raptor_serialize.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/raptor_parse.c b/src/raptor_parse.c
-index 26911f4..0091e1e 100644
---- a/src/raptor_parse.c
-+++ b/src/raptor_parse.c
-@@ -257,7 +257,7 @@ raptor_world_get_parser_factory(raptor_world *world, const char *name)
- int
- raptor_world_get_parsers_count(raptor_world* world)
- {
--  RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL);
-+  RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, 0);
-
-   raptor_world_open(world);
-
-diff --git a/src/raptor_serialize.c b/src/raptor_serialize.c
-index a1f29d7..2bf4ab2 100644
---- a/src/raptor_serialize.c
-+++ b/src/raptor_serialize.c
-@@ -240,7 +240,7 @@ raptor_get_serializer_factory(raptor_world* world, const char *name)
- int
- raptor_world_get_serializers_count(raptor_world* world)
- {
--  RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, NULL);
-+  RAPTOR_ASSERT_OBJECT_POINTER_RETURN_VALUE(world, raptor_world, 0);
-
-   raptor_world_open(world);
-
---
-2.37.3
-
meta-oe/recipes-support/raptor2/files/0001-configure.ac-do-additional-checks-on-libxml2-also-wh.patch deleted +0 -32
deleted file mode 100644
index 490b61f1f..000000000
@@ -1,32 +0,0 @@
-From 3f97aac5a1f43ef57b02fb9ccdcadd41a6b69fa9 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
-Date: Tue, 27 Oct 2015 10:21:24 +0100
-Subject: [PATCH] configure.ac: do additional checks on libxml2 also when
- detected by pkg-config
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Upstream-Status: Backport [https://github.com/dajobe/raptor/commit/e75b1dbb7f2a6514b8d391b200c45a2bec6268bf]
-
-Signed-off-by: Andreas Müller <[email protected]>
----
- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 10ff870..35fa08e 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -601,7 +601,7 @@ have_libxml=0
- need_libxml=0
-
- oCPPFLAGS="$CPPFLAGS"
--if test "X$XML_CONFIG" != X; then
-+if test "X$libxml_source" != X; then
-   CPPFLAGS="$LIBXML_CFLAGS $CPPFLAGS"
-   LIBS="$LIBS $LIBXML_LIBS"
-   AC_CHECK_FUNC(xmlCreatePushParserCtxt, have_xmlCreatePushParserCtxt=yes, have_xmlCreatePushParserCtxt=no)
---
-2.1.0
-
meta-oe/recipes-support/raptor2/raptor2_2.0.16.bb renamed from meta-oe/recipes-support/raptor2/raptor2_2.0.15.bb +2 -5
similarity index 61%
rename from meta-oe/recipes-support/raptor2/raptor2_2.0.15.bb
rename to meta-oe/recipes-support/raptor2/raptor2_2.0.16.bb
index 22306a5c1..169911276 100644
@@ -1,7 +1,7 @@
 SUMMARY = "Library for parsing and serializing RDF syntaxes"
 LICENSE = "GPL-2.0-only | LGPL-2.1-only | Apache-2.0"
 LIC_FILES_CHKSUM = " \
-    file://LICENSE.txt;md5=b840e5ae3aeb897f45b473341348cd9c \
+    file://LICENSE.txt;md5=f7fed8b6ab9289b77f5c14f3f79572cc \
     file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
     file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
     file://LICENSE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \
@@ -11,11 +11,8 @@ DEPENDS = "libxml2 libxslt curl yajl"
 
 SRC_URI = " \
     http://download.librdf.org/source/${BPN}-${PV}.tar.gz \
-    file://0001-configure.ac-do-additional-checks-on-libxml2-also-wh.patch \
-    file://0001-Match-reutrn-type-from-RAPTOR_ASSERT_OBJECT_POINTER_.patch \
 "
-SRC_URI[md5sum] = "a39f6c07ddb20d7dd2ff1f95fa21e2cd"
-SRC_URI[sha256sum] = "ada7f0ba54787b33485d090d3d2680533520cd4426d2f7fb4782dd4a6a1480ed"
+SRC_URI[sha256sum] = "089db78d7ac982354bdbf39d973baf09581e6904ac4c92a98c5caadb3de44680"
 
 inherit autotools pkgconfig
 

--
2.34.1

#3 lore raw

PATCH 9/11 satyr: upgrade 0.40 -> 0.42

In reply to [email protected]

From: Wang Mingyu <[email protected]>

Changelog:
=========
Find crash thread before stacktrace is normalized Normalize both gdb stacktrace and the crash frame (rhbz#2168223)

---
 meta-oe/recipes-support/satyr/{satyr_0.40.bb => satyr_0.42.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/satyr/{satyr_0.40.bb => satyr_0.42.bb} (94%)
meta-oe/recipes-support/satyr/satyr_0.42.bb renamed from meta-oe/recipes-support/satyr/satyr_0.40.bb +1 -1
similarity index 94%
rename from meta-oe/recipes-support/satyr/satyr_0.40.bb
rename to meta-oe/recipes-support/satyr/satyr_0.42.bb
index 1ce28f1f0..62cdad6fb 100644
@@ -10,7 +10,7 @@ inherit autotools-brokensep python3native python3targetconfig pkgconfig
 SRC_URI = "git://github.com/abrt/satyr.git;branch=master;protocol=https \
            file://0002-fix-compile-failure-against-musl-C-library.patch \
            "
-SRCREV = "61addf12d15ef9d0bff5e3cc26e08d08a4f88094"
+SRCREV = "23483cebb238df86cda8b6529e3c58080dc2029d"
 S = "${WORKDIR}/git"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
Signature · 1 line
2.34.1
#4 lore raw

PATCH 10/11 nginx: upgrade 1.20.1 -> 1.23.3

In reply to [email protected]

From: Wang Mingyu <[email protected]>

CVE-2021-3618.patch
removed since it's included in 1.23.3

Changelog:
==========
*) Bugfix: an error might occur when reading PROXY protocol version 2
header with large number of TLVs.

*) Bugfix: a segmentation fault might occur in a worker process if SSI
was used to process subrequests created by other modules. Thanks to Ciel Zhao.

*) Workaround: when a hostname used in the "listen" directive resolves
to multiple addresses, nginx now ignores duplicates within these addresses.

*) Bugfix: nginx might hog CPU during unbuffered proxying if SSL
connections to backends were used.

---
 .../nginx/files/CVE-2021-3618.patch           | 107 ------------------
 .../recipes-httpd/nginx/nginx_1.20.1.bb       |   9 --
 .../recipes-httpd/nginx/nginx_1.23.3.bb       |   6 +
 3 files changed, 6 insertions(+), 116 deletions(-)
 delete mode 100644 meta-webserver/recipes-httpd/nginx/files/CVE-2021-3618.patch
 delete mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.20.1.bb
 create mode 100644 meta-webserver/recipes-httpd/nginx/nginx_1.23.3.bb
meta-webserver/recipes-httpd/nginx/files/CVE-2021-3618.patch deleted +0 -107
deleted file mode 100644
index be42a1ed5..000000000
@@ -1,107 +0,0 @@
-From 6dafcdebde58577f4fcb190be46a0eb910cf1b96 Mon Sep 17 00:00:00 2001
-From: Maxim Dounin <[email protected]>
-Date: Wed, 19 May 2021 03:13:31 +0300
-Subject: [PATCH 1/1] Mail: max_errors directive.
-
-Similarly to smtpd_hard_error_limit in Postfix and smtp_max_unknown_commands
-in Exim, specifies the number of errors after which the connection is closed.
---- end of original header ---
-
-CVE: CVE-2021-3618
-
-Upstream-Status: Backport
-                 https://github.com/nginx/nginx.git
-                 commit 173f16f736c10eae46cd15dd861b04b82d91a37a
-
-Signed-off-by: Joe Slater <[email protected]>
----
- src/mail/ngx_mail.h             |  3 +++
- src/mail/ngx_mail_core_module.c | 10 ++++++++++
- src/mail/ngx_mail_handler.c     | 15 ++++++++++++++-
- 3 files changed, 27 insertions(+), 1 deletion(-)
-
-diff --git a/src/mail/ngx_mail.h b/src/mail/ngx_mail.h
-index b865a3b9..76cae37a 100644
---- a/src/mail/ngx_mail.h
-+++ b/src/mail/ngx_mail.h
-@@ -115,6 +115,8 @@ typedef struct {
-     ngx_msec_t              timeout;
-     ngx_msec_t              resolver_timeout;
- 
-+    ngx_uint_t              max_errors;
-+
-     ngx_str_t               server_name;
- 
-     u_char                 *file_name;
-@@ -231,6 +233,7 @@ typedef struct {
-     ngx_uint_t              command;
-     ngx_array_t             args;
- 
-+    ngx_uint_t              errors;
-     ngx_uint_t              login_attempt;
- 
-     /* used to parse POP3/IMAP/SMTP command */
-diff --git a/src/mail/ngx_mail_core_module.c b/src/mail/ngx_mail_core_module.c
-index 40831242..115671ca 100644
---- a/src/mail/ngx_mail_core_module.c
-+++ b/src/mail/ngx_mail_core_module.c
-@@ -85,6 +85,13 @@ static ngx_command_t  ngx_mail_core_commands[] = {
-       offsetof(ngx_mail_core_srv_conf_t, resolver_timeout),
-       NULL },
- 
-+    { ngx_string("max_errors"),
-+      NGX_MAIL_MAIN_CONF|NGX_MAIL_SRV_CONF|NGX_CONF_TAKE1,
-+      ngx_conf_set_num_slot,
-+      NGX_MAIL_SRV_CONF_OFFSET,
-+      offsetof(ngx_mail_core_srv_conf_t, max_errors),
-+      NULL },
-+
-       ngx_null_command
- };
- 
-@@ -163,6 +170,8 @@ ngx_mail_core_create_srv_conf(ngx_conf_t *cf)
-     cscf->timeout = NGX_CONF_UNSET_MSEC;
-     cscf->resolver_timeout = NGX_CONF_UNSET_MSEC;
- 
-+    cscf->max_errors = NGX_CONF_UNSET_UINT;
-+
-     cscf->resolver = NGX_CONF_UNSET_PTR;
- 
-     cscf->file_name = cf->conf_file->file.name.data;
-@@ -182,6 +191,7 @@ ngx_mail_core_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child)
-     ngx_conf_merge_msec_value(conf->resolver_timeout, prev->resolver_timeout,
-                               30000);
- 
-+    ngx_conf_merge_uint_value(conf->max_errors, prev->max_errors, 5);
- 
-     ngx_conf_merge_str_value(conf->server_name, prev->server_name, "");
- 
-diff --git a/src/mail/ngx_mail_handler.c b/src/mail/ngx_mail_handler.c
-index 0aaa0e78..71b81512 100644
---- a/src/mail/ngx_mail_handler.c
-+++ b/src/mail/ngx_mail_handler.c
-@@ -871,7 +871,20 @@ ngx_mail_read_command(ngx_mail_session_t *s, ngx_connection_t *c)
-         return NGX_MAIL_PARSE_INVALID_COMMAND;
-     }
- 
--    if (rc == NGX_IMAP_NEXT || rc == NGX_MAIL_PARSE_INVALID_COMMAND) {
-+    if (rc == NGX_MAIL_PARSE_INVALID_COMMAND) {
-+
-+        s->errors++;
-+
-+        if (s->errors >= cscf->max_errors) {
-+            ngx_log_error(NGX_LOG_INFO, c->log, 0,
-+                          "client sent too many invalid commands");
-+            s->quit = 1;
-+        }
-+
-+        return rc;
-+    }
-+
-+    if (rc == NGX_IMAP_NEXT) {
-         return rc;
-     }
- 
--- 
-2.25.1
-
meta-webserver/recipes-httpd/nginx/nginx_1.20.1.bb deleted +0 -9
deleted file mode 100644
index d686c627f..000000000
@@ -1,9 +0,0 @@
-require nginx.inc
-
-SRC_URI += "file://CVE-2021-3618.patch"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=206629dc7c7b3e87acb31162363ae505"
-
-SRC_URI[md5sum] = "8ca6edd5076bdfad30a69c9c9b41cc68"
-SRC_URI[sha256sum] = "e462e11533d5c30baa05df7652160ff5979591d291736cfa5edb9fd2edb48c49"
-
meta-webserver/recipes-httpd/nginx/nginx_1.23.3.bb new file +6 -0
new file mode 100644
index 000000000..a8ffd9b93
@@ -0,0 +1,6 @@
+require nginx.inc
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=175abb631c799f54573dc481454c8632"
+
+SRC_URI[sha256sum] = "75cb5787dbb9fae18b14810f91cc4343f64ce4c24e27302136fb52498042ba54"
+
Signature · 1 line
2.34.1