1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Remove expired ports:

2014-04-30 x11-toolkits/gigi: Does not compile on 10 or higher
2014-04-30 net/asterisk-oh323: Depends on broken and unsupported asterisk14
2014-04-30 net/asterisk14: Broken and unsupported
2014-04-30 net/asterisk14-addons: Depends on broken and unsupported asterisk14
2014-04-30 ports-mgmt/pkg_install: Replaced by ports-mgmt/pkg
2014-05-01 x11-drivers/xf86-input-magictouch: Does not compile
2014-05-01 x11-drivers/xf86-video-cyrix: requires pciVideoPtr typedef
2014-05-01 x11-drivers/xf86-video-sis-intel: requires pciVideoPtr typedef
2014-05-01 net/py-spreadmodule: Depends on expired net/spread
2014-05-01 net/p5-Spread-Message: Depends on expired net/spread
2014-05-01 net/p5-POE-Component-Spread: Depends on expired net/spread
2014-05-01 net/p5-Spread-Session: Depends on expired net/spread
2014-05-01 sysutils/wmmemload: Broken
2014-05-01 lang/ml-pnet: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
2014-05-01 lang/treecc: PNET dependency decommissioned Dec 2012
2014-05-01 lang/pnetlib: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
2014-05-01 lang/pnet-base: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
2014-05-01 benchmarks/pnetmark: PNET dependency decommissioned Dec 2012
2014-05-01 lang/pnet: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
2014-05-01 x11-wm/stumpwm: Broken for more than 4 months
2014-05-01 sysutils/cpupowerd: Not maintained from upstream anymore and only supports ancient AMD K8.
2014-05-01 net/pchar: Obsolete, abandoned
2014-05-03 x11-fonts/texcm-ttf: Should be replaced by x11-fonts/stix-fonts
This commit is contained in:
Rene Ladan 2014-05-04 10:51:02 +00:00
parent 496193d869
commit 32e92194b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352941
158 changed files with 23 additions and 13675 deletions

1
LEGAL
View File

