summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/serf
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-06-14 11:29:08 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-06-16 15:40:11 +0100
commit98ed91039a1fe3e2bc9914f283170cf677b1dd2f (patch)
treeed571f7a69fee5abb63594d0d6f7af3b77f7b08f /meta/recipes-support/serf
parent2b9ef6d640f1963bdefec5c7be8c9134adb8fcb4 (diff)
downloadpoky-98ed91039a1fe3e2bc9914f283170cf677b1dd2f.tar.gz
serf: upgrade 1.3.9 -> 1.3.10
As serf is undead, we need to reassess all the remaining patches. (From OE-Core rev: 775cbcc876edcb6c339f342a3253f5afcf6ef163) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/serf')
-rw-r--r--meta/recipes-support/serf/serf/0001-Fix-syntax-of-a-print-in-the-scons-file-to-unbreak-b.patch29
-rw-r--r--meta/recipes-support/serf/serf/0001-buckets-ssl_buckets.c-do-not-use-ERR_GET_FUNC.patch28
-rw-r--r--meta/recipes-support/serf/serf/0004-Follow-up-to-r1811083-fix-building-with-scons-3.0.0-.patch29
-rw-r--r--meta/recipes-support/serf/serf/SConstruct.stop.creating.directories.without.sandbox-install.prefix.patch2
-rw-r--r--meta/recipes-support/serf/serf_1.3.10.bb (renamed from meta/recipes-support/serf/serf_1.3.9.bb)6
5 files changed, 2 insertions, 92 deletions
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 @@
1From 99f6e1b0d68281b63218d6adfe68cd9e331ac5be Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 3 Sep 2018 10:50:08 -0700
4Subject: [PATCH] Fix syntax of a print() in the scons file to unbreak building
5 with most recent scons version.
6
7* SConstruct Use Python 3.0 valid syntax to make Scons 3.0.0 happy on both python
8 3.0 and 2.7.
9
10Upstream-Status: Backport
11[https://svn.apache.org/viewvc/serf/trunk/SConstruct?r1=1809132&r2=1811083&diff_format=h]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 SConstruct | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/SConstruct b/SConstruct
18index 1670459..18a45fa 100644
19--- a/SConstruct
20+++ b/SConstruct
21@@ -184,7 +184,7 @@ CALLOUT_OKAY = not (env.GetOption('clean') or env.GetOption('help'))
22
23 unknown = opts.UnknownVariables()
24 if unknown:
25- print 'Warning: Used unknown variables:', ', '.join(unknown.keys())
26+ print('Warning: Used unknown variables:', ', '.join(unknown.keys()))
27
28 apr = str(env['APR'])
29 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 @@
1From 2f45711a66ff99886b6e4a5708e2db01a63e5af4 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Fri, 10 Sep 2021 11:05:10 +0200
4Subject: [PATCH] buckets/ssl_buckets.c: do not use ERR_GET_FUNC
5
6Upstream removed it in
7https://github.com/openssl/openssl/pull/16004
8
9Upstream-Status: Inactive-Upstream [lastrelease: 2015, lastcommit: 2019]
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11---
12 buckets/ssl_buckets.c | 3 +--
13 1 file changed, 1 insertion(+), 2 deletions(-)
14
15diff --git a/buckets/ssl_buckets.c b/buckets/ssl_buckets.c
16index b01e535..9801f87 100644
17--- a/buckets/ssl_buckets.c
18+++ b/buckets/ssl_buckets.c
19@@ -1325,8 +1325,7 @@ static int ssl_need_client_cert(SSL *ssl, X509 **cert, EVP_PKEY **pkey)
20 return 0;
21 }
22 else {
23- printf("OpenSSL cert error: %d %d %d\n", ERR_GET_LIB(err),
24- ERR_GET_FUNC(err),
25+ printf("OpenSSL cert error: %d %d\n", ERR_GET_LIB(err),
26 ERR_GET_REASON(err));
27 PKCS12_free(p12);
28 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 @@
1From 565211fd082ef653ca9c44a345350fc1451f5a0f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 3 Sep 2018 11:12:38 -0700
4Subject: [PATCH] Follow-up to r1811083 fix building with scons 3.0.0 and
5 Python3
6
7* SConstruct: Append decode('utf-8) to FILE.get_contents() to avoid
8 TypeError: cannot use a string pattern on a bytes-like object
9
10Upstream-Status: Backport
11[https://svn.apache.org/viewvc/serf/trunk/SConstruct?r1=1811088&r2=1814604]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 SConstruct | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/SConstruct b/SConstruct
18index 877731e..7678bb1 100644
19--- a/SConstruct
20+++ b/SConstruct
21@@ -169,7 +169,7 @@ env.Append(BUILDERS = {
22 match = re.search('SERF_MAJOR_VERSION ([0-9]+).*'
23 'SERF_MINOR_VERSION ([0-9]+).*'
24 'SERF_PATCH_VERSION ([0-9]+)',
25- env.File('serf.h').get_contents(),
26+ env.File('serf.h').get_contents().decode('utf-8'),
27 re.DOTALL)
28 MAJOR, MINOR, PATCH = [int(x) for x in match.groups()]
29 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.
31 and the installed paths (including the paths inside libserf*.pc) 31 and the installed paths (including the paths inside libserf*.pc)
32 look correct 32 look correct
33 33
34Upstream-Status: Inactive-Upstream [lastrelease: 2015, lastcommit: 2019] 34Upstream-Status: Pending
35 35
36Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 36Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
37 37
diff --git a/meta/recipes-support/serf/serf_1.3.9.bb b/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/"
7SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ 7SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \
8 file://norpath.patch \ 8 file://norpath.patch \
9 file://env.patch \ 9 file://env.patch \
10 file://0001-Fix-syntax-of-a-print-in-the-scons-file-to-unbreak-b.patch \
11 file://0002-SConstruct-Fix-path-quoting-for-.def-generator.patch \ 10 file://0002-SConstruct-Fix-path-quoting-for-.def-generator.patch \
12 file://0003-gen_def.patch \ 11 file://0003-gen_def.patch \
13 file://0004-Follow-up-to-r1811083-fix-building-with-scons-3.0.0-.patch \
14 file://SConstruct.stop.creating.directories.without.sandbox-install.prefix.patch \ 12 file://SConstruct.stop.creating.directories.without.sandbox-install.prefix.patch \
15 file://0001-buckets-ssl_buckets.c-do-not-use-ERR_GET_FUNC.patch \
16 " 13 "
17 14
18SRC_URI[md5sum] = "370a6340ff20366ab088012cd13f2b57" 15SRC_URI[sha256sum] = "be81ef08baa2516ecda76a77adf7def7bc3227eeb578b9a33b45f7b41dc064e6"
19SRC_URI[sha256sum] = "549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc"
20 16
21LICENSE = "Apache-2.0" 17LICENSE = "Apache-2.0"
22LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" 18LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"