net/yate: update to 5.4.0p1

- Support stage
- Pass maintainership to submitter
- Use @sample

PR:		192991
Submitted by:	Nikola Kolev
This commit is contained in:
William Grzybowski 2014-08-26 11:48:55 +00:00
parent d8bdeaa793
commit 40353824f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366208
12 changed files with 1196 additions and 807 deletions

View file

@ -2,16 +2,19 @@
# $FreeBSD$
PORTNAME= yate
PORTVERSION= 4.3.0.p1 # XXX: please use DISTVERSION next time
DISTVERSION= 5.4.0p1
CATEGORIES= net
MASTER_SITES= http://yate.null.ro/tarballs/yate4/
DISTNAME= ${PORTNAME}-4.3.0-1
MASTER_SITES= http://yate.null.ro/tarballs/yate5/
DISTNAME= ${PORTNAME}-5.4.0-1
MAINTAINER= ports@FreeBSD.org
MAINTAINER= koue@chaosophia.net
COMMENT= Yet Another Telephony Engine
LIB_DEPENDS= libgsm.so:${PORTSDIR}/audio/gsm \
libspeex.so:${PORTSDIR}/audio/speex
LICENSE= GPLv2
LIB_DEPENDS= libasound.so:${PORTSDIR}/audio/alsa-lib \
libspeex.so:${PORTSDIR}/audio/speex \
libgsm.so:${PORTSDIR}/audio/gsm
ONLY_FOR_ARCHS= i386 amd64 sparc64
@ -25,144 +28,137 @@ CONFIGURE_ARGS= --without-fdsize \
--with-zlib=/usr
LDFLAGS+= -L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
PWLIBDIR=${LOCALBASE}/share/pwlib \
OPENH323DIR=${LOCALBASE}/share/openh323 \
OSVERSION=${OSVERSION}
MAN8= yate-config.8 yate.8
CFLAGS+= -I${LOCALBASE}/include
SUB_FILES= pkg-message
USE_RC_SUBR= yate
USERS= yate
GROUPS= yate
OPTIONS_DEFINE= MYSQL PGSQL SCTP AMR_NB ILBC SPANDSP DAHDI H323 SSL ALSA DOCS
OPTIONS_DEFAULT= SCTP
OPTIONS_DEFINE= DOCS MYSQL PGSQL SCTP DAHDI ILBC AMRNB SPANDSP H323 SSL
OPTIONS_DEFAULT=SCTP
SCTP_DESC= Stream Control Transmission Protocol support
DAHDI_DESC= Dahdi support
ILBC_DESC= iLBC narrowband speech codec support
AMRNB_DESC= Adaptive Multi-Rate Narrowband support
SPANDSP_DESC= Spandsp faxing support
DAHDI_DESC= Dahdi driver
H323_DESC= H323 software channel/protocol support
NO_STAGE= yes
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
CONFIGURE_ARGS+= --with-mysql
MAKE_ENV+= WITH_MYSQL=1
PLIST_SUB+= WITH_MYSQL=""
USE_MYSQL= yes
PLIST_SUB+= WITH_MYSQL=""
USE_MYSQL= yes
.else
CONFIGURE_ARGS+= --without-mysql
PLIST_SUB+= WITH_MYSQL="@comment "
PLIST_SUB+= WITH_MYSQL="@comment "
.endif
.if ${PORT_OPTIONS:MPGSQL}
CONFIGURE_ARGS+= --with-libpq=${LOCALBASE}
MAKE_ENV+= WITH_PGSQL=1
PLIST_SUB+= WITH_PGSQL=""
USE_PGSQL= yes
PLIST_SUB+= WITH_PGSQL=""
USE_PGSQL= yes
.else
CONFIGURE_ARGS+= --without-libpq
PLIST_SUB+= WITH_PGSQL="@comment "
PLIST_SUB+= WITH_PGSQL="@comment "
.endif
.if ${PORT_OPTIONS:MSCTP}
CONFIGURE_ARGS+= --enable-sctp
MAKE_ENV+= WITH_SCTP=1
PLIST_SUB+= WITH_SCTP=""
PLIST_SUB+= WITH_SCTP=""
.else
PLIST_SUB+= WITH_SCTP="@comment "
CONFIGURE_ARGS+= --disable-sctp
PLIST_SUB+= WITH_SCTP="@comment "
.endif
.if ${PORT_OPTIONS:MAMR_NB}
LIB_DEPENDS= libopencore-amrnb.so:${PORTSDIR}/audio/opencore-amr
CONFIGURE_ARGS+= --with-amrnb=${LOCALBASE}
PLIST_SUB+= WITH_AMR_NB=""
.if ${PORT_OPTIONS:MDAHDI}
CONFIGURE_ARGS+= --enable-dahdi
BUILD_DEPENDS+= libpri>=1.4.10:${PORTSDIR}/misc/libpri \
${LOCALBASE}/include/dahdi/user.h:${PORTSDIR}/misc/dahdi
LIB_DEPENDS+= libpri.so:${PORTSDIR}/misc/libpri \
libopenr2.so:${PORTSDIR}/misc/openr2
PLIST_SUB+= WITH_DAHDI=""
.else
CONFIGURE_ARGS+= --without-amrnb
PLIST_SUB+= WITH_AMR_NB="@comment "
CONFIGURE_ARGS+= --disable-dahdi
PLIST_SUB+= WITH_DAHDI="@comment "
.endif
.if ${PORT_OPTIONS:MILBC}
LIB_DEPENDS+= libilbc.so:${PORTSDIR}/net/ilbc
CONFIGURE_ARGS+= --enable-ilbc
PLIST_SUB+= WITH_ILBC=""
PLIST_SUB+= WITH_ILBC=""
.else
CONFIGURE_ARGS+= --disable-ilbc
PLIST_SUB+= WITH_ILBC="@comment "
PLIST_SUB+= WITH_ILBC="@comment "
.endif
.if ${PORT_OPTIONS:MAMRNB}
LIB_DEPENDS+= libamrnb.so:${PORTSDIR}/audio/libamrnb
CONFIGURE_ARGS+= --with-amrnb=${LOCALBASE}
PLIST_SUB+= WITH_AMRNB=""
.else
CONFIGURE_ARGS+= --without-amrnb
PLIST_SUB+= WITH_AMRNB="@comment "
.endif
.if ${PORT_OPTIONS:MSPANDSP}
CONFIGURE_ARGS+= --with-spandsp=${LOCALBASE}/include
LIB_DEPENDS+= libspandsp.so:${PORTSDIR}/comms/spandsp-devel
MAKE_ENV+= WITH_SPANDSP=1
PLIST_SUB+= WITH_SPANDSP=""
CONFIGURE_ARGS+= --with-spandsp
PLIST_SUB+= WITH_SPANDSP=""
.else
CONFIGURE_ARGS+= --without-spandsp
PLIST_SUB+= WITH_SPANDSP="@comment "
.endif
.if ${PORT_OPTIONS:MDAHDI}
CONFIGURE_ARGS+= --enable-dahdi --enable-wpcard --enable-tdmcard
BUILD_DEPENDS+= ${LOCALBASE}/include/dahdi/user.h:${PORTSDIR}/misc/dahdi
MAKE_ENV+= WITH_DAHDI=1
PLIST_SUB+= WITH_DAHDI=""
.else
CONFIGURE_ARGS+= --disable-dahdi
PLIST_SUB+= WITH_DAHDI="@comment "
PLIST_SUB+= WITH_SPANDSP="@comment "
.endif
.if ${PORT_OPTIONS:MH323}
CONFIGURE_ARGS+= --with-pwlib=${LOCALBASE} \
--with-openh323=${LOCALBASE}
LIB_DEPENDS+= libpt_r.so:${PORTSDIR}/devel/pwlib \
libh323_r.so:${PORTSDIR}/net/openh323
MAKE_ENV+= WITH_H323=1
PLIST_SUB+= WITH_H323=""
LIB_DEPENDS+= libopenh323.so:${PORTSDIR}/net/h323plus
CONFIGURE_ARGS+= --with-openh323=${LOCALBASE}
PLIST_SUB+= WITH_H323=""
.else
CONFIGURE_ARGS+= --without-openh323
PLIST_SUB+= WITH_H323="@comment "
PLIST_SUB+= WITH_H323="@comment "
.endif
.if ${PORT_OPTIONS:MSSL}
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE}
MAKE_ENV+= WITH_SSL=1
PLIST_SUB+= WITH_SSL=""
CONFIGURE_ARGS+= --with-openssl=/usr
PLIST_SUB+= WITH_SSL=""
.else
CONFIGURE_ARGS+= --without-openssl
PLIST_SUB+= WITH_SSL="@comment "
PLIST_SUB+= WITH_SSL="@comment "
.endif
.if ${PORT_OPTIONS:MALSA}
LIB_DEPENDS+= libasound.so:${PORTSDIR}/audio/alsa-lib
MAKE_ENV+= WITH_ALSA=1
PLIST_SUB+= WITH_ALSA=""
.else
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-noalsa
PLIST_SUB+= WITH_ALSA="@comment "
.endif
.if ! ${PORT_OPTIONS:MDOCS}
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-noportdocs
.endif
MAKE_JOBS_UNSAFE=yes
post-extract:
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
post-install:
@cd ${PREFIX}/etc/${PORTNAME}; \
for cfg in *.sample; do \
test -f $${cfg%%.sample} || ${CP} -p $${cfg} $${cfg%%.sample}; \
done
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
post-stage:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/yate
@cd ${STAGEDIR}${PREFIX}/lib; \
for FILE in *.5.4.0; do \
${STRIP_CMD} $${FILE}; \
done
@cd ${STAGEDIR}${PREFIX}/lib/yate; \
for FILE in *.yate; do \
${STRIP_CMD} $${FILE}; \
done
@cd ${STAGEDIR}${PREFIX}/lib/yate/client; \
for FILE in *.yate; do \
${STRIP_CMD} $${FILE}; \
done
@cd ${STAGEDIR}${PREFIX}/lib/yate/server; \
for FILE in *.yate; do \
${STRIP_CMD} $${FILE}; \
done
@cd ${STAGEDIR}${PREFIX}/lib/yate/jabber; \
for FILE in *.yate; do \
${STRIP_CMD} $${FILE}; \
done
@cd ${STAGEDIR}${PREFIX}/lib/yate/sip; \
for FILE in *.yate; do \
${STRIP_CMD} $${FILE}; \
done
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (yate-4.3.0-1.tar.gz) = 74d946f92c016cbb38e0e043a4084600be158ca73f59d31d48dfe04b22df89f0
SIZE (yate-4.3.0-1.tar.gz) = 3826549
SHA256 (yate-5.4.0-1.tar.gz) = 4705af7b4c110de11b0cee70e37f9815d130082a4c49b3f093cae07c79539344
SIZE (yate-5.4.0-1.tar.gz) = 5027248

