1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

remove yate-devel

The yate-devel port was BROKEN for > 12 months, and the version is 4.5 years
old. We have the current version in net/yate.

Approved by:	maintainer (10 months ago)
This commit is contained in:
Florian Smeets 2012-02-17 21:35:26 +00:00
parent 4baf4c1dda
commit c4d1587e53
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291637
18 changed files with 1 additions and 769 deletions

1
MOVED
View File

@ -3232,3 +3232,4 @@ www/zope-cmf||2012-02-07|Has expired: Doesn't work with modern Zope versions
chinese/fcitx-keyboard|textproc/fcitx-keyboard|2012-02-07|Moved to more appropriate category
textproc/hs-attoparsec-text||2012-02-13|Removed: The package is deprecated.
devel/hs-hmake||2012-02-13|Removed: Broken, unmaintained upstream.
net/yate-devel||2012-02-17|Removed, please use net/yate

View File

@ -1212,7 +1212,6 @@
SUBDIR += xrdp
SUBDIR += yaph
SUBDIR += yate
SUBDIR += yate-devel
SUBDIR += yaz
SUBDIR += yaz++
SUBDIR += yazproxy

View File

@ -1,139 +0,0 @@
# New ports collection makefile for: yate
# Date created: 2006-12-11
# Whom: Balwinder S "bsd" Dheeman <bdheeman@gmail.com>
#
# $FreeBSD$
#
PORTNAME= yate
PORTVERSION= 1.3.0.p2
DISTVERSION= ${PORTVERSION:S/.p/-/}
PORTREVISION= 8
CATEGORIES= net comms
MASTER_SITES= http://cto.homelinux.net/pub/FreeBSD/ports/distfiles/ \
${MASTER_SITE_LOCAL}
PKGNAMESUFFIX= -devel
MAINTAINER= bdheeman@gmail.com
COMMENT= Yet Another Telephony Engine
LIB_DEPENDS= gsm.1:${PORTSDIR}/audio/gsm \
speex.1:${PORTSDIR}/audio/speex
BROKEN= does not build
USE_BZIP2= yes
USE_GMAKE= yes
USE_BISON= build
USE_LDCONFIG= yes
WANT_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-fdsize \
--mandir=${LOCALBASE}/man
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
PWLIBDIR=${LOCALBASE}/share/pwlib \
OPENH323DIR=${LOCALBASE}/share/openh323
MAN8= yate-config.8 yate.8
ONLY_FOR_ARCHS= amd64 i386 sparc64
OPTIONS= X11 "Build GUI client; yate-gtk2" on \
MYSQL "MySQL Database support" off \
PGSQL "PostgreSQL Database support" on \
H323 "H323 software channel/protocol support" on \
FAX "Fax software channel/driver support" off
USERS= ${PORTNAME}
GROUPS= ${USERS}
DOCSDIR= ${LOCALBASE}/share/doc/yate
PLIST_SUB= BRISTUFF="@comment "
PLIST_SUB+= VERSION=${PORTVERSION:S/.p2//}
SUB_FILES= pkg-message
USE_RC_SUBR= yate.sh
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.p2//}
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_X11)
CONFIGURE_ARGS+= --with-libgtk2
MAKE_ENV+= WITH_X11=1
PLIST_SUB+= WITH_X11=""
USE_GNOME= gtk20
.else
CONFIGURE_ARGS+= --without-libgtk2
PLIST_SUB+= WITH_X11="@comment "
.endif
.if !defined(WITHOUT_MYSQL)
MAKE_ENV+= WITH_MYSQL=1
PLIST_SUB+= WITH_MYSQL=""
USE_MYSQL= yes
.else
CONFIGURE_ARGS+= --with-mysql=/none
PLIST_SUB+= WITH_MYSQL="@comment "
.endif
.if !defined(WITHOUT_PGSQL)
CONFIGURE_ARGS+= --with-libpq=${LOCALBASE}
MAKE_ENV+= WITH_PGSQL=1
PLIST_SUB+= WITH_PGSQL=""
USE_PGSQL= yes
.else
PLIST_SUB+= WITH_PGSQL="@comment "
.endif
.if ${ARCH} != "i386"
WITHOUT_H323= 1
WITHOUT_ZAPTEL= 1
.endif
.if !defined(WITHOUT_H323)
CONFIGURE_ARGS+= --with-pwlib=${LOCALBASE} \
--with-openh323=${LOCALBASE}
LIB_DEPENDS+= pt_r.1:${PORTSDIR}/devel/pwlib \
h323_r.1:${PORTSDIR}/net/openh323
MAKE_ENV+= WITH_H323=1
PLIST_SUB+= WITH_H323=""
.else
PLIST_SUB+= WITH_H323="@comment "
.endif
#.if !defined(WITHOUT_ZAPTEL)
#BUILD_DEPENDS+= libpri>=1.2.0:${PORTSDIR}/misc/libpri \
# ${LOCALBASE}/include/zaptel/zaptel.h:${PORTSDIR}/misc/zaptel
#LIB_DEPENDS+= pri.1:${PORTSDIR}/misc/libpri
#RUN_DEPENDS+= ztcfg:${PORTSDIR}/misc/zaptel
#MAKE_ENV+= WITH_ZAPTEL=1
#PLIST_SUB+= WITH_ZAPTEL=""
#.else
MAKE_ENV+= WITHOUT_ZAPTEL=1
PLIST_SUB+= WITH_ZAPTEL="@comment "
#.endif
.if !defined(WITHOUT_FAX)
BROKEN= does not compile
LIB_DEPENDS+= spandsp.2:${PORTSDIR}/comms/spandsp-devel
MAKE_ENV+= WITH_FAX=1
PLIST_SUB+= WITH_FAX=""
.else
PLIST_SUB+= WITH_FAX="@comment "
.endif
post-patch:
${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' \
${WRKSRC}/modules/Makefile.in
post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
@${INSTALL_DATA} files/README.too ${DOCSDIR}
@cd ${PREFIX}/etc/${PORTNAME}; for cfg in *.sample; do test -f $${cfg%%.sample} || cp -p $${cfg} $${cfg%%.sample}; done
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
SHA256 (yate-1.3.0-2.tar.bz2) = 1eefadd895a2d7c5488ad754311424f182f8c45a36ce7da1f81181b7ed21472f
SIZE (yate-1.3.0-2.tar.bz2) = 1259636

View File

@ -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.
-------------------------------------------------------------------

View File

@ -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)/" ; \

