[asterisk/el6] Disable srtp on ppc64 for now

Russell Bryant russellb at fedoraproject.org
Mon Mar 19 18:32:07 UTC 2012


commit e50678a623069c806dfd41770e43cc88b5c7fb73
Author: Russell Bryant <rbryant at redhat.com>
Date:   Mon Mar 19 14:31:50 2012 -0400

    Disable srtp on ppc64 for now

 asterisk.spec |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/asterisk.spec b/asterisk.spec
index 3fbbeeb..fae2a09 100644
--- a/asterisk.spec
+++ b/asterisk.spec
@@ -61,7 +61,9 @@ BuildRequires: libtermcap-devel
 BuildRequires: ncurses-devel
 BuildRequires: libcap-devel
 BuildRequires: gtk2-devel
+%ifnarch ppc64
 BuildRequires: libsrtp-devel
+%endif
 %if %{systemd}
 BuildRequires: systemd-units
 %endif
@@ -528,9 +530,21 @@ pushd menuselect
 popd
 
 %if 0%{?fedora} > 0
+
+%ifnarch ppc64
 %configure --with-imap=system --with-gsm=/usr --with-libedit=yes --with-srtp
 %else
+%configure --with-imap=system --with-gsm=/usr --with-libedit=yes
+%endif
+
+%else
+
+%ifnarch ppc64
 %configure --with-gsm=/usr --with-libedit=yes --with-gmime=no --with-srtp
+%else
+%configure --with-gsm=/usr --with-libedit=yes --with-gmime=no
+%endif
+
 %endif
 
 make menuselect-tree
@@ -899,7 +913,9 @@ fi
 %{_libdir}/asterisk/modules/res_security_log.so
 %{_libdir}/asterisk/modules/res_smdi.so
 %{_libdir}/asterisk/modules/res_speech.so
+%ifnarch ppc64
 %{_libdir}/asterisk/modules/res_srtp.so
+%endif
 %{_libdir}/asterisk/modules/res_stun_monitor.so
 %{_libdir}/asterisk/modules/res_timing_pthread.so
 %if 0%{?fedora} > 0 || 0%{?rhel} >= 6
@@ -1272,6 +1288,7 @@ fi
 - Fix remote stack overflow in app_milliwatt.
 - Fix remote stack overflow, including possible code injection, in HTTP digest
   authentication handling.
+- Diable build of SRTP on ppc64, as it doesn't build right now.
 - Resolves: rhbz#804045, rhbz#804038, rhbz#804042
 
 * Mon Oct 17 2011 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.8.7.1-1


More information about the scm-commits mailing list