From 158b3c36da6de2a35e5ec96a9613903a3fa22c93433c85656aaf8ef533577776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Sun, 19 Jul 2015 12:32:15 +0000 Subject: [PATCH 1/2] Accepting request 317451 from home:elvigia:branches:hardware - libimobiledevice-nosslv3.patch: In tumbleweed, SSLv3_method fails because there is no sslv3 support, use SSLv233_method instead to negotiate the highest TLS version available. OBS-URL: https://build.opensuse.org/request/show/317451 OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=6 --- libimobiledevice-nosslv3.patch | 11 +++++++++++ libimobiledevice.changes | 7 +++++++ libimobiledevice.spec | 2 ++ 3 files changed, 20 insertions(+) create mode 100644 libimobiledevice-nosslv3.patch diff --git a/libimobiledevice-nosslv3.patch b/libimobiledevice-nosslv3.patch new file mode 100644 index 0000000..68c9f73 --- /dev/null +++ b/libimobiledevice-nosslv3.patch @@ -0,0 +1,11 @@ +--- libimobiledevice-1.2.0.orig/src/idevice.c ++++ libimobiledevice-1.2.0/src/idevice.c +@@ -678,7 +678,7 @@ LIBIMOBILEDEVICE_API idevice_error_t ide + } + BIO_set_fd(ssl_bio, (int)(long)connection->data, BIO_NOCLOSE); + +- SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv3_method()); ++ SSL_CTX *ssl_ctx = SSL_CTX_new(SSLv23_method()); + if (ssl_ctx == NULL) { + debug_info("ERROR: Could not create SSL context."); + BIO_free(ssl_bio); diff --git a/libimobiledevice.changes b/libimobiledevice.changes index 6f5ca87..004e3eb 100644 --- a/libimobiledevice.changes +++ b/libimobiledevice.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Jul 18 23:35:28 UTC 2015 - crrodriguez@opensuse.org + +- libimobiledevice-nosslv3.patch: In tumbleweed, SSLv3_method + fails because there is no sslv3 support, use SSLv233_method instead + to negotiate the highest TLS version available. + ------------------------------------------------------------------- Sun Mar 1 13:02:52 UTC 2015 - i@marguerite.su diff --git a/libimobiledevice.spec b/libimobiledevice.spec index 51b6e26..7eb22d1 100644 --- a/libimobiledevice.spec +++ b/libimobiledevice.spec @@ -39,6 +39,7 @@ BuildRequires: python-devel BuildRequires: python-plist BuildRequires: readline-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build +Patch0: libimobiledevice-nosslv3.patch %description libimobiledevice is a software library that talks the protocols to support @@ -104,6 +105,7 @@ Contains Python bindings for developing applications that use %{name}. %prep %setup -q +%patch0 -p1 autoreconf -fi sed -i -e '/Requires:/d' src/%{name}-1.0.pc.in sed -i -e 's/-L${libdir}//' src/%{name}-1.0.pc.in From 16c12c266a3fe50654fa0880c3078fe8b7831a04e28a2d7693536b430d8bbe9f Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Wed, 29 Jul 2015 06:06:05 +0000 Subject: [PATCH 2/2] Accepting request 319191 from home:MargueriteSu:branches:hardware OBS-URL: https://build.opensuse.org/request/show/319191 OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice?expand=0&rev=7 --- baselibs.conf | 2 +- libimobiledevice.changes | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/baselibs.conf b/baselibs.conf index 0ddef7c..5711f51 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libimobiledevice5 +libimobiledevice6 diff --git a/libimobiledevice.changes b/libimobiledevice.changes index 004e3eb..955f444 100644 --- a/libimobiledevice.changes +++ b/libimobiledevice.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 29 06:06:53 UTC 2015 - i@marguerite.su + +- fix baselibs.conf + ------------------------------------------------------------------- Sat Jul 18 23:35:28 UTC 2015 - crrodriguez@opensuse.org