[packages/mbedtls] - added config-dtls-srtp patch (enable MBEDTLS_SSL_DTLS_SRTP feature for linphone etc.); release 2
qboosh
qboosh at pld-linux.org
Sun Jun 13 23:01:53 CEST 2021
commit 543346bc1cb43c0842998d30475ffd1a901d2592
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jun 13 23:04:37 2021 +0200
- added config-dtls-srtp patch (enable MBEDTLS_SSL_DTLS_SRTP feature for linphone etc.); release 2
mbedtls-config-dtls-srtp.patch | 11 +++++++++++
mbedtls.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
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
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mbedtls.git/commitdiff/543346bc1cb43c0842998d30475ffd1a901d2592
More information about the pld-cvs-commit
mailing list