[linphone] use /etc/ssl/certs/ca-bundle.crt root_ca

nucleo nucleo at fedoraproject.org
Sat Jul 27 09:19:54 UTC 2013


commit 87f15469d576c664be67f14652534f77fe9324e2
Author: nucleo <nucleo at fedoraproject.org>
Date:   Sat Jul 27 12:19:41 2013 +0300

    use /etc/ssl/certs/ca-bundle.crt root_ca

 linphone-3.6.1-rootca.patch |   11 +++++++++++
 linphone.spec               |    7 ++++++-
 2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/linphone-3.6.1-rootca.patch b/linphone-3.6.1-rootca.patch
new file mode 100644
index 0000000..80edef5
--- /dev/null
+++ b/linphone-3.6.1-rootca.patch
@@ -0,0 +1,11 @@
+--- linphone-3.6.1/coreapi/linphonecore.c	2013-06-12 17:20:14.020039579 +0300
++++ linphone-3.6.1/coreapi/linphonecore.c	2013-07-26 11:36:51.014342101 +0300
+@@ -638,7 +638,7 @@
+ 	} 
+ 
+ #ifdef __linux
+-	sal_set_root_ca(lc->sal, lp_config_get_string(lc->config,"sip","root_ca", "/etc/ssl/certs"));
++	sal_set_root_ca(lc->sal, lp_config_get_string(lc->config,"sip","root_ca", "/etc/ssl/certs/ca-bundle.crt"));
+ #else
+ 	sal_set_root_ca(lc->sal, lp_config_get_string(lc->config,"sip","root_ca", ROOT_CA_FILE));
+ #endif
diff --git a/linphone.spec b/linphone.spec
index c4650fd..1d44d8e 100644
--- a/linphone.spec
+++ b/linphone.spec
@@ -1,12 +1,13 @@
 Name:           linphone
 Version:        3.6.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Phone anywhere in the whole world by using the Internet
 
 License:        GPLv2+
 URL:            http://www.linphone.org/
 
 Source0:        http://download.savannah.gnu.org/releases/linphone/3.5.x/sources/%{name}-%{version}.tar.gz
+Patch0:         linphone-3.6.1-rootca.patch
 
 # for video support
 BuildRequires:  glew-devel
@@ -95,6 +96,7 @@ Libraries and headers required to develop software with mediastreamer2.
 
 %prep
 %setup0 -q
+%patch0 -p1 -b .rootca
 
 autoreconf -i -f
 
@@ -203,6 +205,9 @@ mv $RPM_BUILD_ROOT%{_datadir}/doc/mediastreamer*/html doc/mediastreamer
 %{_libdir}/pkgconfig/mediastreamer.pc
 
 %changelog
+* Sat Jul 27 2013 Alexey Kurov <nucleo at fedoraproject.org> - 3.6.1-2
+- use /etc/ssl/certs/ca-bundle.crt root_ca
+
 * Sun Jul  7 2013 Alexey Kurov <nucleo at fedoraproject.org> - 3.6.1-1
 - linphone-3.6.1
 


More information about the scm-commits mailing list