From cc765b15f1478ee1a94e9824bc502468e037da6b610a37f25bc51852393a28d0 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Mon, 9 Oct 2017 15:03:32 +0000 Subject: [PATCH 1/2] Accepting request 532806 from home:vitezslav_cizek:branches:network:telephony - Drop option --enable-openssl which doesn't work with OpenSSL 1.1 (bsc#1055277) * this drops GCM support OBS-URL: https://build.opensuse.org/request/show/532806 OBS-URL: https://build.opensuse.org/package/show/network:telephony/libsrtp?expand=0&rev=21 --- libsrtp.changes | 7 +++++++ libsrtp.spec | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/libsrtp.changes b/libsrtp.changes index 4ff8f60..e43d278 100644 --- a/libsrtp.changes +++ b/libsrtp.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Oct 9 14:50:42 UTC 2017 - vcizek@suse.com + +- Drop option --enable-openssl which doesn't work with OpenSSL 1.1 + (bsc#1055277) + * this drops GCM support + ------------------------------------------------------------------- Tue Aug 1 12:28:27 UTC 2017 - jengelh@inai.de diff --git a/libsrtp.spec b/libsrtp.spec index ee18313..ec8fb6d 100644 --- a/libsrtp.spec +++ b/libsrtp.spec @@ -29,7 +29,6 @@ Source: https://github.com/cisco/libsrtp/archive/v%{version}.tar.gz#/%{n Source99: baselibs.conf BuildRequires: gcc BuildRequires: pkg-config -BuildRequires: pkgconfig(openssl) # srtp was last used in openSUSE 13.1. Provides: srtp = %{version} Obsoletes: srtp < %{version} @@ -71,8 +70,9 @@ This subpackage contains the development headers. %build %configure \ --enable-generic-aesicm \ - --enable-syslog \ - --enable-openssl + --enable-syslog +# Doesn't work with OpenSSL 1.1 +# --enable-openssl # --enable-gdoi # FIXME: Does not work: # --enable-kernel-linux From 914a812e7e4a01bb8cf85af0390f716eaf26f63a72aa7437ec29adc5c8524014 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Wed, 11 Oct 2017 14:57:14 +0000 Subject: [PATCH 2/2] Accepting request 533436 from home:vitezslav_cizek:branches:network:telephony - remove openssl 1.1 incompatible headers from the -devel package (bsc#1055277#c8) OBS-URL: https://build.opensuse.org/request/show/533436 OBS-URL: https://build.opensuse.org/package/show/network:telephony/libsrtp?expand=0&rev=22 --- libsrtp.changes | 6 ++++++ libsrtp.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/libsrtp.changes b/libsrtp.changes index e43d278..373d7c9 100644 --- a/libsrtp.changes +++ b/libsrtp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 11 14:39:40 UTC 2017 - vcizek@suse.com + +- remove openssl 1.1 incompatible headers from the -devel package + (bsc#1055277#c8) + ------------------------------------------------------------------- Mon Oct 9 14:50:42 UTC 2017 - vcizek@suse.com diff --git a/libsrtp.spec b/libsrtp.spec index ec8fb6d..cf6c849 100644 --- a/libsrtp.spec +++ b/libsrtp.spec @@ -109,6 +109,9 @@ for SYMBOL in \ sed -i 's|\([^A-Z0-9_]\)\('$SYMBOL'\)\([^A-Z0-9_]\|$\)|\1SRTP_\2\3|g' %{buildroot}%{_includedir}/srtp/*.h done +# remove openssl header files incompatible with OpenSSL 1.1 +rm %{buildroot}%{_includedir}/srtp/aes_{g,i}cm_ossl.h + %post -n %{name}%{soname} -p /sbin/ldconfig %postun -n %{name}%{soname} -p /sbin/ldconfig