View file

@ -1,23 +0,0 @@
--- ./configure.in.orig 2011-04-13 18:04:28.000000000 +0400
+++ ./configure.in 2011-04-13 18:04:59.000000000 +0400
@@ -609,20 +609,6 @@
HAVE_ALSA=no
AC_MSG_CHECKING([for ALSA headers])
-AC_TRY_COMPILE([
-#if defined(__linux__)
-#include <linux/soundcard.h>
-#elif defined (__FreeBSD__)
-#include <sys/soundcard.h>
-#else
-#include <soundcard.h>
-#endif
-
-#define ALSA_PCM_NEW_HW_PARAMS_API
-#include <alsa/asoundlib.h>
-],[],
-HAVE_ALSA="yes"
-)
AC_MSG_RESULT([$HAVE_ALSA])
AC_SUBST(HAVE_ALSA)

View file

@ -1,21 +0,0 @@
--- ./Makefile.in.orig 2012-05-09 16:33:15.000000000 +0400
+++ ./Makefile.in 2013-02-14 21:01:08.000000000 +0400
@@ -224,17 +224,9 @@
done
@for i in $(GENS) ; do \
install -m 0644 $$i "$(DESTDIR)$(incdir)/" ; \
- done
- @mkdir -p "$(DESTDIR)$(docdir)/api/" && \
- for i in $(DOCS) ; do \
- install -m 0644 @srcdir@/$$i "$(DESTDIR)$(docdir)/" ; \
done ;
-install-api: $(APIDOCS)
- @mkdir -p "$(DESTDIR)$(docdir)/api/" && \
- install -m 0644 @srcdir@/docs/*.html "$(DESTDIR)$(docdir)/" && \
- test -f "$(APIINDEX)" && \
- install -m 0644 @srcdir@/docs/api/*.* "$(DESTDIR)$(docdir)/api/"
+install-api:
uninstall uninstall-root:
@-for i in $(SLIBS) ; do \

View file

@ -1,42 +1,17 @@
--- ./Makefile.in.orig 2012-05-09 16:33:15.000000000 +0400
+++ ./Makefile.in 2013-02-14 19:58:02.000000000 +0400
@@ -20,7 +20,7 @@
MKDEPS := ./config.status
PROGS:= yate
YLIB := libyate.so.@PACKAGE_VERSION@
-SLIBS:= $(YLIB) libyate.so \
+SLIBS:= $(YLIB) libyate.so libyate.so.4 \
libyatescript.so.@PACKAGE_VERSION@ libyatescript.so \
libyatesig.so.@PACKAGE_VERSION@ libyatesig.so \
libyatemgcp.so.@PACKAGE_VERSION@ libyatemgcp.so \
@@ -48,7 +48,7 @@
libdir = @libdir@
incdir = @includedir@/yate
mandir = @mandir@
-docdir = @datadir@/doc/yate-@PACKAGE_VERSION@
+docdir = @datadir@/doc/yate
vardir = @localstatedir@/lib/yate
moddir = @libdir@/yate
shrdir = $(datadir)/yate
@@ -126,7 +126,7 @@
-rm -f configure yate-config.in
.PHONY: engine libs modules clients test apidocs-build apidocs-kdoc apidocs-doxygen apidocs-everything check-topdir check-ldconfig windows
-engine: library libyate.so $(PROGS)
+engine: libyate.so $(PROGS)
apidocs-kdoc: check-topdir
@if [ "x$(DOCGEN_K)" != x/bin/false ]; then \
@@ -217,7 +217,7 @@
--- Makefile.in.orig 2014-08-26 10:40:38.000000000 +0300
+++ Makefile.in 2014-08-26 10:41:58.000000000 +0300
@@ -227,8 +227,8 @@ install-noconf: all
for i in $(MAN8) ; do \
install -m 0644 @srcdir@/docs/man/$$i "$(DESTDIR)$(mandir)/man8/" ; \
done
@mkdir -p "$(DESTDIR)$(libdir)/pkgconfig/" && \
- @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)/" ; \
@@ -245,7 +245,7 @@
@@ -261,7 +261,7 @@ uninstall uninstall-root:
@-for i in $(PROGS) yate-config ; do \
rm "$(DESTDIR)$(bindir)/$$i" ; \
done
@ -45,15 +20,3 @@
rmdir $(DESTDIR)$(libdir)/pkgconfig
@-for i in $(INCS) $(GENS) ; do \
rm "$(DESTDIR)$(incdir)/$$i" ; \
@@ -320,9 +320,9 @@
libyate.so: $(YLIB)
ln -sf $^ $@
+ ln -sf $^ $@\.4
-.PHONY: library
-library $(YLIB): yatepaths.h
+$(YLIB): yatepaths.h
$(MAKE) -C ./engine all
.PHONY: help

View file

@ -1,56 +1,11 @@
--- ./configure.in.orig 2012-12-21 18:26:49.000000000 +0400
+++ ./configure.in 2013-02-14 19:58:02.000000000 +0400
@@ -643,7 +643,7 @@
AC_SUBST(MYSQL_VER)
HAVE_ZAP=no
-ZAP_FLAGS=""
+ZAP_FLAGS="-I/usr/local/include"
AC_ARG_ENABLE(dahdi,AC_HELP_STRING([--enable-dahdi],[Enable Dahdi driver (default: yes)]),want_dahdi=$enableval,want_dahdi=yes)
if [[ "x$want_dahdi" = "xyes" ]]; then
AC_MSG_CHECKING([for Dahdi generic headers])
@@ -662,7 +662,7 @@
#include <sys/ioctl.h>
],[ioctl(0,ZT_GETVERSION,(void*)0)],
HAVE_ZAP="yes"
-ZAP_FLAGS="-DNEW_ZAPTEL_LOCATION -DHAVE_ZAP"
+ZAP_FLAGS="-DNEW_ZAPTEL_LOCATION -DHAVE_ZAP -I/usr/local/include"
)
AC_MSG_RESULT([$HAVE_ZAP])
if [[ "x$HAVE_ZAP" = "xno" ]]; then
@@ -672,7 +672,7 @@
#include <sys/ioctl.h>
],[ioctl(0,ZT_GETVERSION,(void*)0)],
HAVE_ZAP="yes"
-ZAP_FLAGS="-DHAVE_ZAP"
+ZAP_FLAGS="-DHAVE_ZAP -I/usr/local/include"
)
AC_MSG_RESULT([$HAVE_ZAP])
fi
@@ -973,7 +973,7 @@
)
CFLAGS="$SAVE_CFLAGS"
if [[ "x$HAVE_SPEEX" = "xyes" ]]; then
- SPEEX_INC="-I$ac_cv_use_libspeex"
+ SPEEX_INC="-I$ac_cv_use_libspeex -I/usr/local/include"
fi
fi
AC_MSG_RESULT([$HAVE_SPEEX])
@@ -1155,7 +1155,7 @@
PWLIB_INC="-I$ac_cv_use_pwlib/include" # Base dir, ok for ptlib
if [[ "$vpw" '<' "02.00.00" ]]; then
# Pwlib-1.xm no ptlib (2.x) install into ptlib
- PWLIB_INC="$PWLIB_INC/ptlib"
+ PWLIB_INC="$PWLIB_INC $PWLIB_INC/ptlib"
if [[ "$vpw" '<' "01.06.00" ]]; then
# Very old pwlib needs more includes.
PWLIB_INC="$PWLIB_INC/unix/ptlib $PWLIB_INC/unix $PWLIB_INC"
@@ -1288,7 +1288,7 @@
--- configure.in.orig 2014-08-25 16:38:23.000000000 +0300
+++ configure.in 2014-08-25 16:38:50.000000000 +0300
@@ -1338,7 +1338,7 @@ elif [[ "x$ac_cv_use_openssl" != "xno" ]
AC_MSG_CHECKING([for OpenSSL in $ac_cv_use_openssl])
verssl=no
if [[ -f "$ac_cv_use_openssl/include/openssl/opensslconf.h" ]]; then
- verssl=`sed -n 's/^#define SHLIB_VERSION_NUMBER "\([0-9.]\+\)".*/\1/p' <$ac_cv_use_openssl/include/openssl/opensslv.h 2>/dev/null`
+ verssl=`sed -n 's/^#define SHLIB_VERSION_NUMBER "\([0-9.]*\)"/\1/p' <$ac_cv_use_openssl/include/openssl/opensslv.h 2>/dev/null`
+ verssl=`sed -n 's/^#define SHLIB_VERSION_NUMBER "\([0-9.]*\)".*/\1/p' <$ac_cv_use_openssl/include/openssl/opensslv.h 2>/dev/null`
if [[ "x$verssl" != "x" ]]; then
HAVE_OPENSSL=yes
OPENSSL_VER="$verssl"