@ -245,7 +245,6 @@ taetgen-* math/tetgen Academic or personal use only
tarsnap-* sysutils/tarsnap license restricts redistribution of source and binaries
tcetest_* games/linux-enemyterritory-tce Redistribution limited
teamspeak* audio/teamspeak3-server No redistribution
texcm-ttf-20010117/* x11-fonts/texcm-ttf Cannot be sold or distributed with any commercial product
TFMESS_BSP_FreeBSD_* security/bsp_upektfmess License prohibits redistribution
thundercache www/thundercache Commercial software with shareware license to 50 threads
tinker* biology/tinker Distribution is prohibited

23
MOVED
View File

@ -6062,3 +6062,26 @@ science/netcdf-ftn|science/netcdf-fortran|2014-05-03|Use science/netcdf-fortran
science/netcdf3-ftn|science/netcdf-fortran|2014-05-03|Use science/netcdf-fortran instead
science/netcdf4|science/netcdf|2014-05-03|Use science/netcdf instead
net/wackamole||2014-05-04|Has expired: Depends on expired www/spread
x11-toolkits/gigi||2014-05-04|Has expired: Does not compile on 10 or higher
net/asterisk-oh323||2014-05-04|Has expired: Depends on broken and unsupported asterisk14
net/asterisk14||2014-05-04|Has expired: Broken and unsupported
net/asterisk14-addons||2014-05-04|Has expired: Depends on broken and unsupported asterisk14
ports-mgmt/pkg_install||2014-05-04|Has expired: Replaced by ports-mgmt/pkg
x11-drivers/xf86-input-magictouch||2014-05-04|Has expired: Does not compile
x11-drivers/xf86-video-cyrix||2014-05-04|Has expired: requires pciVideoPtr typedef
x11-drivers/xf86-video-sis-intel||2014-05-04|Has expired: requires pciVideoPtr typedef
net/py-spreadmodule||2014-05-04|Has expired: Depends on expired net/spread
net/p5-Spread-Message||2014-05-04|Has expired: Depends on expired net/spread
net/p5-POE-Component-Spread||2014-05-04|Has expired: Depends on expired net/spread
net/p5-Spread-Session||2014-05-04|Has expired: Depends on expired net/spread
sysutils/wmmemload||2014-05-04|Has expired: Broken
lang/ml-pnet||2014-05-04|Has expired: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
lang/treecc||2014-05-04|Has expired: PNET dependency decommissioned Dec 2012
lang/pnetlib||2014-05-04|Has expired: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
lang/pnet-base||2014-05-04|Has expired: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
benchmarks/pnetmark||2014-05-04|Has expired: PNET dependency decommissioned Dec 2012
lang/pnet||2014-05-04|Has expired: Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
x11-wm/stumpwm||2014-05-04|Has expired: Broken for more than 4 months
sysutils/cpupowerd||2014-05-04|Has expired: Not maintained from upstream anymore and only supports ancient AMD K8.
net/pchar||2014-05-04|Has expired: Obsolete, abandoned
x11-fonts/texcm-ttf||2014-05-04|Has expired: Should be replaced by x11-fonts/stix-fonts

View File

@ -52,7 +52,6 @@
SUBDIR += pear-Benchmark
SUBDIR += phoronix-test-suite
SUBDIR += pipebench
SUBDIR += pnetmark
SUBDIR += polygraph
SUBDIR += postal
SUBDIR += postmark

View File

@ -1,45 +0,0 @@
# Created by: michael johnson <ahze@ahze.net>
# $FreeBSD$
PORTNAME= pnetmark
PORTVERSION= 0.0.6
PORTREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= ${PNET_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PNET_MASTER_SITE_SUBDIR}
MAINTAINER= ports@FreeBSD.org
COMMENT= Benchmarking tool for Common Language Runtime (CLR)
DEPRECATED= PNET dependency decommissioned Dec 2012
EXPIRATION_DATE=2014-05-01
BUILD_DEPENDS= cscc:${PORTSDIR}/lang/pnet-base \
csunit:${PORTSDIR}/lang/pnetlib
RUN_DEPENDS= cscc:${PORTSDIR}/lang/pnet-base \
csunit:${PORTSDIR}/lang/pnetlib
GNU_CONFIGURE= yes
USES= gmake
STRIP= # Nothing to Strip
PORTDOCS= pm_faq.html
PNET_STRAP_BIN= pnetmark \
linpack \
scimark2
NO_STAGE= yes
.include "${.CURDIR}/../../lang/pnet/Makefile.pnet"
.include <bsd.port.pre.mk>
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/src/pnetmark.exe ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/linpack/linpack.exe ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/scimark2/scimark2.exe ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for docfile in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
SHA256 (pnetmark-0.0.6.tar.gz) = 1f0076a9ebfbcb7d5ed1fc7e0534ba5e06100479a14ae4ebf31b32fad6c5ea8b
SIZE (pnetmark-0.0.6.tar.gz) = 88442

View File

@ -1,5 +0,0 @@
PNetMark is a benchmarking tool for Common Language Runtime (CLR)
environments. It is loosely based on the techniques used by the
CaffeineMark to benchmark Java.
WWW: http://www.southern-storm.com.au/portable_net.html

View File

@ -155,7 +155,6 @@
SUBDIR += metaocaml
SUBDIR += mit-scheme
SUBDIR += mixal
SUBDIR += ml-pnet
SUBDIR += mlton
SUBDIR += mmix
SUBDIR += modula3
@ -247,9 +246,6 @@
SUBDIR += picoc
SUBDIR += pike76
SUBDIR += pike78
SUBDIR += pnet
SUBDIR += pnet-base
SUBDIR += pnetlib
SUBDIR += polyml
SUBDIR += ptoc
SUBDIR += pure
@ -338,7 +334,6 @@
SUBDIR += tinypy
SUBDIR += tolua
SUBDIR += tolua++
SUBDIR += treecc
SUBDIR += tuareg-mode.el
SUBDIR += twelf
SUBDIR += ucc

View File

@ -1,27 +0,0 @@
# Created by: Michael Johnson <ahze@ahze.net>
# $FreeBSD$
PORTNAME= ml-pnet
PORTVERSION= ${PNET_VERSION}
PORTREVISION= ${PNET_REVISION}
CATEGORIES= lang
MASTER_SITES= ${PNET_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PNET_MASTER_SITE_SUBDIR}
MAINTAINER= ports@FreeBSD.org
COMMENT= Mono's upper-level libraries
DEPRECATED= Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
EXPIRATION_DATE=2014-05-01
BUILD_DEPENDS= cscc:${PORTSDIR}/lang/pnet-base \
treecc:${PORTSDIR}/lang/treecc \
${LOCALBASE}/lib/cscc/lib/libXsharpSupport.so.0:${PORTSDIR}/lang/pnetlib
RUN_DEPENDS= ${LOCALBASE}/lib/cscc/lib/libXsharpSupport.so.0:${PORTSDIR}/lang/pnetlib
GNU_CONFIGURE= yes
USE_GMAKE= yes
NO_STAGE= yes
.include "${.CURDIR}/../pnet/Makefile.pnet"
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (ml-pnet-0.8.0.tar.gz) = 87860006b9f01b6bef47719f4a8e722b69f7304637308656cb7b31ada4111d96
SIZE (ml-pnet-0.8.0.tar.gz) = 4366929

View File

@ -1,4 +0,0 @@
Some of the Mono upper-level libraries in a form that can be easily compiled
and used with pnet's CLI implementation. The source code is Mono's.
WWW: http://www.southern-storm.com.au/portable_net.html

View File

@ -1,69 +0,0 @@
bin/nunit-console-pnet
bin/sqlsharp-pnet
bin/wsdl-pnet
lib/cscc/lib/0.7.6.1/ByteFX.Data.dll
lib/cscc/lib/1.0.0.0/IBM.Data.DB2.dll
lib/cscc/lib/1.0.0.0/Mono.GetOptions.dll
lib/cscc/lib/1.0.5000.0/PEAPI.dll
lib/cscc/lib/1.0.5000.0/Mono.Security.dll
lib/cscc/lib/1.0.5000.0/Mono.Data.Tds.dll
lib/cscc/lib/1.0.5000.0/Npgsql.dll
lib/cscc/lib/1.0.5000.0/Mono.Data.SqliteClient.dll
lib/cscc/lib/1.0.5000.0/Mono.Data.SybaseClient.dll
lib/cscc/lib/1.0.5000.0/Mono.Data.TdsClient.dll
lib/cscc/lib/1.0.5000.0/Mono.Cairo.dll
lib/cscc/lib/1.0.5000.0/Novell.Directory.Ldap.dll
lib/cscc/lib/1.0.5000.0/Mono.Http.dll
lib/cscc/lib/2.0.0.0/Custommarshalers.dll
lib/cscc/lib/2.0.0.0/System.Data.OracleClient.dll
lib/cscc/lib/2.0.0.0/System.Data.dll
lib/cscc/lib/2.0.0.0/System.DirectoryServices.dll
lib/cscc/lib/2.0.0.0/System.Management.dll
lib/cscc/lib/2.0.0.0/System.Messaging.dll
lib/cscc/lib/2.0.0.0/System.Runtime.Remoting.dll
lib/cscc/lib/2.0.0.0/System.Runtime.Serialization.Formatters.Soap.dll
lib/cscc/lib/2.0.0.0/System.Security.dll
lib/cscc/lib/2.0.0.0/System.ServiceProcess.dll
lib/cscc/lib/2.0.0.0/System.Web.Services.dll
lib/cscc/lib/2.0.0.0/System.Web.dll
lib/cscc/lib/2.0.0.0/nunit.core.dll
lib/cscc/lib/2.0.0.0/nunit.framework.dll
lib/cscc/lib/2.0.0.0/nunit.util.dll
lib/cscc/lib/2.0.0.0/sqlsharp-pnet.exe
lib/cscc/lib/2.0.0.0/wsdl-pnet.exe
lib/cscc/lib/2.2.0.0/nunit-console-pnet.exe
lib/cscc/lib/ByteFX.Data.dll
lib/cscc/lib/Custommarshalers.dll
lib/cscc/lib/IBM.Data.DB2.dll
lib/cscc/lib/Mono.Cairo.dll
lib/cscc/lib/Mono.Data.SqliteClient.dll
lib/cscc/lib/Mono.Data.SybaseClient.dll
lib/cscc/lib/Mono.Data.Tds.dll
lib/cscc/lib/Mono.Data.TdsClient.dll
lib/cscc/lib/Mono.GetOptions.dll
lib/cscc/lib/Mono.Http.dll
lib/cscc/lib/Mono.Security.dll
lib/cscc/lib/Novell.Directory.Ldap.dll
lib/cscc/lib/Npgsql.dll
lib/cscc/lib/PEAPI.dll
lib/cscc/lib/System.Data.OracleClient.dll
lib/cscc/lib/System.Data.dll
lib/cscc/lib/System.DirectoryServices.dll
lib/cscc/lib/System.Management.dll
lib/cscc/lib/System.Messaging.dll
lib/cscc/lib/System.Runtime.Remoting.dll
lib/cscc/lib/System.Runtime.Serialization.Formatters.Soap.dll
lib/cscc/lib/System.Security.dll
lib/cscc/lib/System.ServiceProcess.dll
lib/cscc/lib/System.Web.Services.dll
lib/cscc/lib/System.Web.dll
lib/cscc/lib/nunit-console-pnet.exe
lib/cscc/lib/nunit.core.dll
lib/cscc/lib/nunit.framework.dll
lib/cscc/lib/nunit.util.dll
lib/cscc/lib/sqlsharp-pnet.exe
lib/cscc/lib/wsdl-pnet.exe
@dirrmtry lib/cscc/lib/2.2.0.0
@dirrmtry lib/cscc/lib/1.0.5000.0
@dirrmtry lib/cscc/lib/1.0.0.0
@dirrmtry lib/cscc/lib/0.7.6.1

View File

@ -1,69 +0,0 @@
# Created by: Michael Johnson <ahze@ahze.net>
# $FreeBSD$
PORTNAME= pnet
PORTVERSION= ${PNET_VERSION}
PORTREVISION= ${PNET_REVISION}
CATEGORIES= lang
MASTER_SITES= ${PNET_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PNET_MASTER_SITE_SUBDIR}
PKGNAMESUFFIX= base
MAINTAINER= ports@FreeBSD.org
COMMENT= C\# compiler and runtime engine
BUILD_DEPENDS= treecc:${PORTSDIR}/lang/treecc
DEPRECATED= Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
EXPIRATION_DATE=2014-05-01
NOT_FOR_ARCHS= sparc64
.if !defined(WITHOUT_X11)
USE_XLIB= yes
.endif
GNU_CONFIGURE= yes
USES= gmake
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ARGS+= --enable-threads=posix
.if !defined(WITH_OPTIMIZED_CFLAGS)
CONFIGURE_ARGS+= --disable-optimizations
.endif
PORTDOCS= pnetasm.texi pnettools.info pnettools.texi texinfo.tex
INFO= pnettools
.include "${.CURDIR}/../pnet/Makefile.pnet"
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386" || ${OSVERSION} < 700000
CONFIGURE_ARGS+= --without-libffi \
--without-libgc
PLIST_SUB= I386="@comment "
.else
PLIST_SUB= I386=""
.endif
post-everything::
.if !defined(WITH_OPTIMIZED_CFLAGS)
@${ECHO_MSG} "Define optimized CFLAGS with"
@${ECHO_MSG} "WITH_OPTIMIZED_CFLAGS=yes"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|`$$CC -print-multi-os-directory 2>/dev/null`|elf|' \
${WRKSRC}/libffi/configure
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/ltconfig \
${WRKSRC}/libgc/configure
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docfile in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
SHA256 (pnet-0.8.0.tar.gz) = f1340ae3567a5f05729d9d201bd719268ceca07bde4f62c58a92abfda64551bb
SIZE (pnet-0.8.0.tar.gz) = 4510420

View File

@ -1,5 +0,0 @@
DotGNU Portable.NET contains a runtime engine, C# compiler, and a host of
useful development tools, all written in C. This package is generally
referred to as "pnet".
WWW: http://www.southern-storm.com.au/portable_net.html

View File

@ -1,179 +0,0 @@
bin/al
bin/cli-unknown-ar
bin/cli-unknown-cpp
bin/cli-unknown-gcc
bin/cli-unknown-ranlib
bin/cli-unknown-size
bin/cli-unknown-strip
bin/clrwrap
bin/csant
bin/cscc
bin/cscc-cpp
bin/csdoc
bin/csdoc2hier
bin/csdoc2html
bin/csdoc2texi
bin/cssrc2html
bin/ilalink
bin/ilasm
bin/ildasm
bin/ildd
bin/ilfind
bin/ilgac
bin/ilheader
bin/ilnative
bin/ilranlib
bin/ilrun
bin/ilsize
bin/ilstrip
bin/ilverify
bin/resgen
man/man1/al.1.gz
man/man1/cli-unknown-ar.1.gz
man/man1/cli-unknown-cpp.1.gz
man/man1/cli-unknown-gcc.1.gz
man/man1/cli-unknown-ranlib.1.gz
man/man1/cli-unknown-size.1.gz
man/man1/cli-unknown-strip.1.gz
man/man1/clrwrap.1.gz
man/man1/csant.1.gz
man/man1/cscc-cpp.1.gz
man/man1/cscc.1.gz
man/man1/csdoc.1.gz
man/man1/csdoc2hier.1.gz
man/man1/csdoc2html.1.gz
man/man1/csdoc2texi.1.gz
man/man1/cssrc2html.1.gz
man/man1/ilalink.1.gz
man/man1/ilasm.1.gz
man/man1/ildasm.1.gz
man/man1/ildd.1.gz
man/man1/ilfind.1.gz
man/man1/ilgac.1.gz
man/man1/ilheader.1.gz
man/man1/ilnative.1.gz
man/man1/ilranlib.1.gz
man/man1/ilrun.1.gz
man/man1/ilsize.1.gz
man/man1/ilstrip.1.gz
man/man1/ilverify.1.gz
man/man1/resgen.1.gz
%%I386%%include/ffi.h
%%I386%%include/ffitarget.h
%%I386%%include/gc/gc.h
%%I386%%include/gc/gc_typed.h
%%I386%%include/gc/gc_inl.h
%%I386%%include/gc/gc_inline.h
%%I386%%include/gc/gc_mark.h
%%I386%%include/gc/gc_cpp.h
%%I386%%include/gc/weakpointer.h
%%I386%%include/gc/gc_alloc.h
%%I386%%include/gc/new_gc_alloc.h
%%I386%%include/gc/gc_allocator.h
%%I386%%include/gc/gc_backptr.h
%%I386%%include/gc/gc_gcj.h
%%I386%%include/gc/gc_local_alloc.h
%%I386%%include/gc/leak_detector.h
%%I386%%include/gc/gc_amiga_redirects.h
%%I386%%include/gc/gc_pthread_redirects.h
%%I386%%include/gc/gc_config_macros.h
%%I386%%include/gc.h
%%I386%%include/gc_local_alloc.h
%%I386%%include/gc_pthread_redirects.h
%%I386%%include/gc_config_macros.h
%%I386%%include/gc_typed.h
%%I386%%include/leak_detector.h
include/pnet/il_align.h
include/pnet/il_bignum.h
include/pnet/il_coder.h
include/pnet/il_config.h
include/pnet/il_console.h
include/pnet/il_crypt.h
include/pnet/il_debug.h
include/pnet/il_debugger.h
include/pnet/il_decimal.h
include/pnet/il_dumpasm.h
include/pnet/il_engine.h
include/pnet/il_errno.h
include/pnet/il_gc.h
include/pnet/il_image.h
include/pnet/il_jopcodes.h
include/pnet/il_linker.h
include/pnet/il_meta.h
include/pnet/il_opcodes.h
include/pnet/il_profile.h
include/pnet/il_program.h
include/pnet/il_regex.h
include/pnet/il_serial.h
include/pnet/il_serialize.h
include/pnet/il_sysio.h
include/pnet/il_system.h
include/pnet/il_thread.h
include/pnet/il_types.h
include/pnet/il_utils.h
include/pnet/il_values.h
include/pnet/il_writer.h
include/pnet/il_xml.h
lib/cscc/plugins/cscc-b
lib/cscc/plugins/cscc-bf
lib/cscc/plugins/cscc-c-s
lib/cscc/plugins/cscc-cs
lib/cscc/plugins/cscc-csharp
lib/cscc/plugins/cscc-java
lib/cscc/plugins/cscc-vb
%%I386%%lib/libgc.a
%%I386%%lib/libgc.so
%%I386%%lib/libgc.so.1
%%I386%%lib/libgc.la
lib/libILAsm.a
lib/libILCodeGen.a
lib/libILDumpAsm.a
lib/libILEngine.a
lib/libILImage.a
lib/libILLink.a
lib/libILSupport.a
%%I386%%lib/libffi.so.4
%%I386%%lib/libffi.so
%%I386%%lib/libffi.la
%%I386%%lib/libffi.a
%%I386%%share/gc/README
%%I386%%share/gc/README.DGUX386
%%I386%%share/gc/README.Mac
%%I386%%share/gc/README.MacOSX
%%I386%%share/gc/README.OS2
%%I386%%share/gc/README.amiga
%%I386%%share/gc/README.arm.cross
%%I386%%share/gc/README.autoconf
%%I386%%share/gc/README.changes
%%I386%%share/gc/README.contributors
%%I386%%share/gc/README.cords
%%I386%%share/gc/README.darwin
%%I386%%share/gc/README.dj
%%I386%%share/gc/README.environment
%%I386%%share/gc/README.ews4800
%%I386%%share/gc/README.hp
%%I386%%share/gc/README.linux
%%I386%%share/gc/README.macros
%%I386%%share/gc/README.rs6000
%%I386%%share/gc/README.sgi
%%I386%%share/gc/README.solaris2
%%I386%%share/gc/README.uts
%%I386%%share/gc/README.win32
%%I386%%share/gc/barrett_diagram
%%I386%%share/gc/debugging.html
%%I386%%share/gc/gc.man
%%I386%%share/gc/gcdescr.html
%%I386%%share/gc/gcinterface.html
%%I386%%share/gc/leak.html
%%I386%%share/gc/scale.html
%%I386%%share/gc/simple_example.html
%%I386%%share/gc/tree.html
%%I386%%@dirrmtry include/gc
%%I386%%@dirrmtry include/pnet/gc
@dirrmtry include/pnet
@dirrmtry lib/cscc/plugins
@dirrmtry lib/cscc
%%I386%%@dirrmtry lib/elf
%%I386%%@dirrmtry lib/pnet/elf
%%I386%%@dirrmtry lib/pnet
%%I386%%@dirrmtry share/gc

View File

@ -1,29 +0,0 @@
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= pnet
PORTVERSION= ${PNET_VERSION}
PORTREVISION= ${PNET_REVISION}
CATEGORIES= lang
MASTER_SITES= # empty
DISTFILES= # empty
EXTRACT_ONLY= # empty
MAINTAINER= ports@FreeBSD.org
COMMENT= The "meta-port" for DotGNU Portable.NET
BUILD_DEPENDS= treecc:${PORTSDIR}/lang/treecc
RUN_DEPENDS= cscc:${PORTSDIR}/lang/pnet-base \
csunit:${PORTSDIR}/lang/pnetlib \
sqlsharp-pnet:${PORTSDIR}/lang/ml-pnet
DEPRECATED= Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
EXPIRATION_DATE=2014-05-01
NO_BUILD= yes
do-install: # empty
NO_STAGE= yes
.include "../pnet/Makefile.pnet"
.include <bsd.port.mk>

View File

@ -1,59 +0,0 @@
PNET_VERSION= 0.8.0
PNET_REVISION= 1
PNET_PORTVER= ${PNET_VERSION}.${PNET_REVISION}
PNET_PORTREV= 0
PNET_PORTEPOCH= 0
PNET_MASTER_SITES= ${MASTER_SITE_GNU}
PNET_MASTER_SITE_SUBDIR= dotgnu/pnet/
ILSTRIP_CMD= ${LOCALBASE}/bin/ilstrip
ILRUN_CMD= ${LOCALBASE}/bin/ilrun
.if defined(WITH_OPTIMIZED_CSFLAGS)
CSFLAGS+=-O2
.endif
.if defined(PNET_STRAP_BIN) || defined(PNET_STRAP_SBIN)
PNET_STRAP_SUFX?= .exe
PNET_BIN_WRKDIR?= ${WRKDIR}/PNET_STRAP/bin
PNET_SBIN_WRKDIR?= ${WRKDIR}/PNET_STRAP/sbin
.for strap in ${PNET_STRAP_BIN}
PLIST_FILES+= bin/${strap} bin/${strap}${PNET_STRAP_SUFX}
.endfor
.for strap in ${PNET_STRAP_SBIN}
PLIST_FILES+= sbin/${strap} sbin/${strap}${PNET_STRAP_SUFX}
.endfor
pre-patch: pnet-strap
pnet-strap:
@${MKDIR} ${PNET_BIN_WRKDIR}
@${MKDIR} ${PNET_SBIN_WRKDIR}
.for strap in ${PNET_STRAP_BIN}
@${ECHO_CMD} "#!${SH}" >> ${PNET_BIN_WRKDIR}/${strap}
@${ECHO_CMD} "${ILRUN_CMD} ${ILRUN_FLAGS} ${PREFIX}/bin/${strap}${PNET_STRAP_SUFX}" >> ${PNET_BIN_WRKDIR}/${strap}
.endfor
.for strap in ${PNET_STRAP_SBIN}
@${ECHO_CMD} -n "#!${SH}" >> ${PNET_SBIN_WRKDIR}/${strap}
@${EHCO_CMD} -n "${ILRUN_CMD} ${ILRUN_FLAGS} ${PREFIX}/sbin/${strap}${PNET_STRAP_SUFX}" >> ${PNET_SBIN_WRKDIR}/${strap}
.endfor
post-install: pnet-strap-install
pnet-strap-install:
.for strap in ${PNET_STRAP_BIN}
@${INSTALL_SCRIPT} ${PNET_BIN_WRKDIR}/${strap} ${PREFIX}/bin
.endfor
.for strap in ${PNET_STRAP_SBIN}
@${INSTALL_SCRIPT} ${PNET_SBIN_WRKDIR}/${strap} ${PREFIX}/sbin
.endfor
.endif
pre-everything:: post-everything
.if !defined(WITH_OPTIMIZED_CSFLAGS)
@${ECHO_MSG} "Define optimized CSFLAGS with"
@${ECHO_MSG} "WITH_OPTIMIZED_CSFLAGS=yes"
.endif
post-everything::

View File

@ -1,7 +0,0 @@
Meta-port package for pnet.
DotGNU Portable.NET contains a runtime engine, C# compiler, and a host of
useful development tools, all written in C. This package is generally
referred to as "pnet".
WWW: http://www.southern-storm.com.au/portable_net.html

View File

@ -1,43 +0,0 @@
# Created by: Michael Johnson <ahze@ahze.net>
# $FreeBSD$
PORTNAME= pnetlib
PORTVERSION= ${PNET_VERSION}
PORTREVISION= ${PNET_REVISION}
CATEGORIES= lang
MASTER_SITES= ${PNET_MASTER_SITES}
MASTER_SITE_SUBDIR= ${PNET_MASTER_SITE_SUBDIR}
MAINTAINER= ports@FreeBSD.org
COMMENT= C\# system library for pnet
BUILD_DEPENDS= cscc:${PORTSDIR}/lang/pnet-base \
treecc:${PORTSDIR}/lang/treecc
DEPRECATED= Alpha-quality abandonware - Decommissioned Dec 2012 - Use mono
EXPIRATION_DATE=2014-05-01
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
PORTDOCS= ChangeLog-1 ChangeLog-2 ChangeLog-3 ChangeLog-4 \
JScript-embed.txt JScript-internals.txt csunit_howto.html \
pcf-font-format.txt translating-pnetlib.txt
OPTIONS_DEFINE= X11
OPTIONS_DEFAULT= X11
X11_USE= XORG=x11
post-patch:
@${REINPLACE_CMD} 's|$$(LN_S) $$(DESTDIR)$$(libdir)/cscc/lib/$$(FRAMEWORK_VERSION)/pinvoke.map|$$(LN_S) $$(FRAMEWORK_VERSION)/pinvoke.map|' \
${WRKSRC}/tools/Makefile.in
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} \
$$ac_aux_dir|$$ac_aux_dir|' ${WRKSRC}/configure
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}
.include "${.CURDIR}/../pnet/Makefile.pnet"
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (pnetlib-0.8.0.tar.gz) = baea8982b09b0a7b65fb65c918e4bf2b040e959f25d3c8681e379a9ebd2db9a9
SIZE (pnetlib-0.8.0.tar.gz) = 5092807

View File

@ -1,4 +0,0 @@
C# class libraries, including "mscorlib.dll", "System.dll", "System.Xml.dll",
"System.Drawing.dll", "System.Windows.Forms.dll", etc.
WWW: http://www.southern-storm.com.au/portable_net.html

View File

@ -1,145 +0,0 @@
bin/csunit
bin/ilinstall
bin/jsrun
lib/cscc/lib/0.81.0.1407/ICSharpCode.SharpZipLib.dll
lib/cscc/lib/2.0.0.0/Accessibility.dll
lib/cscc/lib/2.0.0.0/DotGNU.Images.dll
lib/cscc/lib/2.0.0.0/DotGNU.Misc.dll
lib/cscc/lib/2.0.0.0/DotGNU.SSL.dll
lib/cscc/lib/2.0.0.0/DotGNU.Terminal.dll
lib/cscc/lib/2.0.0.0/DotGNU.XmlRpc.dll
lib/cscc/lib/2.0.0.0/I18N.CJK.dll
lib/cscc/lib/2.0.0.0/I18N.MidEast.dll
lib/cscc/lib/2.0.0.0/I18N.Other.dll
lib/cscc/lib/2.0.0.0/I18N.Rare.dll
lib/cscc/lib/2.0.0.0/I18N.West.dll
lib/cscc/lib/2.0.0.0/I18N.dll
lib/cscc/lib/2.0.0.0/ISymWrapper.dll
lib/cscc/lib/2.0.0.0/OpenSystem.C.dll
lib/cscc/lib/2.0.0.0/OpenSystem.Platform.dll
lib/cscc/lib/2.0.0.0/System.Configuration.Install.dll
lib/cscc/lib/2.0.0.0/System.Deployment.dll
lib/cscc/lib/2.0.0.0/System.Design.dll
lib/cscc/lib/2.0.0.0/System.Drawing.Postscript.dll
lib/cscc/lib/2.0.0.0/System.Drawing.Win32.dll
lib/cscc/lib/2.0.0.0/System.Drawing.Xsharp.dll
lib/cscc/lib/2.0.0.0/System.Drawing.dll
lib/cscc/lib/2.0.0.0/System.EnterpriseServices.dll
lib/cscc/lib/2.0.0.0/System.Net.IrDA.dll
lib/cscc/lib/2.0.0.0/System.Windows.Forms.Themes.XP.dll
lib/cscc/lib/2.0.0.0/System.Windows.Forms.dll
lib/cscc/lib/2.0.0.0/System.Xml.dll
lib/cscc/lib/2.0.0.0/System.dll
lib/cscc/lib/2.0.0.0/Xsharp.dll
lib/cscc/lib/2.0.0.0/ca/I18N.resources.dll
lib/cscc/lib/2.0.0.0/ca/System.Configuration.Install.resources.dll
lib/cscc/lib/2.0.0.0/ca/System.Drawing.resources.dll
lib/cscc/lib/2.0.0.0/ca/System.Net.IrDA.resources.dll
lib/cscc/lib/2.0.0.0/ca/System.Windows.Forms.resources.dll
lib/cscc/lib/2.0.0.0/ca/System.Xml.resources.dll
lib/cscc/lib/2.0.0.0/ca/System.resources.dll
lib/cscc/lib/2.0.0.0/ca/Xsharp.resources.dll
lib/cscc/lib/2.0.0.0/ca/mscorlib.resources.dll
lib/cscc/lib/2.0.0.0/cstest.dll
lib/cscc/lib/2.0.0.0/csunit.exe
lib/cscc/lib/2.0.0.0/de/I18N.resources.dll
lib/cscc/lib/2.0.0.0/de/System.Configuration.Install.resources.dll
lib/cscc/lib/2.0.0.0/de/System.Drawing.resources.dll
lib/cscc/lib/2.0.0.0/de/System.Net.IrDA.resources.dll
lib/cscc/lib/2.0.0.0/de/System.Windows.Forms.resources.dll
lib/cscc/lib/2.0.0.0/de/System.Xml.resources.dll
lib/cscc/lib/2.0.0.0/de/System.resources.dll
lib/cscc/lib/2.0.0.0/de/Xsharp.resources.dll
lib/cscc/lib/2.0.0.0/de/mscorlib.resources.dll
lib/cscc/lib/2.0.0.0/ilinstall.exe
lib/cscc/lib/2.0.0.0/mscorlib.dll
lib/cscc/lib/2.0.0.0/pinvoke.map
lib/cscc/lib/2.0.0.0/sysglobl.dll
lib/cscc/lib/8.0.50727.42/Microsoft.JScript.dll
lib/cscc/lib/8.0.50727.42/Microsoft.VisualBasic.dll
lib/cscc/lib/8.0.50727.42/Microsoft.VisualC.dll
lib/cscc/lib/8.0.50727.42/Microsoft.Vsa.dll
lib/cscc/lib/8.0.50727.42/ca/Microsoft.VisualBasic.resources.dll
lib/cscc/lib/8.0.50727.42/cscompmgd.dll
lib/cscc/lib/8.0.50727.42/de/Microsoft.VisualBasic.resources.dll
lib/cscc/lib/8.0.50727.42/jsrun.exe
lib/cscc/lib/Accessibility.dll
lib/cscc/lib/DotGNU.Images.dll
lib/cscc/lib/DotGNU.Misc.dll
lib/cscc/lib/DotGNU.SSL.dll
lib/cscc/lib/DotGNU.Terminal.dll
lib/cscc/lib/DotGNU.XmlRpc.dll
lib/cscc/lib/I18N.CJK.dll
lib/cscc/lib/I18N.MidEast.dll
lib/cscc/lib/I18N.Other.dll
lib/cscc/lib/I18N.Rare.dll
lib/cscc/lib/I18N.West.dll
lib/cscc/lib/I18N.dll
lib/cscc/lib/ICSharpCode.SharpZipLib.dll
lib/cscc/lib/ISymWrapper.dll
lib/cscc/lib/Microsoft.JScript.dll
lib/cscc/lib/Microsoft.VisualBasic.dll
lib/cscc/lib/Microsoft.VisualC.dll
lib/cscc/lib/Microsoft.Vsa.dll
lib/cscc/lib/OpenSystem.C.dll
lib/cscc/lib/OpenSystem.Platform.dll
lib/cscc/lib/System.Configuration.Install.dll
lib/cscc/lib/System.Deployment.dll
lib/cscc/lib/System.Design.dll
lib/cscc/lib/System.Drawing.Postscript.dll
lib/cscc/lib/System.Drawing.Win32.dll
lib/cscc/lib/System.Drawing.Xsharp.dll
lib/cscc/lib/System.Drawing.dll
lib/cscc/lib/System.EnterpriseServices.dll
lib/cscc/lib/System.Net.IrDA.dll
lib/cscc/lib/System.Windows.Forms.Themes.XP.dll
lib/cscc/lib/System.Windows.Forms.dll
lib/cscc/lib/System.Xml.dll
lib/cscc/lib/System.dll
lib/cscc/lib/Xsharp.dll
lib/cscc/lib/ca/I18N.resources.dll
lib/cscc/lib/ca/Microsoft.VisualBasic.resources.dll
lib/cscc/lib/ca/System.Configuration.Install.resources.dll
lib/cscc/lib/ca/System.Drawing.resources.dll
lib/cscc/lib/ca/System.Net.IrDA.resources.dll
lib/cscc/lib/ca/System.Windows.Forms.resources.dll
lib/cscc/lib/ca/System.Xml.resources.dll
lib/cscc/lib/ca/System.resources.dll
lib/cscc/lib/ca/Xsharp.resources.dll
lib/cscc/lib/ca/mscorlib.resources.dll
lib/cscc/lib/cscompmgd.dll
lib/cscc/lib/cstest.dll
lib/cscc/lib/csunit.exe
lib/cscc/lib/de/I18N.resources.dll
lib/cscc/lib/de/Microsoft.VisualBasic.resources.dll
lib/cscc/lib/de/System.Configuration.Install.resources.dll
lib/cscc/lib/de/System.Drawing.resources.dll
lib/cscc/lib/de/System.Net.IrDA.resources.dll
lib/cscc/lib/de/System.Windows.Forms.resources.dll
lib/cscc/lib/de/System.Xml.resources.dll
lib/cscc/lib/de/System.resources.dll
lib/cscc/lib/de/Xsharp.resources.dll
lib/cscc/lib/de/mscorlib.resources.dll
lib/cscc/lib/ilinstall.exe
lib/cscc/lib/jsrun.exe
lib/cscc/lib/libXsharpSupport.a
lib/cscc/lib/libXsharpSupport.la
lib/cscc/lib/libXsharpSupport.so
lib/cscc/lib/libXsharpSupport.so.0
lib/cscc/lib/mscorlib.dll
lib/cscc/lib/pinvoke.map
lib/cscc/lib/sysglobl.dll
share/cscc/config/machine.default
@dirrm share/cscc/config
@dirrmtry share/cscc
@dirrmtry lib/cscc/lib/8.0.50727.42/de
@dirrmtry lib/cscc/lib/8.0.50727.42/ca
@dirrmtry lib/cscc/lib/8.0.50727.42
@dirrmtry lib/cscc/lib/2.0.0.0/de
@dirrmtry lib/cscc/lib/2.0.0.0/ca
@dirrmtry lib/cscc/lib/2.0.0.0
@dirrmtry lib/cscc/lib/0.81.0.1407
@dirrmtry lib/cscc/lib/ca
@dirrmtry lib/cscc/lib/de
@dirrmtry lib/cscc/lib
@dirrmtry lib/cscc

View File

@ -1,20 +0,0 @@
# Created by: Michael Johnson <ahze@ahze.net>
# $FreeBSD$
PORTNAME= treecc
PORTVERSION= 0.3.10
CATEGORIES= lang
MASTER_SITES= SAVANNAH/dotgnu-pnet
MAINTAINER= ports@FreeBSD.org
COMMENT= Treecc is designed to assist in the development of compilers
DEPRECATED= PNET dependency decommissioned Dec 2012
EXPIRATION_DATE=2014-05-01
GNU_CONFIGURE= yes
USES= gmake
PLIST_FILES= bin/treecc lib/libtreecc.a \
info/treecc.info man/man1/treecc.1.gz
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (treecc-0.3.10.tar.gz) = 5e9d20a6938e0c6fedfed0cabc7e9e984024e4881b748d076e8c75f1aeb6efe7
SIZE (treecc-0.3.10.tar.gz) = 375762

View File

@ -1,2 +0,0 @@
The treecc program is designed to assist in the development of
compilers and other language-based tools.

View File

@ -29,10 +29,7 @@
SUBDIR += asio
SUBDIR += aslookup
SUBDIR += asterisk
SUBDIR += asterisk-oh323
SUBDIR += asterisk11
SUBDIR += asterisk14
SUBDIR += asterisk14-addons
SUBDIR += avahi
SUBDIR += avahi-app
SUBDIR += avahi-autoipd
@ -717,7 +714,6 @@
SUBDIR += p5-POE-Component-Pcap
SUBDIR += p5-POE-Component-PubSub
SUBDIR += p5-POE-Component-Server-Twirc
SUBDIR += p5-POE-Component-Spread
SUBDIR += p5-POEx-Role-TCPServer
SUBDIR += p5-POSIX-Socket
SUBDIR += p5-POSIX-getpeername
@ -749,8 +745,6 @@
SUBDIR += p5-Socket6
SUBDIR += p5-Socks
SUBDIR += p5-Sort-Key-IPv4
SUBDIR += p5-Spread-Message
SUBDIR += p5-Spread-Session
SUBDIR += p5-Test-URI
SUBDIR += p5-URI
SUBDIR += p5-URI-FromHash
@ -784,7 +778,6 @@
SUBDIR += passlogd
SUBDIR += pathneck
SUBDIR += pbnc
SUBDIR += pchar
SUBDIR += pdb
SUBDIR += pear-Auth_RADIUS
SUBDIR += pear-File_Bittorrent2
@ -934,7 +927,6 @@
SUBDIR += py-soappy-devel
SUBDIR += py-soapy
SUBDIR += py-speedtest-cli
SUBDIR += py-spreadmodule
SUBDIR += py-suds
SUBDIR += py-tofu
SUBDIR += py-tweepy

View File

@ -1,43 +0,0 @@
# Created by: Andriy Pylypenko <bamby@portaone.com>
# $FreeBSD$
PORTNAME= asterisk-oh323
PORTVERSION= 0.7.3.1
PORTREVISION= 5
CATEGORIES= net
MASTER_SITES= http://www.b2bua.org/chrome/site/
MAINTAINER= bamby@sippysoft.com
COMMENT= A H.323 support module for the Asterisk soft PBX
DEPRECATED= Depends on broken and unsupported asterisk14
EXPIRATION_DATE=2014-04-30
BUILD_DEPENDS= ${LOCALBASE}/sbin/asterisk:${PORTSDIR}/net/asterisk14
LIB_DEPENDS= pt_r.1:${PORTSDIR}/devel/pwlib\
h323_r.1:${PORTSDIR}/net/openh323
ONLY_FOR_ARCHS= i386 amd64 powerpc
USE_GMAKE= yes
MAKE_ENV= MKDIR="${MKDIR}" \
PWLIBDIR=${LOCALBASE}/share/pwlib \
OPENH323DIR=${LOCALBASE}/share/openh323 \
CPP="${CXX}" \
SYSLIBDIR=${LOCALBASE}/lib
NO_STAGE= yes
.include <bsd.port.pre.mk>
# XXX: bsd.gcc.mk now defines CPP
CPP= "${CXX}"
pre-configure:
if ${GREP} -sq fixup_codecs ${LOCALBASE}/include/asterisk/channel.h; \
then \
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/codecnego.diff; \
fi
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
SHA256 (asterisk-oh323-0.7.3.1.tar.gz) = 723525b07e119b5e4c55f4bab240994b2e9b061c65fa2fcf5650b75873a82d98
SIZE (asterisk-oh323-0.7.3.1.tar.gz) = 92142

View File

@ -1,99 +0,0 @@
--- asterisk-driver/chan_oh323.c.orig 2008-03-21 15:06:22.000000000 +0200
+++ asterisk-driver/chan_oh323.c 2008-03-21 15:17:00.000000000 +0200
@@ -966,7 +966,7 @@
/******************************************************************************/
-static struct ast_channel *oh323_request(const char *type, int format, void *data, int *cause);
+static struct ast_channel *oh323_request(const char *type, const struct ast_codec_pref *formats, void *data, int *cause);
static int oh323_text(struct ast_channel *c, const char *text);
static int oh323_call(struct ast_channel *c, char *dest, int timeout);
static int oh323_hangup(struct ast_channel *c);
@@ -2425,11 +2425,11 @@
}
/* Check for format changes */
- if (f->subclass != i->owner->nativeformats) {
+ if (!(f->subclass & ast_codec_pref_bits(&i->owner->nativeformats))) {
ast_log(LOG_NOTICE, "%s: Format changed to %s (native %s).\n",
c->name,
ast_getformatname(f->subclass),
- ast_getformatname(c->nativeformats));
+ ast_codec_pref_dump(buf, sizeof(buf), &c->nativeformats));
if (ast_set_write_format(c, f->subclass) < 0) {
ast_mutex_unlock(&oh323_tab_lock);
return(-1);
@@ -2830,8 +2830,8 @@
/* Set our native format */
/* XXX: Only one should be selected */
- tmp->nativeformats = oh323_capability;
- fmt = oh323_codec_choose(tmp->nativeformats);
+ ast_codec_pref_append_missing2(&tmp->nativeformats, oh323_capability);
+ fmt = oh323_codec_choose(ast_codec_pref_index_audio(&tmp->nativeformats, 0));
/*fmt = ast_best_codec(tmp->nativeformats);*/
tmp->writeformat = fmt;
@@ -2943,23 +2943,16 @@
* This function limits the number of outbound H.323 calls.
* Return NULL on error, the pointer to the channel on success.
*/
-static struct ast_channel *oh323_request(const char *type, int format, void *data, int *cause)
+static struct ast_channel *oh323_request(const char *type, const struct ast_codec_pref *formats, void *data, int *cause)
{
- int i=0, count, simcount, oldformat;
+ int i=0, count, simcount;
struct ast_channel *c;
char *dest = data;
+ char tmp[100];
if (option_debug)
ast_log(LOG_DEBUG, "In oh323_request: type=%s, format=%d, data=%s.\n",
- type, format, (char *)data);
-
- /* Check the format requested */
- oldformat = format;
- format &= oh323_full_capability;
- if (!format) {
- ast_log(LOG_ERROR, "Asked to get a channel of unsupported format '%d'\n", format);
- return NULL;
- }
+ type, ast_codec_pref_bits(formats), (char *)data);
ast_mutex_lock(&oh323_tab_lock);
@@ -3019,12 +3012,12 @@
oh323_tab[i]->owner = c;
/* Specify our native formats */
- c->nativeformats = format;
- c->rawwriteformat = format;
- c->rawreadformat = format;
+ memcpy(&c->nativeformats, formats, sizeof(*formats));
+ c->rawwriteformat =
+ c->rawreadformat = ast_codec_pref_index_audio(formats, 0);
if (option_debug)
ast_log(LOG_DEBUG, "%s: Native format changed to %s.\n",
- c->name, ast_getformatname(format));
+ c->name, ast_codec_pref_dump(tmp, sizeof(tmp), formats));
ast_mutex_unlock(&oh323_tab_lock);
return c;
@@ -3455,7 +3448,7 @@
ast_log(LOG_DEBUG, "Setting channel '%s' native format to %s!\n",
oh323_tab[i]->owner->name,
ast_getformatname(oh323_tab[i]->capability));
- oh323_tab[i]->owner->nativeformats = oh323_tab[i]->capability;
+ ast_codec_pref_append_missing2(&oh323_tab[i]->owner->nativeformats, oh323_tab[i]->capability);
}
/* Set environment variables */
@@ -3528,7 +3521,7 @@
ast_log(LOG_DEBUG, "Setting channel '%s' native format to %s!\n",
oh323_tab[i]->owner->name,
ast_getformatname(oh323_tab[i]->capability));
- oh323_tab[i]->owner->nativeformats = oh323_tab[i]->capability;
+ ast_codec_pref_append_missing2(&oh323_tab[i]->owner->nativeformats, oh323_tab[i]->capability);
if (oh323_tab[i]->tx_smooth) {
ast_smoother_free(oh323_tab[i]->tx_smooth);
oh323_tab[i]->tx_smooth = NULL;

View File

@ -1,54 +0,0 @@
--- Makefile.orig 2008-03-20 16:49:39.000000000 +0200
+++ Makefile 2008-03-20 17:58:09.000000000 +0200
@@ -41,7 +41,7 @@
# Install everything under this directory. If this is empty, then everything
# will be installed under /
#
-DESTDIR=/root/src/asterisk-oh323/debian-420641/slash
+DESTDIR=$(PREFIX)
#
# Set PWLIBDIR variable to the directory containing the sources of
@@ -51,7 +51,7 @@
# compile asterisk-oh323. Do not use the installed library of your
# distribution. It won't work.
#
-PWLIBDIR=/root/src/asterisk-oh323/debian-420641/pwlib
+PWLIBDIR?=/root/src/asterisk-oh323/debian-420641/pwlib
#
# Set OPENH323LIBDIR variable to the directory containing the sources of
@@ -61,13 +61,13 @@
# compile asterisk-oh323. Do not use the installed library of your
# distribution. It won't work.
#
-OPENH323DIR=/root/src/asterisk-oh323/debian-420641/openh323
+OPENH323DIR?=/root/src/asterisk-oh323/debian-420641/openh323
#
# Set ASTERISKINCDIR variable to the directory containing the include files of
# Asterisk PBX.
#
-ASTERISKINCDIR=/root/src/asterisk-oh323/debian-420641/slash/include
+ASTERISKINCDIR=$(LOCALBASE)/include
#
# Set ASTERISKMODDIR variable to the directory where ASTERISK's modules reside.
@@ -93,7 +93,7 @@
#
# Note: This directory is created under $DESTDIR.
#
-OH323WRAPLIBDIR=/usr/lib
+OH323WRAPLIBDIR=/lib
#
# Set WRAPTRACING to 1 to enable tracing information from the OpenH323Wrap
@@ -120,7 +120,7 @@
# With this flag on the channel driver is huge, in size, but Asterisk boots
# faster!
#
-OH323STAT=1
+#OH323STAT=1
#
# Define options that were used during Asterisk compilation. It is

View File

@ -1,128 +0,0 @@
$FreeBSD$
--- asterisk-driver/Makefile.orig
+++ asterisk-driver/Makefile
@@ -34,23 +34,23 @@
ifndef SKIP_SUFFIX
ifeq ($(OH323STAT),1)
ifeq ($(OH323BUILDTYPE),debug) # Static, debug
- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*_d_s.a))
+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/libpt*_d_s.a))
else # Static, opt
- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*_r_s.a))
+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/libpt*_r_s.a))
endif
else
ifeq ($(OH323BUILDTYPE),debug) # Shared, debug
- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*d.so))
+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/libpt*d.so))
else # Shared, opt
- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/libpt*r.so))
+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/libpt*r.so))
endif
endif
LIBPTNAME=$(subst lib,,$(basename $(notdir $(LIBPTPATH))))
else
ifeq ($(OH323STAT),1)
- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/$(LIBPT_BASE).a))
+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/$(LIBPT_BASE).a))
else
- LIBPTPATH=$(word 1,$(shell ls $(PWLIBDIR)/lib/$(LIBPT_BASE).so))
+ LIBPTPATH=$(word 1,$(shell ls $(SYSLIBDIR)/$(LIBPT_BASE).so))
endif
LIBPTNAME=$(subst lib,,$(basename $(notdir $(LIBPTPATH))))
endif
@@ -59,42 +59,42 @@
ifndef SKIP_SUFFIX
ifeq ($(OH323STAT),1)
ifeq ($(OH323BUILDTYPE),debug) # Static, debug
- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*_d_s.a))
+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*_d_s.a))
else
ifeq ($(OH323BUILDTYPE),opt) # Static, opt
- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*_r_s.a))
+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*_r_s.a))
else # Static, opt, no trace
- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*_n_s.a))
+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*_n_s.a))
endif
endif
else
ifeq ($(OH323BUILDTYPE),debug) # Shared, debug
- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*d.so))
+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*d.so))
else
ifeq ($(OH323BUILDTYPE),opt) # Shared, opt
- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*r.so))
+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*r.so))
else # Shared, opt, no trace
- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/libh323*n.so))
+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/libh323*n.so))
endif
endif
endif
LIBH323NAME=$(subst lib,,$(basename $(notdir $(LIBH323PATH))))
else
ifeq ($(OH323STAT),1)
- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/$(LIBH323_BASE).a))
+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/$(LIBH323_BASE).a))
else
- LIBH323PATH=$(word 1,$(shell ls $(OPENH323DIR)/lib/$(LIBH323_BASE).so))
+ LIBH323PATH=$(word 1,$(shell ls $(SYSLIBDIR)/$(LIBH323_BASE).so))
endif
LIBH323NAME=$(subst lib,,$(basename $(notdir $(LIBH323PATH))))
endif
LIBH323=$(LIBH323NAME)
ifndef SKIP_EXTLIBS
- EXTLIBS=$(shell $(PWLIBDIR)/make/ptlib-config --libs)
+ EXTLIBS=$(shell $(PWLIBDIR)/make/ptlib-config --ldflags --libs)
endif
CFLAGS += -pipe -Wstrict-prototypes -Wmissing-prototypes \
- -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -fPIC -g -O6 \
+ -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -fPIC -g \
-fomit-frame-pointer -DAST_MODULE=\"chan_oh323.so\"
DRVDEPS=$(shell ls *.h)
@@ -116,6 +116,7 @@
if [ ! -d $(DESTDIR)$(ASTERISKETCDIR) ]; then \
$(INSTALL) -d $(DESTDIR)$(ASTERISKETCDIR); \
fi
+ $(INSTALL) -m 0644 oh323.conf.sample $(DESTDIR)$(ASTERISKETCDIR)/
if [ ! -f $(DESTDIR)$(ASTERISKETCDIR)/oh323.conf ]; then \
$(INSTALL) -m 0644 oh323.conf.sample $(DESTDIR)$(ASTERISKETCDIR)/oh323.conf; \
fi
@@ -151,19 +152,27 @@
@if [ ! -f "$(LIBH323PATH)" ]; then \
echo "ERROR: No OPENH323 library found!"; exit 1; \
fi
+ifeq ($(OH323NOWRAP),1)
+ $(CC) -shared -Xlinker -x -g -o $@ $(TARGET_OBJ) \
+ ../wrapper/*.o \
+ -L$(SYSLIBDIR) -l$(LIBH323) \
+ -L$(SYSLIBDIR) -l$(LIBPT) \
+ -lstdc++ $(EXTLIBS)
+else
ifeq ($(OH323STAT),1)
$(CC) -shared -Xlinker -x -g -o $@ $(TARGET_OBJ) \
-L../wrapper -loh323wrap_s \
- -L$(OPENH323DIR)/lib -l$(LIBH323) \
- -L$(PWLIBDIR)/lib -l$(LIBPT) \
+ -L$(SYSLIBDIR) -l$(LIBH323) \
+ -L$(SYSLIBDIR) -l$(LIBPT) \
-lstdc++ $(EXTLIBS)
else
$(CC) -shared -Xlinker -x -g -o $@ $(TARGET_OBJ) \
-L../wrapper -loh323wrap \
- -L$(OPENH323DIR)/lib -l$(LIBH323) \
- -L$(PWLIBDIR)/lib -l$(LIBPT) \
+ -L$(SYSLIBDIR) -l$(LIBH323) \
+ -L$(SYSLIBDIR) -l$(LIBPT) \
-lstdc++ $(EXTLIBS)
endif
+endif
%.o: %.c $(DRVDEPS)
$(CC) $(CFLAGS) $(ASTERISKINCLUDE) -c -o $@ $<

View File

@ -1,94 +0,0 @@
$FreeBSD$
--- asterisk-driver/chan_oh323.c.orig
+++ asterisk-driver/chan_oh323.c
@@ -34,6 +34,7 @@
#include <string.h>
#include <sys/socket.h>
#include <sys/time.h>
+#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
@@ -43,6 +44,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <math.h>
+#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <sys/signal.h>
@@ -83,6 +85,8 @@
#include "asterisk/threadstorage.h"
#include "asterisk/translate.h"
+#define CRASH abort()
+
#include "wrapper.hxx"
#include "oh323.h"
@@ -954,8 +958,8 @@
static void oh323_format2codecset(int, int *, int);
static int context_from_alias(char *, char **);
static int context_from_prefix(char *, char **);
-static int oh323_release(void *);
-static int oh323_exec_request(void *data);
+static int oh323_release(const void *);
+static int oh323_exec_request(const void *data);
static struct oh323_ep *find_oh323_ep(char *epname, char *host, char *user);
void oh323_atexit(void);
unsigned int generate_uid(void);
@@ -1595,6 +1599,8 @@
ast_log(LOG_DEBUG, "%s: Call progress.\n", c->name);
p->fr.frametype = AST_FRAME_CONTROL;
p->fr.subclass = AST_CONTROL_PROGRESS;
+/* The code below is broken with asterisk 1.4.23.1 */
+#if 0
/* -- Call transfer */
} else if (e->type == OH323EXC_CALL_TRANSFER) {
/* XXX Asterisk MUST read first the frame returned by this exception
@@ -1608,6 +1614,7 @@
memcpy(c->dtmfq, e->data, strlen(e->data));
write(p->event_pipe[1], notify_buf, 1);
}
+#endif
/* -- Call establishment notification */
} else if (e->type == OH323EXC_CALL_ESTABLISHED) {
memset(p->rtp.local_addr, 0, sizeof(p->rtp.local_addr));
@@ -4110,7 +4117,7 @@
/******************************************************************************/
/* Monitoring thread and queue call-back functions ****************************/
-static int oh323_exec_request(void *data)
+static int oh323_exec_request(const void *data)
{
struct request_oh323 *e;
int res, i;
@@ -4217,7 +4224,7 @@
return(0);
}
-static int oh323_release(void *data)
+static int oh323_release(const void *data)
{
struct chan_oh323_pvt *pvt = (struct chan_oh323_pvt *)data;
int index;
@@ -4240,7 +4247,7 @@
return(0);
}
-static int oh323_gk_check(void *data)
+static int oh323_gk_check(const void *data)
{
char gkname[256];
@@ -4443,7 +4450,7 @@
return(-1);
}
}
- monitor_thread = -2;
+ monitor_thread = AST_PTHREADT_STOP;
} else {
ast_log(LOG_WARNING, "Unable to lock the monitor.\n");
return(-1);

View File

@ -1,51 +0,0 @@
$FreeBSD$
--- rules.mak.orig
+++ rules.mak
@@ -42,9 +42,9 @@
SUBDIRS = wrapper asterisk-driver
.PHONY: all build install clean subdirs_build subdir_install subdir_clean \
rpm rpm_clean help $(SUBDIRS)
-CC = gcc
-CPP = g++
-MAKE = make
+CC ?= gcc
+CPP ?= g++
+MAKE ?= make
INSTALL = install
TOUCH = touch
AR = ar
@@ -63,8 +63,8 @@
# Set the C++ compiler flags (for wrapper compilation)
# and C compiler flags (for channel driver compilation)
-CPPFLAGS = -Wall -felide-constructors -x c++ -Os
-CFLAGS = -Wall
+CPPFLAGS += $(CXXFLAGS) -Wall -felide-constructors -x c++
+CFLAGS += -Wall
ifeq ($(OH323BUILDTYPE),optnotrace)
OPENH323USERFLAGS := NOTRACE=1
endif
@@ -78,9 +78,9 @@
CFLAGS += -DUSE_OLD_CAPABILITIES_API=1
endif
-ifneq ($(PROC),)
-CFLAGS += -march=$(PROC)
-endif
+#ifneq ($(PROC))
+#CFLAGS += -march=$(PROC)
+#endif
ifdef HAS_OH323MODS
CPPFLAGS += -DHAS_OH323MODS
@@ -108,7 +108,7 @@
clean: subdirs_clean rpm_clean
-all: subdirs_build subdirs_strip subdirs_install
+all: subdirs_build subdirs_strip
subdirs_build:
for x in $(SUBDIRS); do $(MAKE) -C $$x build || exit 1 ; done

View File

@ -1,57 +0,0 @@
--- wrapper/Makefile.orig Thu Mar 20 16:49:39 2008
+++ wrapper/Makefile Fri Mar 21 11:56:29 2008
@@ -33,7 +33,7 @@
.PHONY: .pwlib_version .openh323_version
OPENH323USERFLAGS =
-STDCCFLAGS :=
+STDCCFLAGS := -fPIC
ifdef NOVIDEO
OPENH323USERFLAGS += NOVIDEO=1
@@ -62,7 +62,7 @@
ifdef OH323_SUPPRESS_H235
STDCCFLAGS += -DOH323_SUPPRESS_H235
endif
-OPENH323FLAGS = $(shell make $(OPENH323USERFLAGS) -f openh323flags.mak \
+OPENH323FLAGS := $(shell $(MAKE) $(OPENH323USERFLAGS) -f openh323flags.mak \
--no-print-directory -s \
PWLIBDIR=$(PWLIBDIR) OPENH323DIR=$(OPENH323DIR) oh323ccflags)
CPPFLAGS += $(OPENH323FLAGS)
@@ -100,25 +100,29 @@
@if [ "$(OPENH323_VERSION)" = "UNKNOWN" ]; then \
echo "*** Cannot determine the version of OPENH323!"; exit 1; \
fi
+ifneq ($(OH323NOWRAP),1)
ifeq ($(OH323STAT),1)
$(AR) rc liboh323wrap_s.a $(WRAPOBJECTS)
else
- $(CC) -shared -Wl,-soname,liboh323wrap.so -o liboh323wrap.so $(WRAPOBJECTS)
+ $(CC) -shared -Wl,-soname,liboh323wrap.so.1 -o liboh323wrap.so.1 $(WRAPOBJECTS)
+ ln -sfh liboh323wrap.so.1 liboh323wrap.so
+endif
endif
strip:
install:
+ifneq ($(OH323NOWRAP),1)
if [ ! -d $(DESTDIR)$(OH323WRAPLIBDIR) ]; then \
- $(INSTALL) -d $(DESTDIR)$(OH323WRAPLIBDIR); \
+ $(MKDIR) $(DESTDIR)$(OH323WRAPLIBDIR); \
fi
ifeq ($(OH323STAT),1)
- $(INSTALL) -m 0644 liboh323wrap_s.a $(DESTDIR)$(OH323WRAPLIBDIR)
+ $(BSD_INSTALL_PROGRAM) liboh323wrap_s.a $(DESTDIR)$(OH323WRAPLIBDIR)
else
- $(INSTALL) liboh323wrap.so $(DESTDIR)$(OH323WRAPLIBDIR)
- cd $(DESTDIR)$(OH323WRAPLIBDIR); rm -f ./liboh323wrap.so.1; rm -f ./liboh323wrap.so.1.1
- cd $(DESTDIR)$(OH323WRAPLIBDIR); ln -s liboh323wrap.so liboh323wrap.so.1
- cd $(DESTDIR)$(OH323WRAPLIBDIR); ln -s liboh323wrap.so liboh323wrap.so.1.1
+ $(BSD_INSTALL_PROGRAM) liboh323wrap.so.1 $(DESTDIR)$(OH323WRAPLIBDIR)
+ cd $(DESTDIR)$(OH323WRAPLIBDIR); rm -f ./liboh323wrap.so
+ cd $(DESTDIR)$(OH323WRAPLIBDIR); ln -s liboh323wrap.so.1 liboh323wrap.so
+endif
endif
clean:

View File

@ -1,10 +0,0 @@
--- wrapper/asteriskaudio.cxx.orig 2008-03-20 17:26:57.000000000 +0200
+++ wrapper/asteriskaudio.cxx 2008-03-20 17:30:38.000000000 +0200
@@ -29,6 +29,7 @@
*/
#include <ptlib.h>
+#include <ptlib/sound.h>
#include <sys/time.h>
#include <rtp.h>

View File

@ -1,27 +0,0 @@
--- wrapper/check_ver.orig Thu Apr 13 14:02:00 2006
+++ wrapper/check_ver Thu Apr 13 14:11:54 2006
@@ -1,10 +1,17 @@
#!/bin/sh
-if [ -f .$2_version ]; then
- mv .$2_version .$2_version.old
+if [ -f .${2}_version ]; then
+ mv .${2}_version .${2}_version.old
fi
-
-MAJOR_VER=`cat $1/version.h | grep "#define MAJOR_VERSION" | awk -F\ '{print $3}'`
-MINOR_VER=`cat $1/version.h | grep "#define MINOR_VERSION" | awk -F\ '{print $3}'`
-BUILD_NUM=`cat $1/version.h | grep "#define BUILD_NUMBER" | awk -F\ '{print $3}'`
-echo -e "$MAJOR_VER.$MINOR_VER.$BUILD_NUM" > .$2_version
+case ${2} in
+ pwlib)
+ grep "PWLIB_VERSION" ${1}/../../include/ptbuildopts.h | \
+ awk -F\ '{print $3}' > .${2}_version
+ ;;
+ openh323)
+ grep "OPENH323_VERSION" ${1}/../../include/${2}/${2}buildopts.h | \
+ awk -F\ '{print $3}' > .${2}_version
+ ;;
+ *)
+ ;;
+esac

