From: Steve Sakoman <steve@sakoman.com>
To: openembedded-core@lists.openembedded.org
Subject: [OE-core][mickledore 06/30] serf: upgrade 1.3.9 -> 1.3.10
Date: Tue, 4 Jul 2023 05:29:08 -1000 [thread overview]
Message-ID: <17a46eee905f0ecfdbebb014533848dc7e906ec7.1688484463.git.steve@sakoman.com> (raw)
In-Reply-To: <cover.1688484463.git.steve@sakoman.com>
From: Alexander Kanavin <alex.kanavin@gmail.com>
Apache Serf 1.3.10 [2023-05-31, from tags/1.3.10, r1910048]
Support for OpenSSL 3 (r1901937, ...)
Fix issue #171: Win32: Running tests fails with "no OPENSSL_Applink" error
Fix issue #194: Win32: Linking error when building against OpenSSL 1.1+
Fix issue #198: OpenSSL BIO control method incorrectly handles unknown requests
Fix issue #202: SSL tests are not passing with OpenSSL 3
Fix error handling when reading the outgoing request body (r1804534, ...)
Fix handling of invalid chunk lengths in the dechunk bucket (r1804005, ...)
Fix an endless loop in the deflate bucket with truncated input (r1805301)
Fix BIO control handlers to support BIO_CTRL_EOF (r1902208)
Fix a CRT mismatch issue caused by using certain OpenSSL functions (r1909252)
Build changes to support VS2017, VS2019 and VS2022 (r1712131, ...)
Build changes to support Python 3 (r1875933)
As serf is undead, we need to reassess all the remaining patches.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 775cbcc876edcb6c339f342a3253f5afcf6ef163)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
...print-in-the-scons-file-to-unbreak-b.patch | 29 -------------------
...sl_buckets.c-do-not-use-ERR_GET_FUNC.patch | 28 ------------------
...11083-fix-building-with-scons-3.0.0-.patch | 29 -------------------
...ories.without.sandbox-install.prefix.patch | 2 +-
.../serf/{serf_1.3.9.bb => serf_1.3.10.bb} | 6 +---
5 files changed, 2 insertions(+), 92 deletions(-)
delete mode 100644 meta/recipes-support/serf/serf/0001-Fix-syntax-of-a-print-in-the-scons-file-to-unbreak-b.patch
delete mode 100644 meta/recipes-support/serf/serf/0001-buckets-ssl_buckets.c-do-not-use-ERR_GET_FUNC.patch
delete mode 100644 meta/recipes-support/serf/serf/0004-Follow-up-to-r1811083-fix-building-with-scons-3.0.0-.patch
rename meta/recipes-support/serf/{serf_1.3.9.bb => serf_1.3.10.bb} (78%)
diff --git a/meta/recipes-support/serf/serf/0001-Fix-syntax-of-a-print-in-the-scons-file-to-unbreak-b.patch b/meta/recipes-support/serf/serf/0001-Fix-syntax-of-a-print-in-the-scons-file-to-unbreak-b.patch
deleted file mode 100644
index 4a5832ac1a..0000000000
--- a/meta/recipes-support/serf/serf/0001-Fix-syntax-of-a-print-in-the-scons-file-to-unbreak-b.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 99f6e1b0d68281b63218d6adfe68cd9e331ac5be Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 3 Sep 2018 10:50:08 -0700
-Subject: [PATCH] Fix syntax of a print() in the scons file to unbreak building
- with most recent scons version.
-
-* SConstruct Use Python 3.0 valid syntax to make Scons 3.0.0 happy on both python
- 3.0 and 2.7.
-
-Upstream-Status: Backport
-[https://svn.apache.org/viewvc/serf/trunk/SConstruct?r1=1809132&r2=1811083&diff_format=h]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- SConstruct | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/SConstruct b/SConstruct
-index 1670459..18a45fa 100644
---- a/SConstruct
-+++ b/SConstruct
-@@ -184,7 +184,7 @@ CALLOUT_OKAY = not (env.GetOption('clean') or env.GetOption('help'))
-
- unknown = opts.UnknownVariables()
- if unknown:
-- print 'Warning: Used unknown variables:', ', '.join(unknown.keys())
-+ print('Warning: Used unknown variables:', ', '.join(unknown.keys()))
-
- apr = str(env['APR'])
- apu = str(env['APU'])
diff --git a/meta/recipes-support/serf/serf/0001-buckets-ssl_buckets.c-do-not-use-ERR_GET_FUNC.patch b/meta/recipes-support/serf/serf/0001-buckets-ssl_buckets.c-do-not-use-ERR_GET_FUNC.patch
deleted file mode 100644
index 91ccc8a474..0000000000
--- a/meta/recipes-support/serf/serf/0001-buckets-ssl_buckets.c-do-not-use-ERR_GET_FUNC.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 2f45711a66ff99886b6e4a5708e2db01a63e5af4 Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin <alex@linutronix.de>
-Date: Fri, 10 Sep 2021 11:05:10 +0200
-Subject: [PATCH] buckets/ssl_buckets.c: do not use ERR_GET_FUNC
-
-Upstream removed it in
-https://github.com/openssl/openssl/pull/16004
-
-Upstream-Status: Inactive-Upstream [lastrelease: 2015, lastcommit: 2019]
-Signed-off-by: Alexander Kanavin <alex@linutronix.de>
----
- buckets/ssl_buckets.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/buckets/ssl_buckets.c b/buckets/ssl_buckets.c
-index b01e535..9801f87 100644
---- a/buckets/ssl_buckets.c
-+++ b/buckets/ssl_buckets.c
-@@ -1325,8 +1325,7 @@ static int ssl_need_client_cert(SSL *ssl, X509 **cert, EVP_PKEY **pkey)
- return 0;
- }
- else {
-- printf("OpenSSL cert error: %d %d %d\n", ERR_GET_LIB(err),
-- ERR_GET_FUNC(err),
-+ printf("OpenSSL cert error: %d %d\n", ERR_GET_LIB(err),
- ERR_GET_REASON(err));
- PKCS12_free(p12);
- bio_meth_free(biom);
diff --git a/meta/recipes-support/serf/serf/0004-Follow-up-to-r1811083-fix-building-with-scons-3.0.0-.patch b/meta/recipes-support/serf/serf/0004-Follow-up-to-r1811083-fix-building-with-scons-3.0.0-.patch
deleted file mode 100644
index 02fa9e3a06..0000000000
--- a/meta/recipes-support/serf/serf/0004-Follow-up-to-r1811083-fix-building-with-scons-3.0.0-.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 565211fd082ef653ca9c44a345350fc1451f5a0f Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Mon, 3 Sep 2018 11:12:38 -0700
-Subject: [PATCH] Follow-up to r1811083 fix building with scons 3.0.0 and
- Python3
-
-* SConstruct: Append decode('utf-8) to FILE.get_contents() to avoid
- TypeError: cannot use a string pattern on a bytes-like object
-
-Upstream-Status: Backport
-[https://svn.apache.org/viewvc/serf/trunk/SConstruct?r1=1811088&r2=1814604]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- SConstruct | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/SConstruct b/SConstruct
-index 877731e..7678bb1 100644
---- a/SConstruct
-+++ b/SConstruct
-@@ -169,7 +169,7 @@ env.Append(BUILDERS = {
- match = re.search('SERF_MAJOR_VERSION ([0-9]+).*'
- 'SERF_MINOR_VERSION ([0-9]+).*'
- 'SERF_PATCH_VERSION ([0-9]+)',
-- env.File('serf.h').get_contents(),
-+ env.File('serf.h').get_contents().decode('utf-8'),
- re.DOTALL)
- MAJOR, MINOR, PATCH = [int(x) for x in match.groups()]
- env.Append(MAJOR=str(MAJOR))
diff --git a/meta/recipes-support/serf/serf/SConstruct.stop.creating.directories.without.sandbox-install.prefix.patch b/meta/recipes-support/serf/serf/SConstruct.stop.creating.directories.without.sandbox-install.prefix.patch
index 4105868a7e..91640d6044 100644
--- a/meta/recipes-support/serf/serf/SConstruct.stop.creating.directories.without.sandbox-install.prefix.patch
+++ b/meta/recipes-support/serf/serf/SConstruct.stop.creating.directories.without.sandbox-install.prefix.patch
@@ -31,7 +31,7 @@ ERROR: scons install execution failed.
and the installed paths (including the paths inside libserf*.pc)
look correct
-Upstream-Status: Inactive-Upstream [lastrelease: 2015, lastcommit: 2019]
+Upstream-Status: Pending
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
diff --git a/meta/recipes-support/serf/serf_1.3.9.bb b/meta/recipes-support/serf/serf_1.3.10.bb
similarity index 78%
rename from meta/recipes-support/serf/serf_1.3.9.bb
rename to meta/recipes-support/serf/serf_1.3.10.bb
index 669f42b8e7..c6b51452aa 100644
--- a/meta/recipes-support/serf/serf_1.3.9.bb
+++ b/meta/recipes-support/serf/serf_1.3.10.bb
@@ -7,16 +7,12 @@ HOMEPAGE = "http://serf.apache.org/"
SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
file://norpath.patch \
file://env.patch \
- file://0001-Fix-syntax-of-a-print-in-the-scons-file-to-unbreak-b.patch \
file://0002-SConstruct-Fix-path-quoting-for-.def-generator.patch \
file://0003-gen_def.patch \
- file://0004-Follow-up-to-r1811083-fix-building-with-scons-3.0.0-.patch \
file://SConstruct.stop.creating.directories.without.sandbox-install.prefix.patch \
- file://0001-buckets-ssl_buckets.c-do-not-use-ERR_GET_FUNC.patch \
"
-SRC_URI[md5sum] = "370a6340ff20366ab088012cd13f2b57"
-SRC_URI[sha256sum] = "549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc"
+SRC_URI[sha256sum] = "be81ef08baa2516ecda76a77adf7def7bc3227eeb578b9a33b45f7b41dc064e6"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
--
2.34.1
next prev parent reply other threads:[~2023-07-04 15:29 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-04 15:29 [OE-core][mickledore 00/30] Patch review Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 01/30] perl: Fix CVE-2023-31484 & CVE-2023-31486 Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 02/30] gawk: upgrade 5.2.1 -> 5.2.2 Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 03/30] gnupg: upgrade 2.4.0 -> 2.4.2 Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 04/30] libx11: upgrade 1.8.4 -> 1.8.5 Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 05/30] linux-firmware: upgrade 20230404 -> 20230515 Steve Sakoman
2023-07-04 15:29 ` Steve Sakoman [this message]
2023-07-04 15:29 ` [OE-core][mickledore 07/30] wget: upgrade 1.21.3 -> 1.21.4 Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 08/30] wireless-regdb: upgrade 2023.02.13 -> 2023.05.03 Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 09/30] gdb: upgrade 13.1 -> 13.2 Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 10/30] rpcsvc-proto: Upgrade to 1.4.4 Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 11/30] strace: Merge two similar patches Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 12/30] strace: Update patches/tests with upstream fixes Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 13/30] libxml2: Do not use lld linker when building with tests on rv64 Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 14/30] bitbake.conf: add unzstd in HOSTTOOLS Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 15/30] sdk.py: error out when moving file fails Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 16/30] sdk.py: fix moving dnf contents Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 17/30] rpm: write macros under libdir Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 18/30] glib-networking: use correct error code in ptest Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 19/30] python3-bcrypt: Use BFD linker when building tests Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 20/30] zip: fix configure check by using _Static_assert Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 21/30] zip: remove unnecessary LARGE_FILE_SUPPORT CLFAGS Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 22/30] unzip: fix configure check for cross compilation Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 23/30] unzip: remove hardcoded LARGE_FILE_SUPPORT Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 24/30] sysfsutils: fetch a supported fork from github Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 25/30] logrotate: Do not create logrotate.status file Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 26/30] ptest-runner: Pull in sync fix to improve log warnings Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 27/30] ptest-runner: Ensure data writes don't race Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 28/30] ptest-runner: Pull in "runner: Remove threads and mutexes" fix Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 29/30] dnf: only write the log lock to root for native dnf Steve Sakoman
2023-07-04 15:29 ` [OE-core][mickledore 30/30] rootfs-postcommands.bbclass: add post func remove_unused_dnf_log_lock Steve Sakoman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17a46eee905f0ecfdbebb014533848dc7e906ec7.1688484463.git.steve@sakoman.com \
--to=steve@sakoman.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox