gstreamer-plugins-bad: replace openssl dependency with nettle for hls plugin
PATCH 1/1 gstreamer-plugins-bad: replace openssl dependency with nettle for hls plugin
It has not been ported to openssl 1.1 (and there's nothing in upstream git), but it's possible to use nettle or gcrypt intead.
Also, provide a fallback option to use openssl 1.0 when necessary.
--- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +3 -3
@@ -40,9 +40,9 @@ PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa" PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2" PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" -# ensure OpenSSL is used for HLS AES description instead of nettle -# (OpenSSL is a shared dependency with dtls) -PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=openssl,--disable-hls,openssl" +PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=nettle,--disable-hls,nettle" +# Provide a fallback to openssl 1.0 when using nettle is not acceptable or desirable +PACKAGECONFIG[hls_openssl10] = "--enable-hls --with-hls-crypto=openssl,--disable-hls,openssl10" PACKAGECONFIG[kms] = "--enable-kms,--disable-kms,libdrm" PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms" PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2"
Signature · 1 line
2.13.2
Quoted 15 lines · Alexander Kanavin
It has not been ported to openssl 1.1 (and there's nothing in upstream git), but it's possible to use nettle or gcrypt intead.
Also, provide a fallback option to use openssl 1.0 when necessary.
Signed-off-by Alexander Kanavin <[email protected]>--- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +0
-0
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa" · line 45
Quoted 9 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +3
-3@@ -40,9 +40,9 @@ PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa" PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2" PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" -# ensure OpenSSL is used for HLS AES description instead of nettle -# (OpenSSL is a shared dependency with dtls) -PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=openssl,--disable-hls,openssl" +PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=nettle,--disable-hls,nettle" +# Provide a fallback to openssl 1.0 when using nettle is not acceptable or desirable +PACKAGECONFIG[hls_openssl10] = "--enable-hls --with-hls-crypto=openssl,--disable-hls,openssl10"
The option which isn't enabled is going to cause "--disable-hls" to be added to the configure command line, so this isn't going to work as expected.
Quoted 11 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +0
-1PACKAGECONFIG[kms] = "--enable-kms,--disable-kms,libdrm" PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms" PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2" --2.13.2
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 10 lines · Andre McCurdy
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa" · line 45
Quoted 6 lines
meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc +3
-3-# ensure OpenSSL is used for HLS AES description instead of nettle -# (OpenSSL is a shared dependency with dtls) -PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=openssl,--disable-hls,openssl" +PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=nettle,--disable-hls,nettle" +# Provide a fallback to openssl 1.0 when using nettle is not acceptable or desirable +PACKAGECONFIG[hls_openssl10] = "--enable-hls --with-hls-crypto=openssl,--disable-hls,openssl10"The option which isn't enabled is going to cause "--disable-hls" to be added to the configure command line, so this isn't going to work as expected.
That's right. Ignore this patch; the previous version should go in. If someone wants openssl, they can add the switch manually to configure (later options supersede earlier ones in autoconf, as far as I remember).
Alex