View file

@ -0,0 +1,11 @@
--- engine/TelEngine.cpp.orig 2014-08-19 12:09:15.000000000 +0300
+++ engine/TelEngine.cpp 2014-08-19 12:08:27.000000000 +0300
@@ -803,7 +803,7 @@ int Time::timeZone()
if (localtime_r(&time,&t))
return t.tm_gmtoff;
#endif
- return -timezone;
+ return -(long int)timezone;
#endif
}

View file

@ -0,0 +1,11 @@
--- modules/Makefile.in.orig 2014-08-19 11:56:08.000000000 +0300
+++ modules/Makefile.in 2014-08-19 11:56:22.000000000 +0300
@@ -350,7 +350,7 @@ server/mgcpgw.yate: LOCALFLAGS = -I@top_
server/mgcpgw.yate: LOCALLIBS = -lyatemgcp -L../libs/ysdp -lyatesdp
server/lksctp.yate: EXTERNFLAGS = @SCTP_FLAGS@
-server/lksctp.yate: EXTERNLIBS = -lsctp
+server/lksctp.yate: EXTERNLIBS =
ilbccodec.yate: ../libs/ilbc/libilbc.a
ilbccodec.yate: LOCALFLAGS = @ILBC_INC@

View file

@ -1,29 +0,0 @@
--- ./modules/Makefile.in.orig 2012-12-21 18:26:49.000000000 +0400
+++ ./modules/Makefile.in 2013-02-14 20:01:20.000000000 +0400
@@ -32,7 +32,7 @@
ZLIB_LIB := @ZLIB_LIB@
SED := sed
DEFS :=
-INCLUDES := -I.. -I@top_srcdir@
+INCLUDES := -I.. -I@top_srcdir@ -I${LOCALBASE}/include
CFLAGS := @CFLAGS@ @MODULE_CFLAGS@ @INLINE_FLAGS@
CPPFLAGS := @CFLAGS@ @MODULE_CPPFLAGS@ @INLINE_FLAGS@
LDFLAGS:= @LDFLAGS@
@@ -83,7 +83,7 @@
callgen.yate analyzer.yate rmanager.yate msgsniff.yate
LIBS :=
-DIRS := client server jabber qt4 sip
+DIRS := client server jabber qt4 sip sig
ifneq ($(HAVE_PGSQL),no)
PROGS := $(PROGS) server/pgsqldb.yate
@@ -342,7 +342,7 @@
server/mgcpgw.yate: LOCALLIBS = -lyatemgcp -L../libs/ysdp -lyatesdp
server/lksctp.yate: EXTERNFLAGS = @SCTP_FLAGS@
-server/lksctp.yate: EXTERNLIBS = -lsctp
+server/lksctp.yate: EXTERNLIBS =
ilbccodec.yate: ../libs/ilbc/libilbc.a
ilbccodec.yate: LOCALFLAGS = @ILBC_INC@

