diff options
Diffstat (limited to 'net/freeswitch/files')
-rw-r--r-- | net/freeswitch/files/freeswitch.in | 50 | ||||
-rw-r--r-- | net/freeswitch/files/patch-build-modules.conf.in | 18 | ||||
-rw-r--r-- | net/freeswitch/files/pkg-message.in | 21 |
3 files changed, 7 insertions, 82 deletions
diff --git a/net/freeswitch/files/freeswitch.in b/net/freeswitch/files/freeswitch.in index 397fbdd36194..e69de29bb2d1 100644 --- a/net/freeswitch/files/freeswitch.in +++ b/net/freeswitch/files/freeswitch.in @@ -1,50 +0,0 @@ -#!/bin/sh - -# PROVIDE: freeswitch -# REQUIRE: DAEMON -# KEYWORD: FreeBSD - -. /etc/rc.subr - -name=freeswitch -rcvar=`set_rcvar` - -command=%%PREFIX%%/freeswitch/bin/freeswitch -command_args="-nc" - -pidfile=${freeswitch_pidfile:-"%%PREFIX%%/freeswitch/log/freeswitch.pid"} - -freeswitch_enable=${freeswitch_enable-"YES"} - -start_cmd="freeswitch_start" -stop_precmd="freeswitch_stop" -restart_cmd="freeswitch_restart" - -sig_stop=KILL - -load_rc_config $name - -freeswitch_stop () { - echo "Stopping Freeswitch." - %%PREFIX%%/freeswitch/bin/freeswitch -stop - sleep 1 - return 0 -} - -freeswitch_start () { - echo "Starting FreeSwitch." - /usr/sbin/daemon -f /bin/sh -c "$command" - sleep 1 - return -} - -freeswitch_restart () { - echo "ReStarting FreeSwitch." - freeswitch_stop - freeswitch_start - sleep 1 - return -} - -run_rc_command "$1" - diff --git a/net/freeswitch/files/patch-build-modules.conf.in b/net/freeswitch/files/patch-build-modules.conf.in index 08fa3914b19c..e69de29bb2d1 100644 --- a/net/freeswitch/files/patch-build-modules.conf.in +++ b/net/freeswitch/files/patch-build-modules.conf.in @@ -1,18 +0,0 @@ ---- build/modules.conf.in (revision 13746) -+++ build/modules.conf.in (working copy) -@@ -1,6 +1,7 @@ - loggers/mod_console - loggers/mod_logfile - loggers/mod_syslog -+#applications/mod_cidlookup - applications/mod_commands - applications/mod_conference - applications/mod_dptools -@@ -19,6 +20,7 @@ - #applications/mod_soundtouch - #applications/mod_rss - #applications/mod_snom -+#applications/mod_t38gateway - #applications/mod_vmd - #applications/mod_memcache - #applications/mod_spy diff --git a/net/freeswitch/files/pkg-message.in b/net/freeswitch/files/pkg-message.in index 393a6b3b455b..258fadc48b68 100644 --- a/net/freeswitch/files/pkg-message.in +++ b/net/freeswitch/files/pkg-message.in @@ -1,18 +1,11 @@ - ***************************************************** -* Please read * +* Please read * ***************************************************** - -There are some known issues with FreeBSD's libpthread -implementation and APR that can affect throughput at -high volume. A possible fix is to use libmap.conf to -remap FreeSWITCH. and its libraries to use libthr -(the better performance threading library) -/etc/libmap.conf +to install the config files do the following ..... + +cp -r %%EXAMPLESDIR%%/conf %%ETCDIR%%/conf + +then edit /etc/rc.conf and add -[freeswitch] -libc_r.so.5 libthr.so.2 -libc_r.so.6 libthr.so.2 -libpthread.so.1 libthr.so.2 -libpthread.so.2 libthr.so.2 +freeswitch_enable="YES" |