commit 6d8d61aec09cc40e020cd793260cecc411e5fec5
Author: Jan RÄ™korajski <[email protected]>
Date:   Wed Sep 29 22:20:39 2021 +0200

    - rebuild with openssl 3.0.0, rel 3

 openssl3.patch | 12 ++++++++++++
 serf.spec      |  4 +++-
 2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/serf.spec b/serf.spec
index 51fbeb1..8f78b9d 100644
--- a/serf.spec
+++ b/serf.spec
@@ -7,12 +7,13 @@ Summary:      A high-performance asynchronous HTTP client 
library
 Summary(pl.UTF-8):     Wysokowydajna biblioteka asynchronicznego klienta HTTP
 Name:          serf
 Version:       1.3.9
-Release:       2
+Release:       3
 License:       Apache v2.0
 Group:         Libraries
 Source0:       https://www.apache.org/dist/serf/%{name}-%{version}.tar.bz2
 # Source0-md5: 370a6340ff20366ab088012cd13f2b57
 Patch0:                %{name}-scons.patch
+Patch1:                openssl3.patch
 URL:           https://serf.apache.org/
 BuildRequires: apr-devel
 BuildRequires: apr-util-devel
@@ -67,6 +68,7 @@ Statyczne biblioteki serf.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %scons \
diff --git a/openssl3.patch b/openssl3.patch
new file mode 100644
index 0000000..329bb3e
--- /dev/null
+++ b/openssl3.patch
@@ -0,0 +1,12 @@
+--- serf-1.3.9/buckets/ssl_buckets.c~  2016-06-30 17:45:07.000000000 +0200
++++ serf-1.3.9/buckets/ssl_buckets.c   2021-09-29 22:19:11.602245223 +0200
+@@ -1325,8 +1325,7 @@
+                 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);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/serf.git/commitdiff/6d8d61aec09cc40e020cd793260cecc411e5fec5

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to