View file

@ -1,11 +0,0 @@
--- ./modules/h323chan.cpp.orig 2012-10-24 15:19:15.000000000 +0400
+++ ./modules/h323chan.cpp 2013-02-14 19:58:02.000000000 +0400
@@ -897,7 +897,7 @@
static void ListRegisteredCaps(int level)
{
PFactory<H323Capability>::KeyList_T list = PFactory<H323Capability>::GetKeyList();
-#if (OPENH323_NUMVERSION >= 12000)
+#if (OPENH323_NUMVERSION >= 11900)
for (PFactory<H323Capability>::KeyList_T::const_iterator find = list.begin(); find != list.end(); ++find)
Debug(level,"Registed capability: '%s'",find->c_str());
#else

View file

@ -27,10 +27,11 @@ stop_postcmd="yate_poststop"
yate_prestart()
{
mkdir -p $(dirname $pidfile)
chown yate:yate $(dirname $pidfile)
mkdir -p $(dirname $cdrfile)
if [ x$cdrfile != "x" ]; then
mkdir -p $(dirname $cdrfile)
chown yate:yate $(dirname $cdrfile)
fi
mkdir -p $(dirname $logfile)
chown yate:yate $(dirname $cdrfile)
chown yate:yate $(dirname $logfile)
}

File diff suppressed because it is too large Load diff