]> git.pld-linux.org Git - packages/mbedtls.git/commitdiff
- added config-dtls-srtp patch (enable MBEDTLS_SSL_DTLS_SRTP feature for linphone... auto/th/mbedtls-2.26.0-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 13 Jun 2021 21:04:37 +0000 (23:04 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 13 Jun 2021 21:04:37 +0000 (23:04 +0200)
mbedtls-config-dtls-srtp.patch [new file with mode: 0644]
mbedtls.spec

diff --git a/mbedtls-config-dtls-srtp.patch b/mbedtls-config-dtls-srtp.patch
new file mode 100644 (file)
index 0000000..6f28132
--- /dev/null
@@ -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
index c9f6ed1ac2bf007b83e28989ba37857f3b101a0b..ed64be6204fe405b445433f61089d8fd27a43bb0 100644 (file)
@@ -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
 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
 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
 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
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 install -d build
 
 %build
 install -d build
This page took 0.144478 seconds and 4 git commands to generate.