|
From: <abe...@us...> - 2011-10-18 18:11:15
|
Revision: 5215
http://astlinux.svn.sourceforge.net/astlinux/?rev=5215&view=rev
Author: abelbeck
Date: 2011-10-18 18:11:08 +0000 (Tue, 18 Oct 2011)
Log Message:
-----------
freeswitch, initial checkin, does not yet build
Modified Paths:
--------------
branches/1.0/astlinux.config
branches/1.0/astlinux18.config
branches/1.0/initrd.config
branches/1.0/package/Config.in
branches/1.0/runnix.config
Added Paths:
-----------
branches/1.0/package/freeswitch/
branches/1.0/package/freeswitch/Config.in
branches/1.0/package/freeswitch/freeswitch-modules.conf
branches/1.0/package/freeswitch/freeswitch.init
branches/1.0/package/freeswitch/freeswitch.mk
Modified: branches/1.0/astlinux.config
===================================================================
--- branches/1.0/astlinux.config 2011-10-18 15:21:29 UTC (rev 5214)
+++ branches/1.0/astlinux.config 2011-10-18 18:11:08 UTC (rev 5215)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn5199 Configuration
-# Sun Oct 16 23:32:50 2011
+# Buildroot 2011.08-svn5214-dirty Configuration
+# Tue Oct 18 13:04:07 2011
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -171,6 +171,7 @@
BR2_PACKAGE_DAHDI_OSLEC=y
# BR2_PACKAGE_DAHDI_ZAPHFC is not set
BR2_PACKAGE_DAHDI_TOOLS=y
+# BR2_PACKAGE_FREESWITCH is not set
BR2_PACKAGE_RHINO=y
BR2_PACKAGE_WANPIPE=y
Modified: branches/1.0/astlinux18.config
===================================================================
--- branches/1.0/astlinux18.config 2011-10-18 15:21:29 UTC (rev 5214)
+++ branches/1.0/astlinux18.config 2011-10-18 18:11:08 UTC (rev 5215)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn5194-dirty Configuration
-# Sun Oct 16 21:38:11 2011
+# Buildroot 2011.08-svn5214-dirty Configuration
+# Tue Oct 18 13:04:09 2011
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -166,6 +166,7 @@
BR2_PACKAGE_DAHDI_OSLEC=y
# BR2_PACKAGE_DAHDI_ZAPHFC is not set
BR2_PACKAGE_DAHDI_TOOLS=y
+# BR2_PACKAGE_FREESWITCH is not set
BR2_PACKAGE_RHINO=y
BR2_PACKAGE_WANPIPE=y
Modified: branches/1.0/initrd.config
===================================================================
--- branches/1.0/initrd.config 2011-10-18 15:21:29 UTC (rev 5214)
+++ branches/1.0/initrd.config 2011-10-18 18:11:08 UTC (rev 5215)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn5194-dirty Configuration
-# Sun Oct 16 21:38:15 2011
+# Buildroot 2011.08-svn5214-dirty Configuration
+# Tue Oct 18 13:04:14 2011
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -157,6 +157,7 @@
# Asterisk, FreeSWITCH and telephony applications
#
# BR2_PACKAGE_ASTERISK is not set
+# BR2_PACKAGE_FREESWITCH is not set
#
# Audio and video libraries and applications
Modified: branches/1.0/package/Config.in
===================================================================
--- branches/1.0/package/Config.in 2011-10-18 15:21:29 UTC (rev 5214)
+++ branches/1.0/package/Config.in 2011-10-18 18:11:08 UTC (rev 5215)
@@ -14,6 +14,7 @@
source "package/asterisk-gui/Config.in"
source "package/dahdi-linux/Config.in"
source "package/dahdi-tools/Config.in"
+source "package/freeswitch/Config.in"
source "package/rhino/Config.in"
source "package/wanpipe/Config.in"
endmenu
Added: branches/1.0/package/freeswitch/Config.in
===================================================================
--- branches/1.0/package/freeswitch/Config.in (rev 0)
+++ branches/1.0/package/freeswitch/Config.in 2011-10-18 18:11:08 UTC (rev 5215)
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_FREESWITCH
+ bool "freeswitch"
+ default n
+ select BR2_PACKAGE_OPENSSL
+ select BR2_PACKAGE_ZLIB
+ select BR2_PACKAGE_LIBPCAP
+ help
+ Open source telephony platform
+
+ http://www.freeswitch.org/
+
+config BR2_PACKAGE_FREESWITCH_SOUNDS
+ bool "freeswitch sounds"
+ default n
+ depends on BR2_PACKAGE_FREESWITCH
+ help
+ Install FreeSWITCH sounds and MOH
+
Added: branches/1.0/package/freeswitch/freeswitch-modules.conf
===================================================================
--- branches/1.0/package/freeswitch/freeswitch-modules.conf (rev 0)
+++ branches/1.0/package/freeswitch/freeswitch-modules.conf 2011-10-18 18:11:08 UTC (rev 5215)
@@ -0,0 +1,73 @@
+loggers/mod_console
+loggers/mod_logfile
+loggers/mod_syslog
+applications/mod_commands
+applications/mod_conference
+applications/mod_dptools
+applications/mod_enum
+applications/mod_fifo
+#applications/mod_fax
+applications/mod_voicemail
+#applications/mod_lcr
+applications/mod_limit
+applications/mod_expr
+applications/mod_esf
+#applications/mod_easyroute
+applications/mod_fsv
+#applications/mod_soundtouch
+#applications/mod_rss
+applications/mod_snom
+applications/mod_vmd
+#asr_tts/mod_flite
+#asr_tts/mod_pocketsphinx
+#asr_tts/mod_cepstral
+codecs/mod_g723_1
+codecs/mod_amr
+codecs/mod_g729
+codecs/mod_h26x
+codecs/mod_voipcodecs
+codecs/mod_ilbc
+codecs/mod_speex
+#codecs/mod_siren
+#codecs/mod_celt
+#dialplans/mod_dialplan_directory
+dialplans/mod_dialplan_xml
+dialplans/mod_dialplan_asterisk
+#directories/mod_ldap
+#endpoints/mod_dingaling
+endpoints/mod_iax
+#endpoints/mod_portaudio
+endpoints/mod_sofia
+endpoints/mod_loopback
+#endpoints/mod_alsa
+#endpoints/mod_opal
+#../../libs/openzap/mod_openzap
+event_handlers/mod_event_multicast
+event_handlers/mod_event_socket
+event_handlers/mod_cdr_csv
+#event_handlers/mod_radius_cdr
+formats/mod_native_file
+formats/mod_sndfile
+#formats/mod_shout
+formats/mod_local_stream
+formats/mod_tone_stream
+#languages/mod_python
+#languages/mod_spidermonkey
+#languages/mod_spidermonkey_teletone
+#languages/mod_spidermonkey_core_db
+#languages/mod_spidermonkey_socket
+#languages/mod_spidermonkey_odbc
+languages/mod_lua
+#languages/mod_perl
+#languages/mod_yaml
+xml_int/mod_xml_rpc
+xml_int/mod_xml_curl
+xml_int/mod_xml_cdr
+#xml_int/mod_xml_ldap
+say/mod_say_en
+#say/mod_say_de
+#say/mod_say_es
+#say/mod_say_fr
+#say/mod_say_it
+#say/mod_say_nl
+#say/mod_say_zh
Added: branches/1.0/package/freeswitch/freeswitch.init
===================================================================
--- branches/1.0/package/freeswitch/freeswitch.init (rev 0)
+++ branches/1.0/package/freeswitch/freeswitch.init 2011-10-18 18:11:08 UTC (rev 5215)
@@ -0,0 +1,55 @@
+#!/bin/sh
+
+. /etc/rc.conf
+
+init () {
+ :
+}
+
+start () {
+
+ if [ -z "$FSARGS" ]; then
+ FSARGS="-nc"
+ fi
+
+ if [ -w /usr/local/freeswitch/log ]; then
+ echo "Starting freeswitch..."
+ ulimit -s unlimited
+ freeswitch "$FSARGS"
+ fi
+}
+
+stop () {
+
+ if [ -f /usr/local/freeswitch/log/freeswitch.pid ]; then
+ echo "Stopping freeswitch..."
+ freeswitch -stop
+ fi
+}
+
+case $1 in
+
+start)
+ start
+ ;;
+
+stop)
+ stop
+ ;;
+
+init)
+ init
+ start
+ ;;
+
+restart)
+ stop
+ sleep 2
+ start
+ ;;
+
+*)
+ echo "Usage: start|stop|restart"
+ ;;
+
+esac
Added: branches/1.0/package/freeswitch/freeswitch.mk
===================================================================
--- branches/1.0/package/freeswitch/freeswitch.mk (rev 0)
+++ branches/1.0/package/freeswitch/freeswitch.mk 2011-10-18 18:11:08 UTC (rev 5215)
@@ -0,0 +1,110 @@
+#############################################################
+#
+# freeswitch
+#
+##############################################################
+
+# Manual snapshots generated from:
+# git clone git://git.freeswitch.org/freeswitch.git
+#
+FREESWITCH_SITE := http://files.astlinux.org
+FREESWITCH_VERSION := 2011-10-18
+FREESWITCH_SOURCE := freeswitch-$(FREESWITCH_VERSION).tar.gz
+FREESWITCH_DIR := $(BUILD_DIR)/freeswitch-$(FREESWITCH_VERSION)
+FREESWITCH_INSTALL_DIR := /usr/local/freeswitch
+FREESWITCH_BINARY := .libs/freeswitch
+FREESWITCH_TARGET_BINARY := $(FREESWITCH_INSTALL_DIR)/bin/freeswitch
+
+$(DL_DIR)/$(FREESWITCH_SOURCE):
+ $(WGET) -P $(DL_DIR) $(FREESWITCH_SITE)/$(FREESWITCH_SOURCE)
+
+$(FREESWITCH_DIR)/.source: $(DL_DIR)/$(FREESWITCH_SOURCE)
+ zcat $(DL_DIR)/$(FREESWITCH_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(FREESWITCH_DIR) package/freeswitch/ freeswitch\*.patch
+ touch $@
+
+$(FREESWITCH_DIR)/configure: $(FREESWITCH_DIR)/.source
+ (cd $(FREESWITCH_DIR); \
+ $(TARGET_CONFIGURE_OPTS) CC_FOR_BUILD=$(HOSTCC) \
+ config_BUILD_CC=$(HOSTCC) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ ./bootstrap.sh \
+ )
+
+$(FREESWITCH_DIR)/.configured: $(FREESWITCH_DIR)/configure | libpcap openssl zlib
+ (cd $(FREESWITCH_DIR); rm -rf config.cache; \
+ $(TARGET_CONFIGURE_OPTS) CC_FOR_BUILD=$(HOSTCC) \
+ CFLAGS="$(TARGET_CFLAGS)" \
+ config_BUILD_CC=$(HOSTCC) \
+ config_TARGET_CC=$(TARGET_CC) \
+ config_TARGET_CFLAGS="$(TARGET_CFLAGS)" \
+ config_TARGET_LINK=$(TARGET_CC) \
+ BUILD_CC=$(HOSTCC) \
+ ac_cv_file__dev_zero=yes \
+ ac_cv_func_setpgrp_void=yes \
+ apr_cv_tcp_nodelay_with_cork=yes \
+ ac_cv_file_dbd_apr_dbd_mysql_c=no \
+ ac_cv_file___dev_urandom_=yes \
+ ac_cv_va_copy=C99 \
+ ac_cv_sizeof_ssize_t=4 \
+ ac_cv_func_malloc_0_nonnull=yes \
+ apr_cv_mutex_recursive=yes \
+ ac_cv_func_pthread_rwlock_init=yes \
+ apr_cv_type_rwlock_t=yes \
+ ac_cv_pcap_where_inc=$(STAGING_DIR)/include \
+ ac_cv_pcap_where_lib=$(STAGING_DIR)/lib \
+ with_ssl=$(STAGING_DIR) \
+ ac_cv_file__dev_urandom=yes \
+ ac_cv_dev_urandom=yes \
+ ac_cv_file__dev_random=no \
+ ./configure \
+ --target=$(GNU_TARGET_NAME) \
+ --host=$(GNU_TARGET_NAME) \
+ --build=$(GNU_HOST_NAME) \
+ --prefix=$(FREESWITCH_INSTALL_DIR) \
+ )
+ cp -f package/freeswitch/freeswitch-modules.conf $(FREESWITCH_DIR)/modules.conf
+ touch $@
+
+$(FREESWITCH_DIR)/$(FREESWITCH_BINARY): $(FREESWITCH_DIR)/.configured
+ $(MAKE1) -C $(FREESWITCH_DIR) $(TARGET_CONFIGURE_OPTS)
+
+$(TARGET_DIR)/$(FREESWITCH_TARGET_BINARY): $(FREESWITCH_DIR)/$(FREESWITCH_BINARY)
+ $(MAKE1) -C $(FREESWITCH_DIR) $(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) install
+ifeq ($(strip $(BR2_PACKAGE_FREESWITCH_SOUNDS)),y)
+ $(MAKE1) -C $(FREESWITCH_DIR) $(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) \
+ sounds-install moh-install
+endif
+ rm -rf $(TARGET_DIR)/$(FREESWITCH_INSTALL_DIR)/mod/*.la \
+ $(TARGET_DIR)/$(FREESWITCH_INSTALL_DIR)/mod/*.a $(TARGET_DIR)/$(FREESWITCH_INSTALL_DIR)/lib/*.la \
+ $(TARGET_DIR)/$(FREESWITCH_INSTALL_DIR)/lib/*.a $(TARGET_DIR)/$(FREESWITCH_INSTALL_DIR)/include
+ # Hack for now
+ cp -a $(TARGET_DIR)/$(FREESWITCH_INSTALL_DIR)/lib/* $(TARGET_DIR)/usr/lib/
+ # Links to some FS bins in PATH
+ ln -sf $(FREESWITCH_INSTALL_DIR)/bin/freeswitch $(TARGET_DIR)/usr/sbin/freeswitch
+ ln -sf $(FREESWITCH_INSTALL_DIR)/bin/fs_cli $(TARGET_DIR)/usr/sbin/fs_cli
+ $(INSTALL) -D -m 0755 package/freeswitch/freeswitch.init $(TARGET_DIR)/etc/init.d/freeswitch
+
+freeswitch: $(TARGET_DIR)/$(FREESWITCH_TARGET_BINARY)
+
+freeswitch-source: $(DL_DIR)/$(FREESWITCH_SOURCE)
+
+freeswitch-unpack: $(FREESWITCH_DIR)/.source
+
+freeswitch-clean:
+ -$(MAKE1) -C $(FREESWITCH_DIR) clean
+ rm -rf $(TARGET_DIR)/$(FREESWITCH_INSTALL_DIR) $(TARGET_DIR)/usr/lib/libfreeswitch.so* \
+ $(TARGET_DIR)/usr/sbin/freeswitch $(TARGET_DIR)/usr/sbin/fs_cli \
+ $(TARGET_DIR)/etc/init.d/freeswitch
+
+freeswitch-dirclean:
+ rm -rf $(FREESWITCH_DIR)
+
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_FREESWITCH)),y)
+TARGETS+=freeswitch
+endif
Modified: branches/1.0/runnix.config
===================================================================
--- branches/1.0/runnix.config 2011-10-18 15:21:29 UTC (rev 5214)
+++ branches/1.0/runnix.config 2011-10-18 18:11:08 UTC (rev 5215)
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# Buildroot 2011.08-svn5194-dirty Configuration
-# Sun Oct 16 21:38:13 2011
+# Buildroot 2011.08-svn5214-dirty Configuration
+# Tue Oct 18 13:04:11 2011
#
BR2_HAVE_DOT_CONFIG=y
# BR2_arm is not set
@@ -159,6 +159,7 @@
# BR2_PACKAGE_ASTERISK is not set
# BR2_PACKAGE_DAHDI_LINUX is not set
# BR2_PACKAGE_DAHDI_TOOLS is not set
+# BR2_PACKAGE_FREESWITCH is not set
# BR2_PACKAGE_RHINO is not set
# BR2_PACKAGE_WANPIPE is not set
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|