summaryrefslogtreecommitdiff
path: root/net/yate-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/yate-devel/files')
-rw-r--r--net/yate-devel/files/README.too161
-rw-r--r--net/yate-devel/files/patch-Makefile.in13
-rw-r--r--net/yate-devel/files/patch-clients_Makefile_in19
-rw-r--r--net/yate-devel/files/patch-conf.d_Makefile.in20
-rw-r--r--net/yate-devel/files/patch-configure23
-rw-r--r--net/yate-devel/files/patch-modules_Makefile_in78
-rw-r--r--net/yate-devel/files/patch-modules_help_Makefile_in11
-rw-r--r--net/yate-devel/files/patch-modules_skin_Makefile_in14
-rw-r--r--net/yate-devel/files/patch-modules_zapchan_cpp12
-rw-r--r--net/yate-devel/files/patch-test_Makefile_in11
-rw-r--r--net/yate-devel/files/pkg-message.in24
-rw-r--r--net/yate-devel/files/yate.sh.in45
12 files changed, 0 insertions, 431 deletions
diff --git a/net/yate-devel/files/README.too b/net/yate-devel/files/README.too
deleted file mode 100644
index a4aae3c2e380..000000000000
--- a/net/yate-devel/files/README.too
+++ /dev/null
@@ -1,161 +0,0 @@
-Asterisk Open PBC/IVR Project using the Sangoma A101 and A102 cards
-===================================================================
-
-Alex Feldman: Aug 10 2005
-Nenad Corbic:
-
-WANPIPE supports the Asterisk Open PBX/IVR project through an interface
-of the Zaptel family of hardware devices. These devices share a common
-driver suite, called the ZAPATA Telephony Driver Suite (zaptel).
-
-
-ASTERISK / ZAPTEL Installation
--------------------------------
-
-First install:
- zaptel, and asterisk software on your system.
-
-The Zaptel module can be installed using one of the following methods:
-
-1. You can use ports collection or packages method of installation if you
- want to install the latest stable release:
- # cd /usr/ports/misc/zaptel/
- # make install
-
-2. You can also use nightly snapshot from sn repository
- (http://www.portaone.com/~gonzo/zaptel-bsd-trunk.tar.gz).
-
-3. Subvestion repository: https://svn.bluezbox.repos/zaptel-bsd
- svn co --username svn --password svn https://svn.bluezbox.com/repos/zaptel-bsd
-
-The Asterisk application can be installed from ports collection:
- # cd /usr/ports/net/asterisk
- # make install
-
-
-
-WANPIPE Releases
-----------------
-
-2.8.2-1: Latest Wanpipe Release
-
- o First version of Sangoma driver for FreeBSD OS that
- support Asterisk/Zaptel interface (AFT-A101/A102/A104 cards Only)
-
-
-
-WANPIPE Installation for Asterisk
----------------------------------
-
-1. Download the LATEST Wanpipe 2.8.2 Release or Greater!
-
- Note: Wanpipe does not support Asterisk in releases
- LOWER than 2.8.2!
-
- ftp.sangoma.com/FreeBSD/current_wanpipe
-
-
-2. Install WANPIPE package
-
- eg: pkg_add wanpipe-2.8.2-1.tgz
-
-
- Proceed with default installation options.
-
- IMPORTANT:
- Under compilation mode: select CUSTOM
-
- Then select: DEF :for default protocols
- TDM :for TDM Voice asterisk support
-
- Proceed to compile wanpipe drivers.
-
-4. To confirm successful installation run:
-
- wanrouter hwprobe
-
- Confirm that Sangoma cards have been found.
-
- Note:
- Zaptel kernel drivers must be compiled and installed
- BEFORE loading WANPIPE drivers.
-
-
-WANPIPE Configuration for the A100 series of cards
---------------------------------------------------
-
-You can use the A101/A102 or A104 cards for both data and voice.
-The following describes how to configure the Asterisk system for
-voice, with an auxiliary data interface, if needed.
-
-1. Run the configuration utility wancfg.
-
- /usr/sbin/wancfg
-
- Hardware Setup:
- Select Hardware: AFT
-
- T1/E1 CSU/DSU Setup can be configured via
- "Advanced Physical Medium Config"
-
- Protocol Setup:
- Select Protocol: TDM VOICE
- No other options
-
- Interface Setup:
- Select: SPAN Number: 1-24
- The SPAN usually starts with 1
-
- Select: Override Asterisk Echo Enable
- Default: NO
-
- This optoin will DISABLE/Override Asterisk
- ECHO Cancellation Cfg for this SPAN.
-
- Therefore, if you want to DISABLE Echo Cancellation
- for this SPAN, ie: ignore what is configured in
- zapata.conf, then set this option to YES.
-
- Used in switching applications where single SPAN
- needs echo cancellation and rest do not. Therefore,
- one would use this option to disable ECHO
- cancellation on SPANS that don't need it.
-
-
-Zaptel configuration
---------------------
-
-Download the documentation how to configure Zaptel driver from
-
-(http://www.digium.com/downloads/configuring_zaptel.pdf).
-
-When configuring the Zaptel driver (/etc/zaptel.conf)
-
- 1) Select the same span configurations as you used for WANPIPE
- (i.e. LBO, framing, coding parameters).
-
- Otherwise the Zaptel configuration is completely
- standard, except that if there are data channels that
- will be handled by WANPIPE, those channels should be ignored,
- and not configured as 'nethdlc'.
-
- 2) If you are using multiple WANPIPE devices for Asterisk
-
- For example, an A102 card might be configured as:
-
- wanpipe1 and wanpipe2
-
- then you need to set your starting scripts to start
- the wanpipes in the same sequence as defined in zaptel.conf.
-
- Run: wanrouter wanrc
-
- to set the wanpipe startup order.
-
- 3) If you are using some channels for DATA
-
- You don't need to set the channel list for this
- interface under /etc/zaptel.conf because all data will go
- through the separate WANPIPE driver to the kernel.
-
--------------------------------------------------------------------
diff --git a/net/yate-devel/files/patch-Makefile.in b/net/yate-devel/files/patch-Makefile.in
deleted file mode 100644
index b4059e965502..000000000000
--- a/net/yate-devel/files/patch-Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.in.orig Sun Sep 23 22:29:33 2007
-+++ Makefile.in Sun Sep 23 22:29:59 2007
-@@ -208,8 +208,8 @@
- for i in $(MAN8) ; do \
- install -m 0644 @srcdir@/$$i "$(DESTDIR)$(mandir)/man8/" ; \
- done
-- @mkdir -p "$(DESTDIR)$(libdir)/pkgconfig/" && \
-- install -m 0644 yate.pc "$(DESTDIR)$(libdir)/pkgconfig/"
-+ @mkdir -p "$(DESTDIR)$(libdir)data/pkgconfig/" && \
-+ install -m 0644 yate.pc "$(DESTDIR)$(libdir)data/pkgconfig/"
- @mkdir -p "$(DESTDIR)$(incdir)/" && \
- for i in $(INCS) ; do \
- install -m 0644 @srcdir@/$$i "$(DESTDIR)$(incdir)/" ; \
diff --git a/net/yate-devel/files/patch-clients_Makefile_in b/net/yate-devel/files/patch-clients_Makefile_in
deleted file mode 100644
index c28454224378..000000000000
--- a/net/yate-devel/files/patch-clients_Makefile_in
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Naur clients/Makefile.in.orig clients/Makefile.in
---- clients/Makefile.in.orig 2007-01-17 17:19:15.000000000 +0000
-+++ clients/Makefile.in 2007-08-12 14:28:16.000000000 +0000
-@@ -65,13 +65,13 @@
- $(if $(MENUFILES),\
- @mkdir -p "$(DESTDIR)$(menudir)/" && \
- for i in $(MENUFILES) ; do \
-- install -D -m 0644 "@srcdir@/$$i" "$(DESTDIR)$(menudir)/$$i" ; \
-+ install -m 0644 "@srcdir@/$$i" "$(DESTDIR)$(menudir)/$$i" ; \
- done \
- )
- $(if $(DESKFILES),\
- @mkdir -p "$(DESTDIR)$(deskdir)/" && \
- for i in $(DESKFILES) ; do \
-- install -D -m 0644 "@srcdir@/$$i" "$(DESTDIR)$(deskdir)/$$i" ; \
-+ install -m 0644 "@srcdir@/$$i" "$(DESTDIR)$(deskdir)/$$i" ; \
- done \
- )
-
diff --git a/net/yate-devel/files/patch-conf.d_Makefile.in b/net/yate-devel/files/patch-conf.d_Makefile.in
deleted file mode 100644
index 2082c5c89b27..000000000000
--- a/net/yate-devel/files/patch-conf.d_Makefile.in
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -Nur conf.d/Makefile.in.orig conf.d/Makefile.in
---- conf.d/Makefile.in.orig 2007-01-17 17:19:15.000000000 +0000
-+++ conf.d/Makefile.in 2007-10-13 14:45:19.000000000 +0000
-@@ -20,14 +20,14 @@
- lst="`ls -1 @srcdir@/*.conf @srcdir@/*.sample @srcdir@/*.default @srcdir@/*.sql | sed 's/\.sample//g; s/\.default//g; s/[^ ]*\*\.[^ ]*//g' | sort | uniq`" ; \
- for s in $$lst; do \
- d="$(DESTDIR)$(confdir)/`echo $$s | sed 's,.*/,,'`" ; \
-- if [ -f "$$d" ]; then \
-+ if [ -f "$$d".sample ]; then \
- echo "Not overwriting existing $$d" ; \
- else \
- if [ ! -f "$$s" ]; then \
- test -f "$$s.default" && s="$$s.default" ; \
- test -f "$$s.sample" && s="$$s.sample" ; \
- fi ; \
-- install -m 0644 "$$s" "$$d" ; \
-+ install -m 0644 "$$s" "$$d".sample ; \
- fi ; \
- done
-
diff --git a/net/yate-devel/files/patch-configure b/net/yate-devel/files/patch-configure
deleted file mode 100644
index ace8eb82b4a1..000000000000
--- a/net/yate-devel/files/patch-configure
+++ /dev/null
@@ -1,23 +0,0 @@
-diff -Naur configure.orig configure
---- configure.orig 2007-08-12 13:42:59.000000000 +0000
-+++ configure 2007-08-12 14:20:14.000000000 +0000
-@@ -6428,8 +6428,8 @@
-
- ac_ext=cpp
- ac_cpp='$CXXCPP $CPPFLAGS'
--ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
--ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS -I/usr/local/include conftest.$ac_ext >&5'
-+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS -L/usr/local/lib conftest.$ac_ext $LIBS >&5'
- ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
- SAVE_CFLAGS="$CFLAGS"
-@@ -6778,7 +6778,7 @@
- MODULE_CFLAGS="-fno-exceptions -fPIC $HAVE_GCC_FORMAT_CHECK"
- MODULE_CPPFLAGS="-fno-check-new $RTTI_OPT $MODULE_CFLAGS"
- MODULE_LDRELAX="-export-dynamic -shared"
--MODULE_LDFLAGS="$MODULE_LDRELAX $GCC_UNRESOLVED_SYMBOLS"
-+MODULE_LDFLAGS="$MODULE_LDRELAX"
- MODULE_SYMBOLS="-Wl,--retain-symbols-file,/dev/null"
-
-
diff --git a/net/yate-devel/files/patch-modules_Makefile_in b/net/yate-devel/files/patch-modules_Makefile_in
deleted file mode 100644
index 1d0a4b450a4d..000000000000
--- a/net/yate-devel/files/patch-modules_Makefile_in
+++ /dev/null
@@ -1,78 +0,0 @@
-diff -Naur modules/Makefile.in.orig modules/Makefile.in
---- modules/Makefile.in.orig 2007-07-23 21:13:54.000000000 +0000
-+++ modules/Makefile.in 2007-08-12 14:25:19.000000000 +0000
-@@ -11,7 +11,7 @@
- CXX := @CXX@ -Wall
- SED := sed
- DEFS :=
--INCLUDES := -I.. -I@top_srcdir@
-+INCLUDES := -I. -I@top_srcdir@ -I%%LOCALBASE%%/include
- CFLAGS := -O2 @MODULE_CFLAGS@ @INLINE_FLAGS@
- CPPFLAGS := -O2 @MODULE_CPPFLAGS@ @INLINE_FLAGS@
- LDFLAGS:= -L.. -lyate
-@@ -133,7 +133,7 @@
- install: all do-install
- @mkdir -p "$(DESTDIR)$(moddir)/" && \
- for i in $(PROGS) ; do \
-- install -D "$$i" "$(DESTDIR)$(moddir)/$$i" ; \
-+ install "$$i" "$(DESTDIR)$(moddir)/$$i" ; \
- done;
-
- .PHONY: uninstall
-@@ -175,32 +175,32 @@
- # Take special care of the modules that depend on optional libs
-
- zapchan.yate: libypri.o
--zapchan.yate: LOCALFLAGS = @ZAP_FLAGS@
-+zapchan.yate: LOCALFLAGS = @ZAP_FLAGS@ -L%%LOCALBASE%%/lib
- zapchan.yate: LOCALLIBS = libypri.o -lpri
-
- wpchan.yate: libypri.o
--wpchan.yate: LOCALFLAGS = @WANPIPE_HWEC_INC@
-+wpchan.yate: LOCALFLAGS = @WANPIPE_HWEC_INC@ -L%%LOCALBASE%%/lib
- wpchan.yate: LOCALLIBS = libypri.o -lpri
-
- ysigchan.yate wpcard.yate zapcard.yate: ../libyatess7.so
- ysigchan.yate wpcard.yate zapcard.yate: LOCALFLAGS = -I../contrib/yss7
- ysigchan.yate wpcard.yate zapcard.yate: LOCALLIBS = -lyatess7
-
--h323chan.yate: LOCALFLAGS = -DPHAS_TEMPLATES -D_REENTRANT -DP_HAS_SEMAPHORES @H323_INC@
-+h323chan.yate: LOCALFLAGS = -DPHAS_TEMPLATES -D_REENTRANT -DP_HAS_SEMAPHORES @H323_INC@ -L%%LOCALBASE%%/lib
- h323chan.yate: LOCALLIBS = @H323_LIB@
-
--pgsqldb.yate: LOCALFLAGS = @PGSQL_INC@
-+pgsqldb.yate: LOCALFLAGS = @PGSQL_INC@ -L%%LOCALBASE%%/lib
- pgsqldb.yate: LOCALLIBS = -lpq
-
--mysqldb.yate: LOCALFLAGS = @MYSQL_INC@
-+mysqldb.yate: LOCALFLAGS = @MYSQL_INC@ -L%%LOCALBASE%%/lib
- mysqldb.yate: LOCALLIBS = @MYSQL_LIB@
-
--enumroute.yate: LOCALLIBS = -lresolv
-+enumroute.yate: LOCALLIBS = -lc
-
- alsachan.yate: LOCALLIBS = -lasound
-
- yiaxchan.yate: ../contrib/yiax/libyateiax.a
--yiaxchan.yate: LOCALFLAGS = -I@top_srcdir@/contrib/yiax
-+yiaxchan.yate: LOCALFLAGS = -I@top_srcdir@/contrib/yiax -L%%LOCALBASE%%/lib
- yiaxchan.yate: LOCALLIBS = -L../contrib/yiax -lyateiax
-
- yjinglechan.yate: ../contrib/yxml/libyatexml.a ../contrib/yjingle/libyatejingle.a
-@@ -219,13 +219,13 @@
- ilbccodec.yate: LOCALLIBS = ../contrib/ilbc/libilbc.a
- ilbccodec.yate: LOCALFLAGS = @ILBC_INC@
-
--gsmcodec.yate: LOCALLIBS = -lgsm
-+gsmcodec.yate: LOCALLIBS = -lgsm -L%%LOCALBASE%%/lib
- gsmcodec.yate: LOCALFLAGS = @GSM_INC@
-
--speexcodec.yate: LOCALLIBS = -lspeex
-+speexcodec.yate: LOCALLIBS = -lspeex -L%%LOCALBASE%%/lib
- speexcodec.yate: LOCALFLAGS = @SPEEX_INC@
-
--faxchan.yate: LOCALLIBS = -lspandsp
-+faxchan.yate: LOCALLIBS = -lspandsp -L%%LOCALBASE%%/lib
- faxchan.yate: LOCALFLAGS = @SPANDSP_INC@
-
- ysipchan.yate: ../contrib/ysip/libyatesip.a
diff --git a/net/yate-devel/files/patch-modules_help_Makefile_in b/net/yate-devel/files/patch-modules_help_Makefile_in
deleted file mode 100644
index 49c08f362540..000000000000
--- a/net/yate-devel/files/patch-modules_help_Makefile_in
+++ /dev/null
@@ -1,11 +0,0 @@
---- modules/help/Makefile.in.orig Wed Dec 13 09:44:44 2006
-+++ modules/help/Makefile.in Wed Dec 13 09:44:50 2006
-@@ -23,7 +23,7 @@
- @lst="`cd @srcdir@; ls -1 -d *.yhlp`" ; \
- mkdir -p "$(DESTDIR)$(helpdir)/" && \
- for i in $$lst ; do \
-- install -D -m 0644 "@srcdir@/$$i" "$(DESTDIR)$(helpdir)/$$i" ; \
-+ install -m 0644 "@srcdir@/$$i" "$(DESTDIR)$(helpdir)/$$i" ; \
- done;
-
- uninstall:
diff --git a/net/yate-devel/files/patch-modules_skin_Makefile_in b/net/yate-devel/files/patch-modules_skin_Makefile_in
deleted file mode 100644
index 411ae411a31f..000000000000
--- a/net/yate-devel/files/patch-modules_skin_Makefile_in
+++ /dev/null
@@ -1,14 +0,0 @@
---- modules/skin/Makefile.in.orig Mon Nov 7 05:09:23 2005
-+++ modules/skin/Makefile.in Wed Dec 13 11:18:36 2006
-@@ -22,8 +22,10 @@
- install:
- @lst="`cd @srcdir@; ls -1 -d */* | sed '/CVS\|\.orig/d'`" ; \
- mkdir -p "$(DESTDIR)$(skindir)/" && \
-+ mkdir -p "$(DESTDIR)$(skindir)/tabbed" && \
-+ mkdir -p "$(DESTDIR)$(skindir)/default" && \
- for i in $$lst ; do \
-- install -D -m 0644 "@srcdir@/$$i" "$(DESTDIR)$(skindir)/$$i" ; \
-+ install -m 0644 "@srcdir@/$$i" "$(DESTDIR)$(skindir)/$$i" ; \
- done;
-
- uninstall:
diff --git a/net/yate-devel/files/patch-modules_zapchan_cpp b/net/yate-devel/files/patch-modules_zapchan_cpp
deleted file mode 100644
index b53069802dfa..000000000000
--- a/net/yate-devel/files/patch-modules_zapchan_cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur modules/zapchan.cpp.orig modules/zapchan.cpp
---- modules/zapchan.cpp.orig 2007-07-23 21:14:01.000000000 +0000
-+++ modules/zapchan.cpp 2007-08-12 17:26:03.000000000 +0000
-@@ -33,7 +33,7 @@
- #define __LINUX__
- #include <zaptel/zaptel.h>
- #else
--#include <linux/zaptel.h>
-+#include <zaptel/zaptel.h>
- #endif
- };
-
diff --git a/net/yate-devel/files/patch-test_Makefile_in b/net/yate-devel/files/patch-test_Makefile_in
deleted file mode 100644
index eee582794471..000000000000
--- a/net/yate-devel/files/patch-test_Makefile_in
+++ /dev/null
@@ -1,11 +0,0 @@
---- test/Makefile.in.orig Wed Mar 29 02:27:01 2006
-+++ test/Makefile.in Fri Dec 15 20:23:33 2006
-@@ -56,7 +56,7 @@
- install: all
- @mkdir -p "$(DESTDIR)$(moddir)/" && \
- for i in $(PROGS) ; do \
-- install -D "$$i" "$(DESTDIR)$(moddir)/$$i" ; \
-+ install "$$i" "$(DESTDIR)$(moddir)/$$i" ; \
- done;
-
- .PHONY: uninstall
diff --git a/net/yate-devel/files/pkg-message.in b/net/yate-devel/files/pkg-message.in
deleted file mode 100644
index 6a0ce011d0a1..000000000000
--- a/net/yate-devel/files/pkg-message.in
+++ /dev/null
@@ -1,24 +0,0 @@
-=========================================================================
-IMPORTANT! MAKE SURE TO READ THE FOLLOWING!
-
-To start the YATE sever automatically when the system is started, append
-the following in your /etc/rc.conf file:
-
-yate_enable="YES" # YATE iPBX/Softswitch server
-zaptel_enable="YES" # If you're using Zaptel cards
-
-To manually start the yate server run (as root):
-
-# %%PREFIX%%/etc/rc.d/yate start
-
-To manually stop it:
-
-# %%PREFIX%%/etc/rc.d/yate stop
-
-Please note that it is still a "work in progress", so your bug reports
-are welcome and will help us improve quality of this software.
-
-NOTE: Please read %%PREFIX%%/shere/doc/yate/README.too on a version of
-Sangoma driver for FreeBSD OS that supports Asterisk/Zaptel interface
-(AFT-A101/A102/A104 cards Only)
-=========================================================================
diff --git a/net/yate-devel/files/yate.sh.in b/net/yate-devel/files/yate.sh.in
deleted file mode 100644
index b599b0310d21..000000000000
--- a/net/yate-devel/files/yate.sh.in
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# PROVIDE: yate
-# REQUIRE: DAEMON
-# KEYWORD: shutdown
-#
-# Add the following lines to /etc/rc.conf to enable the YATE:
-#
-# yate_enable="YES"
-#
-
-. /etc/rc.subr
-
-name=yate
-rcvar=yate_enable
-
-command="%%PREFIX%%/sbin/yate"
-pidfile="/var/run/${name}.pid"
-logfile="/var/log/yate/messages"
-cdrfile=`awk -F= '/^file=.+/ {print $2}' %%PREFIX%%/etc/yate/cdrfile.conf`
-
-start_precmd="yate_prestart"
-stop_postcmd="yate_poststop"
-
-yate_prestart()
-{
- mkdir -p $(dirname $pidfile)
- chown yate:yate $(dirname $pidfile)
- mkdir -p $(dirname $cdrfile)
- chown yate:yate $(dirname $cdrfile)
- chown yate:yate $(dirname $logfile)
-}
-
-yate_poststop()
-{
- rm -f $pidfile
-}
-
-yate_enable=${yate_enable="NO"}
-yate_flags=${yate_flags-"-Du -d -l ${logfile} -p ${pidfile} -s"}
-
-load_rc_config ${name}
-run_rc_command "$1"