View File

@ -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 \
)

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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:

View File

@ -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:

View File

@ -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
};

View File

@ -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

View File

@ -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)
=========================================================================

View File

@ -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"

View File

@ -1,6 +0,0 @@
The Yate is a telephony engine or softswitch aimed at creating a
telephony server that performs well enough to deal with your PBX
requirements and also flexible enough for complex Gateway and, or
IVR solutions.
WWW: http://YATE.null.ro/

View File

@ -1,190 +0,0 @@
@comment $FreeBSD$
%%WITH_X11%%bin/yate-gtk2
@unexec if cmp -s %D/etc/yate/accfile.conf.sample %D/etc/yate/accfile.conf; then rm -f %D/etc/yate/accfile.conf; fi
etc/yate/accfile.conf.sample
@exec if [ ! -f %D/etc/yate/accfile.conf ]; then cp -p %D/%F %B/accfile.conf; fi
@unexec if cmp -s %D/etc/yate/callgen.conf.sample %D/etc/yate/callgen.conf; then rm -f %D/etc/yate/callgen.conf; fi
etc/yate/callgen.conf.sample
@exec if [ ! -f %D/etc/yate/callgen.conf ]; then cp -p %D/%F %B/callgen.conf; fi
@unexec if cmp -s %D/etc/yate/cdrbuild.conf.sample %D/etc/yate/cdrbuild.conf; then rm -f %D/etc/yate/cdrbuild.conf; fi
etc/yate/cdrbuild.conf.sample
@exec if [ ! -f %D/etc/yate/cdrbuild.conf ]; then cp -p %D/%F %B/cdrbuild.conf; fi
@unexec if cmp -s %D/etc/yate/cdrfile.conf.sample %D/etc/yate/cdrfile.conf; then rm -f %D/etc/yate/cdrfile.conf; fi
etc/yate/cdrfile.conf.sample
@exec if [ ! -f %D/etc/yate/cdrfile.conf ]; then cp -p %D/%F %B/cdrfile.conf; fi
@unexec if cmp -s %D/etc/yate/dbpbx.conf.sample %D/etc/yate/dbpbx.conf; then rm -f %D/etc/yate/dbpbx.conf; fi
etc/yate/dbpbx.conf.sample
@exec if [ ! -f %D/etc/yate/dbpbx.conf ]; then cp -p %D/%F %B/dbpbx.conf; fi
@unexec if cmp -s %D/etc/yate/dsoundchan.conf.sample %D/etc/yate/dsoundchan.conf; then rm -f %D/etc/yate/dsoundchan.conf; fi
etc/yate/dsoundchan.conf.sample
@exec if [ ! -f %D/etc/yate/dsoundchan.conf ]; then cp -p %D/%F %B/dsoundchan.conf; fi
@unexec if cmp -s %D/etc/yate/enumroute.conf.sample %D/etc/yate/enumroute.conf; then rm -f %D/etc/yate/enumroute.conf; fi
etc/yate/enumroute.conf.sample
@exec if [ ! -f %D/etc/yate/enumroute.conf ]; then cp -p %D/%F %B/enumroute.conf; fi
@unexec if cmp -s %D/etc/yate/extmodule.conf.sample %D/etc/yate/extmodule.conf; then rm -f %D/etc/yate/extmodule.conf; fi
etc/yate/extmodule.conf.sample
@exec if [ ! -f %D/etc/yate/extmodule.conf ]; then cp -p %D/%F %B/extmodule.conf; fi
@unexec if cmp -s %D/etc/yate/h323chan.conf.sample %D/etc/yate/h323chan.conf; then rm -f %D/etc/yate/h323chan.conf; fi
etc/yate/h323chan.conf.sample
@exec if [ ! -f %D/etc/yate/h323chan.conf ]; then cp -p %D/%F %B/h323chan.conf; fi
@unexec if cmp -s %D/etc/yate/moh.conf.sample %D/etc/yate/moh.conf; then rm -f %D/etc/yate/moh.conf; fi
etc/yate/moh.conf.sample
@exec if [ ! -f %D/etc/yate/moh.conf ]; then cp -p %D/%F %B/moh.conf; fi
@unexec if cmp -s %D/etc/yate/mysqldb.conf.sample %D/etc/yate/mysqldb.conf; then rm -f %D/etc/yate/mysqldb.conf; fi
etc/yate/mysqldb.conf.sample
@exec if [ ! -f %D/etc/yate/mysqldb.conf ]; then cp -p %D/%F %B/mysqldb.conf; fi
@unexec if cmp -s %D/etc/yate/pbxassist.conf.sample %D/etc/yate/pbxassist.conf; then rm -f %D/etc/yate/pbxassist.conf; fi
etc/yate/pbxassist.conf.sample
@exec if [ ! -f %D/etc/yate/pbxassist.conf ]; then cp -p %D/%F %B/pbxassist.conf; fi
@unexec if cmp -s %D/etc/yate/pgsqldb.conf.sample %D/etc/yate/pgsqldb.conf; then rm -f %D/etc/yate/pgsqldb.conf; fi
etc/yate/pgsqldb.conf.sample
@exec if [ ! -f %D/etc/yate/pgsqldb.conf ]; then cp -p %D/%F %B/pgsqldb.conf; fi
@unexec if cmp -s %D/etc/yate/providers.conf.sample %D/etc/yate/providers.conf; then rm -f %D/etc/yate/providers.conf; fi
etc/yate/providers.conf.sample
@exec if [ ! -f %D/etc/yate/providers.conf ]; then cp -p %D/%F %B/providers.conf; fi
@unexec if cmp -s %D/etc/yate/regexroute.conf.sample %D/etc/yate/regexroute.conf; then rm -f %D/etc/yate/regexroute.conf; fi
etc/yate/regexroute.conf.sample
@exec if [ ! -f %D/etc/yate/regexroute.conf ]; then cp -p %D/%F %B/regexroute.conf; fi
@unexec if cmp -s %D/etc/yate/regfile.conf.sample %D/etc/yate/regfile.conf; then rm -f %D/etc/yate/regfile.conf; fi
etc/yate/regfile.conf.sample
@exec if [ ! -f %D/etc/yate/regfile.conf ]; then cp -p %D/%F %B/regfile.conf; fi
@unexec if cmp -s %D/etc/yate/register.conf.sample %D/etc/yate/register.conf; then rm -f %D/etc/yate/register.conf; fi
etc/yate/register.conf.sample
@exec if [ ! -f %D/etc/yate/register.conf ]; then cp -p %D/%F %B/register.conf; fi
@unexec if cmp -s %D/etc/yate/rmanager.conf.sample %D/etc/yate/rmanager.conf; then rm -f %D/etc/yate/rmanager.conf; fi
etc/yate/rmanager.conf.sample
@exec if [ ! -f %D/etc/yate/rmanager.conf ]; then cp -p %D/%F %B/rmanager.conf; fi
@unexec if cmp -s %D/etc/yate/sipfeatures.conf.sample %D/etc/yate/sipfeatures.conf; then rm -f %D/etc/yate/sipfeatures.conf; fi
etc/yate/sipfeatures.conf.sample
@exec if [ ! -f %D/etc/yate/sipfeatures.conf ]; then cp -p %D/%F %B/sipfeatures.conf; fi
@unexec if cmp -s %D/etc/yate/wpchan.conf.sample %D/etc/yate/wpchan.conf; then rm -f %D/etc/yate/wpchan.conf; fi
etc/yate/wpchan.conf.sample
@exec if [ ! -f %D/etc/yate/wpchan.conf ]; then cp -p %D/%F %B/wpchan.conf; fi
@unexec if cmp -s %D/etc/yate/yate-gtk2.conf.sample %D/etc/yate/yate-gtk2.conf; then rm -f %D/etc/yate/yate-gtk2.conf; fi
etc/yate/yate-gtk2.conf.sample
@exec if [ ! -f %D/etc/yate/yate-gtk2.conf ]; then cp -p %D/%F %B/yate-gtk2.conf; fi
@unexec if cmp -s %D/etc/yate/yate.conf.sample %D/etc/yate/yate.conf; then rm -f %D/etc/yate/yate.conf; fi
etc/yate/yate.conf.sample
@exec if [ ! -f %D/etc/yate/yate.conf ]; then cp -p %D/%F %B/yate.conf; fi
@unexec if cmp -s %D/etc/yate/yiaxchan.conf.sample %D/etc/yate/yiaxchan.conf; then rm -f %D/etc/yate/yiaxchan.conf; fi
etc/yate/yiaxchan.conf.sample
@exec if [ ! -f %D/etc/yate/yiaxchan.conf ]; then cp -p %D/%F %B/yiaxchan.conf; fi
@unexec if cmp -s %D/etc/yate/yjinglechan.conf.sample %D/etc/yate/yjinglechan.conf; then rm -f %D/etc/yate/yjinglechan.conf; fi
etc/yate/yjinglechan.conf.sample
@exec if [ ! -f %D/etc/yate/yjinglechan.conf ]; then cp -p %D/%F %B/yjinglechan.conf; fi
@unexec if cmp -s %D/etc/yate/yradius.conf.sample %D/etc/yate/yradius.conf; then rm -f %D/etc/yate/yradius.conf; fi
etc/yate/yradius.conf.sample
@exec if [ ! -f %D/etc/yate/yradius.conf ]; then cp -p %D/%F %B/yradius.conf; fi
@unexec if cmp -s %D/etc/yate/yrtpchan.conf.sample %D/etc/yate/yrtpchan.conf; then rm -f %D/etc/yate/yrtpchan.conf; fi
etc/yate/yrtpchan.conf.sample
@exec if [ ! -f %D/etc/yate/yrtpchan.conf ]; then cp -p %D/%F %B/yrtpchan.conf; fi
@unexec if cmp -s %D/etc/yate/ysipchan.conf.sample %D/etc/yate/ysipchan.conf; then rm -f %D/etc/yate/ysipchan.conf; fi
etc/yate/ysipchan.conf.sample
@exec if [ ! -f %D/etc/yate/ysipchan.conf ]; then cp -p %D/%F %B/ysipchan.conf; fi
@unexec if cmp -s %D/etc/yate/ystunchan.conf.sample %D/etc/yate/ystunchan.conf; then rm -f %D/etc/yate/ystunchan.conf; fi
etc/yate/ystunchan.conf.sample
@exec if [ ! -f %D/etc/yate/ystunchan.conf ]; then cp -p %D/%F %B/ystunchan.conf; fi
@unexec if cmp -s %D/etc/yate/zapchan.conf.sample %D/etc/yate/zapchan.conf; then rm -f %D/etc/yate/zapchan.conf; fi
etc/yate/zapchan.conf.sample
@exec if [ ! -f %D/etc/yate/zapchan.conf ]; then cp -p %D/%F %B/zapchan.conf; fi
include/yate/yatecbase.h
include/yate/yateclass.h
include/yate/yatemime.h
include/yate/yatengine.h
include/yate/yatephone.h
include/yate/yateversn.h
lib/libyate.so
lib/libyate.so.%%VERSION%%
%%WITH_X11%%lib/menu/yate-gtk2.menu
lib/yate/modules/help/0.yhlp
lib/yate/modules/help/1.yhlp
lib/yate/modules/help/2.yhlp
lib/yate/modules/help/3.yhlp
lib/yate/modules/help/4.yhlp
lib/yate/modules/help/99.yhlp
lib/yate/modules/skin/default/gtk2client.rc
lib/yate/modules/skin/default/gtk2client.ui
lib/yate/modules/skin/default/skin.png
lib/yate/modules/skin/default/skin_g.png
lib/yate/modules/skin/default/skin_h.png
lib/yate/modules/skin/default/skin_n.png
lib/yate/modules/skin/default/skin_p.png
lib/yate/modules/skin/tabbed/book.png
lib/yate/modules/skin/tabbed/close.png
lib/yate/modules/skin/tabbed/configure.png
lib/yate/modules/skin/tabbed/down.png
lib/yate/modules/skin/tabbed/gtk2client.rc
lib/yate/modules/skin/tabbed/gtk2client.ui
lib/yate/modules/skin/tabbed/ok.png
lib/yate/modules/skin/tabbed/phone.png
lib/yate/modules/skin/tabbed/quest.png
lib/yate/modules/skin/tabbed/up.png
lib/yate/modules/skin/tabbed/user.png
lib/yate/modules/accfile.yate
lib/yate/modules/analyzer.yate
lib/yate/modules/callfork.yate
lib/yate/modules/callgen.yate
lib/yate/modules/cdrbuild.yate
lib/yate/modules/cdrfile.yate
lib/yate/modules/conference.yate
lib/yate/modules/dbpbx.yate
lib/yate/modules/dumbchan.yate
lib/yate/modules/enumroute.yate
lib/yate/modules/extmodule.yate
%%WITH_FAX%%lib/yate/modules/faxchan.yate
lib/yate/modules/gsmcodec.yate
%%WITH_H323%%lib/yate/modules/h323chan.yate
lib/yate/modules/ilbccodec.yate
lib/yate/modules/moh.yate
lib/yate/modules/msgsniff.yate
%%WITH_MYSQL%%lib/yate/modules/mysqldb.yate
lib/yate/modules/park.yate
lib/yate/modules/pbx.yate
lib/yate/modules/pbxassist.yate
%%WITH_PGSQL%%lib/yate/modules/pgsqldb.yate
lib/yate/modules/queues.yate
lib/yate/modules/randcall.yate
lib/yate/modules/regexroute.yate
lib/yate/modules/regfile.yate
lib/yate/modules/register.yate
lib/yate/modules/rmanager.yate
lib/yate/modules/sipfeatures.yate
lib/yate/modules/speexcodec.yate
lib/yate/modules/tonedetect.yate
lib/yate/modules/tonegen.yate
lib/yate/modules/wavefile.yate
lib/yate/modules/yiaxchan.yate
lib/yate/modules/yjinglechan.yate
lib/yate/modules/yradius.yate
lib/yate/modules/yrtpchan.yate
lib/yate/modules/ysipchan.yate
lib/yate/modules/ystunchan.yate
%%WITH_ZAPTEL%%lib/yate/modules/zapchan.yate
lib/yate/scripts/Yate.pm
lib/yate/scripts/leavemail.php
lib/yate/scripts/libvoicemail.php
lib/yate/scripts/libyate.php
lib/yate/scripts/libyate.py
lib/yate/scripts/libyatechan.php
lib/yate/scripts/route.php
lib/yate/scripts/voicemail.php
libdata/pkgconfig/yate.pc
sbin/yate
sbin/yate-config
%%WITH_X11%%share/applications/yate-gtk2.desktop
share/doc/yate/COPYING
share/doc/yate/ChangeLog
share/doc/yate/README
share/doc/yate/README.too
@dirrm share/doc/yate
@dirrmtry etc/yate
@dirrm include/yate
%%WITH_X11%%@dirrmtry lib/menu
@dirrm lib/yate/scripts
@dirrm lib/yate/modules/skin/tabbed
@dirrm lib/yate/modules/skin/default
@dirrm lib/yate/modules/skin
@dirrm lib/yate/modules/help
@dirrm lib/yate/modules
@dirrm lib/yate
%%WITH_X11%%@dirrmtry share/applications