From: Dariusz Michaluk Date: Tue, 6 Aug 2019 13:24:44 +0000 (+0200) Subject: Migrate to openssl 1.1 X-Git-Tag: submit/tizen/20190813.064118^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a32c604de9d55eaf12f623969b9645bb07a598fa;p=platform%2Fupstream%2Fgst-plugins-bad.git Migrate to openssl 1.1 Change-Id: I41aefc8219d89ceb0afefaf4e07ed2ab97c365fe --- diff --git a/configure.ac b/configure.ac index 2bc75e348..cca422b7e 100644 --- a/configure.ac +++ b/configure.ac @@ -2492,7 +2492,7 @@ AG_GST_CHECK_FEATURE(SRTP, [srtp library], srtp, [ dnl *** dtls *** translit(dnm, m, l) AM_CONDITIONAL(USE_DTLS, true) AG_GST_CHECK_FEATURE(DTLS, [DTLS plugin], dtls, [ - PKG_CHECK_MODULES(DTLS, [ openssl >= 1.0.1 libcrypto ], [ + PKG_CHECK_MODULES(DTLS, [ openssl1.1 >= 1.0.1 libcrypto1.1 ], [ HAVE_DTLS="yes" AC_SUBST(DTLS_CFLAGS) AC_SUBST(DTLS_LIBS) @@ -3297,7 +3297,7 @@ AG_GST_CHECK_FEATURE(HLS, [http live streaming plugin], hls, [ ],[AC_MSG_ERROR([Could not find libgcrypt library])]) ], [openssl], [ - PKG_CHECK_MODULES(OPENSSL, openssl, [ + PKG_CHECK_MODULES(OPENSSL, openssl1.1, [ AC_DEFINE(HAVE_OPENSSL, 1, [Define if openssl is available]) HAVE_HLS="yes" ],[AC_MSG_ERROR([Could not find openssl library])]) @@ -3312,7 +3312,7 @@ AG_GST_CHECK_FEATURE(HLS, [http live streaming plugin], hls, [ AC_DEFINE(HAVE_LIBGCRYPT, 1, [Define if libgcrypt is available]) HAVE_HLS="yes" ],[ - PKG_CHECK_MODULES(OPENSSL, openssl, [ + PKG_CHECK_MODULES(OPENSSL, openssl1.1, [ AC_DEFINE(HAVE_OPENSSL, 1, [Define if openssl is available]) HAVE_HLS="yes" ],[ diff --git a/meson.build b/meson.build index 59f7ef5cb..14d75957c 100644 --- a/meson.build +++ b/meson.build @@ -306,7 +306,7 @@ gmodule_dep = dependency('gmodule-2.0', version : glib_req) x11_dep = dependency('x11', required : false) # Used by dtls and hls -openssl_dep = dependency('openssl', version : '>= 1.0.1', required : false) +openssl_dep = dependency('openssl1.1', version : '>= 1.0.1', required : false) # Used by mpeg2enc and mplex # mjpegtools upstream breaks API constantly and doesn't export the version in diff --git a/packaging/gst-plugins-bad.spec b/packaging/gst-plugins-bad.spec index 8f88998f1..5eaf82172 100644 --- a/packaging/gst-plugins-bad.spec +++ b/packaging/gst-plugins-bad.spec @@ -22,10 +22,9 @@ BuildRequires: python BuildRequires: xsltproc BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(gio-2.0) >= 2.25.0 -BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libcurl) >= 7.21.0 BuildRequires: pkgconfig(libexif) >= 0.6.16 -BuildRequires: pkgconfig(openssl) >= 0.9.5 +BuildRequires: pkgconfig(openssl1.1) BuildRequires: pkgconfig(sndfile) >= 1.0.16 BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(soundtouch) > 1.4