mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-26 11:16:39 +04:00
This upgrades freeswitch from 1.6.20 to 1.8.2. All changes imported from
master. Notable changes:
Modules:
- v8 removed as too difficult to maintain
- new modules: fail2ban, raven and video_filter
Init and hotplug:
- changed init config to uci (/etc/default/freeswitch replaced with
/etc/config/freeswitch)
- logging can now be enabled via /etc/config/freeswitch
- hotplug script is now included in the main package
- the post-install script no longer disables freeswitch during
upgrades
Fixes:
- freeswitch now sends console output properly to procd
Misc:
- the new release adds support for MSRP (Message Session Relay
Protocol, see
https://en.wikipedia.org/wiki/Message_Session_Relay_Protocol), this
opens TCP ports by default, can be limited to localhost in
autoload_configs/msrp.conf.xml
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
83 lines
3.7 KiB
Diff
83 lines
3.7 KiB
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -256,30 +256,6 @@ AX_COMPILER_VENDOR
|
|
# Set CC_FOR_BUILD
|
|
if test "x${cross_compiling}" = "xyes"; then
|
|
CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
|
|
- case "$host" in
|
|
- arm*-linux-gnueabi*|arm*-*-linux-gnueabi*)
|
|
- # spandsp modem
|
|
- ac_cv_file__dev_ptmx=yes
|
|
- # libjs
|
|
- export ac_cv_va_copy=yes
|
|
- # srtp
|
|
- export ac_cv_file__dev_urandom=yes
|
|
- # rpl_malloc
|
|
- export ac_cv_func_realloc_0_nonnull=yes
|
|
- export ac_cv_func_malloc_0_nonnull=yes
|
|
- # apr
|
|
- export ac_cv_func_setpgrp_void=yes
|
|
- export ac_cv_file__dev_zero=yes
|
|
- export apr_cv_tcp_nodelay_with_cork=yes
|
|
- export ac_cv_file_dbd_apr_dbd_mysql_c=no
|
|
- export ac_cv_sizeof_ssize_t=4
|
|
- export apr_cv_mutex_recursive=yes
|
|
- export ac_cv_func_pthread_rwlock_init=yes
|
|
- export apr_cv_type_rwlock_t=yes
|
|
- export apr_cv_process_shared_works=yes
|
|
- export apr_cv_mutex_robust_shared=yes
|
|
- ;;
|
|
- esac
|
|
else
|
|
CC_FOR_BUILD='$(CC)'
|
|
fi
|
|
@@ -662,7 +638,7 @@ AC_ARG_ENABLE(core-pgsql-pkgconfig,
|
|
[AS_HELP_STRING([--disable-core-pgsql-pkgconfig], [Use pg_config to get PGQSL build options])],[enable_core_pgsql_pkgconfig="$enableval"],[enable_core_pgsql_pkgconfig="yes"])
|
|
|
|
if test x"$enable_core_pgsql_support" = x"yes" ; then
|
|
- AC_PATH_PROG([PG_CONFIG], [pg_config], [no])
|
|
+ AC_PATH_PROG([PG_CONFIG], [pg_config], [no], ["${STAGING_DIR}"/usr/bin])
|
|
AC_PATH_PROG([PKG_CONFIG], [pkg-config], [no])
|
|
if test "$PKG_CONFIG" = "no" \
|
|
|| test x"$enable_core_pgsql_pkgconfig" = x"no" \
|
|
@@ -1609,13 +1585,7 @@ AC_CHECK_PROG(PERL,perl,[ac_cv_have_perl
|
|
# -a "x$ac_cv_have_EXTERN_h" != "xno"
|
|
|
|
if test "x$ac_cv_have_perl" != "xno"; then
|
|
- PERL=perl
|
|
- PERL_SITEDIR="`$PERL -MConfig -e 'print $Config{archlib}'`"
|
|
- PERL_LIBDIR="-L`$PERL -MConfig -e 'print $Config{archlib}'`/CORE"
|
|
- PERL_LIBS="`$PERL -MConfig -e 'print $Config{libs}'`"
|
|
- PERL_CFLAGS="-w -DMULTIPLICITY `$PERL -MExtUtils::Embed -e ccopts | sed -e 's|-arch x86_64 -arch i386||'` -DEMBED_PERL"
|
|
- PERL_LDFLAGS="`$PERL -MExtUtils::Embed -e ldopts| sed -e 's|-arch x86_64 -arch i386||'`"
|
|
- PERL_INC="`$PERL -MExtUtils::Embed -e perl_inc`"
|
|
+ PERL_CFLAGS="-w -DMULTIPLICITY ${PERL_CFLAGS} -DEMBED_PERL"
|
|
|
|
save_CFLAGS="$CFLAGS"
|
|
CFLAGS="$PERL_CFLAGS"
|
|
@@ -1710,24 +1680,12 @@ then
|
|
if test "$python_has_distutils" != "no" ; then
|
|
AC_MSG_CHECKING([location of site-packages])
|
|
|
|
- PYTHON_SITE_DIR="`$PYTHON -c 'from distutils import sysconfig; print(sysconfig.get_python_lib(0));'`"
|
|
-
|
|
if test -z "$PYTHON_SITE_DIR" ; then
|
|
AC_MSG_ERROR([Unable to detect python site-packages path])
|
|
- elif test ! -d "$PYTHON_SITE_DIR" ; then
|
|
- AC_MSG_ERROR([Path $PYTHON_SITE_DIR returned by python does not exist!])
|
|
fi
|
|
AC_MSG_RESULT([$PYTHON_SITE_DIR])
|
|
AC_SUBST([PYTHON_SITE_DIR], [$PYTHON_SITE_DIR])
|
|
|
|
- #
|
|
- # python distutils found, get settings from python directly
|
|
- #
|
|
- PYTHON_CFLAGS="`$PYTHON -c 'from distutils import sysconfig; flags = [[\"-I\" + sysconfig.get_python_inc(0), \"-I\" + sysconfig.get_python_inc(1), \" \".join(sysconfig.get_config_var(\"CFLAGS\").split())]]; print(\" \".join(flags));' | sed -e 's/-arch i386//g;s/-arch x86_64//g'`"
|
|
- PYTHON_LDFLAGS="`$PYTHON -c 'from distutils import sysconfig; libs = sysconfig.get_config_var(\"LIBS\").split() + sysconfig.get_config_var(\"SYSLIBS\").split(); libs.append(\"-lpython\"+sysconfig.get_config_var(\"VERSION\")); print(\" \".join(libs));'`"
|
|
- PYTHON_LIB="`$PYTHON -c 'from distutils import sysconfig; print(\"python\" + sysconfig.get_config_var(\"VERSION\"));'`"
|
|
- PYTHON_LIBDIR="`$PYTHON -c 'from distutils import sysconfig; print(sysconfig.get_config_var(\"LIBDIR\"));'`"
|
|
-
|
|
# handle python being installed into /usr/local
|
|
AC_MSG_CHECKING([python libdir])
|
|
if test -z "`echo $PYTHON_LIBDIR | grep "/usr/lib"`" ; then
|