FreeSWITCH:
authorMazi Lo <openwrt.mazilo@recursor.net>
Wed, 15 Apr 2015 02:04:50 +0000 (22:04 -0400)
committerMazi Lo <openwrt.mazilo@recursor.net>
Wed, 15 Apr 2015 02:04:50 +0000 (22:04 -0400)
  1. Update to FS Git HEAD 464d8ab91086715a2ec7eb1fb9a2d2cb53377eb7
  2. Revert Config.in file to before GitHUB.
  3. Revert dependency to libsrtp before GitHUB.
  4. Add patch from Bluemax <bluemax@users.noreply.github.com> to libs/apr/configure.ac to disable TCP_NODELAY_WITH_CORK when cross compile.

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
net/freeswitch/Config.in
net/freeswitch/Makefile
net/freeswitch/patches/libs-apr-configure_ac.patch [new file with mode: 0644]

index 1ec5ed62a5333c0413b438291007ff78e5a00669..d6a67abe65d53aaedac435656115d00f1b17cccc 100644 (file)
@@ -1,24 +1,6 @@
 menu "Configuration"
   depends on PACKAGE_freeswitch
 
-  choice
-    prompt "Version to use"
-    default FS_WITH_VERSION_RELEASE
-    help
-       Specify version to use: [devel|release]
-
-    config FS_WITH_VERSION_DEVEL
-      bool "devel"
-      help
-       Selected version: devel
-
-    config FS_WITH_VERSION_RELEASE
-      bool "release"
-      help
-       Selected version: release
-
-  endchoice
-
   choice
     depends on DEVEL
     prompt "Git HEAD version to use"
index 9eb21fa1fe5a7b9e882122255a9d2212b3a98988..e280d55517c361b84227fe24f0d33eb12d9f6fc4 100644 (file)
@@ -18,7 +18,7 @@ PKG_VERSION:=1.5.14
 # The latest FS git hash in PKG_SOURCE_VERSION can be obtained from
 # http://fisheye.freeswitch.org
 #
-FS_WITH_DEFAULT_HEAD:=6eb59c711989774fb797d1c447e3d63aac84826b
+FS_WITH_DEFAULT_HEAD:=464d8ab91086715a2ec7eb1fb9a2d2cb53377eb7
 PKG_SOURCE_URL:=https://stash.$(PKG_NAME).org/scm/fs/$(PKG_NAME).git
 PKG_SOURCE_VERSION:=$(if $(CONFIG_FS_WITH_LATEST_HEAD),$(shell git ls-remote $(PKG_SOURCE_URL) HEAD|cut -f1),$(FS_WITH_DEFAULT_HEAD))
 FS_WITH_DEFAULT_HEAD_SHORT:=$(shell echo $(FS_WITH_DEFAULT_HEAD)|cut -b -7)
@@ -258,7 +258,7 @@ define Package/$(PKG_NAME)
 $(call Package/$(PKG_NAME)/Default)
   MENU:=1
   TITLE:=FreeSWITCH open source telephony platform ($(PKG_SOURCE_VERSION_SHORT))
-  DEPENDS:=+FS_WITH_CORE_LIBEDIT_SUPPORT:libedit +FS_WITH_OPENSSL:libopenssl +libcurl +libdb47 +libgdbm $(ICONV_DEPENDS) $(INTL_DEPENDS) +libjpeg +libncurses +libopenldap +libpcre +libpthread +librt +libspeex +libspeexdsp +FS_WITH_SQLITE3:libsqlite3 +FS_WITH_SRTP:libsrtp_git +SSP_SUPPORT:libssp +libstdcpp +libuuid +PACKAGE_$(PKG_NAME)-mod-perl:perl
+  DEPENDS:=+FS_WITH_CORE_LIBEDIT_SUPPORT:libedit +FS_WITH_OPENSSL:libopenssl +libcurl +libdb47 +libgdbm $(ICONV_DEPENDS) $(INTL_DEPENDS) +libjpeg +libncurses +libopenldap +libpcre +libpthread +librt +libspeex +libspeexdsp +FS_WITH_SQLITE3:libsqlite3 +FS_WITH_SRTP:libsrtp +SSP_SUPPORT:libssp +libstdcpp +libuuid +PACKAGE_$(PKG_NAME)-mod-perl:perl
 endef
 
 
diff --git a/net/freeswitch/patches/libs-apr-configure_ac.patch b/net/freeswitch/patches/libs-apr-configure_ac.patch
new file mode 100644 (file)
index 0000000..c4667dd
--- /dev/null
@@ -0,0 +1,15 @@
+--- a/libs/apr/configure.ac
++++ b/libs/apr/configure.ac
+@@ -1956,7 +1956,11 @@ fi
+ APR_CHECK_TCP_NODELAY_INHERITED
+ APR_CHECK_O_NONBLOCK_INHERITED
+-APR_CHECK_TCP_NODELAY_WITH_CORK
++
++dnl Check TCP_NODELAY_WITH_CORK ONLY when NOT cross compiling
++if test "$cross_compiling" != yes; then
++      APR_CHECK_TCP_NODELAY_WITH_CORK
++fi
+ # Look for a way of corking TCP...
+ APR_CHECK_DEFINE(TCP_CORK, netinet/tcp.h)