View File

@ -1,12 +0,0 @@
--- wrapper/openh323flags.mak.orig 2008-03-20 16:49:39.000000000 +0200
+++ wrapper/openh323flags.mak 2008-05-16 11:18:00.000000000 +0300
@@ -1,6 +1,9 @@
include $(OPENH323DIR)/openh323u.mak
+obj_r/*.dep:
+ @true # suppress implicit rule
+
oh323ccflags:
@echo $(STDCCFLAGS)

View File

@ -1,10 +0,0 @@
--- wrapper/wrapconnection.cxx.orig 2008-03-20 17:31:59.000000000 +0200
+++ wrapper/wrapconnection.cxx 2008-03-20 17:32:19.000000000 +0200
@@ -30,6 +30,7 @@
/************************************************************************/
#include <ptlib.h>
+#include <ptlib/sound.h>
#include <h323.h>
#include <h323pdu.h>
#include <mediafmt.h>

View File

@ -1,10 +0,0 @@
--- wrapper/wrapendpoint.cxx.orig 2008-03-20 17:33:42.000000000 +0200
+++ wrapper/wrapendpoint.cxx 2008-03-20 17:33:54.000000000 +0200
@@ -30,6 +30,7 @@
/************************************************************************/
#include <ptlib.h>
+#include <ptlib/sound.h>
#include <h323.h>
#include <h323pdu.h>
#include <mediafmt.h>

View File

@ -1,10 +0,0 @@
--- wrapper/wrapper.cxx.orig 2008-03-20 17:35:37.000000000 +0200
+++ wrapper/wrapper.cxx 2008-03-20 17:35:50.000000000 +0200
@@ -31,6 +31,7 @@
/* INCLUDE FILES ********************************************************/
#include <ptlib.h>
+#include <ptlib/sound.h>
#include <h323.h>
#include <h323pdu.h>
#include <mediafmt.h>

View File

@ -1,3 +0,0 @@
Alternative implementation of H.323 protocol support for Asterisk PBX.
WWW: http://www.inaccessnetworks.com/ian/projects/asterisk-oh323/

View File

@ -1,9 +0,0 @@
*********************************************
* *
* Do not forget to disable loading *
* the chan_h323 module as it will most *
* likely prevent the Asterisk from working! *
* *
*********************************************

View File

@ -1,6 +0,0 @@
@unexec if cmp -s %D/etc/asterisk/oh323.conf %D/etc/asterisk/oh323.conf.sample; then rm -f %D/etc/asterisk/oh323.conf; fi
etc/asterisk/oh323.conf.sample
@exec [ -f %B/oh323.conf ] || cp %B/%f %B/oh323.conf
lib/asterisk/modules/chan_oh323.so
lib/liboh323wrap.so
lib/liboh323wrap.so.1

View File

