FS_WITH_MYSQL:libmysqlclient \
FS_WITH_POSTGRESQL:libpq \
FS_WITH_SQLITE3:libsqlite3 \
- FS_WITH_SCTP:sctp \
+ FS_WITH_APR_SCTP:sctp \
TAR_OPTIONS+= --strip-components=1 -C $(PKG_BUILD_DIR)
amrwb \
avmd \
basic \
+ bert \
blacklist \
bv \
callcenter \
PKG_CONFIG_DEPENDS:= \
CONFIG_FS_WITH_ALSA \
+ CONFIG_FS_WITH_APR_CONFIG_SWITCHES \
+ CONFIG_FS_WITH_APR_IPV6 \
+ CONFIG_FS_WITH_APR_SCTP \
+ CONFIG_FS_WITH_APR_THREADS \
CONFIG_FS_WITH_BUILTIN_ZRTP \
CONFIG_FS_WITH_CORE_LIBEDIT_SUPPORT \
CONFIG_FS_WITH_DEFAULT_HEAD \
CONFIG_FS_WITH_ERLANG \
CONFIG_FS_WITH_FHS \
CONFIG_FS_WITH_FIXED_POINT \
- CONFIG_FS_WITH_IPV6 \
CONFIG_FS_WITH_LATEST_HEAD \
CONFIG_FS_WITH_LOCAL_SOURCE \
CONFIG_FS_WITH_LZMA \
CONFIG_FS_WITH_OPT \
CONFIG_FS_WITH_POSTGRESQL \
CONFIG_FS_WITH_SQLITE3 \
- CONFIG_FS_WITH_SCTP \
CONFIG_FS_WITH_SRTP \
CONFIG_FS_WITH_SRTP_GENERIC_AESICM \
CONFIG_FS_WITH_SRTP_KERNEL_LINUX \
CONFIG_FS_WITH_SRTP_OPENSSL \
- CONFIG_FS_WITH_THREADS \
CONFIG_FS_WITH_VISIBILITY \
$(patsubst %,CONFIG_PACKAGE_$(PKG_NAME)-mod-%,$(FS_MOD_AVAILABLE)) \
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-sounds-en-08KHz),)
- $(eval $(call Download/files,sounds-en-08KHz,$(PKG_NAME)-sounds-en-us-callie-8000-1.0.25.tar.gz,1140efad453ed1a72259d799f7fef0fc,,,))
+ $(eval $(call Download/files,sounds-en-08KHz,$(PKG_NAME)-sounds-en-us-callie-8000-1.0.50.tar.gz,5742984287ec6f05b001fa53817b4c32,,,))
MAKE_INSTALL_TARGETS+= sounds-install
endif
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-sounds-en-16KHz),)
- $(eval $(call Download/files,sounds-en-16KHz,$(PKG_NAME)-sounds-en-us-callie-16000-1.0.25.tar.gz,20b9bf1b1637be2abe838113fb675c41,,,))
+ $(eval $(call Download/files,sounds-en-16KHz,$(PKG_NAME)-sounds-en-us-callie-16000-1.0.50.tar.gz,0c0bda571e61251a8b86121913543b36,,,))
MAKE_INSTALL_TARGETS+= hd-sounds-install
endif
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-sounds-en-32KHz),)
- $(eval $(call Download/files,sounds-en-32KHz,$(PKG_NAME)-sounds-en-us-callie-32000-1.0.25.tar.gz,977d453d8ffa9a5b0fadee8408e84f60,,,))
+ $(eval $(call Download/files,sounds-en-32KHz,$(PKG_NAME)-sounds-en-us-callie-32000-1.0.50.tar.gz,42e5dd920ed7454eadcad71d80ee8900,,,))
MAKE_INSTALL_TARGETS+= uhd-sounds-install
endif
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-sounds-en-48KHz),)
- $(eval $(call Download/files,sounds-en-48KHz,$(PKG_NAME)-sounds-en-us-callie-48000-1.0.25.tar.gz,96ec0df908eb1c535063fdc8580626d2,,,))
+ $(eval $(call Download/files,sounds-en-48KHz,$(PKG_NAME)-sounds-en-us-callie-48000-1.0.50.tar.gz,8776597979257d10009052df06251051,,,))
MAKE_INSTALL_TARGETS+= cd-sounds-install
endif
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-sounds-moh-08KHz),)
- $(eval $(call Download/files,sounds-moh-08KHz,$(PKG_NAME)-sounds-music-8000-1.0.8.tar.gz,f63ef3cc3507af079ae5c7b8b8a01e42,,,))
+ $(eval $(call Download/files,sounds-moh-08KHz,$(PKG_NAME)-sounds-music-8000-1.0.50.tar.gz,c1f62dc26360f39f8eb442d5efd0a3aa,,,))
MAKE_INSTALL_TARGETS+= moh-install
endif
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-sounds-moh-16KHz),)
- $(eval $(call Download/files,sounds-moh-16KHz,$(PKG_NAME)-sounds-music-16000-1.0.8.tar.gz,7fd0ca9a9e3878783baa39b8187743bf,,,))
+ $(eval $(call Download/files,sounds-moh-16KHz,$(PKG_NAME)-sounds-music-16000-1.0.50.tar.gz,d253e26baa85e0e2e727a1cb1cca898e,,,))
MAKE_INSTALL_TARGETS+= hd-moh-install
endif
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-sounds-moh-32KHz),)
- $(eval $(call Download/files,sounds-moh-32KHz,$(PKG_NAME)-sounds-music-32000-1.0.8.tar.gz,7e03932ea81b8d0bf6d686f838b060b4,,,))
+ $(eval $(call Download/files,sounds-moh-32KHz,$(PKG_NAME)-sounds-music-32000-1.0.50.tar.gz,0e3ee69cb4ba2813ed0d3f7811332b63,,,))
MAKE_INSTALL_TARGETS+= uhd-moh-install
endif
ifneq ($(CONFIG_PACKAGE_$(PKG_NAME)-sounds-moh-48KHz),)
- $(eval $(call Download/files,sounds-moh-48KHz,$(PKG_NAME)-sounds-music-48000-1.0.8.tar.gz,d06cd2a80379f224affab21f5180e4c6,,,))
+ $(eval $(call Download/files,sounds-moh-48KHz,$(PKG_NAME)-sounds-music-48000-1.0.50.tar.gz,873a62df1ab3be4191eb2488156ec2c2,,,))
MAKE_INSTALL_TARGETS+= cd-moh-install
endif
FS_TARGET_CPPFLAGS:= -I. -I./lua $(TARGET_CPPFLAGS) $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-json-cdr),-Wno-error) -I`ls -d $(PKG_BUILD_DIR)/libs/*|grep tiff`/libtiff -I$(PKG_BUILD_DIR)/libs/spandsp/src
-MAKE_FLAGS += \
- OPT_FLAGS+="$(TARGET_CFLAGS)"
+#MAKE_FLAGS += \
+# OPT_FLAGS+="$(TARGET_CFLAGS)"
MAKE_VARS += \
$(call autoconf_bool,CONFIG_FS_WITH_BUILTIN_ZRTP,zrtp) \
$(call autoconf_bool,CONFIG_FS_WITH_CORE_LIBEDIT_SUPPORT,core-libedit-support) \
$(call autoconf_bool,CONFIG_FS_WITH_FHS,fhs) \
- $(call autoconf_bool,CONFIG_FS_WITH_IPV6,ipv6) \
+ $(call autoconf_bool,CONFIG_FS_WITH_APR_IPV6,ipv6) \
$(call autoconf_bool,CONFIG_FS_WITH_LZMA,lzma) \
$(call autoconf_bool,CONFIG_FS_WITH_ODBC,core-odbc-support) \
$(call autoconf_bool,CONFIG_FS_WITH_OPT,optimization) \
$(call autoconf_bool,CONFIG_FS_WITH_SRTP_GENERIC_AESICM,generic-aesicm) \
$(call autoconf_bool,CONFIG_FS_WITH_SRTP_KERNEL_LINUX,kernel-linux) \
$(call autoconf_bool,CONFIG_FS_WITH_SRTP_OPENSSL,openssl) \
- $(call autoconf_bool,CONFIG_FS_WITH_THREADS,threads) \
+ $(call autoconf_bool,CONFIG_FS_WITH_APR_THREADS,threads) \
$(call autoconf_bool,CONFIG_FS_WITH_VISIBILITY,visibility) \
$(call autoconf_bool,CONFIG_PACKAGE_$(PKG_NAME)-mod-spandsp && CONFIG_FS_WITH_FIXED_POINT,fixed-point) \
$(call autoconf_bool,CONFIG_PACKAGE_$(PKG_NAME)-mod-spandsp,builtin-tiff) \
$(call autoconf_bool,CONFIG_PACKAGE_$(PKG_NAME)-mod-timerfd,timerfd-wrapper) \
- $(if $(CONFIG_FS_WITH_MYSQL),--with,--without)-mysql \
$(if $(CONFIG_FS_WITH_ODBC),--with-odbc-lib="$(STAGING_DIR)/usr/lib") \
$(if $(CONFIG_FS_WITH_ODBC),--with-odbc="$(STAGING_DIR)/usr") \
$(if $(CONFIG_FS_WITH_OGG),--with-ogg="$(STAGING_DIR)/usr") \
- $(if $(CONFIG_FS_WITH_OPENSSL),--with,--without)-openssl \
- $(if $(CONFIG_FS_WITH_POSTGRESQL),--with,--without)-pgsql \
- $(if $(CONFIG_FS_WITH_SQLITE3),--with,--without)-sqlite3 \
$(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-celt),--with-ogg="$(STAGING_DIR)/usr",--without-ogg) \
$(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-erlang-event),--with-erlang="$(CONFIG_FS_WITH_ERLANG)",--without-erlang) \
$(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-java),--with-java="$(STAGING_DIR)/usr",--without-java) \
$(if ($(CONFIG_PACKAGE_$(PKG_NAME)-mod-curl)|$(CONFIG_PACKAGE_$(PKG_NAME)-mod-xml-cdr)|$(CONFIG_PACKAGE_$(PKG_NAME)-mod-xml-curl)),--with-libcurl="$(STAGING_DIR)/usr",--without-libcurl) \
+ --with$(if $(CONFIG_FS_WITH_MYSQL),,out)-mysql \
+ --with$(if $(CONFIG_FS_WITH_OPENSSL),,out)-openssl \
+ --with$(if $(CONFIG_FS_WITH_POSTGRESQL),,out)-pgsql \
+ --with$(if $(CONFIG_FS_WITH_SQLITE3),,out)-sqlite3 \
ifeq ($(ARCH),arm)
config_TARGET_CXXFLAGS="$(FS_TARGET_CPPFLAGS) $(FS_TARGET_CXXFLAGS)" \
config_TARGET_CPPFLAGS="$(FS_TARGET_CPPFLAGS)" \
config_TARGET_READLINE_INC="$(FS_TARGET_CPPFLAGS)" \
- config_TARGET_READLINE_LIBS="$(TARGET_LDFLAGS) -lreadline -lncurses" \
- config_TARGET_LIBS="$(TARGET_LDFLAGS) -lpthread -ldl" \
+ config_TARGET_READLINE_LIBS="-lreadline -lncurses" \
+ config_TARGET_LIBS="-lpthread -ldl" \
config_BUILD_CC="$(HOSTCC)" \
CC_FOR_BUILD="$(HOSTCC)" \
BUILDTOOL_CC="$(HOSTCC)" \
BUILDTOOL_CCLD="$(HOSTCC)" \
- LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
CC="$(TOOLCHAIN_DIR)/bin/$(TARGET_CC)" \
CXX="$(TOOLCHAIN_DIR)/bin/$(TARGET_CXX)" \
AR="$(TOOLCHAIN_DIR)/bin/$(TARGET_CROSS)ar" \
CFLAGS="$(FS_TARGET_CPPFLAGS) $(FS_TARGET_CFLAGS)" \
CXXFLAGS="$(FS_TARGET_CPPFLAGS) $(FS_TARGET_CXXFLAGS)" \
CPPFLAGS="$(FS_TARGET_CPPFLAGS)" \
- LDFLAGS="$(TARGET_LDFLAGS) -Wl,-rpath-link=\"$(STAGING_DIR)/usr/lib\" -Wl,-rpath,/usr/lib/perl5/5.20/CORE" \
+ LDFLAGS="-L$(STAGING_DIR)/usr/lib/perl5/5.20/CORE -Wl,-rpath-link=\"$(STAGING_DIR)/usr/lib\" -Wl,-rpath-link=\"$(STAGING_DIR)/usr/lib$(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-perl),/perl5/5.20/CORE)\" -Wl,-rpath,/usr/lib -Wl,-rpath,/usr/lib$(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-perl),/perl5/5.20/CORE -lperl -lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc)" \
HOST_CC="/usr/bin/cc" \
HOST_CXX="/usr/bin/g++" \
CROSS_COMPILE="1" \
- ax_cv_c_compiler_vendor="gnu" \
- ac_cv_cflags_warn_all_ansi='-Wall -std=c99 -Wno-unused-variable' \
- ac_cv_dev_urandom="yes" \
- ac_cv_file_dbd_apr_dbd_mysql_c="no" \
- ac_cv_file__dev_random="no" \
- ac_cv_file__dev_urandom="yes" \
- ac_cv_file___dev_urandom_="yes" \
- ac_cv_func_mmap_fixed_mapped="yes" \
- ac_cv_func_pthread_rwlock_init="yes" \
- ac_cv_struct_rlimit="yes" \
- apr_cv_mutex_recursive="yes" \
- apr_cv_process_shared_works="no" \
- apr_cv_tcp_nodelay_with_cork="yes" \
- apr_cv_type_rwlock_t="yes" \
- $(if $(CONFIG_PACKAGE_$(PKG_NAME)-mod-perl),ac_cv_path_PERL="yes") \
- libzmq_cv_cxx_werror_flag="" \
+ $(if $(CONFIG_FS_WITH_APR_SCTP),ac_cv_header_netinet_sctp_h="yes") \
define Build/Prepare
$(eval $(call BuildPlugin,amrwb,Wide Band AMR,vanilla,,,,))
$(eval $(call BuildPlugin,avmd,Advanced Voice Mail Detection,vanilla,,,,))
$(eval $(call BuildPlugin,basic,BASIC,vanilla,,,,))
+$(eval $(call BuildPlugin,bert,Naive Bit Error Rate Tester,vanilla,,,,))
$(eval $(call BuildPlugin,blacklist,Blacklist,vanilla,,,,))
$(eval $(call BuildPlugin,bv,BroadVoice 16/32-bit Audio Codec,vanilla,,,,))
$(eval $(call BuildPlugin,callcenter,Call Center,vanilla,,,,))
$(eval $(call BuildPlugin,dptools,Dialplan Tools,vanilla,,,,))
$(eval $(call BuildPlugin,easyroute,Simple DID Routing,vanilla,,,,))
$(eval $(call BuildPlugin,enum,ENUM Routing,,,,,+libldns @BROKEN))
-$(eval $(call BuildPlugin,erlang-event,Erlang Event Handler,vanilla,,,,+erlang @BROKEN))
+$(eval $(call BuildPlugin,erlang-event,Erlang Event Handler,vanilla,,,,+erlang))
$(eval $(call BuildPlugin,esf,Extra SIP Functionality,vanilla,,,,))
$(eval $(call BuildPlugin,event-multicast,Multicast Event Handler,vanilla,,,,))
$(eval $(call BuildPlugin,event-socket,Socket Event Handler,vanilla,,,,))
$(eval $(call BuildPlugin,xml-rpc,XML-RPC Interface,vanilla,,,,))
$(eval $(call BuildPlugin,xml-radius,Radius authentication and authorization,vanilla,,,,+freeradius-client @BROKEN)) # freeradius-client isn't yet supported by OpenWRT.
$(eval $(call BuildPlugin,xml-scgi,SCGI XML Gateway,vanilla,,,,))
-$(eval $(call BuildPlugin,yaml,YAML langunage,vanilla,,,,+libyaml @BROKEN))
+$(eval $(call BuildPlugin,yaml,YAML langunage,vanilla,,,,+libyaml_hg))
--- a/configure.ac
+++ b/configure.ac
-@@ -834,7 +834,6 @@ AC_CHECK_LIB(pthread, pthread_setschedpa
+@@ -229,7 +229,7 @@ AX_COMPILER_VENDOR
+ if test "x${cross_compiling}" = "xyes"; then
+ CC_FOR_BUILD=${CC_FOR_BUILD-gcc}
+ case "$host" in
+- arm*-linux-gnueabi*|arm*-*-linux-gnueabi*)
++ arm*-linux-gnueabi*|arm*-*-linux-*)
+ # spandsp modem
+ ac_cv_file__dev_ptmx=yes
+ # libjs
+@@ -839,7 +839,6 @@ AC_CHECK_LIB(pthread, pthread_setschedpa
AC_CHECK_FUNC(socket, , AC_CHECK_LIB(socket, socket))
AC_CHECK_LIB(util, openpty, [AC_DEFINE(HAVE_OPENPTY, 1, [Define if you have openpty()])])
AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[
-@@ -1158,14 +1157,14 @@ case $host in
+@@ -1163,14 +1162,14 @@ case $host in
;;
esac
module_enabled() {
grep -v -e "\#" -e "^\$" modules.conf | sed -e "s|^.*/||" | grep "^${1}\$" >/dev/null
-@@ -1186,7 +1185,7 @@ PKG_CHECK_MODULES([LDNS], [libldns >= 1.
+@@ -1191,7 +1190,7 @@ PKG_CHECK_MODULES([LDNS], [libldns >= 1.
AC_CHECK_LIB([ldns], [ldns_str2rdf_a], [LDNS_LIBS=-lldns])
AS_IF([test -z "$LDNS_LIBS"],[
if module_enabled mod_enum; then
else
AC_MSG_RESULT([no]); AM_CONDITIONAL([HAVE_LDNS],[false])
fi],[
-@@ -1264,36 +1263,43 @@ AM_CONDITIONAL([HAVE_MYSQL],[test "$foun
+@@ -1269,36 +1268,39 @@ AM_CONDITIONAL([HAVE_MYSQL],[test "$foun
# perl checks
#
- PERL_LDFLAGS="`$PERL -MExtUtils::Embed -e ldopts| sed -e 's|-arch x86_64 -arch i386||'`"
- PERL_INC="`$PERL -MExtUtils::Embed -e perl_inc`"
+ PERL="${STAGING_DIR}/../host/usr/bin/perl"
-+ #PERL_SITEDIR="`${PERL} -MConfig -e 'print $Config{installarchlib}'`"
+ PERL_SITELIB="/usr/lib/perl5/5.20"
+ PERL_SITEDIR="${STAGING_DIR}${PERL_SITELIB}"
+ PERL_COREDIR="${PERL_SITEDIR}/CORE"
+ PERL_INC="-I${PERL_COREDIR}"
-+ #PERL_CFLAGS="-w -DMULTIPLICITY `${PERL} -MExtUtils::Embed -e ccopts` -DEMBED_PERL"
+ PERL_CFLAGS="-w -DMULTIPLICITY -fwrapv -fno-strict-aliasing -pipe -fstack-protector ${PERL_INC} -DEMBED_PERL"
+ PERL_LIBDIR="-L${PERL_COREDIR}"
-+ #PERL_LIBS="${PERL_LIBDIR} -lpthread `${PERL} -MConfig -e 'print $Config{libs}' | sed -e 's| -lgdbm_compat||g'` "
-+ #PERL_LDFLAGS="`${PERL} -MExtUtils::Embed -e ldopts | sed -e 's| -lgdbm_compat||g'` "
+ PERL_LIBS="-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc "
-+ PERL_LDFLAGS="${PERL_LIBDIR} -lpthread -lperl -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lrt "
++ PERL_LDFLAGS="${LDFLAGS} -lpthread ${PERL_LIBS}"
save_CFLAGS="$CFLAGS"
- CFLAGS="$PERL_CFLAGS"
- LDFLAGS="$PERL_LDFLAGS"
+ LDFLAGS="${PERL_LDFLAGS}"
AC_CHECK_LIB([perl], [perl_alloc], ac_cv_use_libperl=yes, ac_cv_use_libperl=no)
-- LDFLAGS="$save_LDFLAGS"
-+ LDFLAGS+="$save_LDFLAGS"
+ LDFLAGS="$save_LDFLAGS"
- AC_SUBST(PERL_SITEDIR)
- AC_SUBST(PERL_LIBDIR)