From: Jakub Bogusz Date: Sun, 13 Jun 2021 21:04:37 +0000 (+0200) Subject: - added config-dtls-srtp patch (enable MBEDTLS_SSL_DTLS_SRTP feature for linphone... X-Git-Tag: auto/th/mbedtls-2.26.0-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fmbedtls.git;a=commitdiff_plain;h=543346b - added config-dtls-srtp patch (enable MBEDTLS_SSL_DTLS_SRTP feature for linphone etc.); release 2 --- diff --git a/mbedtls-config-dtls-srtp.patch b/mbedtls-config-dtls-srtp.patch new file mode 100644 index 0000000..6f28132 --- /dev/null +++ b/mbedtls-config-dtls-srtp.patch @@ -0,0 +1,11 @@ +--- mbedtls-2.26.0/include/mbedtls/config.h.orig 2021-03-12 17:55:26.000000000 +0100 ++++ mbedtls-2.26.0/include/mbedtls/config.h 2021-06-13 22:49:25.354694754 +0200 +@@ -1907,7 +1907,7 @@ + * + * Uncomment this to enable support for use_srtp extension. + */ +-//#define MBEDTLS_SSL_DTLS_SRTP ++#define MBEDTLS_SSL_DTLS_SRTP + + /** + * \def MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE diff --git a/mbedtls.spec b/mbedtls.spec index c9f6ed1..ed64be6 100644 --- a/mbedtls.spec +++ b/mbedtls.spec @@ -6,12 +6,13 @@ Summary: Light-weight cryptographic and SSL/TLS library Summary(pl.UTF-8): Lekka biblioteka kryptograficzna oraz SSL/TLS Name: mbedtls Version: 2.26.0 -Release: 1 +Release: 2 License: GPL v2+ Group: Libraries #Source0Download: https://github.com/ARMmbed/mbedtls/releases Source0: https://github.com/ARMmbed/mbedtls/archive/v%{version}/%{name}-%{version}.tar.gz # Source0-md5: 5f66a6278d469b1cca5e035786ae9ea8 +Patch0: %{name}-config-dtls-srtp.patch URL: https://www.trustedfirmware.org/projects/mbed-tls/ BuildRequires: cmake >= 2.8.12 BuildRequires: doxygen @@ -77,6 +78,7 @@ Dokumentacja API biblioteki mbedTLS. %prep %setup -q +%patch0 -p1 %build install -d build