[asterisk] this gets asterisk mostly configuring fine on aarch64, libsrtp is not happy

Dennis Gilmore ausil at fedoraproject.org
Fri May 16 04:32:49 UTC 2014


commit ea1fa1a5d9f92d04e317e8b197d8cabec8368afa
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Thu May 15 23:23:07 2014 -0500

    this gets asterisk mostly configuring fine on aarch64, libsrtp is not happy
    
    configure on aarch64 doesnt like srtp
    
    configure: ***
    configure: *** The SRTP installation appears to be missing or broken.
    configure: *** Either correct the installation, or run configure
    configure: *** including --without-srtp.
    
    checking for srtp_init in -lsrtp... yes
    checking srtp/srtp.h usability... no
    checking srtp/srtp.h presence... no
    checking for srtp/srtp.h... no
    checking for srtp_shutdown in -lsrtp... yes
    checking for srtp/srtp.h... (cached) no

 asterisk.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/asterisk.spec b/asterisk.spec
index 78aed89..7749ab5 100644
--- a/asterisk.spec
+++ b/asterisk.spec
@@ -4,7 +4,7 @@
 %global           _smp_mflags     -j1
 
 %global           optflags        %{optflags} -Werror-implicit-function-declaration -DLUA_COMPAT_MODULE
-%ifarch s390 %{arm}
+%ifarch s390 %{arm} aarch64
 %global           ldflags         -Wl,--as-needed,--library-path=%{_libdir} %{__global_ldflags}
 %else
 %global           ldflags         -m%{__isa_bits} -Wl,--as-needed,--library-path=%{_libdir} %{__global_ldflags}
@@ -49,7 +49,7 @@
 Summary:          The Open Source PBX
 Name:             asterisk
 Version:          11.9.0
-Release:          1%{?_rc:.rc%{_rc}}%{?_beta:.beta%{_beta}}%{?dist}
+Release:          2%{?_rc:.rc%{_rc}}%{?_beta:.beta%{_beta}}%{?dist}
 License:          GPLv2
 Group:            Applications/Internet
 URL:              http://www.asterisk.org/
@@ -90,7 +90,7 @@ BuildRequires:    systemd-units
 
 # for res_http_post
 %if (0%{?fedora} > 0) && 0%{?gmime}
-BuildRequires:    gmime22-devel
+BuildRequires:    gmime-devel
 %endif
 
 # for building docs
@@ -1435,6 +1435,10 @@ fi
 %{_libdir}/asterisk/modules/app_voicemail_plain.so
 
 %changelog
+* Thu May 15 2014 Dennis Gilmore <dennis at ausil.us> - 11.9.0-2
+- build against gmime-devel not gmime22-devel
+- do not use -m64 on aarch64 
+
 * Wed Apr 23 2014 Jeffrey Ollie <jeff at ocjtech.us> - 11.9.0-1:
 - The Asterisk Development Team has announced the release of Asterisk 11.9.0.
 - This release is available for immediate download at


More information about the scm-commits mailing list