@ -1,51 +0,0 @@
# Created by: Fabian Gast <fgast@only640k.org>
# $FreeBSD$
PORTNAME= asterisk14
PORTVERSION= 1.4.13
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
PKGNAMESUFFIX= -addons
DISTNAME= asterisk${PKGNAMESUFFIX}-${DISTVERSION}
MAINTAINER= bamby@sippysoft.com
COMMENT= GPL modules for the Asterisk Open Source PBX
DEPRECATED= Depends on broken and unsupported asterisk14
EXPIRATION_DATE=2014-04-30
BUILD_DEPENDS= asterisk:${PORTSDIR}/net/asterisk14
RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk14
OPTIONS_DEFINE= SAMPLE_CONFIG
SAMPLE_CONFIG_DESC= Install sample configuration files
ONLY_FOR_ARCHS= i386 amd64 powerpc
USE_AUTOTOOLS= libtool
USE_MYSQL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MSAMPLE_CONFIG}
PLIST_SUB+= SAMPLE_CONFIG=""
.else
PLIST_SUB+= SAMPLE_CONFIG="@comment "
.endif
pre-configure:
if ${GREP} -sq fixup_codecs ${LOCALBASE}/include/asterisk/channel.h; \
then \
${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/codecnego.diff; \
fi
post-install:
.if ${PORT_OPTIONS:MSAMPLE_CONFIG}
@cd ${WRKSRC} && ${GMAKE} samples
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
SHA256 (asterisk-addons-1.4.13.tar.gz) = 4041b4a3071ce64537ad97d0961e69dc699b59436da9bb6aaf6a6394bfc8e967
SIZE (asterisk-addons-1.4.13.tar.gz) = 825032

View File

@ -1,215 +0,0 @@
--- channels/chan_ooh323.c.orig 2007-07-21 15:17:52.000000000 +0800
+++ channels/chan_ooh323.c 2008-02-13 15:37:17.000000000 +0800
@@ -42,8 +42,8 @@
/* Channel Definition */
-static struct ast_channel *ooh323_request(const char *type, int format,
- void *data, int *cause);
+static struct ast_channel *ooh323_request(const char *type, const struct ast_codec_pref *format, void *data, int *cause);
+
static int ooh323_digit_begin(struct ast_channel *ast, char digit);
static int ooh323_digit_end(struct ast_channel *ast, char digit, unsigned int duration);
static int ooh323_call(struct ast_channel *ast, char *dest, int timeout);
@@ -57,8 +57,7 @@
static enum ast_rtp_get_result ooh323_get_rtp_peer(struct ast_channel *chan, struct ast_rtp **rtp);
static enum ast_rtp_get_result ooh323_get_vrtp_peer(struct ast_channel *chan, struct ast_rtp **rtp);
-static int ooh323_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp,
- struct ast_rtp *vrtp, int codecs, int nat_active);
+static int ooh323_set_rtp_peer(struct ast_channel *chan, struct ast_rtp *rtp, struct ast_rtp *vrtp, const struct ast_codec_pref *codecs, int nat_active);
static void print_codec_to_cli(int fd, struct ast_codec_pref *pref);
static void ast_ooh323c_exit();
@@ -244,6 +243,7 @@
{
struct ast_channel *ch = NULL;
int fmt;
+ int cap;
if(gH323Debug)
ast_log(LOG_DEBUG, "--- ooh323_new - %s\n", host);
@@ -258,10 +258,11 @@
ast_mutex_lock(&ch->lock);
ch->tech = &ooh323_tech;
- ch->nativeformats = i->capability;
-
+ ast_codec_pref_init(&ch->nativeformats);
+ ast_codec_pref_append_missing2(&ch->nativeformats, i->capability);
- fmt = ast_best_codec(ch->nativeformats);
+ cap = ast_codec_pref_bits(&ch->nativeformats);
+ fmt = ast_best_codec(cap);
ch->fds[0] = ast_rtp_fd(i->rtp);
ch->fds[1] = ast_rtcp_fd(i->rtp);
@@ -451,8 +452,7 @@
/*
Possible data values - peername, exten/peername, exten@ip
*/
-static struct ast_channel *ooh323_request(const char *type, int format,
- void *data, int *cause)
+static struct ast_channel *ooh323_request(const char *type, const struct ast_codec_pref *formats, void *data, int *cause)
{
struct ast_channel *chan=NULL;
@@ -461,22 +461,11 @@
char *dest = NULL;
char *ext = NULL;
char tmp[256];
- char formats[512];
- int oldformat;
char *sport = NULL;
int port = 0;
if(gH323Debug)
- ast_verbose("--- ooh323_request - data %s format %s\n", (char*)data,
- ast_getformatname_multiple(formats,512,format) );
-
- oldformat = format;
- format &= ((AST_FORMAT_MAX_AUDIO << 1) - 1);
- if (!format) {
- ast_log(LOG_NOTICE, "Asked to get a channel of unsupported format "
- "'%d'\n", format);
- return NULL;
- }
+ ast_verbose("--- ooh323_request - data %s format %s\n", (char*)data, ast_codec_pref_dump(tmp, sizeof(tmp), formats) );
p = ooh323_alloc(0,0); /* Initial callRef is zero */
@@ -536,8 +525,8 @@
if(ext)
strncpy(p->exten, ext, sizeof(p->exten)-1);
- if(peer->capability & format)
- p->capability = peer->capability & format;
+ if(peer->capability & formats->audio_bits)
+ p->capability = peer->capability & formats->audio_bits;
else{
p->capability = peer->capability;
}
@@ -971,11 +960,11 @@
if(f->frametype == AST_FRAME_VOICE)
{
- if(!(f->subclass & ast->nativeformats))
+ if(!(f->subclass & ast->nativeformats.audio_bits))
{
ast_log(LOG_WARNING, "Asked to transmit frame type %d, while native "
"formats is %d (read/write = %d/%d)\n",
- f->subclass, ast->nativeformats, ast->readformat,
+ f->subclass, ast->nativeformats.audio_bits, ast->readformat,
ast->writeformat);
return 0;
}
@@ -2219,12 +2208,12 @@
int x, codec;
for(x = 0; x < 32 ; x++) {
- codec = ast_codec_pref_index(pref, x);
+ codec = ast_codec_pref_index_audio(pref, x);
if (!codec)
break;
ast_cli(fd, "%s", ast_getformatname(codec));
- ast_cli(fd, ":%d", pref->framing[x]);
- if (x < 31 && ast_codec_pref_index(pref, x + 1))
+ ast_cli(fd, ":%d", pref->audio_framing[x]);
+ if (x < 31 && ast_codec_pref_index_audio(pref, x + 1))
ast_cli(fd, ",");
}
if (!x)
@@ -3020,13 +3009,13 @@
(ooCallData *call, struct ast_codec_pref *prefs)
{
int i=0;
- int codec = ast_codec_pref_index(prefs, i);
+ int codec = ast_codec_pref_index_audio(prefs, i);
ooResetCapPrefs(call);
while(codec)
{
ooAppendCapToCapPrefs(call, ooh323_convertAsteriskCapToH323Cap(codec));
- codec = ast_codec_pref_index(prefs, ++i);
+ codec = ast_codec_pref_index_audio(prefs, ++i);
}
return 0;
@@ -3058,7 +3047,7 @@
static int ooh323_set_rtp_peer
(struct ast_channel *chan, struct ast_rtp *rtp, struct ast_rtp *vrtp,
- int codecs, int nat_active)
+ const struct ast_codec_pref *codecs, int nat_active)
{
/* XXX Deal with Video */
struct ooh323_pvt *p;
@@ -3106,7 +3095,7 @@
strncpy(mediaInfo.lMediaIP, ast_inet_ntoa(us.sin_addr), sizeof(mediaInfo.lMediaIP)-1);
mediaInfo.lMediaPort = ntohs(us.sin_port);
mediaInfo.lMediaCntrlPort = mediaInfo.lMediaPort +1;
- for(x=0; 0 != (format=ast_codec_pref_index(&p->prefs, x)); x++)
+ for(x=0; 0 != (format=ast_codec_pref_index_audio(&p->prefs, x)); x++)
{
strcpy(mediaInfo.dir, "transmit");
mediaInfo.cap = ooh323_convertAsteriskCapToH323Cap(format);
@@ -3250,10 +3239,11 @@
/* We already hold the channel lock */
if (f->frametype == AST_FRAME_VOICE)
{
- if (f->subclass != p->owner->nativeformats)
+ if (!(f->subclass & p->owner->nativeformats.audio_bits))
{
ast_log(LOG_DEBUG, "Oooh, format changed to %d\n", f->subclass);
- p->owner->nativeformats = f->subclass;
+ ast_codec_pref_append(&p->owner->nativeformats, f->subclass);
+ p->capability |= f->subclass;
ast_set_read_format(p->owner, p->owner->readformat);
ast_set_write_format(p->owner, p->owner->writeformat);
}
--- channels/ooh323cDriver.c.orig 2007-01-20 06:27:05.000000000 +0800
+++ channels/ooh323cDriver.c 2008-02-11 16:47:24.000000000 +0800
@@ -66,7 +66,7 @@
if(gH323Debug)
ast_verbose("\tAdding capabilities to H323 endpoint\n");
- for(x=0; 0 != (format=ast_codec_pref_index(prefs, x)); x++)
+ for(x=0; 0 != (format=ast_codec_pref_index_audio(prefs, x)); x++)
{
if(format & AST_FORMAT_ULAW)
{
@@ -172,14 +172,14 @@
ret |= ooCallEnableDTMFH245Signal(call);
- for(x=0; 0 !=(format=ast_codec_pref_index(prefs, x)); x++)
+ for(x=0; 0 !=(format=ast_codec_pref_index_audio(prefs, x)); x++)
{
if(format & AST_FORMAT_ULAW)
{
if(gH323Debug)
ast_verbose("\tAdding g711 ulaw capability to call(%s, %s)\n",
call->callType, call->callToken);
- txframes = prefs->framing[x];
+ txframes = prefs->audio_framing[x];
ret= ooCallAddG711Capability(call, OO_G711ULAW64K, txframes,
grxframes, OORXANDTX,
&ooh323c_start_receive_channel,
@@ -192,7 +192,7 @@
if(gH323Debug)
ast_verbose("\tAdding g711 alaw capability to call(%s, %s)\n",
call->callType, call->callToken);
- txframes = prefs->framing[x];
+ txframes = prefs->audio_framing[x];
ret= ooCallAddG711Capability(call, OO_G711ALAW64K, txframes,
grxframes, OORXANDTX,
&ooh323c_start_receive_channel,
@@ -206,7 +206,7 @@
if(gH323Debug)
ast_verbose("\tAdding g729A capability to call(%s, %s)\n",
call->callType, call->callToken);
- txframes = (prefs->framing[x])/10;
+ txframes = (prefs->audio_framing[x])/10;
ret= ooCallAddG729Capability(call, OO_G729A, txframes, 24,
OORXANDTX, &ooh323c_start_receive_channel,
&ooh323c_start_transmit_channel,

View File

@ -1,11 +0,0 @@
--- Makefile.orig Thu Feb 14 00:58:11 2008
+++ Makefile Fri Feb 22 19:17:58 2008
@@ -27,7 +27,7 @@
# Overwite config files on "make samples"
OVERWRITE:=y
-ASTCFLAGS+=-fPIC
+ASTCFLAGS+=-fPIC -I${PREFIX}/include
#NOISY_BUILD=yes

View File

@ -1,5 +0,0 @@
This package contains additional modules for the Asterisk Open Source PBX
which are, not included in the normal base distribution, becouse of licence
incompatilities.
WWW: http://www.asteriskpbx.com

View File

@ -1,10 +0,0 @@
lib/asterisk/modules/app_addon_sql_mysql.so
lib/asterisk/modules/app_saycountpl.so
lib/asterisk/modules/cdr_addon_mysql.so
lib/asterisk/modules/res_config_mysql.so
lib/asterisk/modules/format_mp3.so
lib/asterisk/modules/chan_ooh323.so
%%SAMPLE_CONFIG%%etc/asterisk/cdr_mysql.conf
%%SAMPLE_CONFIG%%etc/asterisk/res_mysql.conf
%%SAMPLE_CONFIG%%etc/asterisk/ooh323.conf
%%SAMPLE_CONFIG%%etc/asterisk/mysql.conf

View File

@ -1,201 +0,0 @@
# Created by: Maxim Sobolev <sobomax@portaone.com>
# $FreeBSD$
PORTNAME= asterisk
PORTVERSION= 1.4.42
PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
PKGNAMESUFFIX= 14
MAINTAINER= bamby@sippysoft.com
COMMENT= An Open Source PBX and telephony toolkit
BROKEN= Fails to configure or build
FORBIDDEN= Unsupported for so long that this version is not listed in security advisories
DEPRECATED= Broken and unsupported
EXPIRATION_DATE=2014-04-30
BUILD_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
LIB_DEPENDS= speex.1:${PORTSDIR}/audio/speex \
newt.52:${PORTSDIR}/devel/newt \
gsm.1:${PORTSDIR}/audio/gsm \
curl:${PORTSDIR}/ftp/curl
RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123
ONLY_FOR_ARCHS= i386 sparc64 amd64 powerpc
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/openh323
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-gsm=${LOCALBASE}
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/openh323
USE_GCC= any
USE_GMAKE= yes
USES= bison
USE_RC_SUBR= asterisk
MAKE_ENV= MKDIR="${MKDIR}" \
PWLIBDIR=${LOCALBASE}/share/pwlib \
OPENH323DIR=${LOCALBASE}/share/openh323 \
OSVERSION=${OSVERSION} \
NOISY_BUILD=YES \
ASTCFLAGS="${PTHREAD_CFLAGS} ${CFLAGS}" \
ASTLDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
MAN8= asterisk.8 astgenkey.8 autosupport.8 safe_asterisk.8
CONFLICTS= asterisk*-1.2* asterisk*-1.6* asterisk*-1.8*
OPTIONS_DEFINE= VORBIS ODBC PGSQL RADIUS SNMP H323 FREETDS JABBER SQLITE \
CODEC_PATCH ILBC MISC_PATCHES
OPTIONS_DEFAULT= VORBIS ODBC PGSQL RADIUS SNMP H323 FREETFS JABBER SQLITE
MISC_PATCHES_DESC= Apply additional patches
ILBC_DESC= iLBC codec
DAHDI_DESC= DAHDI support
OPTIONS_DEFINE_i386= DAHDI
OPTIONS_DEFAULT_i386= DAHDI
OPTIONS_DEFINE_amd64= DAHDI
OPTIONS_DEFAULT_amd64= DAHDI
OPTIONS_DEFINE_sparc64= DAHDI
OPTIONS_DEFAULT_sparc64= DAHDI
NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${PREFIX} == ${LOCALBASE}
CONFIGURE_ARGS+=--localstatedir=/var
.endif
.if ! ${PORT_OPTIONS:MH323}
PLIST_SUB+= WITH_H323="@comment "
CONFIGURE_ARGS+= --without-h323
.else
PLIST_SUB+= WITH_H323=""
CONFIGURE_ARGS+= --with-h323=${LOCALBASE}
LIB_DEPENDS+= pt_r.1:${PORTSDIR}/devel/pwlib \
h323_r.1:${PORTSDIR}/net/openh323
.endif
.if ! ${PORT_OPTIONS:MDAHDI}
PLIST_SUB+= WITH_DAHDI="@comment "
CONFIGURE_ARGS+= --without-dahdi
.else
PLIST_SUB+= WITH_DAHDI=""
CONFIGURE_ARGS+= --with-dahdi
BUILD_DEPENDS+= libpri>=1.4.10:${PORTSDIR}/misc/libpri \
${LOCALBASE}/include/dahdi/user.h:${PORTSDIR}/misc/dahdi
LIB_DEPENDS+= pri.1:${PORTSDIR}/misc/libpri
RUN_DEPENDS+= ${LOCALBASE}/lib/dahdi/dahdi.ko:${PORTSDIR}/misc/dahdi-kmod
.endif
#
# WITH_FREETDS, WITH_PGSQL and WITH_SQLITE can also be added to MAKE_ENV
# similarly
.if ! ${PORT_OPTIONS:MODBC}
PLIST_SUB+= WITH_ODBC="@comment "
CONFIGURE_ARGS+= --without-odbc
.else
PLIST_SUB+= WITH_ODBC=""
CONFIGURE_ARGS+= --with-odbc --with-ltdl
USE_AUTOTOOLS+= libltdl
LIB_DEPENDS+= odbc.2:${PORTSDIR}/databases/unixODBC
.endif
.if ! ${PORT_OPTIONS:MFREETDS}
PLIST_SUB+= WITH_FREETDS="@comment "
CONFIGURE_ARGS+= --without-tds
.else
PLIST_SUB+= WITH_FREETDS=""
CONFIGURE_ARGS+= --with-tds=${LOCALBASE}
LIB_DEPENDS+= tds.5:${PORTSDIR}/databases/freetds
.endif
.if ! ${PORT_OPTIONS:MPGSQL}
PLIST_SUB+= WITH_POSTGRES="@comment "
CONFIGURE_ARGS+= --without-postgres
.else
PLIST_SUB+= WITH_POSTGRES=""
USE_PGSQL= yes
CONFIGURE_ARGS+= --with-postgres
.endif
.if ! ${PORT_OPTIONS:MVORBIS}
PLIST_SUB+= WITH_VORBIS="@comment "
CONFIGURE_ARGS+= --without-ogg
.else
PLIST_SUB+= WITH_VORBIS=""
CONFIGURE_ARGS+= --with-ogg
LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis
.endif
.if ! ${PORT_OPTIONS:MRADIUS}
PLIST_SUB+= WITH_RADIUS="@comment "
CONFIGURE_ARGS+= --without-radius
.else
PLIST_SUB+= WITH_RADIUS=""
CONFIGURE_ARGS+= --with-radius
LIB_DEPENDS+= radiusclient-ng.2:${PORTSDIR}/net/radiusclient
.endif
.if ! ${PORT_OPTIONS:MSNMP}
PLIST_SUB+= WITH_SNMP="@comment "
CONFIGURE_ARGS+= --without-netsnmp
.else
PLIST_SUB+= WITH_SNMP=""
CONFIGURE_ARGS+= --with-netsnmp
LIB_DEPENDS+= netsnmp:${PORTSDIR}/net-mgmt/net-snmp
.endif
.if ! ${PORT_OPTIONS:MJABBER}
PLIST_SUB+= WITH_JABBER="@comment "
CONFIGURE_ARGS+= --without-iksemel
.else
PLIST_SUB+= WITH_JABBER=""
CONFIGURE_ARGS+= --with-iksemel
LIB_DEPENDS+= iksemel.4:${PORTSDIR}/textproc/iksemel
.endif
.if ! ${PORT_OPTIONS:MSQLITE}
PLIST_SUB+= WITH_SQLITE="@comment "
CONFIGURE_ARGS+= --without-sqlite
.else
PLIST_SUB+= WITH_SQLITE=""
CONFIGURE_ARGS+= --with-sqlite
LIB_DEPENDS+= sqlite:${PORTSDIR}/databases/sqlite2
.endif
.if ! ${PORT_OPTIONS:MILBC}
PLIST_SUB+= WITH_ILBC="@comment "
.else
PLIST_SUB+= WITH_ILBC=""
EXTRA_PATCHES+= ${PATCHDIR}/ilbc_enable.diff
.endif
.if ${PORT_OPTIONS:MCODEC_PATCH}
PATCHFILES= asterisk-1.4.42-codec-negotiation-20111017.diff.gz
PATCH_SITES= ${MASTER_SITE_LOCAL}
PATCH_SITE_SUBDIR= fjoe/
EXTRA_PATCHES+= ${PATCHDIR}/codecnego-patch-Makefile
.else
EXTRA_PATCHES+= ${PATCHDIR}/nocodecnego-patch-Makefile
.endif
.if ${PORT_OPTIONS:MMISC_PATCHES}
EXTRA_PATCHES+= ${PATCHDIR}/dtmf_debug.diff
EXTRA_PATCHES+= ${PATCHDIR}/sip_force_callid.diff
EXTRA_PATCHES+= ${PATCHDIR}/sip_set_auth.diff
.if ${PORT_OPTIONS:MCODEC_PATCH}
EXTRA_PATCHES+= ${PATCHDIR}/rtp_force_dtmf-codecnego.diff
.else
EXTRA_PATCHES+= ${PATCHDIR}/rtp_force_dtmf-nocodecnego.diff
.endif
.endif
post-extract:
${MKDIR} ${WRKSRC}/codecs/ilbc
${FIND} ${WRKSRC} -name '*.d' -delete
post-patch:
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample
.include <bsd.port.post.mk>

View File

@ -1,4 +0,0 @@
SHA256 (asterisk-1.4.42.tar.gz) = 268af5ea802e15c4c93eff4e1113a8051b71315360d1279c27989c6cfc627fc7
SIZE (asterisk-1.4.42.tar.gz) = 21714727
SHA256 (asterisk-1.4.42-codec-negotiation-20111017.diff.gz) = 14f101e169f6767f24c972ba4fc501256776ecd117fcfc3ef19609b41ae03b26
SIZE (asterisk-1.4.42-codec-negotiation-20111017.diff.gz) = 40596

View File

@ -1,34 +0,0 @@
#!/bin/sh
# $FreeBSD$
#
# PROVIDE: asterisk
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable asterisk:
#
# asterisk_enable="YES"
. /etc/rc.subr
stop_precmd=asterisk_shutdown
sig_stop=KILL
asterisk_shutdown () {
%%PREFIX%%/sbin/asterisk -qrx 'stop now'
sleep 1
return 0
}
name=asterisk
rcvar=asterisk_enable
command=%%PREFIX%%/sbin/asterisk
load_rc_config $name
pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"}
asterisk_enable=${asterisk_enable:-"NO"}
run_rc_command "$1"

View File

@ -1,219 +0,0 @@
--- Makefile.orig 2009-11-20 17:48:05.000000000 +0200
+++ Makefile 2009-11-20 17:50:33.000000000 +0200
@@ -101,7 +101,7 @@
OVERWRITE=y
# Include debug and macro symbols in the executables (-g) and profiling info (-pg)
-DEBUG=-g3
+#DEBUG=-g3
# Staging directory
# Files are copied here temporarily during the install process
@@ -135,7 +135,7 @@
ASTMANDIR=$(mandir)
ifneq ($(findstring BSD,$(OSARCH)),)
ASTVARLIBDIR=$(prefix)/share/asterisk
- ASTVARRUNDIR=$(localstatedir)/run/asterisk
+ ASTVARRUNDIR=$(localstatedir)/run
else
ASTVARLIBDIR=$(localstatedir)/lib/asterisk
endif
@@ -225,9 +225,11 @@
_ASTLDFLAGS+=-L/usr/local/lib
endif
+ifneq ($(OSARCH),FreeBSD)
ifneq ($(PROC),ultrasparc)
_ASTCFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
endif
+endif
ifeq ($(PROC),ppc)
_ASTCFLAGS+=-fsigned-char
@@ -235,7 +237,7 @@
ifeq ($(OSARCH),FreeBSD)
# -V is understood by BSD Make, not by GNU make.
- BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
+ BSDVERSION=$(OSVERSION)
_ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)
AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi)
endif
@@ -416,15 +418,15 @@
# Should static HTTP be installed during make samples or even with its own target ala
# webvoicemail? There are portions here that *could* be customized but might also be
# improved a lot. I'll put it here for now.
- mkdir -p $(DESTDIR)$(ASTDATADIR)/static-http
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/static-http
for x in static-http/*; do \
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \
done
- mkdir -p $(DESTDIR)$(ASTDATADIR)/images
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/images
for x in images/*.jpg; do \
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/images ; \
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTDATADIR)/images ; \
done
- mkdir -p $(DESTDIR)$(AGI_DIR)
+ $(MKDIR) $(DESTDIR)$(AGI_DIR)
$(MAKE) -C sounds install
update:
@@ -445,47 +447,47 @@
OLDHEADERS=$(filter-out $(NEWHEADERS),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h)))
installdirs:
- mkdir -p $(DESTDIR)$(MODULES_DIR)
- mkdir -p $(DESTDIR)$(ASTSBINDIR)
- mkdir -p $(DESTDIR)$(ASTETCDIR)
- mkdir -p $(DESTDIR)$(ASTBINDIR)
- mkdir -p $(DESTDIR)$(ASTVARRUNDIR)
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/dictate
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/system
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/tmp
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/meetme
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/monitor
+ $(MKDIR) $(DESTDIR)$(MODULES_DIR)
+ $(MKDIR) $(DESTDIR)$(ASTSBINDIR)
+ $(MKDIR) $(DESTDIR)$(ASTETCDIR)
+ $(MKDIR) $(DESTDIR)$(ASTBINDIR)
+ $(MKDIR) $(DESTDIR)$(ASTVARRUNDIR)
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/voicemail
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/dictate
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/system
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/tmp
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/meetme
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/monitor
bininstall: _all installdirs $(SUBDIRS_INSTALL)
- $(INSTALL) -m 755 main/asterisk $(DESTDIR)$(ASTSBINDIR)/
+ $(BSD_INSTALL_PROGRAM) main/asterisk $(DESTDIR)$(ASTSBINDIR)/
$(LN) -sf asterisk $(DESTDIR)$(ASTSBINDIR)/rasterisk
- $(INSTALL) -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/
- $(INSTALL) -m 755 contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/
+ $(BSD_INSTALL_SCRIPT) contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/
+ $(BSD_INSTALL_SCRIPT) contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/
if [ ! -f $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ]; then \
- cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;s|__ASTERISK_VARRUN_DIR__|$(ASTVARRUNDIR)|;' > $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ;\
- chmod 755 $(DESTDIR)$(ASTSBINDIR)/safe_asterisk;\
+ cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;s|__ASTERISK_VARRUN_DIR__|$(ASTVARRUNDIR)|;' > contrib/scripts/safe_asterisk.out;\
+ ${BSD_INSTALL_SCRIPT} contrib/scripts/safe_asterisk.out $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ;\
fi
- $(INSTALL) -d $(DESTDIR)$(ASTHEADERDIR)
- $(INSTALL) -m 644 include/asterisk.h $(DESTDIR)$(includedir)
- $(INSTALL) -m 644 include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR)
+ $(MKDIR) $(DESTDIR)$(ASTHEADERDIR)
+ $(BSD_INSTALL_DATA) include/asterisk.h $(DESTDIR)$(includedir)
+ $(BSD_INSTALL_DATA) include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR)
if [ -n "$(OLDHEADERS)" ]; then \
rm -f $(addprefix $(DESTDIR)$(ASTHEADERDIR)/,$(OLDHEADERS)) ;\
fi
- mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-csv
- mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-custom
- mkdir -p $(DESTDIR)$(ASTDATADIR)/keys
- mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware
- mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware/iax
- mkdir -p $(DESTDIR)$(ASTMANDIR)/man8
- $(INSTALL) -m 644 keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys
- $(INSTALL) -m 644 keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys
- $(INSTALL) -m 644 doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
- $(INSTALL) -m 644 contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8
- $(INSTALL) -m 644 contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8
- $(INSTALL) -m 644 contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
+ $(MKDIR) $(DESTDIR)$(ASTLOGDIR)/cdr-csv
+ $(MKDIR) $(DESTDIR)$(ASTLOGDIR)/cdr-custom
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/keys
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/firmware
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/firmware/iax
+ $(MKDIR) $(DESTDIR)$(ASTMANDIR)/man8
+ $(BSD_INSTALL_DATA) keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys
+ $(BSD_INSTALL_DATA) keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys
+ $(BSD_INSTALL_MAN) doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
+ $(BSD_INSTALL_MAN) contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8
+ $(BSD_INSTALL_MAN) contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8
+ $(BSD_INSTALL_MAN) contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
if [ -f contrib/firmware/iax/iaxy.bin ] ; then \
- $(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \
+ $(BSD_INSTALL_DATA) contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \
fi
$(SUBDIRS_INSTALL):
@@ -521,7 +523,7 @@
@exit 1
endif
-install: badshell datafiles bininstall
+install: badshell datafiles bininstall samples
@if [ -x /usr/sbin/asterisk-post-install ]; then \
/usr/sbin/asterisk-post-install $(DESTDIR) . ; \
fi
@@ -559,31 +561,23 @@
upgrade: bininstall
adsi:
- mkdir -p $(DESTDIR)$(ASTETCDIR)
+ $(MKDIR) $(DESTDIR)$(ASTETCDIR)
for x in configs/*.adsi; do \
if [ ! -f $(DESTDIR)$(ASTETCDIR)/$$x ]; then \
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \
fi ; \
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`-dist ; \
done
samples: adsi
- mkdir -p $(DESTDIR)$(ASTETCDIR)
+ $(MKDIR) $(DESTDIR)$(ASTETCDIR)
for x in configs/*.sample; do \
- if [ -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \
- if [ "$(OVERWRITE)" = "y" ]; then \
- if cmp -s $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` $$x ; then \
- echo "Config file $$x is unchanged"; \
- continue; \
- fi ; \
- mv -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`.old ; \
- else \
- echo "Skipping config file $$x"; \
- continue; \
- fi ;\
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`-dist ;\
+ if [ ! -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`;\
fi ; \
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ;\
done
- if [ "$(OVERWRITE)" = "y" ] || [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \
+ if true; then \
( \
echo "[directories]" ; \
echo "astetcdir => $(ASTETCDIR)" ; \
@@ -670,20 +664,23 @@
echo "; Default: strict"; \
echo ";"; \
echo ";translation_algorithm = strict"; \
- ) > $(DESTDIR)$(ASTCONFPATH) ; \
+ ) > $(DESTDIR)$(ASTCONFPATH)-dist ; \
+ if [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \
+ cp $(DESTDIR)$(ASTCONFPATH)-dist $(DESTDIR)$(ASTCONFPATH); \
+ fi; \
else \
echo "Skipping asterisk.conf creation"; \
fi
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX
build_tools/make_sample_voicemail $(DESTDIR)/$(ASTDATADIR) $(DESTDIR)/$(ASTSPOOLDIR)
webvmail:
@[ -d $(DESTDIR)$(HTTP_DOCSDIR)/ ] || ( printf "http docs directory not found.\nUpdate assignment of variable HTTP_DOCSDIR in Makefile!\n" && exit 1 )
@[ -d $(DESTDIR)$(HTTP_CGIDIR) ] || ( printf "cgi-bin directory not found.\nUpdate assignment of variable HTTP_CGIDIR in Makefile!\n" && exit 1 )
$(INSTALL) -m 4755 -o root -g root contrib/scripts/vmail.cgi $(DESTDIR)$(HTTP_CGIDIR)/vmail.cgi
- mkdir -p $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk
+ $(MKDIR) $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk
for x in images/*.gif; do \
- $(INSTALL) -m 644 $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \
done
@echo " +--------- Asterisk Web Voicemail ----------+"
@echo " + +"

View File

@ -1,221 +0,0 @@
--- channels/chan_sip.c.orig 2009-05-12 21:18:44.000000000 +0300
+++ channels/chan_sip.c 2009-05-26 12:50:22.000000000 +0300
@@ -3891,6 +3891,7 @@
ast_log(LOG_WARNING, "old channel wasn't %p but was %p\n", oldchan, p->owner);
else {
p->owner = newchan;
+ ast_rtp_set_chan_name(p->rtp, newchan->name);
/* Re-invite RTP back to Asterisk. Needed if channel is masqueraded out of a native
RTP bridge (i.e., RTP not going through Asterisk): RTP bridge code might not be
able to do this if the masquerade happens before the bridge breaks (e.g., AMI
@@ -4168,6 +4169,7 @@
if (i->rtp) {
tmp->fds[0] = ast_rtp_fd(i->rtp);
tmp->fds[1] = ast_rtcp_fd(i->rtp);
+ ast_rtp_set_chan_id(i->rtp, i->callid);
}
if (needvideo && i->vrtp) {
tmp->fds[2] = ast_rtp_fd(i->vrtp);
@@ -4195,6 +4197,8 @@
if (!ast_strlen_zero(i->language))
ast_string_field_set(tmp, language, i->language);
i->owner = tmp;
+ ast_rtp_set_chan_name(i->rtp, tmp->name);
+
ast_module_ref(ast_module_info->self);
ast_copy_string(tmp->context, i->context, sizeof(tmp->context));
/*Since it is valid to have extensions in the dialplan that have unescaped characters in them
@@ -4621,8 +4625,10 @@
build_via(p);
if (!callid)
build_callid_pvt(p);
- else
+ else {
ast_string_field_set(p, callid, callid);
+ ast_rtp_set_chan_id(p->rtp, p->callid);
+ }
/* Assign default music on hold class */
ast_string_field_set(p, mohinterpret, default_mohinterpret);
ast_string_field_set(p, mohsuggest, default_mohsuggest);
--- include/asterisk/rtp.h.orig 2008-03-04 20:05:28.000000000 +0200
+++ include/asterisk/rtp.h 2009-05-26 12:50:22.000000000 +0300
@@ -243,6 +243,9 @@
int ast_rtp_codec_getformat(int pt);
+void ast_rtp_set_chan_name(struct ast_rtp *, const char *);
+void ast_rtp_set_chan_id(struct ast_rtp *, const char *);
+
/*! \brief Set rtp timeout */
void ast_rtp_set_rtptimeout(struct ast_rtp *rtp, int timeout);
/*! \brief Set rtp hold timeout */
--- main/rtp.c.orig 2009-11-20 17:51:49.000000000 +0200
+++ main/rtp.c 2009-11-20 17:53:11.000000000 +0200
@@ -81,6 +81,7 @@
static int rtpstart; /*!< First port for RTP sessions (set in rtp.conf) */
static int rtpend; /*!< Last port for RTP sessions (set in rtp.conf) */
static int rtpdebug; /*!< Are we debugging? */
+static int rtpdebugdtmf; /*!< Are we debugging DTMFs? */
static int rtcpdebug; /*!< Are we debugging RTCP? */
static int rtcpstats; /*!< Are we debugging RTCP? */
static int rtcpinterval = RTCP_DEFAULT_INTERVALMS; /*!< Time between rtcp reports in millisecs */
@@ -170,6 +171,8 @@
struct ast_codec_pref pref;
struct ast_rtp *bridged; /*!< Who we are Packet bridged to */
int set_marker_bit:1; /*!< Whether to set the marker bit or not */
+ char chan_name[100];
+ char chan_id[100];
};
/* Forward declarations */
@@ -676,8 +679,8 @@
struct ast_frame *f = NULL;
event = ntohl(*((unsigned int *)(data)));
event &= 0x001F;
- if (option_debug > 2 || rtpdebug)
- ast_log(LOG_DEBUG, "Cisco DTMF Digit: %08x (len = %d)\n", event, len);
+ if (option_debug > 2 || rtpdebug || rtpdebugdtmf)
+ ast_log(LOG_DEBUG, "Channel: %s %s Cisco DTMF packet: %08x (len = %d)\n", rtp->chan_name, rtp->chan_id, event, len);
if (event < 10) {
resp = '0' + event;
} else if (event < 11) {
@@ -691,12 +694,25 @@
}
if (rtp->resp && (rtp->resp != resp)) {
f = create_dtmf_frame(rtp, AST_FRAME_DTMF_END);
+ ast_log(LOG_DEBUG, "Channel: %s %s Cisco DTMF event: %c\n", rtp->chan_name, rtp->chan_id, rtp->resp);
}
rtp->resp = resp;
rtp->dtmf_timeout = 0;
return f;
}
+void ast_rtp_set_chan_id(struct ast_rtp *rtp, const char *chan_id) {
+ if (rtp == NULL || chan_id == NULL)
+ return;
+ snprintf(rtp->chan_id, sizeof(rtp->chan_id), "%s", chan_id);
+}
+
+void ast_rtp_set_chan_name(struct ast_rtp *rtp, const char *chan_name) {
+ if (rtp == NULL || chan_name == NULL)
+ return;
+ snprintf(rtp->chan_name, sizeof(rtp->chan_name), "%s", chan_name);
+}
+
/*!
* \brief Process RTP DTMF and events according to RFC 2833.
*
@@ -1101,6 +1117,10 @@
struct rtpPayloadType rtpPT;
int reconstruct = ntohl(rtpheader[0]);
+ /* If we are listening for DTMF - then feed all packets into the core to keep the RTP stream consistent when relaying DTMFs */
+ if (ast_test_flag(rtp, FLAG_P2P_NEED_DTMF))
+ return -1;
+
/* Get fields from packet */
payload = (reconstruct & 0x7f0000) >> 16;
mark = (((reconstruct & 0x800000) >> 23) != 0);
@@ -1108,10 +1128,6 @@
/* Check what the payload value should be */
rtpPT = ast_rtp_lookup_pt(rtp, payload);
- /* If the payload is DTMF, and we are listening for DTMF - then feed it into the core */
- if (ast_test_flag(rtp, FLAG_P2P_NEED_DTMF) && !rtpPT.isAstFormat && rtpPT.code == AST_RTP_DTMF)
- return -1;
-
/* Otherwise adjust bridged payload to match */
bridged_payload = ast_rtp_lookup_code(bridged, rtpPT.isAstFormat, rtpPT.code);
@@ -1306,11 +1322,12 @@
/* This is special in-band data that's not one of our codecs */
if (rtpPT.code == AST_RTP_DTMF) {
/* It's special -- rfc2833 process it */
- if (rtp_debug_test_addr(&sin)) {
+ if (rtp_debug_test_addr(&sin) || rtpdebugdtmf) {
unsigned char *data;
unsigned int event;
unsigned int event_end;
unsigned int duration;
+
data = rtp->rawdata + AST_FRIENDLY_OFFSET + hdrlen;
event = ntohl(*((unsigned int *)(data)));
event >>= 24;
@@ -1319,7 +1336,7 @@
event_end >>= 24;
duration = ntohl(*((unsigned int *)(data)));
duration &= 0xFFFF;
- ast_verbose("Got RTP RFC2833 from %s:%u (type %-2.2d, seq %-6.6u, ts %-6.6u, len %-6.6u, mark %d, event %08x, end %d, duration %-5.5d) \n", ast_inet_ntoa(sin.sin_addr), ntohs(sin.sin_port), payloadtype, seqno, timestamp, res - hdrlen, (mark?1:0), event, ((event_end & 0x80)?1:0), duration);
+ ast_verbose("Channel: %s %s Got RTP RFC2833 from %s:%u to %s:%u (type %-2.2d, seq %-6.6u, ts %-6.6u, len %-6.6u, mark %d, event %08x, end %d, duration %-5.5d)\n", rtp->chan_name, rtp->chan_id, ast_inet_ntoa(sin.sin_addr), ntohs(sin.sin_port), ast_inet_ntoa(rtp->us.sin_addr), ntohs(rtp->us.sin_port), payloadtype, seqno, timestamp, res - hdrlen, (mark?1:0), event, ((event_end & 0x80)?1:0), duration);
}
/* process_rfc2833 may need to return multiple frames. We do this
* by passing the pointer to the frame list to it so that the method
@@ -2287,8 +2307,9 @@
ast_log(LOG_ERROR, "RTP Transmission error to %s:%u: %s\n",
ast_inet_ntoa(rtp->them.sin_addr),
ntohs(rtp->them.sin_port), strerror(errno));
- if (rtp_debug_test_addr(&rtp->them))
- ast_verbose("Sent RTP DTMF packet to %s:%u (type %-2.2d, seq %-6.6u, ts %-6.6u, len %-6.6u)\n",
+ if (rtp_debug_test_addr(&rtp->them) || rtpdebugdtmf)
+ ast_verbose("Channel: %s %s Sent RTP DTMF packet to %s:%u (type %-2.2d, seq %-6.6u, ts %-6.6u, len %-6.6u)\n",
+ rtp->chan_name, rtp->chan_id,
ast_inet_ntoa(rtp->them.sin_addr),
ntohs(rtp->them.sin_port), payload, rtp->seqno, rtp->lastdigitts, res - hdrlen);
/* Increment sequence number */
@@ -2331,8 +2352,9 @@
ast_log(LOG_ERROR, "RTP Transmission error to %s:%d: %s\n",
ast_inet_ntoa(rtp->them.sin_addr),
ntohs(rtp->them.sin_port), strerror(errno));
- if (rtp_debug_test_addr(&rtp->them))
- ast_verbose("Sent RTP DTMF packet to %s:%u (type %-2.2d, seq %-6.6u, ts %-6.6u, len %-6.6u)\n",
+ if (rtp_debug_test_addr(&rtp->them) || rtpdebugdtmf)
+ ast_verbose("Channel: %s %s Sent RTP DTMF packet to %s:%u (type %-2.2d, seq %-6.6u, ts %-6.6u, len %-6.6u)\n",
+ rtp->chan_name, rtp->chan_id,
ast_inet_ntoa(rtp->them.sin_addr),
ntohs(rtp->them.sin_port), rtp->send_payload, rtp->seqno, rtp->lastdigitts, res - hdrlen);
@@ -3621,6 +3643,16 @@
return RESULT_SUCCESS;
}
+static int rtp_do_debug_dtmf(int fd, int argc, char *argv[])
+{
+ if (argc != 3)
+ return RESULT_SHOWUSAGE;
+
+ rtpdebugdtmf = 1;
+ ast_cli(fd, "RTP DTMF debugging enabled\n");
+ return RESULT_SUCCESS;
+}
+
static int rtp_do_debug(int fd, int argc, char *argv[])
{
if (argc != 2) {
@@ -3681,6 +3713,7 @@
if (argc != 3)
return RESULT_SHOWUSAGE;
rtpdebug = 0;
+ rtpdebugdtmf = 0;
ast_cli(fd,"RTP Debugging Disabled\n");
return RESULT_SUCCESS;
}
@@ -3741,7 +3774,7 @@
}
static char debug_usage[] =
- "Usage: rtp debug [ip host[:port]]\n"
+ "Usage: rtp debug [ip host[:port] | dtmf]\n"
" Enable dumping of all RTP packets to and from host.\n";
static char no_debug_usage[] =
@@ -3816,6 +3849,10 @@
rtp_do_debug, "Enable RTP debugging",
debug_usage },
+ { { "rtp", "debug", "dtmf", NULL },
+ rtp_do_debug_dtmf, "Enable RTP debugging on DTMFs",
+ debug_usage },
+
{ { "rtp", "debug", "off", NULL },
rtp_no_debug, "Disable RTP debugging",
no_debug_usage, NULL, &cli_rtp_no_debug_deprecated },

File diff suppressed because it is too large Load Diff

View File

@ -1,222 +0,0 @@
--- Makefile.orig 2009-10-23 17:00:01.000000000 +0300
+++ Makefile 2009-11-23 16:44:36.000000000 +0200
@@ -101,7 +101,7 @@
OVERWRITE=y
# Include debug and macro symbols in the executables (-g) and profiling info (-pg)
-DEBUG=-g3
+#DEBUG=-g3
# Staging directory
# Files are copied here temporarily during the install process
@@ -135,7 +135,7 @@
ASTMANDIR=$(mandir)
ifneq ($(findstring BSD,$(OSARCH)),)
ASTVARLIBDIR=$(prefix)/share/asterisk
- ASTVARRUNDIR=$(localstatedir)/run/asterisk
+ ASTVARRUNDIR=$(localstatedir)/run
else
ASTVARLIBDIR=$(localstatedir)/lib/asterisk
endif
@@ -225,9 +225,11 @@
_ASTLDFLAGS+=-L/usr/local/lib
endif
+ifneq ($(OSARCH),FreeBSD)
ifneq ($(PROC),ultrasparc)
_ASTCFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
endif
+endif
ifeq ($(PROC),ppc)
_ASTCFLAGS+=-fsigned-char
@@ -235,7 +237,7 @@
ifeq ($(OSARCH),FreeBSD)
# -V is understood by BSD Make, not by GNU make.
- BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
+ BSDVERSION=$(OSVERSION)
_ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi)
AST_LIBS+=$(shell if test $(BSDVERSION) -lt 502102 ; then echo "-lc_r"; else echo "-pthread"; fi)
endif
@@ -410,18 +412,18 @@
datafiles: _all
CFLAGS="$(_ASTCFLAGS) $(ASTCFLAGS)" build_tools/mkpkgconfig $(DESTDIR)$(libdir)/pkgconfig;
# Should static HTTP be installed during make samples or even with its own target ala
# webvoicemail? There are portions here that *could* be customized but might also be
# improved a lot. I'll put it here for now.
- mkdir -p $(DESTDIR)$(ASTDATADIR)/static-http
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/static-http
for x in static-http/*; do \
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTDATADIR)/static-http ; \
done
- mkdir -p $(DESTDIR)$(ASTDATADIR)/images
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/images
for x in images/*.jpg; do \
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/images ; \
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTDATADIR)/images ; \
done
- mkdir -p $(DESTDIR)$(AGI_DIR)
+ $(MKDIR) $(DESTDIR)$(AGI_DIR)
$(MAKE) -C sounds install
update:
@@ -445,47 +447,47 @@
OLDHEADERS=$(filter-out $(NEWHEADERS),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h)))
installdirs:
- mkdir -p $(DESTDIR)$(MODULES_DIR)
- mkdir -p $(DESTDIR)$(ASTSBINDIR)
- mkdir -p $(DESTDIR)$(ASTETCDIR)
- mkdir -p $(DESTDIR)$(ASTBINDIR)
- mkdir -p $(DESTDIR)$(ASTVARRUNDIR)
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/dictate
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/system
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/tmp
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/meetme
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/monitor
+ $(MKDIR) $(DESTDIR)$(MODULES_DIR)
+ $(MKDIR) $(DESTDIR)$(ASTSBINDIR)
+ $(MKDIR) $(DESTDIR)$(ASTETCDIR)
+ $(MKDIR) $(DESTDIR)$(ASTBINDIR)
+ $(MKDIR) $(DESTDIR)$(ASTVARRUNDIR)
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/voicemail
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/dictate
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/system
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/tmp
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/meetme
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/monitor
bininstall: _all installdirs $(SUBDIRS_INSTALL)
- $(INSTALL) -m 755 main/asterisk $(DESTDIR)$(ASTSBINDIR)/
+ $(BSD_INSTALL_PROGRAM) main/asterisk $(DESTDIR)$(ASTSBINDIR)/
$(LN) -sf asterisk $(DESTDIR)$(ASTSBINDIR)/rasterisk
- $(INSTALL) -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/
- $(INSTALL) -m 755 contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/
+ $(BSD_INSTALL_SCRIPT) contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/
+ $(BSD_INSTALL_SCRIPT) contrib/scripts/autosupport $(DESTDIR)$(ASTSBINDIR)/
if [ ! -f $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ]; then \
- cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;s|__ASTERISK_VARRUN_DIR__|$(ASTVARRUNDIR)|;' > $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ;\
- chmod 755 $(DESTDIR)$(ASTSBINDIR)/safe_asterisk;\
+ cat contrib/scripts/safe_asterisk | sed 's|__ASTERISK_SBIN_DIR__|$(ASTSBINDIR)|;s|__ASTERISK_VARRUN_DIR__|$(ASTVARRUNDIR)|;' > contrib/scripts/safe_asterisk.out;\
+ ${BSD_INSTALL_SCRIPT} contrib/scripts/safe_asterisk.out $(DESTDIR)$(ASTSBINDIR)/safe_asterisk ;\
fi
- $(INSTALL) -d $(DESTDIR)$(ASTHEADERDIR)
- $(INSTALL) -m 644 include/asterisk.h $(DESTDIR)$(includedir)
- $(INSTALL) -m 644 include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR)
+ $(MKDIR) $(DESTDIR)$(ASTHEADERDIR)
+ $(BSD_INSTALL_DATA) include/asterisk.h $(DESTDIR)$(includedir)
+ $(BSD_INSTALL_DATA) include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR)
if [ -n "$(OLDHEADERS)" ]; then \
rm -f $(addprefix $(DESTDIR)$(ASTHEADERDIR)/,$(OLDHEADERS)) ;\
fi
- mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-csv
- mkdir -p $(DESTDIR)$(ASTLOGDIR)/cdr-custom
- mkdir -p $(DESTDIR)$(ASTDATADIR)/keys
- mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware
- mkdir -p $(DESTDIR)$(ASTDATADIR)/firmware/iax
- mkdir -p $(DESTDIR)$(ASTMANDIR)/man8
- $(INSTALL) -m 644 keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys
- $(INSTALL) -m 644 keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys
- $(INSTALL) -m 644 doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
- $(INSTALL) -m 644 contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8
- $(INSTALL) -m 644 contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8
- $(INSTALL) -m 644 contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
+ $(MKDIR) $(DESTDIR)$(ASTLOGDIR)/cdr-csv
+ $(MKDIR) $(DESTDIR)$(ASTLOGDIR)/cdr-custom
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/keys
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/firmware
+ $(MKDIR) $(DESTDIR)$(ASTDATADIR)/firmware/iax
+ $(MKDIR) $(DESTDIR)$(ASTMANDIR)/man8
+ $(BSD_INSTALL_DATA) keys/iaxtel.pub $(DESTDIR)$(ASTDATADIR)/keys
+ $(BSD_INSTALL_DATA) keys/freeworlddialup.pub $(DESTDIR)$(ASTDATADIR)/keys
+ $(BSD_INSTALL_MAN) doc/asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
+ $(BSD_INSTALL_MAN) contrib/scripts/astgenkey.8 $(DESTDIR)$(ASTMANDIR)/man8
+ $(BSD_INSTALL_MAN) contrib/scripts/autosupport.8 $(DESTDIR)$(ASTMANDIR)/man8
+ $(BSD_INSTALL_MAN) contrib/scripts/safe_asterisk.8 $(DESTDIR)$(ASTMANDIR)/man8
if [ -f contrib/firmware/iax/iaxy.bin ] ; then \
- $(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \
+ $(BSD_INSTALL_DATA) contrib/firmware/iax/iaxy.bin $(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin; \
fi
$(SUBDIRS_INSTALL):
@@ -521,7 +523,7 @@
@exit 1
endif
-install: badshell datafiles bininstall
+install: badshell datafiles bininstall samples
@if [ -x /usr/sbin/asterisk-post-install ]; then \
/usr/sbin/asterisk-post-install $(DESTDIR) . ; \
fi
@@ -559,31 +561,23 @@
upgrade: bininstall
adsi:
- mkdir -p $(DESTDIR)$(ASTETCDIR)
+ $(MKDIR) $(DESTDIR)$(ASTETCDIR)
for x in configs/*.adsi; do \
if [ ! -f $(DESTDIR)$(ASTETCDIR)/$$x ]; then \
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \
fi ; \
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`-dist ; \
done
samples: adsi
- mkdir -p $(DESTDIR)$(ASTETCDIR)
+ $(MKDIR) $(DESTDIR)$(ASTETCDIR)
for x in configs/*.sample; do \
- if [ -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \
- if [ "$(OVERWRITE)" = "y" ]; then \
- if cmp -s $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` $$x ; then \
- echo "Config file $$x is unchanged"; \
- continue; \
- fi ; \
- mv -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`.old ; \
- else \
- echo "Skipping config file $$x"; \
- continue; \
- fi ;\
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`-dist ;\
+ if [ ! -f $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ]; then \
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`;\
fi ; \
- $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample` ;\
done
- if [ "$(OVERWRITE)" = "y" ] || [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \
+ if true; then \
( \
echo "[directories]" ; \
echo "astetcdir => $(ASTETCDIR)" ; \
@@ -629,20 +623,23 @@
echo ";astctlowner = root" ; \
echo ";astctlgroup = apache" ; \
echo ";astctl = asterisk.ctl" ; \
- ) > $(DESTDIR)$(ASTCONFPATH) ; \
+ ) > $(DESTDIR)$(ASTCONFPATH)-dist ; \
+ if [ ! -f $(DESTDIR)$(ASTCONFPATH) ]; then \
+ cp $(DESTDIR)$(ASTCONFPATH)-dist $(DESTDIR)$(ASTCONFPATH); \
+ fi; \
else \
echo "Skipping asterisk.conf creation"; \
fi
- mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX
+ $(MKDIR) $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX
build_tools/make_sample_voicemail $(DESTDIR)/$(ASTDATADIR) $(DESTDIR)/$(ASTSPOOLDIR)
webvmail:
@[ -d $(DESTDIR)$(HTTP_DOCSDIR)/ ] || ( printf "http docs directory not found.\nUpdate assignment of variable HTTP_DOCSDIR in Makefile!\n" && exit 1 )
@[ -d $(DESTDIR)$(HTTP_CGIDIR) ] || ( printf "cgi-bin directory not found.\nUpdate assignment of variable HTTP_CGIDIR in Makefile!\n" && exit 1 )
$(INSTALL) -m 4755 -o root -g root contrib/scripts/vmail.cgi $(DESTDIR)$(HTTP_CGIDIR)/vmail.cgi
- mkdir -p $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk
+ $(MKDIR) $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk
for x in images/*.gif; do \
- $(INSTALL) -m 644 $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \
+ $(BSD_INSTALL_DATA) $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \
done
@echo " +--------- Asterisk Web Voicemail ----------+"
@echo " + +"

View File

@ -1,16 +0,0 @@
--- Makefile.rules.orig 2009-09-28 22:09:25.000000000 +0300
+++ Makefile.rules 2009-11-23 16:15:23.000000000 +0200
@@ -37,11 +37,13 @@
OPTIMIZE?=-O6
+ifneq ($(OSARCH),FreeBSD)
ifeq ($(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS)),)
_ASTCFLAGS+=$(OPTIMIZE)
else
_ASTCFLAGS+=-O0
endif
+endif
# shortcuts for common combinations of flags; these must be recursively expanded so that
# per-target settings will be applied

View File

@ -1,25 +0,0 @@
--- agi/Makefile.orig Sat Dec 16 23:14:34 2006
+++ agi/Makefile Wed Mar 28 11:13:21 2007
@@ -13,7 +13,9 @@
.PHONY: clean all uninstall
-AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi
+AGIS_BIN=eagi-test eagi-sphinx-test
+AGIS_SCR=agi-test.agi jukebox.agi
+AGIS=$(AGIS_SCR) $(AGIS_BIN)
ifeq ($(OSARCH),SunOS)
LIBS+=-lsocket -lnsl
@@ -31,8 +33,9 @@ eagi-test: eagi-test.o strcompat.o
eagi-sphinx-test: eagi-sphinx-test.o
install: all
- mkdir -p $(DESTDIR)$(AGI_DIR)
- for x in $(AGIS); do $(INSTALL) -m 755 $$x $(DESTDIR)$(AGI_DIR) ; done
+ $(MKDIR) -p $(DESTDIR)$(AGI_DIR)
+ for x in $(AGIS_BIN); do $(BSD_INSTALL_PROGRAM) $$x $(DESTDIR)$(AGI_DIR) ; done
+ for x in $(AGIS_SCR); do $(BSD_INSTALL_SCRIPT) $$x $(DESTDIR)$(AGI_DIR) ; done
uninstall:
for x in $(AGIS); do rm -f $(DESTDIR)$(AGI_DIR)/$$x ; done

View File

@ -1,48 +0,0 @@
--- channels/Makefile.orig 2009-07-21 16:04:44.000000000 +0300
+++ channels/Makefile 2009-11-20 18:05:45.000000000 +0200
@@ -32,9 +32,10 @@
endif
ifeq ($(OSARCH),FreeBSD)
- PTLIB=-lpt_FreeBSD_x86_r
- H323LIB=-lh323_FreeBSD_x86_r
+ PTLIB=-lpt_r
+ H323LIB=-lh323_r
CHANH323LIB=-pthread
+ H323LDLIBS=$(PTLIB) $(H323LIB) $(CHANH323LIB)
endif
ifeq ($(OSARCH),NetBSD)
@@ -78,12 +79,13 @@
h323/libchanh323.a h323/Makefile.ast:
$(CMD_PREFIX) $(MAKE) -C h323
$(CMD_PREFIX) rm -f ../main/asterisk
- $(CMD_PREFIX) echo "***************************************************************"
- $(CMD_PREFIX) echo
- $(CMD_PREFIX) echo "********** Re-run 'make' to pick up H.323 parameters **********"
- $(CMD_PREFIX) echo
- $(CMD_PREFIX) echo "***************************************************************"
- $(CMD_PREFIX) exit 1
+ $(CMD_PREFIX) $(MAKE) -C . chan_h323.so
+# $(CMD_PREFIX) echo "***************************************************************"
+# $(CMD_PREFIX) echo
+# $(CMD_PREFIX) echo "********** Re-run 'make' to pick up H.323 parameters **********"
+# $(CMD_PREFIX) echo
+# $(CMD_PREFIX) echo "***************************************************************"
+# $(CMD_PREFIX) exit 1
endif
dist-clean::
@@ -111,8 +113,12 @@
else
chan_h323.so: chan_h323.o h323/libchanh323.a
$(ECHO_PREFIX) echo " [LD] $^ -> $@"
+ifeq ($(OSARCH),FreeBSD)
+ $(CMD_PREFIX) $(CXX) $(PTHREAD_CFLAGS) $(ASTLDFLAGS) $(SOLINK) $(H323LDFLAGS) -o $@ $< h323/libchanh323.a $(H323LDLIBS) $(CHANH323LIB)
+else
$(CMD_PREFIX) $(CXX) $(PTHREAD_CFLAGS) $(_ASTLDFLAGS) $(SOLINK) -o $@ $< h323/libchanh323.a $(CHANH323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -L$(OPENH323DIR)/lib $(H323LIB) -L/usr/lib -lcrypto -lssl -lexpat $(ASTLDFLAGS)
endif
+endif
chan_misdn.o: _ASTCFLAGS+=-Imisdn

View File

@ -1,11 +0,0 @@
--- channels/chan_sip.c.orig 2008-06-10 00:46:46.000000000 -0700
+++ channels/chan_sip.c 2008-06-10 00:46:46.000000000 -0700
@@ -496,7 +496,7 @@
#define DEFAULT_MOHINTERPRET "default"
#define DEFAULT_MOHSUGGEST ""
#define DEFAULT_VMEXTEN "asterisk"
-#define DEFAULT_CALLERID "asterisk"
+#define DEFAULT_CALLERID "Unknown"
#define DEFAULT_NOTIFYMIME "application/simple-message-summary"
#define DEFAULT_MWITIME 10
#define DEFAULT_ALLOWGUEST TRUE

View File

@ -1,14 +0,0 @@
$FreeBSD$
--- channels/h323/Makefile.in
+++ channels/h323/Makefile.in
@@ -13,7 +13,7 @@
STDCCFLAGS += -I../../include -include ../../include/asterisk/autoconfig.h
STDCCFLAGS += -fPIC
#OPTCCFLAGS +=
-CFLAGS = -pipe
+CFLAGS = -pipe @CXXFLAGS@
TARGET = libchanh323.a
TARGET += Makefile.ast
SOURCES = ast_h323.cxx compat_h323.cxx cisco-h225.cxx caps_h323.cxx

View File

@ -1,11 +0,0 @@
--- configure.orig 2011-01-27 18:57:46.000000000 +0200
+++ configure 2011-05-25 10:40:16.000000000 +0300
@@ -18106,7 +18106,7 @@
fi
- PLATFORM_OPENH323="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}"
+ PLATFORM_OPENH323="h323_${OPENH323_SUFFIX}"
if test "${HAS_OPENH323:-unset}" != "unset"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenH323 installation validity" >&5

View File

@ -1,13 +0,0 @@
$FreeBSD$
--- include/asterisk/utils.h 2004/10/10 12:55:50 1.1
+++ include/asterisk/utils.h 2004/10/10 12:56:43
@@ -37,7 +37,6 @@
#ifdef inet_ntoa
#undef inet_ntoa
#endif
-#define inet_ntoa __dont__use__inet_ntoa__use__ast_inet_ntoa__instead__
#ifdef LINUX
#define ast_pthread_create pthread_create

View File

@ -1,36 +0,0 @@
--- main/Makefile.orig 2009-08-01 03:52:00.000000000 +0300
+++ main/Makefile 2009-11-20 18:09:06.000000000 +0200
@@ -92,8 +92,8 @@
cd editline && test -f config.h || CFLAGS="$(PTHREAD_CFLAGS) $(subst $(ASTTOPDIR),../../,$(_ASTCFLAGS:-Werror=)) $(ASTCFLAGS)" LDFLAGS="$(_ASTLDFLAGS) $(ASTLDFLAGS)" ./configure --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) --with-ncurses=$(NCURSES_DIR) --with-curses=$(CURSES_DIR) --with-termcap=$(TERMCAP_DIR) --with-tinfo=$(TINFO_DIR)
$(MAKE) -C editline libedit.a
-db1-ast/libdb1.a:
- _ASTCFLAGS="$(_ASTCFLAGS)" ASTCFLAGS="$(ASTCFLAGS) -Wno-strict-aliasing" $(MAKE) -C db1-ast libdb1.a
+#db1-ast/libdb1.a:
+# _ASTCFLAGS="$(_ASTCFLAGS)" ASTCFLAGS="$(ASTCFLAGS) -Wno-strict-aliasing" $(MAKE) -C db1-ast libdb1.a
ast_expr2.c ast_expr2.h:
bison -o $@ -d --name-prefix=ast_yy ast_expr2.y
@@ -127,18 +127,18 @@
H323LDLIBS=
endif
-asterisk: $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) asterisk.exports
+asterisk: $(OBJS) editline/libedit.a $(AST_EMBED_LDSCRIPTS) asterisk.exports
@$(ASTTOPDIR)/build_tools/make_build_h > $(ASTTOPDIR)/include/asterisk/build.h.tmp
@if cmp -s $(ASTTOPDIR)/include/asterisk/build.h.tmp $(ASTTOPDIR)/include/asterisk/build.h ; then echo ; else \
mv $(ASTTOPDIR)/include/asterisk/build.h.tmp $(ASTTOPDIR)/include/asterisk/build.h ; \
fi
@rm -f $(ASTTOPDIR)/include/asterisk/build.h.tmp
@$(CC) -c -o buildinfo.o $(_ASTCFLAGS) buildinfo.c $(ASTCFLAGS)
- $(ECHO_PREFIX) echo " [LD] $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) -> $@"
+ $(ECHO_PREFIX) echo " [LD] $(OBJS) editline/libedit.a $(AST_EMBED_LDSCRIPTS) -> $@"
ifneq ($(findstring chan_h323,$(MENUSELECT_CHANNELS)),)
- $(CMD_PREFIX) $(CC) $(STATIC_BUILD) -o $@ $(ASTLINK) $(PTHREAD_CFLAGS) $(AST_EMBED_LDFLAGS) $(_ASTLDFLAGS) $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(ASTLDFLAGS)
+ $(CMD_PREFIX) $(CC) $(STATIC_BUILD) -o $@ $(ASTLINK) $(PTHREAD_CFLAGS) $(AST_EMBED_LDFLAGS) $(_ASTLDFLAGS) $(OBJS) editline/libedit.a $(AST_EMBED_LDSCRIPTS) buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(ASTLDFLAGS)
else
- $(CMD_PREFIX) $(CXX) $(STATIC_BUILD) -o $@ $(ASTLINK) $(PTHREAD_CFLAGS) $(AST_EMBED_LDFLAGS) $(_ASTLDFLAGS) $(H323LDFLAGS) $(OBJS) editline/libedit.a db1-ast/libdb1.a $(AST_EMBED_LDSCRIPTS) buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(H323LDLIBS) $(ASTLDFLAGS)
+ $(CMD_PREFIX) $(CXX) $(STATIC_BUILD) -o $@ $(ASTLINK) $(PTHREAD_CFLAGS) $(AST_EMBED_LDFLAGS) $(_ASTLDFLAGS) $(H323LDFLAGS) $(OBJS) editline/libedit.a $(AST_EMBED_LDSCRIPTS) buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(H323LDLIBS) $(ASTLDFLAGS)
endif
clean::

View File

@ -1,21 +0,0 @@
$FreeBSD$
--- main/db.c.orig Fri Jan 13 11:05:32 2006
+++ main/db.c Fri Jan 13 11:06:55 2006
@@ -35,6 +35,7 @@
#include <errno.h>
#include <unistd.h>
#include <dirent.h>
+#include <db.h>
#include "asterisk.h"
@@ -51,7 +52,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revisi
#include "asterisk/utils.h"
#include "asterisk/lock.h"
#include "asterisk/manager.h"
-#include "db1-ast/include/db.h"
#ifdef __CYGWIN__
#define dbopen __dbopen

View File

@ -1,14 +0,0 @@
$FreeBSD$
--- main/frame.c.orig Wed Jan 25 13:22:43 2006
+++ main/frame.c Wed Jan 25 13:21:25 2006
@@ -1170,7 +1170,7 @@ static int g723_len(unsigned char buf)
{
switch(buf & TYPE_MASK) {
case TYPE_DONTSEND:
- return 0;
+ return 2;
break;
case TYPE_SILENCE:
return 4;

View File

@ -1,16 +0,0 @@
$FreeBSD$
--- main/utils.c.orig
+++ main/utils.c
@@ -914,8 +914,8 @@
pthread_attr_init(attr);
}
-#ifdef __linux__
- /* On Linux, pthread_attr_init() defaults to PTHREAD_EXPLICIT_SCHED,
+#if defined(__linux__) || defined(__FreeBSD__)
+ /* On Linux and FreeBSD, pthread_attr_init() defaults to PTHREAD_EXPLICIT_SCHED,
which is kind of useless. Change this here to
PTHREAD_INHERIT_SCHED; that way the -p option to set realtime
priority will propagate down to new threads by default.

View File

@ -1,25 +0,0 @@
--- channels/chan_sip.c.orig 2009-04-14 08:58:13.000000000 +0100
+++ channels/chan_sip.c 2009-04-14 09:00:58.000000000 +0100
@@ -16287,7 +16287,6 @@
restartsearch:
/* Check for interfaces needing to be killed */
ast_mutex_lock(&iflock);
- t = time(NULL);
/* don't scan the interface list if it hasn't been a reasonable period
of time since the last time we did it (when MWI is being sent, we can
get back to this point every millisecond or less)
@@ -16306,12 +16305,14 @@
(sip->owner->_state == AST_STATE_UP) &&
!sip->redirip.sin_addr.s_addr &&
sip->t38.state != T38_ENABLED) {
+ t = time(NULL);
if (sip->lastrtptx &&
ast_rtp_get_rtpkeepalive(sip->rtp) &&
(t > sip->lastrtptx + ast_rtp_get_rtpkeepalive(sip->rtp))) {
/* Need to send an empty RTP packet */
sip->lastrtptx = time(NULL);
ast_rtp_sendcng(sip->rtp, 0);
+ t = time(NULL);
}
if (sip->lastrtprx &&
(ast_rtp_get_rtptimeout(sip->rtp) || ast_rtp_get_rtpholdtimeout(sip->rtp)) &&

View File

@ -1,270 +0,0 @@
Index: main/logger.c
===================================================================
--- main/logger.c (revision 188505)
+++ main/logger.c (working copy)
@@ -140,6 +140,17 @@
AST_THREADSTORAGE(log_buf, log_buf_init);
#define LOG_BUF_INIT_SIZE 128
+/*
+ * Storage for previous log message to prevent log storms
+ */
+static int stored_log_level;
+static int stored_log_dup_count = 0;
+static char *stored_log_msg = NULL;
+static const char *stored_log_file;
+static int stored_log_line;
+static const char *stored_log_function;
+static ast_mutex_t stored_log_msg_lock;
+
static int make_components(char *s, int lineno)
{
char *w;
@@ -591,6 +602,8 @@
char tmp[256];
int res = 0;
+ ast_mutex_init(&stored_log_msg_lock);
+
/* auto rotate if sig SIGXFSZ comes a-knockin */
(void) signal(SIGXFSZ,(void *) handle_SIGXFSZ);
@@ -655,14 +668,14 @@
return;
}
-static void __attribute__((format(printf, 5, 0))) ast_log_vsyslog(int level, const char *file, int line, const char *function, const char *fmt, va_list args)
+static void ast_log_syslog(int level, const char *file, int line, const char *function, const char *msg)
{
char buf[BUFSIZ];
char *s;
if (level >= SYSLOG_NLEVELS) {
/* we are locked here, so cannot ast_log() */
- fprintf(stderr, "ast_log_vsyslog called with bogus level: %d\n", level);
+ fprintf(stderr, "ast_log_syslog called with bogus level: %d\n", level);
return;
}
if (level == __LOG_VERBOSE) {
@@ -676,27 +689,20 @@
levels[level], (long)GETTID(), file, line, function);
}
s = buf + strlen(buf);
- vsnprintf(s, sizeof(buf) - strlen(buf), fmt, args);
+ snprintf(s, sizeof(buf) - strlen(buf), "%s", msg);
term_strip(s, s, strlen(s) + 1);
syslog(syslog_level_map[level], "%s", buf);
}
-/*!
- * \brief send log messages to syslog and/or the console
- */
-void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...)
+static void __ast_log(int level, const char *file, int line, const char *function, char *msg, int msglen)
{
struct logchannel *chan;
- struct ast_dynamic_str *buf;
time_t t;
struct tm tm;
char date[256];
+ char buf[2048];
+ int res;
- va_list ap;
-
- if (!(buf = ast_dynamic_str_thread_get(&log_buf, LOG_BUF_INIT_SIZE)))
- return;
-
if (AST_LIST_EMPTY(&logchannels))
{
/*
@@ -704,35 +710,12 @@
* so just log to stdout
*/
if (level != __LOG_VERBOSE) {
- int res;
- va_start(ap, fmt);
- res = ast_dynamic_str_thread_set_va(&buf, BUFSIZ, &log_buf, fmt, ap);
- va_end(ap);
- if (res != AST_DYNSTR_BUILD_FAILED) {
- term_filter_escapes(buf->str);
- fputs(buf->str, stdout);
- }
+ term_filter_escapes(msg);
+ fputs(msg, stdout);
}
return;
}
- /* don't display LOG_DEBUG messages unless option_verbose _or_ option_debug
- are non-zero; LOG_DEBUG messages can still be displayed if option_debug
- is zero, if option_verbose is non-zero (this allows for 'level zero'
- LOG_DEBUG messages to be displayed, if the logmask on any channel
- allows it)
- */
- if (!option_verbose && !option_debug && (level == __LOG_DEBUG))
- return;
-
- /* Ignore anything that never gets logged anywhere */
- if (!(global_logmask & (1 << level)))
- return;
-
- /* Ignore anything other than the currently debugged file if there is one */
- if ((level == __LOG_DEBUG) && !ast_strlen_zero(debug_filename) && strcasecmp(debug_filename, file))
- return;
-
time(&t);
ast_localtime(&t, &tm, NULL);
strftime(date, sizeof(date), dateformat, &tm);
@@ -740,13 +723,8 @@
AST_LIST_LOCK(&logchannels);
if (logfiles.event_log && level == __LOG_EVENT) {
- va_start(ap, fmt);
-
- fprintf(eventlog, "%s asterisk[%ld]: ", date, (long)getpid());
- vfprintf(eventlog, fmt, ap);
+ fprintf(eventlog, "%s asterisk[%ld]: %s", date, (long)getpid(), msg);
fflush(eventlog);
-
- va_end(ap);
AST_LIST_UNLOCK(&logchannels);
return;
}
@@ -756,18 +734,15 @@
break;
/* Check syslog channels */
if (chan->type == LOGTYPE_SYSLOG && (chan->logmask & (1 << level))) {
- va_start(ap, fmt);
- ast_log_vsyslog(level, file, line, function, fmt, ap);
- va_end(ap);
+ ast_log_syslog(level, file, line, function, msg);
/* Console channels */
} else if ((chan->logmask & (1 << level)) && (chan->type == LOGTYPE_CONSOLE)) {
char linestr[128];
char tmp1[80], tmp2[80], tmp3[80], tmp4[80];
if (level != __LOG_VERBOSE) {
- int res;
sprintf(linestr, "%d", line);
- ast_dynamic_str_thread_set(&buf, BUFSIZ, &log_buf,
+ snprintf(buf, sizeof(buf),
"[%s] %s[%ld]: %s:%s %s: ",
date,
term_color(tmp1, levels[level], colors[level], 0, sizeof(tmp1)),
@@ -776,23 +751,17 @@
term_color(tmp3, linestr, COLOR_BRWHITE, 0, sizeof(tmp3)),
term_color(tmp4, function, COLOR_BRWHITE, 0, sizeof(tmp4)));
/*filter to the console!*/
- term_filter_escapes(buf->str);
- ast_console_puts_mutable(buf->str);
-
- va_start(ap, fmt);
- res = ast_dynamic_str_thread_set_va(&buf, BUFSIZ, &log_buf, fmt, ap);
- va_end(ap);
- if (res != AST_DYNSTR_BUILD_FAILED)
- ast_console_puts_mutable(buf->str);
+ term_filter_escapes(buf);
+ ast_console_puts_mutable(buf);
+ ast_console_puts_mutable(msg);
}
/* File channels */
} else if ((chan->logmask & (1 << level)) && (chan->fileptr)) {
- int res;
- ast_dynamic_str_thread_set(&buf, BUFSIZ, &log_buf,
+ snprintf(buf, sizeof(buf),
"[%s] %s[%ld] %s: ",
date, levels[level], (long)GETTID(), file);
- res = fprintf(chan->fileptr, "%s", term_strip(buf->str, buf->str, strlen(buf->str) + 1));
- if (res <= 0 && !ast_strlen_zero(buf->str)) { /* Error, no characters printed */
+ res = fprintf(chan->fileptr, "%s", term_strip(buf, buf, strlen(buf) + 1));
+ if (res <= 0 && !ast_strlen_zero(buf)) { /* Error, no characters printed */
fprintf(stderr,"**** Asterisk Logging Error: ***********\n");
if (errno == ENOMEM || errno == ENOSPC) {
fprintf(stderr, "Asterisk logging error: Out of disk space, can't log to log file %s\n", chan->filename);
@@ -801,16 +770,10 @@
manager_event(EVENT_FLAG_SYSTEM, "LogChannel", "Channel: %s\r\nEnabled: No\r\nReason: %d - %s\r\n", chan->filename, errno, strerror(errno));
chan->disabled = 1;
} else {
- int res;
/* No error message, continue printing */
- va_start(ap, fmt);
- res = ast_dynamic_str_thread_set_va(&buf, BUFSIZ, &log_buf, fmt, ap);
- va_end(ap);
- if (res != AST_DYNSTR_BUILD_FAILED) {
- term_strip(buf->str, buf->str, buf->len);
- fputs(buf->str, chan->fileptr);
- fflush(chan->fileptr);
- }
+ term_strip(msg, msg, msglen);
+ fputs(msg, chan->fileptr);
+ fflush(chan->fileptr);
}
}
}
@@ -825,6 +788,65 @@
}
}
+/*!
+ * \brief send log messages to syslog and/or the console
+ */
+void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...)
+{
+ struct ast_dynamic_str *buf;
+ int res;
+ va_list ap;
+
+ if (!(buf = ast_dynamic_str_thread_get(&log_buf, LOG_BUF_INIT_SIZE)))
+ return;
+
+ va_start(ap, fmt);
+ res = ast_dynamic_str_thread_set_va(&buf, BUFSIZ, &log_buf, fmt, ap);
+ va_end(ap);
+ if (res == AST_DYNSTR_BUILD_FAILED)
+ return;
+
+ /* don't display LOG_DEBUG messages unless option_verbose _or_ option_debug
+ are non-zero; LOG_DEBUG messages can still be displayed if option_debug
+ is zero, if option_verbose is non-zero (this allows for 'level zero'
+ LOG_DEBUG messages to be displayed, if the logmask on any channel
+ allows it)
+ */
+ if (!option_verbose && !option_debug && (level == __LOG_DEBUG))
+ return;
+
+ /* Ignore anything that never gets logged anywhere */
+ if (!(global_logmask & (1 << level)))
+ return;
+
+ /* Ignore anything other than the currently debugged file if there is one */
+ if ((level == __LOG_DEBUG) && !ast_strlen_zero(debug_filename) && strcasecmp(debug_filename, file))
+ return;
+
+ ast_mutex_lock(&stored_log_msg_lock);
+ if (stored_log_msg == NULL || stored_log_level != level || strcmp(buf->str, stored_log_msg) != 0) {
+ if (stored_log_dup_count > 0) {
+ char buf2[1024];
+
+ snprintf(buf2, sizeof(buf2), "Last message repeated %d times\n", stored_log_dup_count);
+ __ast_log(stored_log_level, stored_log_file, stored_log_line, stored_log_function, buf2, strlen(buf2));
+ }
+ if (stored_log_msg != NULL)
+ ast_free(stored_log_msg);
+ stored_log_msg = ast_strdup(buf->str);
+ stored_log_level = level;
+ stored_log_dup_count = 0;
+ stored_log_file = file;
+ stored_log_line = line;
+ stored_log_function = function;
+ __ast_log(level, file, line, function, buf->str, buf->len);
+ }
+ else
+ ++stored_log_dup_count;
+
+ ast_mutex_unlock(&stored_log_msg_lock);
+}
+
void ast_backtrace(void)
{
#ifdef linux

View File

@ -1,85 +0,0 @@
--- configs/sip.conf.sample.orig 2008-04-25 08:53:52.000000000 -0700
+++ configs/sip.conf.sample 2008-06-10 00:45:37.000000000 -0700
@@ -53,6 +53,12 @@
; and multiline formatted headers for strict
; SIP compatibility (defaults to "no")
+;rtp_force_dtmf_relay=no ; Enable RFC2833 DTMFs to be sent even if peer
+ ; hasn't announced support for it. Default: no
+
+;rtp_force_dtmf_relay_pt=101 ; RTP payload type value for enforced RFC2833
+ ; DTMFs. Default: 101
+
; See doc/ip-tos.txt for a description of these parameters.
;tos_sip=cs3 ; Sets TOS for SIP packets.
;tos_audio=ef ; Sets TOS for RTP audio packets.
--- channels/chan_sip.c.orig 2011-05-25 09:29:31.000000000 +0300
+++ channels/chan_sip.c 2011-05-25 09:37:35.000000000 +0300
@@ -566,6 +566,9 @@
static unsigned int global_tos_sip; /*!< IP type of service for SIP packets */
static unsigned int global_tos_audio; /*!< IP type of service for audio RTP packets */
static unsigned int global_tos_video; /*!< IP type of service for video RTP packets */
+static int global_force_dtmf_relay = 0;
+static int global_force_dtmf_relay_pt = 101;
+
static int compactheaders; /*!< send compact sip headers */
static int recordhistory; /*!< Record SIP history. Off by default */
static int dumphistory; /*!< Dump history to verbose before destroying SIP dialog */
@@ -5491,6 +5494,7 @@
int x;
int codec_index = 0;
int codec_pt_order[256];
+ int dtmf_present = 0;
/* Host information */
struct ast_hostent audiohp;
@@ -5775,12 +5779,20 @@
for (x = 0; x < codec_index; ++x) {
struct rtpPayloadType pt;
pt = ast_rtp_lookup_pt(p->rtp, codec_pt_order[x]);
+ if (pt.code == AST_RTP_DTMF)
+ dtmf_present = 1;
if (!pt.isAstFormat && !pt.code && p->vrtp)
pt = ast_rtp_lookup_pt(p->vrtp, codec_pt_order[x]);
if (pt.isAstFormat)
ast_codec_pref_append_missing2(&p->formats, pt.code);
}
ast_codec_pref_remove2(&p->formats, ~p->usercapability);
+ if (!dtmf_present && global_force_dtmf_relay) {
+ newnoncodeccapability |= AST_RTP_DTMF;
+ ast_rtp_set_m_type(newaudiortp, global_force_dtmf_relay_pt);
+ codec_pt_order[codec_index++] = global_force_dtmf_relay_pt;
+ ast_rtp_set_rtpmap_type(newaudiortp, global_force_dtmf_relay_pt, "audio", "telephone-event", 0);
+ }
/* Now gather all of the codecs that we are asked for: */
ast_rtp_get_current_formats(newaudiortp, &peercapability, &peernoncodeccapability);
@@ -18901,6 +18913,9 @@
global_matchexterniplocally = FALSE;
+ global_force_dtmf_relay = 0;
+ global_force_dtmf_relay_pt = 101;
+
/* Copy the default jb config over global_jbconf */
memcpy(&global_jbconf, &default_jbconf, sizeof(struct ast_jb_conf));
@@ -18963,6 +18978,18 @@
}
} else if (!strcasecmp(v->name, "vmexten")) {
ast_copy_string(default_vmexten, v->value, sizeof(default_vmexten));
+ } else if (!strcasecmp(v->name, "rtp_force_dtmf_relay")) {
+ if ((global_force_dtmf_relay = ast_true(v->value)))
+ ast_verbose("RTP DTMF relaying will be enforced\n");
+ else
+ ast_verbose("RTP DTMF relaying will not be enforced\n");
+ } else if (!strcasecmp(v->name, "rtp_force_dtmf_relay_pt")) {
+ sscanf(v->value, "%d", &global_force_dtmf_relay_pt);
+ if (global_force_dtmf_relay_pt < 96 || global_force_dtmf_relay_pt > 255) {
+ ast_verbose("RTP forced DTMF relay payload type is not valid: %d. Using default (101)\n", global_force_dtmf_relay_pt);
+ global_force_dtmf_relay_pt = 101;
+ } else
+ ast_log(LOG_WARNING, "RTP forced DTMF relay payload type is %d\n", global_force_dtmf_relay_pt);
} else if (!strcasecmp(v->name, "rtptimeout")) {
if ((sscanf(v->value, "%30d", &global_rtptimeout) != 1) || (global_rtptimeout < 0)) {
ast_log(LOG_WARNING, "'%s' is not a valid RTP hold time at line %d. Using default.\n", v->value, v->lineno);

View File

@ -1,69 +0,0 @@
--- channels/chan_sip.c.orig 2009-11-23 17:28:47.000000000 +0200
+++ channels/chan_sip.c 2009-11-23 17:29:29.000000000 +0200
@@ -565,6 +565,9 @@
static unsigned int global_tos_sip; /*!< IP type of service for SIP packets */
static unsigned int global_tos_audio; /*!< IP type of service for audio RTP packets */
static unsigned int global_tos_video; /*!< IP type of service for video RTP packets */
+static int global_force_dtmf_relay = 0;
+static int global_force_dtmf_relay_pt = 101;
+
static int compactheaders; /*!< send compact sip headers */
static int recordhistory; /*!< Record SIP history. Off by default */
static int dumphistory; /*!< Dump history to verbose before destroying SIP dialog */
@@ -5593,6 +5596,12 @@
/* Now gather all of the codecs that we are asked for: */
ast_rtp_get_current_formats(newaudiortp, &peercapability, &peernoncodeccapability);
+ /* Add telephone-event */
+ if (global_force_dtmf_relay && !(peernoncodeccapability & AST_RTP_DTMF)) {
+ ast_rtp_set_m_type(newaudiortp, global_force_dtmf_relay_pt);
+ ast_rtp_set_rtpmap_type(newaudiortp, global_force_dtmf_relay_pt, "audio", "telephone-event", 0);
+ peernoncodeccapability |= AST_RTP_DTMF;
+ }
ast_rtp_get_current_formats(newvideortp, &vpeercapability, &vpeernoncodeccapability);
newjointcapability = p->capability & (peercapability | vpeercapability);
@@ -18366,6 +18375,9 @@
global_matchexterniplocally = FALSE;
+ global_force_dtmf_relay = 0;
+ global_force_dtmf_relay_pt = 101;
+
/* Copy the default jb config over global_jbconf */
memcpy(&global_jbconf, &default_jbconf, sizeof(struct ast_jb_conf));
@@ -18428,6 +18440,18 @@
}
} else if (!strcasecmp(v->name, "vmexten")) {
ast_copy_string(default_vmexten, v->value, sizeof(default_vmexten));
+ } else if (!strcasecmp(v->name, "rtp_force_dtmf_relay")) {
+ if ((global_force_dtmf_relay = ast_true(v->value)))
+ ast_verbose("RTP DTMF relaying will be enforced\n");
+ else
+ ast_verbose("RTP DTMF relaying will not be enforced\n");
+ } else if (!strcasecmp(v->name, "rtp_force_dtmf_relay_pt")) {
+ sscanf(v->value, "%d", &global_force_dtmf_relay_pt);
+ if (global_force_dtmf_relay_pt < 96 || global_force_dtmf_relay_pt > 255) {
+ ast_verbose("RTP forced DTMF relay payload type is not valid: %d. Using default (101)\n", global_force_dtmf_relay_pt);
+ global_force_dtmf_relay_pt = 101;
+ } else
+ ast_log(LOG_WARNING, "RTP forced DTMF relay payload type is %d\n", global_force_dtmf_relay_pt);
} else if (!strcasecmp(v->name, "rtptimeout")) {
if ((sscanf(v->value, "%30d", &global_rtptimeout) != 1) || (global_rtptimeout < 0)) {
ast_log(LOG_WARNING, "'%s' is not a valid RTP hold time at line %d. Using default.\n", v->value, v->lineno);
--- configs/sip.conf.sample.orig 2008-08-16 01:33:42.000000000 +0300
+++ configs/sip.conf.sample 2008-12-12 17:03:11.000000000 +0200
@@ -49,6 +49,12 @@
; and multiline formatted headers for strict
; SIP compatibility (defaults to "no")
+;rtp_force_dtmf_relay=no ; Enable RFC2833 DTMFs to be sent even if peer
+ ; hasn't announced support for it. Default: no
+
+;rtp_force_dtmf_relay_pt=101 ; RTP payload type value for enforced RFC2833
+ ; DTMFs. Default: 101
+
; See doc/ip-tos.txt for a description of these parameters.
;tos_sip=cs3 ; Sets TOS for SIP packets.
;tos_audio=ef ; Sets TOS for RTP audio packets.

View File

@ -1,11 +0,0 @@
--- channels/chan_sip.c.orig 2009-05-12 21:18:44.000000000 +0300
+++ channels/chan_sip.c 2009-05-26 12:58:10.000000000 +0300
@@ -3061,6 +3061,8 @@
} else if (!strcasecmp(ast_var_name(current), "SIPTRANSFER_REPLACES")) {
/* We're replacing a call. */
p->options->replaces = ast_var_value(current);
+ } else if (!strcasecmp(ast_var_name(current), "SIP_FORCE_CALLID")) {
+ ast_string_field_set(p, callid, ast_var_value(current));
}
}

View File

@ -1,45 +0,0 @@
--- channels/chan_sip.c.orig 2008-04-29 08:21:05.000000000 -0400
+++ channels/chan_sip.c 2008-05-28 18:41:48.000000000 -0400
@@ -15962,6 +15978,9 @@
char *ext, *host;
char tmp[256];
char *dest = data;
+ char *secret = NULL;
+ char *md5secret = NULL;
+ char *authname = NULL;
if (!(p = sip_alloc(NULL, NULL, 0, SIP_INVITE))) {
ast_log(LOG_ERROR, "Unable to build sip pvt data for '%s' (Out of memory or socket error)\n", (char *)data);
@@ -15983,6 +16002,17 @@
if (host) {
*host++ = '\0';
ext = tmp;
+ secret = strchr(ext, ':');
+ if (secret) {
+ *secret++ = '\0';
+ md5secret = strchr(secret, ':');
+ if (md5secret) {
+ *md5secret++ = '\0';
+ authname = strchr(md5secret, ':');
+ if (authname)
+ *authname++ = '\0';
+ }
+ }
} else {
ext = strchr(tmp, '/');
if (ext)
@@ -16015,6 +16045,14 @@
ast_string_field_set(p, username, ext);
ast_string_field_free(p, fullcontact);
}
+ if (secret && !ast_strlen_zero(secret))
+ ast_string_field_set(p, peersecret, secret);
+
+ if (md5secret && !ast_strlen_zero(md5secret))
+ ast_string_field_set(p, peermd5secret, md5secret);
+
+ if (authname && !ast_strlen_zero(authname))
+ ast_string_field_set(p, authname, authname);
#if 0
printf("Setting up to call extension '%s' at '%s'\n", ext ? ext : "<none>", host);
#endif

View File

@ -1,5 +0,0 @@
Asterisk is an Open Source PBX and telephony toolkit. It is, in a
sense, middleware between Internet and telephony channels on the bottom,
and Internet and telephony applications at the top.
WWW: http://www.asteriskpbx.com

View File

@ -1,972 +0,0 @@
@unexec if cmp -s %D/etc/asterisk/adsi.conf %D/etc/asterisk/adsi.conf-dist; then rm -f %D/etc/asterisk/adsi.conf; fi
etc/asterisk/adsi.conf-dist
@unexec if cmp -s %D/etc/asterisk/adtranvofr.conf %D/etc/asterisk/adtranvofr.conf-dist; then rm -f %D/etc/asterisk/adtranvofr.conf; fi
etc/asterisk/adtranvofr.conf-dist
@unexec if cmp -s %D/etc/asterisk/agents.conf %D/etc/asterisk/agents.conf-dist; then rm -f %D/etc/asterisk/agents.conf; fi
etc/asterisk/agents.conf-dist
@unexec if cmp -s %D/etc/asterisk/alarmreceiver.conf %D/etc/asterisk/alarmreceiver.conf-dist; then rm -f %D/etc/asterisk/alarmreceiver.conf; fi
etc/asterisk/alarmreceiver.conf-dist
@unexec if cmp -s %D/etc/asterisk/alsa.conf %D/etc/asterisk/alsa.conf-dist; then rm -f %D/etc/asterisk/alsa.conf; fi
etc/asterisk/alsa.conf-dist
@unexec if cmp -s %D/etc/asterisk/amd.conf %D/etc/asterisk/amd.conf-dist; then rm -f %D/etc/asterisk/amd.conf; fi
etc/asterisk/amd.conf-dist
@unexec if cmp -s %D/etc/asterisk/asterisk.adsi %D/etc/asterisk/asterisk.adsi-dist; then rm -f %D/etc/asterisk/asterisk.adsi; fi
etc/asterisk/asterisk.adsi-dist
@unexec if cmp -s %D/etc/asterisk/asterisk.conf %D/etc/asterisk/asterisk.conf-dist; then rm -f %D/etc/asterisk/asterisk.conf; fi
etc/asterisk/asterisk.conf-dist
@unexec if cmp -s %D/etc/asterisk/cdr.conf %D/etc/asterisk/cdr.conf-dist; then rm -f %D/etc/asterisk/cdr.conf; fi
etc/asterisk/cdr.conf-dist
@unexec if cmp -s %D/etc/asterisk/cdr_custom.conf %D/etc/asterisk/cdr_custom.conf-dist; then rm -f %D/etc/asterisk/cdr_custom.conf; fi
etc/asterisk/cdr_custom.conf-dist
@unexec if cmp -s %D/etc/asterisk/cdr_manager.conf %D/etc/asterisk/cdr_manager.conf-dist; then rm -f %D/etc/asterisk/cdr_manager.conf; fi
etc/asterisk/cdr_manager.conf-dist
@unexec if cmp -s %D/etc/asterisk/cdr_odbc.conf %D/etc/asterisk/cdr_odbc.conf-dist; then rm -f %D/etc/asterisk/cdr_odbc.conf; fi
etc/asterisk/cdr_odbc.conf-dist
@unexec if cmp -s %D/etc/asterisk/cdr_pgsql.conf %D/etc/asterisk/cdr_pgsql.conf-dist; then rm -f %D/etc/asterisk/cdr_pgsql.conf; fi
etc/asterisk/cdr_pgsql.conf-dist
@unexec if cmp -s %D/etc/asterisk/cdr_tds.conf %D/etc/asterisk/cdr_tds.conf-dist; then rm -f %D/etc/asterisk/cdr_tds.conf; fi
etc/asterisk/cdr_tds.conf-dist
@unexec if cmp -s %D/etc/asterisk/chan_dahdi.conf %D/etc/asterisk/chan_dahdi.conf-dist; then rm -f %D/etc/asterisk/chan_dahdi.conf; fi
etc/asterisk/chan_dahdi.conf-dist
@unexec if cmp -s %D/etc/asterisk/codecs.conf %D/etc/asterisk/codecs.conf-dist; then rm -f %D/etc/asterisk/codecs.conf; fi
etc/asterisk/codecs.conf-dist
@unexec if cmp -s %D/etc/asterisk/dnsmgr.conf %D/etc/asterisk/dnsmgr.conf-dist; then rm -f %D/etc/asterisk/dnsmgr.conf; fi
etc/asterisk/dnsmgr.conf-dist
@unexec if cmp -s %D/etc/asterisk/dundi.conf %D/etc/asterisk/dundi.conf-dist; then rm -f %D/etc/asterisk/dundi.conf; fi
etc/asterisk/dundi.conf-dist
@unexec if cmp -s %D/etc/asterisk/enum.conf %D/etc/asterisk/enum.conf-dist; then rm -f %D/etc/asterisk/enum.conf; fi
etc/asterisk/enum.conf-dist
@unexec if cmp -s %D/etc/asterisk/extconfig.conf %D/etc/asterisk/extconfig.conf-dist; then rm -f %D/etc/asterisk/extconfig.conf; fi
etc/asterisk/extconfig.conf-dist
@unexec if cmp -s %D/etc/asterisk/extensions.ael %D/etc/asterisk/extensions.ael-dist; then rm -f %D/etc/asterisk/extensions.ael; fi
etc/asterisk/extensions.ael-dist
@unexec if cmp -s %D/etc/asterisk/extensions.conf %D/etc/asterisk/extensions.conf-dist; then rm -f %D/etc/asterisk/extensions.conf; fi
etc/asterisk/extensions.conf-dist
@unexec if cmp -s %D/etc/asterisk/features.conf %D/etc/asterisk/features.conf-dist; then rm -f %D/etc/asterisk/features.conf; fi
etc/asterisk/features.conf-dist
@unexec if cmp -s %D/etc/asterisk/festival.conf %D/etc/asterisk/festival.conf-dist; then rm -f %D/etc/asterisk/festival.conf; fi
etc/asterisk/festival.conf-dist
@unexec if cmp -s %D/etc/asterisk/followme.conf %D/etc/asterisk/followme.conf-dist; then rm -f %D/etc/asterisk/followme.conf; fi
etc/asterisk/followme.conf-dist
@unexec if cmp -s %D/etc/asterisk/func_odbc.conf %D/etc/asterisk/func_odbc.conf-dist; then rm -f %D/etc/asterisk/func_odbc.conf; fi
etc/asterisk/func_odbc.conf-dist
@unexec if cmp -s %D/etc/asterisk/gtalk.conf %D/etc/asterisk/gtalk.conf-dist; then rm -f %D/etc/asterisk/gtalk.conf; fi
etc/asterisk/gtalk.conf-dist
@unexec if cmp -s %D/etc/asterisk/h323.conf %D/etc/asterisk/h323.conf-dist; then rm -f %D/etc/asterisk/h323.conf; fi
etc/asterisk/h323.conf-dist
@unexec if cmp -s %D/etc/asterisk/http.conf %D/etc/asterisk/http.conf-dist; then rm -f %D/etc/asterisk/http.conf; fi
etc/asterisk/http.conf-dist
@unexec if cmp -s %D/etc/asterisk/iax.conf %D/etc/asterisk/iax.conf-dist; then rm -f %D/etc/asterisk/iax.conf; fi
etc/asterisk/iax.conf-dist
@unexec if cmp -s %D/etc/asterisk/iaxprov.conf %D/etc/asterisk/iaxprov.conf-dist; then rm -f %D/etc/asterisk/iaxprov.conf; fi
etc/asterisk/iaxprov.conf-dist
@unexec if cmp -s %D/etc/asterisk/indications.conf %D/etc/asterisk/indications.conf-dist; then rm -f %D/etc/asterisk/indications.conf; fi
etc/asterisk/indications.conf-dist
@unexec if cmp -s %D/etc/asterisk/jabber.conf %D/etc/asterisk/jabber.conf-dist; then rm -f %D/etc/asterisk/jabber.conf; fi
etc/asterisk/jabber.conf-dist
@unexec if cmp -s %D/etc/asterisk/logger.conf %D/etc/asterisk/logger.conf-dist; then rm -f %D/etc/asterisk/logger.conf; fi
etc/asterisk/logger.conf-dist
@unexec if cmp -s %D/etc/asterisk/manager.conf %D/etc/asterisk/manager.conf-dist; then rm -f %D/etc/asterisk/manager.conf; fi
etc/asterisk/manager.conf-dist
@unexec if cmp -s %D/etc/asterisk/meetme.conf %D/etc/asterisk/meetme.conf-dist; then rm -f %D/etc/asterisk/meetme.conf; fi
etc/asterisk/meetme.conf-dist
@unexec if cmp -s %D/etc/asterisk/mgcp.conf %D/etc/asterisk/mgcp.conf-dist; then rm -f %D/etc/asterisk/mgcp.conf; fi
etc/asterisk/mgcp.conf-dist
@unexec if cmp -s %D/etc/asterisk/misdn.conf %D/etc/asterisk/misdn.conf-dist; then rm -f %D/etc/asterisk/misdn.conf; fi
etc/asterisk/misdn.conf-dist
@unexec if cmp -s %D/etc/asterisk/modules.conf %D/etc/asterisk/modules.conf-dist; then rm -f %D/etc/asterisk/modules.conf; fi
etc/asterisk/modules.conf-dist
@unexec if cmp -s %D/etc/asterisk/musiconhold.conf %D/etc/asterisk/musiconhold.conf-dist; then rm -f %D/etc/asterisk/musiconhold.conf; fi
etc/asterisk/musiconhold.conf-dist
@unexec if cmp -s %D/etc/asterisk/muted.conf %D/etc/asterisk/muted.conf-dist; then rm -f %D/etc/asterisk/muted.conf; fi
etc/asterisk/muted.conf-dist
@unexec if cmp -s %D/etc/asterisk/osp.conf %D/etc/asterisk/osp.conf-dist; then rm -f %D/etc/asterisk/osp.conf; fi
etc/asterisk/osp.conf-dist
@unexec if cmp -s %D/etc/asterisk/oss.conf %D/etc/asterisk/oss.conf-dist; then rm -f %D/etc/asterisk/oss.conf; fi
etc/asterisk/oss.conf-dist
@unexec if cmp -s %D/etc/asterisk/phone.conf %D/etc/asterisk/phone.conf-dist; then rm -f %D/etc/asterisk/phone.conf; fi
etc/asterisk/phone.conf-dist
@unexec if cmp -s %D/etc/asterisk/privacy.conf %D/etc/asterisk/privacy.conf-dist; then rm -f %D/etc/asterisk/privacy.conf; fi
etc/asterisk/privacy.conf-dist
@unexec if cmp -s %D/etc/asterisk/queues.conf %D/etc/asterisk/queues.conf-dist; then rm -f %D/etc/asterisk/queues.conf; fi
etc/asterisk/queues.conf-dist
@unexec if cmp -s %D/etc/asterisk/res_odbc.conf %D/etc/asterisk/res_odbc.conf-dist; then rm -f %D/etc/asterisk/res_odbc.conf; fi
etc/asterisk/res_odbc.conf-dist
@unexec if cmp -s %D/etc/asterisk/res_pgsql.conf %D/etc/asterisk/res_pgsql.conf-dist; then rm -f %D/etc/asterisk/res_pgsql.conf; fi
etc/asterisk/res_pgsql.conf-dist
@unexec if cmp -s %D/etc/asterisk/res_snmp.conf %D/etc/asterisk/res_snmp.conf-dist; then rm -f %D/etc/asterisk/res_snmp.conf; fi
etc/asterisk/res_snmp.conf-dist
@unexec if cmp -s %D/etc/asterisk/rpt.conf %D/etc/asterisk/rpt.conf-dist; then rm -f %D/etc/asterisk/rpt.conf; fi
etc/asterisk/rpt.conf-dist
@unexec if cmp -s %D/etc/asterisk/rtp.conf %D/etc/asterisk/rtp.conf-dist; then rm -f %D/etc/asterisk/rtp.conf; fi
etc/asterisk/rtp.conf-dist
@unexec if cmp -s %D/etc/asterisk/say.conf %D/etc/asterisk/say.conf-dist; then rm -f %D/etc/asterisk/say.conf; fi
etc/asterisk/say.conf-dist
@unexec if cmp -s %D/etc/asterisk/sip.conf %D/etc/asterisk/sip.conf-dist; then rm -f %D/etc/asterisk/sip.conf; fi
etc/asterisk/sip.conf-dist
@unexec if cmp -s %D/etc/asterisk/sip_notify.conf %D/etc/asterisk/sip_notify.conf-dist; then rm -f %D/etc/asterisk/sip_notify.conf; fi
etc/asterisk/sip_notify.conf-dist
@unexec if cmp -s %D/etc/asterisk/skinny.conf %D/etc/asterisk/skinny.conf-dist; then rm -f %D/etc/asterisk/skinny.conf; fi
etc/asterisk/skinny.conf-dist
@unexec if cmp -s %D/etc/asterisk/sla.conf %D/etc/asterisk/sla.conf-dist; then rm -f %D/etc/asterisk/sla.conf; fi
etc/asterisk/sla.conf-dist
@unexec if cmp -s %D/etc/asterisk/smdi.conf %D/etc/asterisk/smdi.conf-dist; then rm -f %D/etc/asterisk/smdi.conf; fi
etc/asterisk/smdi.conf-dist
@unexec if cmp -s %D/etc/asterisk/telcordia-1.adsi %D/etc/asterisk/telcordia-1.adsi-dist; then rm -f %D/etc/asterisk/telcordia-1.adsi; fi
etc/asterisk/telcordia-1.adsi-dist
@unexec if cmp -s %D/etc/asterisk/udptl.conf %D/etc/asterisk/udptl.conf-dist; then rm -f %D/etc/asterisk/udptl.conf; fi
etc/asterisk/udptl.conf-dist
@unexec if cmp -s %D/etc/asterisk/users.conf %D/etc/asterisk/users.conf-dist; then rm -f %D/etc/asterisk/users.conf; fi
etc/asterisk/users.conf-dist
@unexec if cmp -s %D/etc/asterisk/voicemail.conf %D/etc/asterisk/voicemail.conf-dist; then rm -f %D/etc/asterisk/voicemail.conf; fi
etc/asterisk/voicemail.conf-dist
@unexec if cmp -s %D/etc/asterisk/vpb.conf %D/etc/asterisk/vpb.conf-dist; then rm -f %D/etc/asterisk/vpb.conf; fi
etc/asterisk/vpb.conf-dist
@exec if test ! -e %D/etc/asterisk/adsi.conf; then cp -p %D/etc/asterisk/adsi.conf-dist %D/etc/asterisk/adsi.conf; fi
@exec if test ! -e %D/etc/asterisk/adtranvofr.conf; then cp -p %D/etc/asterisk/adtranvofr.conf-dist %D/etc/asterisk/adtranvofr.conf; fi
@exec if test ! -e %D/etc/asterisk/agents.conf; then cp -p %D/etc/asterisk/agents.conf-dist %D/etc/asterisk/agents.conf; fi
@exec if test ! -e %D/etc/asterisk/alarmreceiver.conf; then cp -p %D/etc/asterisk/alarmreceiver.conf-dist %D/etc/asterisk/alarmreceiver.conf; fi
@exec if test ! -e %D/etc/asterisk/alsa.conf; then cp -p %D/etc/asterisk/alsa.conf-dist %D/etc/asterisk/alsa.conf; fi
@exec if test ! -e %D/etc/asterisk/amd.conf; then cp -p %D/etc/asterisk/amd.conf-dist %D/etc/asterisk/amd.conf; fi
@exec if test ! -e %D/etc/asterisk/asterisk.adsi; then cp -p %D/etc/asterisk/asterisk.adsi-dist %D/etc/asterisk/asterisk.adsi; fi
@exec if test ! -e %D/etc/asterisk/asterisk.conf; then cp -p %D/etc/asterisk/asterisk.conf-dist %D/etc/asterisk/asterisk.conf; fi
@exec if test ! -e %D/etc/asterisk/cdr.conf; then cp -p %D/etc/asterisk/cdr.conf-dist %D/etc/asterisk/cdr.conf; fi
@exec if test ! -e %D/etc/asterisk/cdr_custom.conf; then cp -p %D/etc/asterisk/cdr_custom.conf-dist %D/etc/asterisk/cdr_custom.conf; fi
@exec if test ! -e %D/etc/asterisk/cdr_manager.conf; then cp -p %D/etc/asterisk/cdr_manager.conf-dist %D/etc/asterisk/cdr_manager.conf; fi
@exec if test ! -e %D/etc/asterisk/cdr_odbc.conf; then cp -p %D/etc/asterisk/cdr_odbc.conf-dist %D/etc/asterisk/cdr_odbc.conf; fi
@exec if test ! -e %D/etc/asterisk/cdr_pgsql.conf; then cp -p %D/etc/asterisk/cdr_pgsql.conf-dist %D/etc/asterisk/cdr_pgsql.conf; fi
@exec if test ! -e %D/etc/asterisk/cdr_tds.conf; then cp -p %D/etc/asterisk/cdr_tds.conf-dist %D/etc/asterisk/cdr_tds.conf; fi
@exec if test ! -e %D/etc/asterisk/chan_dahdi.conf; then cp -p %D/etc/asterisk/chan_dahdi.conf-dist %D/etc/asterisk/chan_dahdi.conf; fi
@exec if test ! -e %D/etc/asterisk/codecs.conf; then cp -p %D/etc/asterisk/codecs.conf-dist %D/etc/asterisk/codecs.conf; fi
@exec if test ! -e %D/etc/asterisk/dnsmgr.conf; then cp -p %D/etc/asterisk/dnsmgr.conf-dist %D/etc/asterisk/dnsmgr.conf; fi
@exec if test ! -e %D/etc/asterisk/dundi.conf; then cp -p %D/etc/asterisk/dundi.conf-dist %D/etc/asterisk/dundi.conf; fi
@exec if test ! -e %D/etc/asterisk/enum.conf; then cp -p %D/etc/asterisk/enum.conf-dist %D/etc/asterisk/enum.conf; fi
@exec if test ! -e %D/etc/asterisk/extconfig.conf; then cp -p %D/etc/asterisk/extconfig.conf-dist %D/etc/asterisk/extconfig.conf; fi
@exec if test ! -e %D/etc/asterisk/extensions.ael; then cp -p %D/etc/asterisk/extensions.ael-dist %D/etc/asterisk/extensions.ael; fi
@exec if test ! -e %D/etc/asterisk/extensions.conf; then cp -p %D/etc/asterisk/extensions.conf-dist %D/etc/asterisk/extensions.conf; fi
@exec if test ! -e %D/etc/asterisk/features.conf; then cp -p %D/etc/asterisk/features.conf-dist %D/etc/asterisk/features.conf; fi
@exec if test ! -e %D/etc/asterisk/festival.conf; then cp -p %D/etc/asterisk/festival.conf-dist %D/etc/asterisk/festival.conf; fi
@exec if test ! -e %D/etc/asterisk/followme.conf; then cp -p %D/etc/asterisk/followme.conf-dist %D/etc/asterisk/followme.conf; fi
@exec if test ! -e %D/etc/asterisk/func_odbc.conf; then cp -p %D/etc/asterisk/func_odbc.conf-dist %D/etc/asterisk/func_odbc.conf; fi
@exec if test ! -e %D/etc/asterisk/gtalk.conf; then cp -p %D/etc/asterisk/gtalk.conf-dist %D/etc/asterisk/gtalk.conf; fi
@exec if test ! -e %D/etc/asterisk/h323.conf; then cp -p %D/etc/asterisk/h323.conf-dist %D/etc/asterisk/h323.conf; fi
@exec if test ! -e %D/etc/asterisk/http.conf; then cp -p %D/etc/asterisk/http.conf-dist %D/etc/asterisk/http.conf; fi
@exec if test ! -e %D/etc/asterisk/iax.conf; then cp -p %D/etc/asterisk/iax.conf-dist %D/etc/asterisk/iax.conf; fi
@exec if test ! -e %D/etc/asterisk/iaxprov.conf; then cp -p %D/etc/asterisk/iaxprov.conf-dist %D/etc/asterisk/iaxprov.conf; fi
@exec if test ! -e %D/etc/asterisk/indications.conf; then cp -p %D/etc/asterisk/indications.conf-dist %D/etc/asterisk/indications.conf; fi
@exec if test ! -e %D/etc/asterisk/jabber.conf; then cp -p %D/etc/asterisk/jabber.conf-dist %D/etc/asterisk/jabber.conf; fi
@exec if test ! -e %D/etc/asterisk/logger.conf; then cp -p %D/etc/asterisk/logger.conf-dist %D/etc/asterisk/logger.conf; fi
@exec if test ! -e %D/etc/asterisk/manager.conf; then cp -p %D/etc/asterisk/manager.conf-dist %D/etc/asterisk/manager.conf; fi
@exec if test ! -e %D/etc/asterisk/meetme.conf; then cp -p %D/etc/asterisk/meetme.conf-dist %D/etc/asterisk/meetme.conf; fi
@exec if test ! -e %D/etc/asterisk/mgcp.conf; then cp -p %D/etc/asterisk/mgcp.conf-dist %D/etc/asterisk/mgcp.conf; fi
@exec if test ! -e %D/etc/asterisk/misdn.conf; then cp -p %D/etc/asterisk/misdn.conf-dist %D/etc/asterisk/misdn.conf; fi
@exec if test ! -e %D/etc/asterisk/modules.conf; then cp -p %D/etc/asterisk/modules.conf-dist %D/etc/asterisk/modules.conf; fi
@exec if test ! -e %D/etc/asterisk/musiconhold.conf; then cp -p %D/etc/asterisk/musiconhold.conf-dist %D/etc/asterisk/musiconhold.conf; fi
@exec if test ! -e %D/etc/asterisk/muted.conf; then cp -p %D/etc/asterisk/muted.conf-dist %D/etc/asterisk/muted.conf; fi
@exec if test ! -e %D/etc/asterisk/osp.conf; then cp -p %D/etc/asterisk/osp.conf-dist %D/etc/asterisk/osp.conf; fi
@exec if test ! -e %D/etc/asterisk/oss.conf; then cp -p %D/etc/asterisk/oss.conf-dist %D/etc/asterisk/oss.conf; fi
@exec if test ! -e %D/etc/asterisk/phone.conf; then cp -p %D/etc/asterisk/phone.conf-dist %D/etc/asterisk/phone.conf; fi
@exec if test ! -e %D/etc/asterisk/privacy.conf; then cp -p %D/etc/asterisk/privacy.conf-dist %D/etc/asterisk/privacy.conf; fi
@exec if test ! -e %D/etc/asterisk/queues.conf; then cp -p %D/etc/asterisk/queues.conf-dist %D/etc/asterisk/queues.conf; fi
@exec if test ! -e %D/etc/asterisk/res_odbc.conf; then cp -p %D/etc/asterisk/res_odbc.conf-dist %D/etc/asterisk/res_odbc.conf; fi
@exec if test ! -e %D/etc/asterisk/res_pgsql.conf; then cp -p %D/etc/asterisk/res_pgsql.conf-dist %D/etc/asterisk/res_pgsql.conf; fi
@exec if test ! -e %D/etc/asterisk/res_snmp.conf; then cp -p %D/etc/asterisk/res_snmp.conf-dist %D/etc/asterisk/res_snmp.conf; fi
@exec if test ! -e %D/etc/asterisk/rpt.conf; then cp -p %D/etc/asterisk/rpt.conf-dist %D/etc/asterisk/rpt.conf; fi
@exec if test ! -e %D/etc/asterisk/rtp.conf; then cp -p %D/etc/asterisk/rtp.conf-dist %D/etc/asterisk/rtp.conf; fi
@exec if test ! -e %D/etc/asterisk/say.conf; then cp -p %D/etc/asterisk/say.conf-dist %D/etc/asterisk/say.conf; fi
@exec if test ! -e %D/etc/asterisk/sip.conf; then cp -p %D/etc/asterisk/sip.conf-dist %D/etc/asterisk/sip.conf; fi
@exec if test ! -e %D/etc/asterisk/sip_notify.conf; then cp -p %D/etc/asterisk/sip_notify.conf-dist %D/etc/asterisk/sip_notify.conf; fi
@exec if test ! -e %D/etc/asterisk/skinny.conf; then cp -p %D/etc/asterisk/skinny.conf-dist %D/etc/asterisk/skinny.conf; fi
@exec if test ! -e %D/etc/asterisk/sla.conf; then cp -p %D/etc/asterisk/sla.conf-dist %D/etc/asterisk/sla.conf; fi
@exec if test ! -e %D/etc/asterisk/smdi.conf; then cp -p %D/etc/asterisk/smdi.conf-dist %D/etc/asterisk/smdi.conf; fi
@exec if test ! -e %D/etc/asterisk/telcordia-1.adsi; then cp -p %D/etc/asterisk/telcordia-1.adsi-dist %D/etc/asterisk/telcordia-1.adsi; fi
@exec if test ! -e %D/etc/asterisk/udptl.conf; then cp -p %D/etc/asterisk/udptl.conf-dist %D/etc/asterisk/udptl.conf; fi
@exec if test ! -e %D/etc/asterisk/users.conf; then cp -p %D/etc/asterisk/users.conf-dist %D/etc/asterisk/users.conf; fi
@exec if test ! -e %D/etc/asterisk/voicemail.conf; then cp -p %D/etc/asterisk/voicemail.conf-dist %D/etc/asterisk/voicemail.conf; fi
@exec if test ! -e %D/etc/asterisk/vpb.conf; then cp -p %D/etc/asterisk/vpb.conf-dist %D/etc/asterisk/vpb.conf; fi
include/asterisk.h
include/asterisk/abstract_jb.h
include/asterisk/acl.h
include/asterisk/adsi.h
include/asterisk/ael_structs.h
include/asterisk/aes.h
include/asterisk/agi.h
include/asterisk/alaw.h
include/asterisk/app.h
include/asterisk/ast_expr.h
include/asterisk/astdb.h
include/asterisk/astmm.h
include/asterisk/astobj.h
include/asterisk/astobj2.h
include/asterisk/astosp.h
include/asterisk/audiohook.h
include/asterisk/autoconfig.h
include/asterisk/build.h
include/asterisk/buildopts.h
include/asterisk/callerid.h
include/asterisk/causes.h
include/asterisk/cdr.h
include/asterisk/channel.h
include/asterisk/chanvars.h
include/asterisk/cli.h
include/asterisk/compat.h
include/asterisk/compiler.h
include/asterisk/config.h
include/asterisk/crypto.h
include/asterisk/dahdi_compat.h
include/asterisk/devicestate.h
include/asterisk/dial.h
include/asterisk/dns.h
include/asterisk/dnsmgr.h
include/asterisk/doxyref.h
include/asterisk/dsp.h
include/asterisk/dundi.h
include/asterisk/endian.h
include/asterisk/enum.h
include/asterisk/features.h
include/asterisk/file.h
include/asterisk/frame.h
include/asterisk/fskmodem.h
include/asterisk/global_datastores.h
include/asterisk/http.h
include/asterisk/image.h
include/asterisk/indications.h
include/asterisk/inline_api.h
include/asterisk/io.h
include/asterisk/jabber.h
include/asterisk/jingle.h
include/asterisk/linkedlists.h
include/asterisk/localtime.h
include/asterisk/lock.h
include/asterisk/logger.h
include/asterisk/manager.h
include/asterisk/md5.h
include/asterisk/module.h
include/asterisk/monitor.h
include/asterisk/musiconhold.h
include/asterisk/netsock.h
include/asterisk/options.h
include/asterisk/paths.h
include/asterisk/pbx.h
include/asterisk/plc.h
include/asterisk/poll-compat.h
include/asterisk/privacy.h
include/asterisk/res_odbc.h
include/asterisk/rtp.h
include/asterisk/say.h
include/asterisk/sched.h
include/asterisk/select.h
include/asterisk/sha1.h
include/asterisk/slinfactory.h
include/asterisk/smdi.h
include/asterisk/speech.h
include/asterisk/srv.h
include/asterisk/stringfields.h
include/asterisk/strings.h
include/asterisk/tdd.h
include/asterisk/term.h
include/asterisk/test.h
include/asterisk/threadstorage.h
include/asterisk/time.h
include/asterisk/tonezone_compat.h
include/asterisk/transcap.h
include/asterisk/translate.h
include/asterisk/udptl.h
include/asterisk/ulaw.h
include/asterisk/unaligned.h
include/asterisk/utils.h
include/asterisk/version.h
lib/asterisk/modules/app_adsiprog.so
lib/asterisk/modules/app_alarmreceiver.so
lib/asterisk/modules/app_amd.so
lib/asterisk/modules/app_authenticate.so
lib/asterisk/modules/app_cdr.so
lib/asterisk/modules/app_chanisavail.so
lib/asterisk/modules/app_channelredirect.so
lib/asterisk/modules/app_chanspy.so
lib/asterisk/modules/app_controlplayback.so
%%WITH_DAHDI%%lib/asterisk/modules/app_dahdibarge.so
%%WITH_DAHDI%%lib/asterisk/modules/app_dahdiras.so
%%WITH_DAHDI%%lib/asterisk/modules/app_dahdiscan.so
lib/asterisk/modules/app_db.so
lib/asterisk/modules/app_dial.so
lib/asterisk/modules/app_dictate.so
lib/asterisk/modules/app_directed_pickup.so
lib/asterisk/modules/app_directory.so
lib/asterisk/modules/app_disa.so
lib/asterisk/modules/app_dumpchan.so
lib/asterisk/modules/app_echo.so
lib/asterisk/modules/app_exec.so
lib/asterisk/modules/app_externalivr.so
lib/asterisk/modules/app_festival.so
%%WITH_DAHDI%%lib/asterisk/modules/app_flash.so
lib/asterisk/modules/app_followme.so
lib/asterisk/modules/app_forkcdr.so
lib/asterisk/modules/app_getcpeid.so
lib/asterisk/modules/app_hasnewvoicemail.so
lib/asterisk/modules/app_ices.so
lib/asterisk/modules/app_image.so
lib/asterisk/modules/app_lookupblacklist.so
lib/asterisk/modules/app_lookupcidname.so
lib/asterisk/modules/app_macro.so
%%WITH_DAHDI%%lib/asterisk/modules/app_meetme.so
lib/asterisk/modules/app_milliwatt.so
lib/asterisk/modules/app_mixmonitor.so
lib/asterisk/modules/app_morsecode.so
lib/asterisk/modules/app_mp3.so
lib/asterisk/modules/app_nbscat.so
%%WITH_DAHDI%%lib/asterisk/modules/app_page.so
lib/asterisk/modules/app_parkandannounce.so
lib/asterisk/modules/app_playback.so
lib/asterisk/modules/app_privacy.so
lib/asterisk/modules/app_queue.so
lib/asterisk/modules/app_random.so
lib/asterisk/modules/app_read.so
lib/asterisk/modules/app_readfile.so
lib/asterisk/modules/app_realtime.so
lib/asterisk/modules/app_record.so
lib/asterisk/modules/app_sayunixtime.so
lib/asterisk/modules/app_senddtmf.so
lib/asterisk/modules/app_sendtext.so
lib/asterisk/modules/app_setcallerid.so
lib/asterisk/modules/app_setcdruserfield.so
lib/asterisk/modules/app_settransfercapability.so
lib/asterisk/modules/app_sms.so
lib/asterisk/modules/app_softhangup.so
lib/asterisk/modules/app_speech_utils.so
lib/asterisk/modules/app_stack.so
lib/asterisk/modules/app_system.so
lib/asterisk/modules/app_talkdetect.so
lib/asterisk/modules/app_test.so
lib/asterisk/modules/app_transfer.so
lib/asterisk/modules/app_url.so
lib/asterisk/modules/app_userevent.so
lib/asterisk/modules/app_verbose.so
lib/asterisk/modules/app_voicemail.so
lib/asterisk/modules/app_waitforring.so
lib/asterisk/modules/app_waitforsilence.so
lib/asterisk/modules/app_while.so
lib/asterisk/modules/app_zapateller.so
lib/asterisk/modules/cdr_csv.so
lib/asterisk/modules/cdr_custom.so
lib/asterisk/modules/cdr_manager.so
%%WITH_ODBC%%lib/asterisk/modules/cdr_odbc.so
%%WITH_POSTGRES%%lib/asterisk/modules/cdr_pgsql.so
%%WITH_RADIUS%%lib/asterisk/modules/cdr_radius.so
%%WITH_SQLITE%%lib/asterisk/modules/cdr_sqlite.so
%%WITH_FREETDS%%lib/asterisk/modules/cdr_tds.so
lib/asterisk/modules/chan_agent.so
%%WITH_DAHDI%%lib/asterisk/modules/chan_dahdi.so
%%WITH_JABBER%%lib/asterisk/modules/chan_gtalk.so
%%WITH_H323%%lib/asterisk/modules/chan_h323.so
lib/asterisk/modules/chan_iax2.so
lib/asterisk/modules/chan_local.so
lib/asterisk/modules/chan_mgcp.so
lib/asterisk/modules/chan_oss.so
lib/asterisk/modules/chan_sip.so
lib/asterisk/modules/chan_skinny.so
lib/asterisk/modules/codec_a_mu.so
lib/asterisk/modules/codec_adpcm.so
lib/asterisk/modules/codec_alaw.so
%%WITH_DAHDI%%lib/asterisk/modules/codec_dahdi.so
lib/asterisk/modules/codec_g726.so
lib/asterisk/modules/codec_gsm.so
%%WITH_ILBC%%lib/asterisk/modules/codec_ilbc.so
lib/asterisk/modules/codec_lpc10.so
lib/asterisk/modules/codec_speex.so
lib/asterisk/modules/codec_ulaw.so
lib/asterisk/modules/format_g723.so
lib/asterisk/modules/format_g726.so
lib/asterisk/modules/format_g729.so
lib/asterisk/modules/format_gsm.so
lib/asterisk/modules/format_h263.so
lib/asterisk/modules/format_h264.so
lib/asterisk/modules/format_ilbc.so
lib/asterisk/modules/format_jpeg.so
%%WITH_OGGVORBIS%%lib/asterisk/modules/format_ogg_vorbis.so
lib/asterisk/modules/format_pcm.so
lib/asterisk/modules/format_sln.so
lib/asterisk/modules/format_vox.so
lib/asterisk/modules/format_wav.so
lib/asterisk/modules/format_wav_gsm.so
lib/asterisk/modules/func_audiohookinherit.so
lib/asterisk/modules/func_base64.so
lib/asterisk/modules/func_callerid.so
lib/asterisk/modules/func_cdr.so
lib/asterisk/modules/func_channel.so
lib/asterisk/modules/func_curl.so
lib/asterisk/modules/func_cut.so
lib/asterisk/modules/func_db.so
lib/asterisk/modules/func_enum.so
lib/asterisk/modules/func_env.so
lib/asterisk/modules/func_global.so
lib/asterisk/modules/func_groupcount.so
lib/asterisk/modules/func_language.so
lib/asterisk/modules/func_logic.so
lib/asterisk/modules/func_math.so
lib/asterisk/modules/func_md5.so
lib/asterisk/modules/func_moh.so
%%WITH_ODBC%%lib/asterisk/modules/func_odbc.so
lib/asterisk/modules/func_rand.so
lib/asterisk/modules/func_realtime.so
lib/asterisk/modules/func_sha1.so
lib/asterisk/modules/func_strings.so
lib/asterisk/modules/func_timeout.so
lib/asterisk/modules/func_uri.so
lib/asterisk/modules/pbx_ael.so
lib/asterisk/modules/pbx_config.so
lib/asterisk/modules/pbx_dundi.so
lib/asterisk/modules/pbx_loopback.so
lib/asterisk/modules/pbx_realtime.so
lib/asterisk/modules/pbx_spool.so
lib/asterisk/modules/res_adsi.so
lib/asterisk/modules/res_agi.so
lib/asterisk/modules/res_clioriginate.so
%%WITH_ODBC%%lib/asterisk/modules/res_config_odbc.so
%%WITH_POSTGRES%%lib/asterisk/modules/res_config_pgsql.so
lib/asterisk/modules/res_convert.so
lib/asterisk/modules/res_crypto.so
lib/asterisk/modules/res_features.so
lib/asterisk/modules/res_indications.so
%%WITH_JABBER%%lib/asterisk/modules/res_jabber.so
lib/asterisk/modules/res_monitor.so
lib/asterisk/modules/res_musiconhold.so
%%WITH_ODBC%%lib/asterisk/modules/res_odbc.so
lib/asterisk/modules/res_smdi.so
%%WITH_SNMP%%lib/asterisk/modules/res_snmp.so
lib/asterisk/modules/res_speech.so
sbin/aelparse
sbin/asterisk
sbin/astgenkey
sbin/astman
sbin/autosupport
sbin/muted
sbin/rasterisk
sbin/safe_asterisk
sbin/smsq
sbin/stereorize
sbin/streamplayer
share/asterisk/agi-bin/agi-test.agi
share/asterisk/agi-bin/eagi-sphinx-test
share/asterisk/agi-bin/eagi-test
share/asterisk/agi-bin/jukebox.agi
share/asterisk/images/asterisk-intro.jpg
share/asterisk/keys/freeworlddialup.pub
share/asterisk/keys/iaxtel.pub
share/asterisk/moh/.asterisk-moh-opsound-wav-2.03
share/asterisk/moh/CHANGES-asterisk-moh-opsound-wav
share/asterisk/moh/CREDITS-asterisk-moh-opsound-wav
share/asterisk/moh/LICENSE-asterisk-moh-opsound-wav
share/asterisk/moh/macroform-cold_day.wav
share/asterisk/moh/macroform-robot_dity.wav
share/asterisk/moh/macroform-the_simplicity.wav
share/asterisk/moh/manolo_camp-morning_coffee.wav
share/asterisk/moh/reno_project-system.wav
share/asterisk/sounds/.asterisk-core-sounds-en-gsm-1.4.20
share/asterisk/sounds/CHANGES-asterisk-core-en-1.4.20
share/asterisk/sounds/CREDITS-asterisk-core-en-1.4.20
share/asterisk/sounds/LICENSE-asterisk-core-en-1.4.20
share/asterisk/sounds/agent-alreadyon.gsm
share/asterisk/sounds/agent-incorrect.gsm
share/asterisk/sounds/agent-loggedoff.gsm
share/asterisk/sounds/agent-loginok.gsm
share/asterisk/sounds/agent-newlocation.gsm
share/asterisk/sounds/agent-pass.gsm
share/asterisk/sounds/agent-user.gsm
share/asterisk/sounds/ascending-2tone.gsm
share/asterisk/sounds/auth-incorrect.gsm
share/asterisk/sounds/auth-thankyou.gsm
share/asterisk/sounds/beep.gsm
share/asterisk/sounds/beeperr.gsm
share/asterisk/sounds/conf-adminmenu-162.gsm
share/asterisk/sounds/conf-adminmenu.gsm
share/asterisk/sounds/conf-enteringno.gsm
share/asterisk/sounds/conf-errormenu.gsm
share/asterisk/sounds/conf-extended.gsm
share/asterisk/sounds/conf-getchannel.gsm
share/asterisk/sounds/conf-getconfno.gsm
share/asterisk/sounds/conf-getpin.gsm
share/asterisk/sounds/conf-hasjoin.gsm
share/asterisk/sounds/conf-hasleft.gsm
share/asterisk/sounds/conf-invalid.gsm
share/asterisk/sounds/conf-invalidpin.gsm
share/asterisk/sounds/conf-kicked.gsm
share/asterisk/sounds/conf-leaderhasleft.gsm
share/asterisk/sounds/conf-locked.gsm
share/asterisk/sounds/conf-lockednow.gsm
share/asterisk/sounds/conf-muted.gsm
share/asterisk/sounds/conf-noempty.gsm
share/asterisk/sounds/conf-nonextended.gsm
share/asterisk/sounds/conf-now-muted.gsm
share/asterisk/sounds/conf-now-recording.gsm
share/asterisk/sounds/conf-now-unmuted.gsm
share/asterisk/sounds/conf-onlyone.gsm
share/asterisk/sounds/conf-onlyperson.gsm
share/asterisk/sounds/conf-otherinparty.gsm
share/asterisk/sounds/conf-placeintoconf.gsm
share/asterisk/sounds/conf-roll-callcomplete.gsm
share/asterisk/sounds/conf-thereare.gsm
share/asterisk/sounds/conf-unlockednow.gsm
share/asterisk/sounds/conf-unmuted.gsm
share/asterisk/sounds/conf-usermenu-162.gsm
share/asterisk/sounds/conf-usermenu.gsm
share/asterisk/sounds/conf-userswilljoin.gsm
share/asterisk/sounds/conf-userwilljoin.gsm
share/asterisk/sounds/conf-waitforleader.gsm
share/asterisk/sounds/core-sounds-en.txt
share/asterisk/sounds/demo-abouttotry.gsm
share/asterisk/sounds/demo-congrats.gsm
share/asterisk/sounds/demo-echodone.gsm
share/asterisk/sounds/demo-echotest.gsm
share/asterisk/sounds/demo-enterkeywords.gsm
share/asterisk/sounds/demo-instruct.gsm
share/asterisk/sounds/demo-moreinfo.gsm
share/asterisk/sounds/demo-nogo.gsm
share/asterisk/sounds/demo-nomatch.gsm
share/asterisk/sounds/demo-thanks.gsm
share/asterisk/sounds/descending-2tone.gsm
share/asterisk/sounds/dictate/both_help.gsm
share/asterisk/sounds/dictate/enter_filename.gsm
share/asterisk/sounds/dictate/forhelp.gsm
share/asterisk/sounds/dictate/pause.gsm
share/asterisk/sounds/dictate/paused.gsm
share/asterisk/sounds/dictate/play_help.gsm
share/asterisk/sounds/dictate/playback.gsm
share/asterisk/sounds/dictate/playback_mode.gsm
share/asterisk/sounds/dictate/record.gsm
share/asterisk/sounds/dictate/record_help.gsm
share/asterisk/sounds/dictate/record_mode.gsm
share/asterisk/sounds/dictate/truncating_audio.gsm
share/asterisk/sounds/digits/0.gsm
share/asterisk/sounds/digits/1.gsm
share/asterisk/sounds/digits/10.gsm
share/asterisk/sounds/digits/11.gsm
share/asterisk/sounds/digits/12.gsm
share/asterisk/sounds/digits/13.gsm
share/asterisk/sounds/digits/14.gsm
share/asterisk/sounds/digits/15.gsm
share/asterisk/sounds/digits/16.gsm
share/asterisk/sounds/digits/17.gsm
share/asterisk/sounds/digits/18.gsm
share/asterisk/sounds/digits/19.gsm
share/asterisk/sounds/digits/2.gsm
share/asterisk/sounds/digits/20.gsm
share/asterisk/sounds/digits/3.gsm
share/asterisk/sounds/digits/30.gsm
share/asterisk/sounds/digits/4.gsm
share/asterisk/sounds/digits/40.gsm
share/asterisk/sounds/digits/5.gsm
share/asterisk/sounds/digits/50.gsm
share/asterisk/sounds/digits/6.gsm
share/asterisk/sounds/digits/60.gsm
share/asterisk/sounds/digits/7.gsm
share/asterisk/sounds/digits/70.gsm
share/asterisk/sounds/digits/8.gsm
share/asterisk/sounds/digits/80.gsm
share/asterisk/sounds/digits/9.gsm
share/asterisk/sounds/digits/90.gsm
share/asterisk/sounds/digits/a-m.gsm
share/asterisk/sounds/digits/at.gsm
share/asterisk/sounds/digits/billion.gsm
share/asterisk/sounds/digits/day-0.gsm
share/asterisk/sounds/digits/day-1.gsm
share/asterisk/sounds/digits/day-2.gsm
share/asterisk/sounds/digits/day-3.gsm
share/asterisk/sounds/digits/day-4.gsm
share/asterisk/sounds/digits/day-5.gsm
share/asterisk/sounds/digits/day-6.gsm
share/asterisk/sounds/digits/dollars.gsm
share/asterisk/sounds/digits/h-1.gsm
share/asterisk/sounds/digits/h-10.gsm
share/asterisk/sounds/digits/h-11.gsm
share/asterisk/sounds/digits/h-12.gsm
share/asterisk/sounds/digits/h-13.gsm
share/asterisk/sounds/digits/h-14.gsm
share/asterisk/sounds/digits/h-15.gsm
share/asterisk/sounds/digits/h-16.gsm
share/asterisk/sounds/digits/h-17.gsm
share/asterisk/sounds/digits/h-18.gsm
share/asterisk/sounds/digits/h-19.gsm
share/asterisk/sounds/digits/h-2.gsm
share/asterisk/sounds/digits/h-20.gsm
share/asterisk/sounds/digits/h-3.gsm
share/asterisk/sounds/digits/h-30.gsm
share/asterisk/sounds/digits/h-4.gsm
share/asterisk/sounds/digits/h-40.gsm
share/asterisk/sounds/digits/h-5.gsm
share/asterisk/sounds/digits/h-50.gsm
share/asterisk/sounds/digits/h-6.gsm
share/asterisk/sounds/digits/h-60.gsm
share/asterisk/sounds/digits/h-7.gsm
share/asterisk/sounds/digits/h-70.gsm
share/asterisk/sounds/digits/h-8.gsm
share/asterisk/sounds/digits/h-80.gsm
share/asterisk/sounds/digits/h-9.gsm
share/asterisk/sounds/digits/h-90.gsm
share/asterisk/sounds/digits/h-billion.gsm
share/asterisk/sounds/digits/h-hundred.gsm
share/asterisk/sounds/digits/h-million.gsm
share/asterisk/sounds/digits/h-thousand.gsm
share/asterisk/sounds/digits/hundred.gsm
share/asterisk/sounds/digits/million.gsm
share/asterisk/sounds/digits/minus.gsm
share/asterisk/sounds/digits/mon-0.gsm
share/asterisk/sounds/digits/mon-1.gsm
share/asterisk/sounds/digits/mon-10.gsm
share/asterisk/sounds/digits/mon-11.gsm
share/asterisk/sounds/digits/mon-2.gsm
share/asterisk/sounds/digits/mon-3.gsm
share/asterisk/sounds/digits/mon-4.gsm
share/asterisk/sounds/digits/mon-5.gsm
share/asterisk/sounds/digits/mon-6.gsm
share/asterisk/sounds/digits/mon-7.gsm
share/asterisk/sounds/digits/mon-8.gsm
share/asterisk/sounds/digits/mon-9.gsm
share/asterisk/sounds/digits/oclock.gsm
share/asterisk/sounds/digits/oh.gsm
share/asterisk/sounds/digits/p-m.gsm
share/asterisk/sounds/digits/pound.gsm
share/asterisk/sounds/digits/star.gsm
share/asterisk/sounds/digits/thousand.gsm
share/asterisk/sounds/digits/today.gsm
share/asterisk/sounds/digits/tomorrow.gsm
share/asterisk/sounds/digits/yesterday.gsm
share/asterisk/sounds/dir-first.gsm
share/asterisk/sounds/dir-firstlast.gsm
share/asterisk/sounds/dir-instr.gsm
share/asterisk/sounds/dir-intro-fn.gsm
share/asterisk/sounds/dir-intro.gsm
share/asterisk/sounds/dir-last.gsm
share/asterisk/sounds/dir-multi1.gsm
share/asterisk/sounds/dir-multi2.gsm
share/asterisk/sounds/dir-multi3.gsm
share/asterisk/sounds/dir-multi9.gsm
share/asterisk/sounds/dir-nomatch.gsm
share/asterisk/sounds/dir-nomore.gsm
share/asterisk/sounds/dir-pls-enter.gsm
share/asterisk/sounds/dir-usingkeypad.gsm
share/asterisk/sounds/dir-welcome.gsm
share/asterisk/sounds/followme/call-from.gsm
share/asterisk/sounds/followme/no-recording.gsm
share/asterisk/sounds/followme/options.gsm
share/asterisk/sounds/followme/pls-hold-while-try.gsm
share/asterisk/sounds/followme/sorry.gsm
share/asterisk/sounds/followme/status.gsm
share/asterisk/sounds/hello-world.gsm
share/asterisk/sounds/hours.gsm
share/asterisk/sounds/invalid.gsm
share/asterisk/sounds/letters/a.gsm
share/asterisk/sounds/letters/ascii123.gsm
share/asterisk/sounds/letters/ascii124.gsm
share/asterisk/sounds/letters/ascii125.gsm
share/asterisk/sounds/letters/ascii126.gsm
share/asterisk/sounds/letters/ascii34.gsm
share/asterisk/sounds/letters/ascii36.gsm
share/asterisk/sounds/letters/ascii37.gsm
share/asterisk/sounds/letters/ascii38.gsm
share/asterisk/sounds/letters/ascii39.gsm
share/asterisk/sounds/letters/ascii40.gsm
share/asterisk/sounds/letters/ascii41.gsm
share/asterisk/sounds/letters/ascii42.gsm
share/asterisk/sounds/letters/ascii44.gsm
share/asterisk/sounds/letters/ascii58.gsm
share/asterisk/sounds/letters/ascii59.gsm
share/asterisk/sounds/letters/ascii60.gsm
share/asterisk/sounds/letters/ascii62.gsm
share/asterisk/sounds/letters/ascii63.gsm
share/asterisk/sounds/letters/ascii91.gsm
share/asterisk/sounds/letters/ascii92.gsm
share/asterisk/sounds/letters/ascii93.gsm
share/asterisk/sounds/letters/ascii94.gsm
share/asterisk/sounds/letters/ascii95.gsm
share/asterisk/sounds/letters/ascii96.gsm
share/asterisk/sounds/letters/asterisk.gsm
share/asterisk/sounds/letters/at.gsm
share/asterisk/sounds/letters/b.gsm
share/asterisk/sounds/letters/c.gsm
share/asterisk/sounds/letters/d.gsm
share/asterisk/sounds/letters/dash.gsm
share/asterisk/sounds/letters/dollar.gsm
share/asterisk/sounds/letters/dot.gsm
share/asterisk/sounds/letters/e.gsm
share/asterisk/sounds/letters/equals.gsm
share/asterisk/sounds/letters/exclaimation-point.gsm
share/asterisk/sounds/letters/f.gsm
share/asterisk/sounds/letters/g.gsm
share/asterisk/sounds/letters/h.gsm
share/asterisk/sounds/letters/i.gsm
share/asterisk/sounds/letters/j.gsm
share/asterisk/sounds/letters/k.gsm
share/asterisk/sounds/letters/l.gsm
share/asterisk/sounds/letters/m.gsm
share/asterisk/sounds/letters/n.gsm
share/asterisk/sounds/letters/o.gsm
share/asterisk/sounds/letters/p.gsm
share/asterisk/sounds/letters/plus.gsm
share/asterisk/sounds/letters/q.gsm
share/asterisk/sounds/letters/r.gsm
share/asterisk/sounds/letters/s.gsm
share/asterisk/sounds/letters/slash.gsm
share/asterisk/sounds/letters/space.gsm
share/asterisk/sounds/letters/t.gsm
share/asterisk/sounds/letters/u.gsm
share/asterisk/sounds/letters/v.gsm
share/asterisk/sounds/letters/w.gsm
share/asterisk/sounds/letters/x.gsm
share/asterisk/sounds/letters/y.gsm
share/asterisk/sounds/letters/z.gsm
share/asterisk/sounds/letters/zed.gsm
share/asterisk/sounds/minutes.gsm
share/asterisk/sounds/pbx-invalid.gsm
share/asterisk/sounds/pbx-invalidpark.gsm
share/asterisk/sounds/pbx-parkingfailed.gsm
share/asterisk/sounds/pbx-transfer.gsm
share/asterisk/sounds/phonetic/9_p.gsm
share/asterisk/sounds/phonetic/a_p.gsm
share/asterisk/sounds/phonetic/b_p.gsm
share/asterisk/sounds/phonetic/c_p.gsm
share/asterisk/sounds/phonetic/d_p.gsm
share/asterisk/sounds/phonetic/e_p.gsm
share/asterisk/sounds/phonetic/f_p.gsm
share/asterisk/sounds/phonetic/g_p.gsm
share/asterisk/sounds/phonetic/h_p.gsm
share/asterisk/sounds/phonetic/i_p.gsm
share/asterisk/sounds/phonetic/j_p.gsm
share/asterisk/sounds/phonetic/k_p.gsm
share/asterisk/sounds/phonetic/l_p.gsm
share/asterisk/sounds/phonetic/m_p.gsm
share/asterisk/sounds/phonetic/n_p.gsm
share/asterisk/sounds/phonetic/o_p.gsm
share/asterisk/sounds/phonetic/p_p.gsm
share/asterisk/sounds/phonetic/q_p.gsm
share/asterisk/sounds/phonetic/r_p.gsm
share/asterisk/sounds/phonetic/s_p.gsm
share/asterisk/sounds/phonetic/t_p.gsm
share/asterisk/sounds/phonetic/u_p.gsm
share/asterisk/sounds/phonetic/v_p.gsm
share/asterisk/sounds/phonetic/w_p.gsm
share/asterisk/sounds/phonetic/x_p.gsm
share/asterisk/sounds/phonetic/y_p.gsm
share/asterisk/sounds/phonetic/z_p.gsm
share/asterisk/sounds/priv-callee-options.gsm
share/asterisk/sounds/priv-callpending.gsm
share/asterisk/sounds/priv-introsaved.gsm
share/asterisk/sounds/priv-recordintro.gsm
share/asterisk/sounds/privacy-incorrect.gsm
share/asterisk/sounds/privacy-prompt.gsm
share/asterisk/sounds/privacy-thankyou.gsm
share/asterisk/sounds/privacy-unident.gsm
share/asterisk/sounds/queue-callswaiting.gsm
share/asterisk/sounds/queue-holdtime.gsm
share/asterisk/sounds/queue-less-than.gsm
share/asterisk/sounds/queue-minute.gsm
share/asterisk/sounds/queue-minutes.gsm
share/asterisk/sounds/queue-periodic-announce.gsm
share/asterisk/sounds/queue-quantity1.gsm
share/asterisk/sounds/queue-quantity2.gsm
share/asterisk/sounds/queue-reporthold.gsm
share/asterisk/sounds/queue-seconds.gsm
share/asterisk/sounds/queue-thankyou.gsm
share/asterisk/sounds/queue-thereare.gsm
share/asterisk/sounds/queue-youarenext.gsm
share/asterisk/sounds/screen-callee-options.gsm
share/asterisk/sounds/seconds.gsm
share/asterisk/sounds/silence/1.gsm
share/asterisk/sounds/silence/10.gsm
share/asterisk/sounds/silence/2.gsm
share/asterisk/sounds/silence/3.gsm
share/asterisk/sounds/silence/4.gsm
share/asterisk/sounds/silence/5.gsm
share/asterisk/sounds/silence/6.gsm
share/asterisk/sounds/silence/7.gsm
share/asterisk/sounds/silence/8.gsm
share/asterisk/sounds/silence/9.gsm
share/asterisk/sounds/spy-agent.gsm
share/asterisk/sounds/spy-console.gsm
share/asterisk/sounds/spy-dahdi.gsm
share/asterisk/sounds/spy-h323.gsm
share/asterisk/sounds/spy-iax.gsm
share/asterisk/sounds/spy-iax2.gsm
share/asterisk/sounds/spy-jingle.gsm
share/asterisk/sounds/spy-local.gsm
share/asterisk/sounds/spy-mgcp.gsm
share/asterisk/sounds/spy-misdn.gsm
share/asterisk/sounds/spy-mobile.gsm
share/asterisk/sounds/spy-nbs.gsm
share/asterisk/sounds/spy-sip.gsm
share/asterisk/sounds/spy-skinny.gsm
share/asterisk/sounds/spy-unistim.gsm
share/asterisk/sounds/spy-usbradio.gsm
share/asterisk/sounds/spy-zap.gsm
share/asterisk/sounds/ss-noservice.gsm
share/asterisk/sounds/transfer.gsm
share/asterisk/sounds/tt-allbusy.gsm
share/asterisk/sounds/tt-monkeys.gsm
share/asterisk/sounds/tt-monkeysintro.gsm
share/asterisk/sounds/tt-somethingwrong.gsm
share/asterisk/sounds/tt-weasels.gsm
share/asterisk/sounds/vm-Cust1.gsm
share/asterisk/sounds/vm-Cust2.gsm
share/asterisk/sounds/vm-Cust3.gsm
share/asterisk/sounds/vm-Cust4.gsm
share/asterisk/sounds/vm-Cust5.gsm
share/asterisk/sounds/vm-Family.gsm
share/asterisk/sounds/vm-Friends.gsm
share/asterisk/sounds/vm-INBOX.gsm
share/asterisk/sounds/vm-Old.gsm
share/asterisk/sounds/vm-Urgent.gsm
share/asterisk/sounds/vm-Work.gsm
share/asterisk/sounds/vm-advopts.gsm
share/asterisk/sounds/vm-and.gsm
share/asterisk/sounds/vm-calldiffnum.gsm
share/asterisk/sounds/vm-changeto.gsm
share/asterisk/sounds/vm-delete.gsm
share/asterisk/sounds/vm-deleted.gsm
share/asterisk/sounds/vm-dialout.gsm
share/asterisk/sounds/vm-duration.gsm
share/asterisk/sounds/vm-enter-num-to-call.gsm
share/asterisk/sounds/vm-extension.gsm
share/asterisk/sounds/vm-first.gsm
share/asterisk/sounds/vm-for.gsm
share/asterisk/sounds/vm-forward-multiple.gsm
share/asterisk/sounds/vm-forward.gsm
share/asterisk/sounds/vm-forwardoptions.gsm
share/asterisk/sounds/vm-from-extension.gsm
share/asterisk/sounds/vm-from-phonenumber.gsm
share/asterisk/sounds/vm-from.gsm
share/asterisk/sounds/vm-goodbye.gsm
share/asterisk/sounds/vm-helpexit.gsm
share/asterisk/sounds/vm-incorrect-mailbox.gsm
share/asterisk/sounds/vm-incorrect.gsm
share/asterisk/sounds/vm-instructions.gsm
share/asterisk/sounds/vm-intro.gsm
share/asterisk/sounds/vm-invalid-password.gsm
share/asterisk/sounds/vm-invalidpassword.gsm
share/asterisk/sounds/vm-isonphone.gsm
share/asterisk/sounds/vm-isunavail.gsm
share/asterisk/sounds/vm-last.gsm
share/asterisk/sounds/vm-leavemsg.gsm
share/asterisk/sounds/vm-login.gsm
share/asterisk/sounds/vm-mailboxfull.gsm
share/asterisk/sounds/vm-marked-nonurgent.gsm
share/asterisk/sounds/vm-marked-urgent.gsm
share/asterisk/sounds/vm-message.gsm
share/asterisk/sounds/vm-messages.gsm
share/asterisk/sounds/vm-minutes.gsm
share/asterisk/sounds/vm-mismatch.gsm
share/asterisk/sounds/vm-msginstruct.gsm
share/asterisk/sounds/vm-msgsaved.gsm
share/asterisk/sounds/vm-newpassword.gsm
share/asterisk/sounds/vm-newuser.gsm
share/asterisk/sounds/vm-next.gsm
share/asterisk/sounds/vm-no.gsm
share/asterisk/sounds/vm-nobodyavail.gsm
share/asterisk/sounds/vm-nobox.gsm
share/asterisk/sounds/vm-nomore.gsm
share/asterisk/sounds/vm-nonumber.gsm
share/asterisk/sounds/vm-num-i-have.gsm
share/asterisk/sounds/vm-onefor-full.gsm
share/asterisk/sounds/vm-onefor.gsm
share/asterisk/sounds/vm-options.gsm
share/asterisk/sounds/vm-opts-full.gsm
share/asterisk/sounds/vm-opts.gsm
share/asterisk/sounds/vm-passchanged.gsm
share/asterisk/sounds/vm-password.gsm
share/asterisk/sounds/vm-pls-try-again.gsm
share/asterisk/sounds/vm-press.gsm
share/asterisk/sounds/vm-prev.gsm
share/asterisk/sounds/vm-reachoper.gsm
share/asterisk/sounds/vm-rec-busy.gsm
share/asterisk/sounds/vm-rec-name.gsm
share/asterisk/sounds/vm-rec-temp.gsm
share/asterisk/sounds/vm-rec-unv.gsm
share/asterisk/sounds/vm-received.gsm
share/asterisk/sounds/vm-record-prepend.gsm
share/asterisk/sounds/vm-reenterpassword.gsm
share/asterisk/sounds/vm-repeat.gsm
share/asterisk/sounds/vm-review-nonurgent.gsm
share/asterisk/sounds/vm-review-urgent.gsm
share/asterisk/sounds/vm-review.gsm
share/asterisk/sounds/vm-saved.gsm
share/asterisk/sounds/vm-savedto.gsm
share/asterisk/sounds/vm-savefolder.gsm
share/asterisk/sounds/vm-savemessage.gsm
share/asterisk/sounds/vm-saveoper.gsm
share/asterisk/sounds/vm-sorry.gsm
share/asterisk/sounds/vm-star-cancel.gsm
share/asterisk/sounds/vm-starmain.gsm
share/asterisk/sounds/vm-tempgreetactive.gsm
share/asterisk/sounds/vm-tempgreeting.gsm
share/asterisk/sounds/vm-tempgreeting2.gsm
share/asterisk/sounds/vm-tempremoved.gsm
share/asterisk/sounds/vm-then-pound.gsm
share/asterisk/sounds/vm-theperson.gsm
share/asterisk/sounds/vm-tmpexists.gsm
share/asterisk/sounds/vm-tocallback.gsm
share/asterisk/sounds/vm-tocallnum.gsm
share/asterisk/sounds/vm-tocancel.gsm
share/asterisk/sounds/vm-tocancelmsg.gsm
share/asterisk/sounds/vm-toenternumber.gsm
share/asterisk/sounds/vm-toforward.gsm
share/asterisk/sounds/vm-tohearenv.gsm
share/asterisk/sounds/vm-tomakecall.gsm
share/asterisk/sounds/vm-tooshort.gsm
share/asterisk/sounds/vm-toreply.gsm
share/asterisk/sounds/vm-torerecord.gsm
share/asterisk/sounds/vm-undelete.gsm
share/asterisk/sounds/vm-undeleted.gsm
share/asterisk/sounds/vm-unknown-caller.gsm
share/asterisk/sounds/vm-whichbox.gsm
share/asterisk/sounds/vm-youhave.gsm
share/asterisk/static-http/ajamdemo.html
share/asterisk/static-http/astman.css
share/asterisk/static-http/astman.js
share/asterisk/static-http/prototype.js
@dirrm share/asterisk/static-http
@dirrm share/asterisk/sounds/silence
@dirrm share/asterisk/sounds/phonetic
@dirrm share/asterisk/sounds/letters
@dirrm share/asterisk/sounds/fr
@dirrm share/asterisk/sounds/followme
@dirrm share/asterisk/sounds/es
@dirrm share/asterisk/sounds/en_AU
@dirrm share/asterisk/sounds/digits
@dirrm share/asterisk/sounds/dictate
@dirrm share/asterisk/sounds
@dirrm share/asterisk/moh
@dirrm share/asterisk/keys
@dirrm share/asterisk/images
@dirrm share/asterisk/firmware/iax
@dirrm share/asterisk/firmware
@dirrm share/asterisk/agi-bin
@dirrm share/asterisk
@dirrm lib/asterisk/modules
@dirrm lib/asterisk
@dirrm include/asterisk
@dirrmtry etc/asterisk
@exec mkdir -p %D/share/asterisk/sounds/fr
@exec mkdir -p %D/share/asterisk/sounds/es
@cwd /var
spool/asterisk/voicemail/default/1234/busy.gsm
spool/asterisk/voicemail/default/1234/unavail.gsm
@exec mkdir -p %D/log/asterisk/cdr-csv
@exec mkdir -p %D/log/asterisk/cdr-custom
@exec mkdir -p %D/spool/asterisk/dictate
@exec mkdir -p %D/spool/asterisk/meetme
@exec mkdir -p %D/spool/asterisk/monitor
@exec mkdir -p %D/spool/asterisk/system
@exec mkdir -p %D/spool/asterisk/tmp
@exec mkdir -p %D/spool/asterisk/voicemail/default/1234/INBOX
@dirrm spool/asterisk/voicemail/default/1234/INBOX
@dirrm spool/asterisk/voicemail/default/1234
@dirrm spool/asterisk/voicemail/default
@dirrm spool/asterisk/voicemail
@dirrm spool/asterisk/tmp
@dirrm spool/asterisk/system
@dirrm spool/asterisk/monitor
@dirrm spool/asterisk/meetme
@dirrm spool/asterisk/dictate
@dirrm spool/asterisk
@dirrm log/asterisk/cdr-custom
@dirrm log/asterisk/cdr-csv
@dirrm log/asterisk

View File

@ -1,23 +0,0 @@
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$
PORTNAME= POE-Component-Spread
PORTVERSION= 0.02
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Handle Spread communications in POE
BUILD_DEPENDS= p5-POE>=0:${PORTSDIR}/devel/p5-POE \
spread>=0:${PORTSDIR}/net/spread
RUN_DEPENDS:= ${BUILD_DEPENDS}
DEPRECATED= Depends on expired net/spread
EXPIRATION_DATE=2014-05-01
USES= perl5
USE_PERL5= modbuild
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (POE-Component-Spread-0.02.tar.gz) = 6b9798919c21f2e1f50428f3b31c199abce589228991d24dad6e8fcccb773553
SIZE (POE-Component-Spread-0.02.tar.gz) = 3859

View File

@ -1,4 +0,0 @@
POE::Component::Spread is a POE component for talking to Spread servers.
WWW: http://spread.org/
WWW: http://search.cpan.org/dist/POE-Component-Spread/

View File

@ -1,8 +0,0 @@
%%PERL5_MAN3%%/POE::Component::Spread.3.gz
%%SITE_PERL%%/POE/Component/Spread.pm
%%SITE_PERL%%/POE/Driver/Spread.pm
%%SITE_PERL%%/POE/Filter/Spread.pm
@dirrmtry %%SITE_PERL%%/POE/Filter
@dirrmtry %%SITE_PERL%%/POE/Driver
@dirrmtry %%SITE_PERL%%/POE/Component
@dirrmtry %%SITE_PERL%%/POE

View File

@ -1,23 +0,0 @@
# Created by: Aaron Dalton <aaron@FreeBSD.org>
# $FreeBSD$
PORTNAME= Spread-Message
PORTVERSION= 0.21
CATEGORIES= net perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:MARKPF
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Provide messaging using the Spread toolkit
BUILD_DEPENDS= spread>=0:${PORTSDIR}/net/spread
RUN_DEPENDS:= ${BUILD_DEPENDS}
DEPRECATED= Depends on expired net/spread
EXPIRATION_DATE=2014-05-01
USES= perl5
USE_PERL5= configure
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (Spread-Message-0.21.tar.gz) = d2fb14d239db13592cf7332e47a47aacdde132a8f8ed9bfc2abe9ed137ab8911
SIZE (Spread-Message-0.21.tar.gz) = 24307

View File

@ -1,11 +0,0 @@
The Spread package provides a simple wrapper around the spread toolkit. We
try to provide a much higher level wrapper. By providing:
- Simple methods to send serialised Perl structures between programs
- Callback registration
- Extensible callbacks for command driven programs
- Lots of accesor functions
- Handling of incoming messages is supported via callbacks or
via direct polling for input. Its your choice :-)
WWW: http://search.cpan.org/dist/Spread-Message/

View File

@ -1,6 +0,0 @@
%%PERL5_MAN3%%/Spread::Message.3.gz
%%SITE_PERL%%/Spread/Message.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread/Message/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread/Message
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread
@dirrmtry %%SITE_PERL%%/Spread

View File

@ -1,23 +0,0 @@
# Created by: Joshua Goodall <joshua@roughtrade.net>
# $FreeBSD$
PORTNAME= Spread-Session
PORTVERSION= 0.4
CATEGORIES= net perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:JMAY
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl OO wrapper for Spread messaging toolkit
BUILD_DEPENDS= spread>=0:${PORTSDIR}/net/spread
RUN_DEPENDS:= ${BUILD_DEPENDS}
DEPRECATED= Depends on expired net/spread
EXPIRATION_DATE=2014-05-01
USES= perl5
USE_PERL5= configure
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (Spread-Session-0.4.tar.gz) = 0b70b2d1f3c1de922002ca85890fd375db8b0df36b77f46b9be3587a861005ab
SIZE (Spread-Session-0.4.tar.gz) = 6468

View File

@ -1,6 +0,0 @@
This is a wrapper module for Spread.pm (part of the standard Spread
distribution), providing an object-oriented interface to the Spread
messaging toolkit instead of Spread.pm's more direct interface
to the C API's.
WWW: http://search.cpan.org/dist/Spread-Session/

View File

@ -1,6 +0,0 @@
%%PERL5_MAN3%%/Spread::Session.3.gz
%%SITE_PERL%%/Spread/Session.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread/Session/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread/Session
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Spread
@dirrmtry %%SITE_PERL%%/Spread

View File

@ -1,39 +0,0 @@
# Created by: David O'Brien (obrien@NUXI.com)
# $FreeBSD$
PORTNAME= pchar
PORTVERSION= 1.5
CATEGORIES= net ipv6
MASTER_SITES= http://www.kitchenlab.org/www/bmah/Software/pchar/
MASTER_SITES+= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= bmah
MAINTAINER= ports@FreeBSD.org
COMMENT= Sandia Internet path characterization tool
DEPRECATED= Obsolete, abandoned
EXPIRATION_DATE=2014-05-01
GNU_CONFIGURE= yes
MAN8= pchar.8
CONFIGURE_ARGS= --with-pcap
CONFIGURE_ENV+= ac_cv_sizeof_bool=1
PLIST_FILES= sbin/pchar
PORTDOCS= README CHANGES FAQ
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (pchar-1.5.tar.gz) = 7019297084f1000557a019501532ecae67772851717329cc02227f5c17e36d27
SIZE (pchar-1.5.tar.gz) = 117678

View File

@ -1,11 +0,0 @@
--- Pctest.h.orig 2005-02-13 05:32:18.000000000 +0900
+++ Pctest.h 2013-05-06 00:39:43.413338781 +0900
@@ -86,7 +86,7 @@
virtual char *GetPrintableAddress() = 0;
virtual char *GetPrintableAddress(void *a) = 0;
virtual char *GetName(void *a) = 0;
- virtual char *GetAddressFamilyString() = 0;
+ virtual const char *GetAddressFamilyString() = 0;
virtual int GetAddressFamily() = 0;
// Get input and output sockets needed

View File

@ -1,11 +0,0 @@
--- PctestIpv4.h.orig 2005-02-13 05:32:18.000000000 +0900
+++ PctestIpv4.h 2013-05-06 00:36:17.432762986 +0900
@@ -77,7 +77,7 @@
virtual char *GetPrintableAddress();
virtual char *GetPrintableAddress(void *a);
virtual char *GetName(void *a);
- virtual char *GetAddressFamilyString() { return "AF_INET"; };
+ virtual const char *GetAddressFamilyString() { return "AF_INET"; };
virtual int GetAddressFamily() { return (AF_INET); };
protected:

View File

@ -1,11 +0,0 @@
--- PctestIpv6.h.orig 2005-02-13 05:32:18.000000000 +0900
+++ PctestIpv6.h 2013-05-06 00:36:41.683117194 +0900
@@ -82,7 +82,7 @@
virtual char *GetPrintableAddress();
virtual char *GetPrintableAddress(void *a);
virtual char *GetName(void *a);
- virtual char *GetAddressFamilyString() { return "AF_INET6"; }
+ virtual const char *GetAddressFamilyString() { return "AF_INET6"; }
virtual int GetAddressFamily() { return (AF_INET6); }
protected:

View File

@ -1,20 +0,0 @@
--- main.cc.orig 2005-02-13 05:32:18.000000000 +0900
+++ main.cc 2013-05-06 00:41:42.842653383 +0900
@@ -292,7 +292,7 @@
//
// Output: ASCII representation of network protocol name.
//
-char *GetPrintableNetworkProtocol(NetworkProtocolType np)
+const char *GetPrintableNetworkProtocol(NetworkProtocolType np)
{
switch (np) {
case (NetworkProtocolIpv4Udp):
@@ -371,7 +371,7 @@
case 'b': {
Burst = atoi(optarg);
if (Burst < 1) {
- fprintf(stderr, "Warning: burst size %d too small; resetting to 1\n");
+ fprintf(stderr, "Warning: burst size %u too small; resetting to 1\n", Burst);
Burst = 1;
}
break;

View File

@ -1,4 +0,0 @@
pchar finds bandwidth, delay, average queue and loss rate of hops between
source and destination.
WWW: http://www.kitchenlab.org/www/bmah/Software/pchar/

View File

@ -1,29 +0,0 @@
# Created by: Joshua Goodall <joshua@roughtrade.net>
# $FreeBSD$
PORTNAME= spreadmodule
PORTVERSION= 1.5
CATEGORIES= net python
MASTER_SITES= http://www.zope.org/Members/tim_one/spread/SpreadModule-1.5/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= SpreadModule-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= wenheping@gmail.com
COMMENT= Python extension module for the Spread group communications package
DEPRECATED= Depends on expired net/spread
EXPIRATION_DATE=2014-05-01
LIB_DEPENDS= spread.1:${PORTSDIR}/net/spread
PLIST_FILES= %%PYTHON_SITELIBDIR%%/spread.so
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= SpreadModule
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/setup.py
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (SpreadModule-1.5.tgz) = 8032feb88a02c9acdba714da84ebecc17c0b174a5a99134e60b1cb8e1726341f
SIZE (SpreadModule-1.5.tgz) = 19207

View File

@ -1,4 +0,0 @@
This is a Python extension module for Spread, an open source group
communications package.
WWW: http://www.python.org/other/spread/

View File

@ -39,7 +39,6 @@
SUBDIR += pkg_add_it
SUBDIR += pkg_cleanup
SUBDIR += pkg_cutleaves
SUBDIR += pkg_install
SUBDIR += pkg_jail
SUBDIR += pkg_remove
SUBDIR += pkg_replace

View File

@ -1,56 +0,0 @@
# Created by: Oliver Eikemeier
# $FreeBSD$
PORTNAME= pkg_install
PORTVERSION= 20120822
CATEGORIES= ports-mgmt
MASTER_SITES= LOCAL/bapt \
http://people.FreeBSD.org/~bapt/distfiles/
MAINTAINER= portmgr@FreeBSD.org
COMMENT= FreeBSD -STABLE version of the package tools
DEPRECATED= Replaced by ports-mgmt/pkg
EXPIRATION_DATE= 2014-04-30
LICENSE= BSD
MANCOMPRESSED= yes
MAN1= pkg_add.1 pkg_create.1 pkg_delete.1 \
pkg_info.1 pkg_updating.1 pkg_version.1
MAKE_ARGS= -DNO_OBJ -DNO_CRYPT -DNO_OPENSSL WARNS=0
OPTIONS_DEFINE= WRAPPER
OPTIONS_DEFAULT= WRAPPER
WRAPPER_DESC= Use ports version instead of base if more recent
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MWRAPPER}
PLIST_SUB+= WRAPPER=""
.else
PLIST_SUB+= WRAPPER="@comment "
.endif
pre-configure:
@${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
-e 's,%%MANPREFIX%%,${MANPREFIX},g' \
${FILESDIR}/Makefile.inc > ${WRKDIR}/Makefile.inc
# This enables the wrapper
.if ${PORT_OPTIONS:MWRAPPER}
post-install:
${ECHO} "${PORTVERSION} ${PREFIX}/sbin" > /var/db/${PORTNAME}.conf
.endif
deinstall:
@if ${PKG_INFO} -e ${PKGNAME}; then \
${PKG_DELETE} -f ${PKGNAME}; \
else \
${ECHO_MSG} "===> ${PKGNAME} not installed; skipping"; \
fi
@${RM} -f ${INSTALL_COOKIE} ${PACKAGE_COOKIE}
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (pkg_install-20120822.tar.gz) = 0091361a3d08f955470be2a2e2c562367dfc6b5014ccd77339f3fb64a7f85651
SIZE (pkg_install-20120822.tar.gz) = 82328

Some files were not shown because too many files have changed in this diff Show More