Remove 4 (mostly) unstaged freeswitch ports

The audio/freeswitch-music port was actually staged, but it lost its
purpose after the other 3 ports supporting the development version of
FreeSwitch were removed due to lack of maintenance and staging.
This commit is contained in:
John Marino 2014-09-06 21:06:15 +00:00
parent dee2b46abb
commit 83f077d48f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367474
35 changed files with 4 additions and 1719 deletions

4
MOVED
View File

@ -7000,3 +7000,7 @@ print/ghostscript7-commfont||2014-09-06|Not staged
print/ghostscript7-jpnfont||2014-09-06|Not staged
print/ghostscript7-korfont||2014-09-06|Not staged
print/ghostscript7-nox11||2014-09-06|Not staged
net/freeswitch-core-devel||2014-09-06|Not staged
net/freeswitch-devel||2014-09-06|Not staged
audio/freeswitch-sounds||2014-09-06|Not staged
audio/freeswitch-music||2014-09-06|No purpose after unstaged freeswitch ports removed

View File

@ -166,8 +166,6 @@
SUBDIR += freealut
SUBDIR += freedesktop-sound-theme
SUBDIR += freepats
SUBDIR += freeswitch-music
SUBDIR += freeswitch-sounds
SUBDIR += funktrackergold
SUBDIR += gbemol
SUBDIR += gbsplay

View File

@ -1,44 +0,0 @@
# Created by: Eric F Crist <ecrist@secure-computing.net>
# $FreeBSD$
PORTNAME= freeswitch
PORTVERSION= 1.0.8
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://files.freeswitch.org/
PKGNAMESUFFIX= -music
DIST_SUBDIR= freeswitch
MAINTAINER= ports@FreeBSD.org
COMMENT= FreeSwitch Music - All Bitrates
NO_WRKSUBDIR= yes
NO_BUILD= yes
USERS= ${PORTNAME}
GROUPS= ${USERS}
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
OPTIONS_DEFINE= 8K 16K 32K 48K
8K_DESC= 8000Hz Music
16K_DESC= 16000Hz Music
32K_DESC= 32000Hz Music
48K_DESC= 48000Hz Music
OPTIONS_DEFAULT= 8K 16K
NO_OPTIONS_SORT= yes
8K_DISTFILES= freeswitch-sounds-music-8000-${DISTVERSION}${EXTRACT_SUFX}
16K_DISTFILES= freeswitch-sounds-music-16000-${DISTVERSION}${EXTRACT_SUFX}
32K_DISTFILES= freeswitch-sounds-music-32000-${DISTVERSION}${EXTRACT_SUFX}
48K_DISTFILES= freeswitch-sounds-music-48000-${DISTVERSION}${EXTRACT_SUFX}
OPTIONS_SUB= yes
do-install:
@${ECHO_MSG} "Installing files..."
@${MKDIR} ${STAGEDIR}${DATADIR}/sounds
${TOUCH} ${STAGEDIR}${DATADIR}/sounds/.freeswitch-music
cd ${WRKSRC} && ${COPYTREE_SHARE} music ${STAGEDIR}${DATADIR}/sounds
.include <bsd.port.mk>

View File

@ -1,8 +0,0 @@
SHA256 (freeswitch/freeswitch-sounds-music-8000-1.0.8.tar.gz) = 02de6a0a4617c36b3ae3b8ad4f8d78aa39d5856d153d7da54cfd1fa6792a8837
SIZE (freeswitch/freeswitch-sounds-music-8000-1.0.8.tar.gz) = 14122644
SHA256 (freeswitch/freeswitch-sounds-music-16000-1.0.8.tar.gz) = d1e1dbaec323691f7630f834e5bddc3683303f297bdbbc3694dd2d51430f58d2
SIZE (freeswitch/freeswitch-sounds-music-16000-1.0.8.tar.gz) = 27233654
SHA256 (freeswitch/freeswitch-sounds-music-32000-1.0.8.tar.gz) = 68c7b1e8254438e622dbce7db321009a68b3c1620241354655440a0904423e12
SIZE (freeswitch/freeswitch-sounds-music-32000-1.0.8.tar.gz) = 52284585
SHA256 (freeswitch/freeswitch-sounds-music-48000-1.0.8.tar.gz) = ebca40460bcbe4ec6e17a62a9b4dbde5b8facfaf5ae66575484f33c5d09dde6a
SIZE (freeswitch/freeswitch-sounds-music-48000-1.0.8.tar.gz) = 75215628

View File

@ -1,3 +0,0 @@
FreeSWITCH Music
This port installs default music files for FreeSWITCH music-on-hold.

View File

@ -1,28 +0,0 @@
@owner freeswitch
@group freeswitch
%%DATADIR%%/sounds/.freeswitch-music
%%8K%%%%DATADIR%%/sounds/music/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
%%8K%%%%DATADIR%%/sounds/music/8000/ponce-preludio-in-e-major.wav
%%8K%%%%DATADIR%%/sounds/music/8000/suite-espanola-op-47-leyenda.wav
%%8K%%%%DATADIR%%/sounds/music/8000/danza-espanola-op-37-h-142-xii-arabesca.wav
%%16K%%%%DATADIR%%/sounds/music/16000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
%%16K%%%%DATADIR%%/sounds/music/16000/ponce-preludio-in-e-major.wav
%%16K%%%%DATADIR%%/sounds/music/16000/suite-espanola-op-47-leyenda.wav
%%16K%%%%DATADIR%%/sounds/music/16000/danza-espanola-op-37-h-142-xii-arabesca.wav
%%32K%%%%DATADIR%%/sounds/music/32000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
%%32K%%%%DATADIR%%/sounds/music/32000/ponce-preludio-in-e-major.wav
%%32K%%%%DATADIR%%/sounds/music/32000/suite-espanola-op-47-leyenda.wav
%%32K%%%%DATADIR%%/sounds/music/32000/danza-espanola-op-37-h-142-xii-arabesca.wav
%%48K%%%%DATADIR%%/sounds/music/48000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav
%%48K%%%%DATADIR%%/sounds/music/48000/ponce-preludio-in-e-major.wav
%%48K%%%%DATADIR%%/sounds/music/48000/suite-espanola-op-47-leyenda.wav
%%48K%%%%DATADIR%%/sounds/music/48000/danza-espanola-op-37-h-142-xii-arabesca.wav
%%8K%%@dirrm %%DATADIR%%/sounds/music/8000
%%16K%%@dirrm %%DATADIR%%/sounds/music/16000
%%32K%%@dirrm %%DATADIR%%/sounds/music/32000
%%48K%%@dirrm %%DATADIR%%/sounds/music/48000
@dirrm %%DATADIR%%/sounds/music
@dirrmtry %%DATADIR%%/sounds
@owner
@group
@dirrmtry %%DATADIR%%

View File

@ -1,198 +0,0 @@
# Created by: Eric F Crist <ecrist@secure-computing.net>
# $FreeBSD$
PORTNAME= freeswitch
DISTVERSION= 1.0.24
CATEGORIES= audio
MASTER_SITES= http://files.freeswitch.org/
PKGNAMESUFFIX= -sounds
DIST_SUBDIR= ${PORTNAME}${PORTNAMESUFFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= FreeSwitch Sounds (All Bitrates)
PLIST= ${WRKDIR}/plist
NO_WRKSUBDIR= yes
SHAREOWN= ${PORTNAME}
SHAREGRP= ${SHAREOWN}
USERS= ${PORTNAME}
NO_STAGE= yes
GROUPS= ${USERS}
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
DOWNLOAD_DESC= Download Sounds
8K_DESC= 8000Hz Audio Files
16K_DESC= 16000Hz Audio Files
32K_DESC= 32000Hz Audio Files
48K_DESC= 48000Hz Audio Files
ENGLISH_DESC= Compile US English Language Sounds
FRENCH_DESC= Compile French Canadian Language Sounds
RUSSIAN_DESC= Compile Russian Language Sounds
OPTIONS_DEFINE= DOWNLOAD
OPTIONS_SINGLE= LANG
OPTIONS_SINGLE_LANG= ENGLISH FRENCH RUSSIAN
OPTIONS_MULTI= AUDIO
OPTIONS_MULTI_AUDIO= 8K 16K 32K 48K
OPTIONS_DEFAULT= 8K 16K ENGLISH
NO_OPTIONS_SORT= yes
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MDOWNLOAD)
BUILD_DEPENDS+= sox:${PORTSDIR}/audio/sox
.endif
.if ${PORT_OPTIONS:M8K}
BITRATES+= 8000
.endif
.if ${PORT_OPTIONS:M16K}
BITRATES+= 16000
.endif
.if ${PORT_OPTIONS:M32K}
BITRATES+= 32000
.endif
.if ${PORT_OPTIONS:M48K}
BITRATES+= 48000
.endif
.if ${PORT_OPTIONS:MENGLISH}
.if ${PORT_OPTIONS:MDOWNLOAD}
.for rate in ${BITRATES}
DISTFILES+= ${PORTNAME}${PKGNAMESUFFIX}-en-us-callie-${rate}-${DISTVERSION}${EXTRACT_SUFX}
.endfor
.else
DISTFILES+= ${PORTNAME}${PKGNAMESUFFIX}-en-us-callie-48000-${DISTVERSION}${EXTRACT_SUFX}
.endif
.endif
.if ${PORT_OPTIONS:MFRENCH}
.if ${PORT_OPTIONS:MDOWNLOAD}
.for rate in ${BITRATES}
DISTFILES+= ${PORTNAME}${PKGNAMESUFFIX}-fr-ca-june-${rate}-1.0.18${EXTRACT_SUFX}
.endfor
.else
DISTFILES+= ${PORTNAME}${PKGNAMESUFFIX}-fr-ca-june-48000-1.0.18${EXTRACT_SUFX}
.endif
.endif
.if ${PORT_OPTIONS:MRUSSIAN}
.if ${PORT_OPTIONS:MDOWNLOAD}
.for rate in ${BITRATES}
DISTFILES+= ${PORTNAME}${PKGNAMESUFFIX}-ru-RU-elena-${rate}-1.0.13${EXTRACT_SUFX}
.endfor
.else
DISTFILES+= ${PORTNAME}${PKGNAMESUFFIX}-ru-RU-elena-48000-1.0.13${EXTRACT_SUFX}
.endif
.endif
.if defined(FREESWITCH_VSCALE)
SCALE=${FREESWITCH_VSCALE}
.else
SCALE=0.2
.endif
.for opt in ${ALL_OPTIONS}
.if ${PORT_OPTIONS:M${opt}}
PLIST_SUB+= ${opt}=""
.else
PLIST_SUB+= ${opt}="@comment "
.endif
.endfor
do-build:
@${ECHO_MSG} "===> Building for bitrates: ${BITRATES}"
@${ECHO_MSG} "===> Download >>>${PORT_OPTIONS:MDOWNLOAD}<<<"
@${ECHO_MSG} "===> Scaling audio to ${SCALE}"
if [ -n "${PORT_OPTIONS:MENGLISH}" -a ! -e "${WRKDIR}/ENGLISH.done" ]; then \
${ECHO_MSG} "====> English selected."; \
for rate in ${BITRATES}; do \
${ECHO_MSG} "WORKING on $${rate}!"; \
for dir in `ls ${WRKSRC}/en/us/callie/`; do \
${MKDIR} ${WRKDIR}/tmp/en/us/callie/$${dir}/$${rate}/; \
for filename in `ls ${WRKSRC}/en/us/callie/$${dir}/48000`; do \
echo "${DATADIR_REL}/sounds/en/us/callie/$${dir}/$${rate}/$${filename}" >> ${PLIST}; \
if [ ! -e "${WRKDIR}/tmp/en/us/callie/$${dir}/$${rate}/$${filename}" ]; then \
if [ "${PORT_OPTIONS:MDOWNLOAD}" = "true" ]; then \
${ECHO} -n "."; \
${MV} ${WRKSRC}/en/us/callie/$${dir}/$${rate}/$${filename} ${WRKDIR}/tmp/en/us/callie/$${dir}/$${rate}/$${filename} ; \
else \
${ECHO} -n "."; \
${LOCALBASE}/bin/sox -v ${SCALE} "${WRKSRC}/en/us/callie/$${dir}/48000/$${filename}" -r $${rate} -c 1 "${WRKDIR}/tmp/en/us/callie/$${dir}/$${rate}/$${filename}"; \
fi \
fi \
done; \
${ECHO} ""; \
echo "@rmdir share/${PORTNAME}/sounds/en/us/callie/$${dir}/$${rate}/" >> ${PLIST}; \
done; \
done; \
${TOUCH} ${WRKDIR}/ENGLISH.done; \
fi
if [ -n "${PORT_OPTIONS:MFRENCH}" -a ! -e "${WRKDIR}/FRENCH.done" ]; then \
${ECHO_MSG} "====> French selected."; \
for rate in ${BITRATES}; do \
${ECHO_MSG} "WORKING on $${rate}!"; \
for dir in `ls ${WRKSRC}/fr/ca/june/`; do \
${MKDIR} ${WRKDIR}/tmp/fr/ca/june/$${dir}/$${rate}/; \
for filename in `ls ${WRKSRC}/fr/ca/june/$${dir}/48000`; do \
echo "${DATADIR_REL}/sounds/fr/ca/june/$${dir}/$${rate}/$${filename}" >> ${PLIST}; \
if [ ! -e "${WRKDIR}/tmp/fr/ca/june/$${dir}/$${rate}/$${filename}" ]; then \
if [ "${PORT_OPTIONS:MDOWNLOAD}" = "true" ]; then \
${ECHO} -n "."; \
${MV} ${WRKSRC}/fr/ca/june/$${dir}/$${rate}/$${filename} ${WRKDIR}/tmp/fr/ca/june/$${dir}/$${rate}/$${filename} ; \
else \
${ECHO} -n "."; \
${LOCALBASE}/bin/sox -v ${SCALE} "${WRKSRC}/fr/ca/june/$${dir}/48000/$${filename}" -r $${rate} -c 1 "${WRKDIR}/tmp/fr/ca/june/$${dir}/$${rate}/$${filename}"; \
fi \
fi \
done; \
${ECHO} ""; \
echo "@rmdir share/${PORTNAME}/sounds/fr/ca/june/$${dir}/$${rate}/" >> ${PLIST}; \
done; \
done; \
${TOUCH} ${WRKDIR}/FRENCH.done; \
fi
if [ -n "${PORT_OPTIONS:MRUSSIAN}" -a ! -e "${WRKDIR}/RUSSIAN.done" ]; then \
${ECHO_MSG} "====> Russian selected."; \
for rate in ${BITRATES}; do \
${ECHO_MSG} "WORKING on $${rate}!"; \
for dir in `ls ${WRKSRC}/ru/RU/elena/`; do \
${MKDIR} ${WRKDIR}/tmp/ru/RU/elena/$${dir}/$${rate}/; \
for filename in `ls ${WRKSRC}/ru/RU/elena/$${dir}/48000`; do \
echo "share/${DATADIR_REL}/sounds/ru/RU/elena/$${dir}/$${rate}/$${filename}" >> ${PLIST}; \
if [ ! -e "${WRKDIR}/tmp/ru/RU/elena/$${dir}/$${rate}/$${filename}" ]; then \
if [ "${PORT_OPTIONS:MDOWNLOAD}" = "true" ]; then \
${ECHO} -n "."; \
${MV} ${WRKSRC}/ru/RU/elena/$${dir}/$${rate}/$${filename} ${WRKDIR}/tmp/ru/RU/elena/$${dir}/$${rate}/$${filename}; \
else \
${ECHO} -n "."; \
${LOCALBASE}/bin/sox -v ${SCALE} "${WRKSRC}/ru/RU/elena/$${dir}/48000/$${filename}" -r $${rate} -c 1 "${WRKDIR}/tmp/ru/RU/elena/$${dir}/$${rate}/$${filename}"; \
fi \
fi \
done; \
${ECHO} ""; \
echo "@dirrm share/${PORTNAME}/sounds/ru/RU/elena/$${dir}/$${rate}/" >> ${PLIST}; \
done; \
done; \
${TOUCH} ${WRKDIR}/RUSSIAN.done; \
fi
pre-install:
@${RM} ${PLIST}
@cd ${WRKDIR}/tmp && ${FIND} * ! -type d | ${SORT} >> ${PLIST}; \
${ECHO_CMD} .${PORTNAME}${PKGNAMESUFFIX} >> ${PLIST}; \
${REINPLACE_CMD} -e "s:^:${DATADIR_REL}/sounds/:" ${PLIST}; \
${FIND} * -type d ! -empty | ${SORT} -r | ${SED} -e "s:^:@dirrm ${DATADIR_REL}/sounds/:" | ${GREP} / >> ${PLIST}
@${ECHO_CMD} "@dirrmtry ${DATADIR_REL}/sounds" >> ${PLIST}
@${ECHO_CMD} "@dirrmtry ${DATADIR_REL}" >> ${PLIST}
do-install:
@${ECHO_MSG} "Installing files..."
${MKDIR} ${DATADIR}/sounds
${TOUCH} ${DATADIR}/sounds/.freeswitch-sounds
(cd ${WRKDIR}/tmp/ && ${COPYTREE_SHARE} \* ${DATADIR}/sounds/)
.include <bsd.port.mk>

View File

@ -1,24 +0,0 @@
SHA256 (freeswitch/freeswitch-sounds-en-us-callie-8000-1.0.24.tar.gz) = 52ef0747a13469696491c7ec16b3850a401af4b2dd19a146ff7996b2804f7866
SIZE (freeswitch/freeswitch-sounds-en-us-callie-8000-1.0.24.tar.gz) = 17741850
SHA256 (freeswitch/freeswitch-sounds-en-us-callie-16000-1.0.24.tar.gz) = d668ee34c17851b8762bc6d7bec55071b12b2d933f157a4d4d9b775e008fe386
SIZE (freeswitch/freeswitch-sounds-en-us-callie-16000-1.0.24.tar.gz) = 35337077
SHA256 (freeswitch/freeswitch-sounds-en-us-callie-32000-1.0.24.tar.gz) = 691e817e5385eaba8534b36051cd6054e0c3289067a7e23d8890b10870189020
SIZE (freeswitch/freeswitch-sounds-en-us-callie-32000-1.0.24.tar.gz) = 69411929
SHA256 (freeswitch/freeswitch-sounds-en-us-callie-48000-1.0.24.tar.gz) = d84230c7d7502ca18e9738e39fe05ad69651551035200d671bbda2e6d834294d
SIZE (freeswitch/freeswitch-sounds-en-us-callie-48000-1.0.24.tar.gz) = 100018897
SHA256 (freeswitch/freeswitch-sounds-fr-ca-june-8000-1.0.18.tar.gz) = f7fd5c84ff9b1c1929167a4b33f38d6770a44c5bcad4e5f96b86e3165bfd05d4
SIZE (freeswitch/freeswitch-sounds-fr-ca-june-8000-1.0.18.tar.gz) = 13468498
SHA256 (freeswitch/freeswitch-sounds-fr-ca-june-16000-1.0.18.tar.gz) = 5c4e45be5988e7763b196a453722f3a5dd41f79b280a37a8960cf65d390318a7
SIZE (freeswitch/freeswitch-sounds-fr-ca-june-16000-1.0.18.tar.gz) = 26607279
SHA256 (freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz) = b0c30f112bfd40e0422a93b30d251072e9847274a39d3407a06f3528d8935bfe
SIZE (freeswitch/freeswitch-sounds-fr-ca-june-32000-1.0.18.tar.gz) = 52075212
SHA256 (freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz) = 4c7f6d373b72b5af5bad028b3b193d1b862abcee4466bb6f398f1d3f20befd0b
SIZE (freeswitch/freeswitch-sounds-fr-ca-june-48000-1.0.18.tar.gz) = 76712496
SHA256 (freeswitch/freeswitch-sounds-ru-RU-elena-8000-1.0.13.tar.gz) = a04f0d33462a782c9fe8e81331a7c0928950c3fcc83f90cdf774974114bf1e53
SIZE (freeswitch/freeswitch-sounds-ru-RU-elena-8000-1.0.13.tar.gz) = 14363334
SHA256 (freeswitch/freeswitch-sounds-ru-RU-elena-16000-1.0.13.tar.gz) = f68bf958625d7fec95ffdec374b197bdddceff372e43c01d6502f39a362a0e15
SIZE (freeswitch/freeswitch-sounds-ru-RU-elena-16000-1.0.13.tar.gz) = 28650196
SHA256 (freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.13.tar.gz) = 621fbe1d6d4c7bafc407aac9898676fe2807a74e5f907a27870095804f6f5652
SIZE (freeswitch/freeswitch-sounds-ru-RU-elena-32000-1.0.13.tar.gz) = 56843560
SHA256 (freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.13.tar.gz) = f2db5f456e94e10f262ee08407484e4faf538a28e38c67867a8598636cca0d4a
SIZE (freeswitch/freeswitch-sounds-ru-RU-elena-48000-1.0.13.tar.gz) = 84394475

View File

@ -1 +0,0 @@
FreeSwitch Sounds for English Russian and French Canadian

View File

@ -131,8 +131,6 @@
SUBDIR += freeradius2
SUBDIR += freeradius3
SUBDIR += freerdp
SUBDIR += freeswitch-core-devel
SUBDIR += freeswitch-devel
SUBDIR += freevrrpd
SUBDIR += fspclient
SUBDIR += fsplib

View File

@ -1,356 +0,0 @@
# Created by: Richard Neese <r.neese@gmail.com>
# $FreeBSD$
PORTNAME= freeswitch
PORTREVISION= 3
DISTVERSION= 1.2.3
CATEGORIES= net
MASTER_SITES= http://files.freeswitch.org/ \
http://files.freeswitch.org/downloads/libs/:2 \
http://download.zeromq.org/:3
PKGNAMESUFFIX= -core-devel
DISTFILES= ${PORTNAME}-${DISTVERSION}.tar.bz2 \
opus-1.0.1.tar.gz:2 \
celt-0.10.0.tar.gz:2 \
flite-1.5.4-current.tar.bz2:2 \
json-c-0.9.tar.gz:2 \
lame-3.98.4.tar.gz:2 \
libmemcached-0.32.tar.gz:2 \
libshout-2.2.2.tar.gz:2 \
mpg123-1.13.2.tar.gz:2 \
openldap-2.4.11.tar.gz:2 \
pocketsphinx-0.7.tar.gz:2 \
soundtouch-1.6.0.tar.gz:2 \
sphinxbase-0.7.tar.gz:2 \
communicator_semi_6000_20080321.tar.gz:2 \
zeromq-2.1.11.tar.gz:3
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}.tar.bz2
MAINTAINER= ports@FreeBSD.org
COMMENT= FreeSwitch SoftSwitch Port
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \
libjpeg.so:${PORTSDIR}/graphics/jpeg \
libtiff.so:${PORTSDIR}/graphics/tiff \
libodbc.so:${PORTSDIR}/databases/unixODBC
CONFLICTS= freeswitch-core-[0-9]*
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
USE_AUTOTOOLS= autoconf:env automake:env libtool:env
USE_PERL5= build
USES= bison:both pkgconfig perl5 gmake
USE_GCC= any
SUB_FILES= pkg-install
USE_RC_SUBR= freeswitch
HAS_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+=--prefix=${PREFIX} \
--bindir=${PREFIX}/bin \
--datadir=${VARBASE}/db/${PORTNAME} \
--includedir=${PREFIX}/include/${PORTNAME} \
--libdir=${PREFIX}/lib/${PORTNAME}/lib \
--localstatedir=${VARBASE} \
--sysconfdir=${PREFIX}/etc/${PORTNAME}/conf \
--with-htdocsdir=${PREFIX}/www/${PORTNAME}/htdocs \
--with-soundsdir=${PREFIX}/share/${PORTNAME}/sounds \
--with-grammardir=${PREFIX}/etc/${PORTNAME}/grammar \
--with-scriptdir=${PREFIX}/etc/${PORTNAME}/scripts \
--with-modinstdir=${PREFIX}/lib/${PORTNAME}/mod \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
--with-storagedir=${VARBASE}/${PORTNAME} \
--with-recordingsdir=${VARBASE}/${PORTNAME}/recordings \
--with-ogg=${LOCALBASE} \
--with-ogg-libraries=${LOCALBASE}/lib \
--with-ogg-includes=${LOCALBASE}/include
MAKE_JOBS_UNSAFE= yes
FREESWITCH_USER?= freeswitch
FREESWITCH_GROUP?= ${FREESWITCH_USER}
FREESWITCH_UID?= 610
FREESWITCH_GID?= ${FREESWITCH_UID}
USERS= ${FREESWITCH_USER}
GROUPS= ${FREESWITCH_GROUP}
SUB_LIST= FREESWITCH_USER=${FREESWITCH_USER} \
FREESWITCH_GROUP=${FREESWITCH_GROUP}
VARBASE= /var
ETCDIR= ${PREFIX}/etc/${PORTNAME}
WWWDIR= ${PREFIX}/www/${PORTNAME}
SAMPLESDIR= conf conf/autoload_configs
OPTIONS_DEFINE= REBOOTSTRAP MODABSTRACTION MODAVMD MODCALLCENTER MODCIDLOOKUP MODBLACKLIST MODCURL \
MODDISTRIBUTOR MODEASYROUTE MODFSK MODHTTAPI MODHTTPCACHE MODDIRECTORY MODLADSPA \
MODLCR MODMEMCACHE MODNIBBLEBILL MODRSS MODSNOM MODSPY MODSOUNDTOUCH MODSTRESS MODSNAPSHOT \
MODVMD MODVOICEMAILIVR MODAMRWB MODCELT MODCODEC2 MODILBC MODISAC MODOPUS MODSILK MODSIREN MODDPASTERISK \
MODDPDIRECTORY MODDINGALING MODFREETDM MODPORTAUDIO MODRTMP MODSKINNY MODFLITE MODPOCKETSPHINX \
MODTTSCMDLINE MODUNIMRCP MODCDRPGCSV MODERLANGEVENT MODMULTICAST MODEVENTZMQ MODSNMP MODVLC \
MODPASTREAM MODSHELLSTREAM MODSHOUT MODMANAGED MODPERL MODPYTHON MODPOSIXTIMER MODXMLCURL \
MODXMLODBC MODXMLRPC MODSAYDE MODSAYES MODSAYEN MODSAYFR MODSAYHE MODSAYHU MODSAYIT MODSAYNL \
MODSAYPT MODSAYRU MODSAYTH MODSAYZH
REBOOTSTRAP_DESC= Rebootstrap freeswitch build
MODABSTRACTION_DESC= Simplify/Standarize API
MODAVMD_DESC= Detects voicemail generalized approach
MODCALLCENTER_DESC= Call queuing application
MODCIDLOOKUP_DESC= Lookup CID via database, url
MODBLACKLIST_DESC= Blacklisk phone numbers
MODCURL_DESC= Allows scripts to make HTTP requests
MODDISTRIBUTOR_DESC= Simple round-robin style distributions
MODEASYROUTE_DESC= DID Database lookup
MODFSK_DESC= FSK (Frequency-Shift Keying) data transfer
MODHTTAPI_DESC= HTTP API
MODHTTPCACHE_DESC= HTTP GET with caching
MODDIRECTORY_DESC= Dial by name directory
MODLADSPA_DESC= use Auto-tune on your call
MODLCR_DESC= Least Cost Routing
MODMEMCACHE_DESC= Memcached API
MODNIBBLEBILL_DESC= Billing Module
MODRSS_DESC= RSS feed text to speech
MODSNOM_DESC= Controlling softkeys on Snom phones
MODSPY_DESC= Extension/Call Spy tool
MODSOUNDTOUCH_DESC= Pitch shifting audio effects
MODSTRESS_DESC= Detect Stress in voice
MODSNAPSHOT_DESC= Audio/Disk Snapshot Tool
MODVMD_DESC= Voicemail Beep Detection
MODVOICEMAILIVR_DESC= IVR Based Voicemail(NEW)
MODAMRWB_DESC= GSM-AMRWB (ARM Wide Band) codec
MODCELT_DESC= Celt ultra-low delay audio codec
MODCODEC2_DESC= Freeswitch Codec2 Module
MODILBC_DESC= ILBX Codec
MODISAC_DESC= Isac Codec (New Codec)
MODOPUS_DESC= OPUS ultra-low delay audio codec
MODSILK_DESC= Skype Silk Codec (Broken/BUILD ISSUES)
MODSIREN_DESC= Siren Codec
MODDPASTERISK_DESC= Asterisk Dialplan (Old School Dialplan)
MODDPDIRECTORY_DESC= obtain dialplan from a directory resource
MODDINGALING_DESC= Jabber/Google Talk integration module
MODFREETDM_DESC= Interface to Zaptel hardware End Points
MODPORTAUDIO_DESC= Portaudio API
MODRTMP_DESC= Real time media protocol
MODSKINNY_DESC= Skinny/SCCP
MODFLITE_DESC= Free open source Text to Speech
MODPOCKETSPHINX_DESC= Free open source Speech Recognition
MODTTSCMDLINE_DESC= Play Sounds via commandline
MODUNIMRCP_DESC= Open MRCP implementation ASR/Text
MODCDRPGCSV_DESC= Asterisk Compatible CDR PostgreSQL
MODERLANGEVENT_DESC= send/receive events/commands in Erlang
MODMULTICAST_DESC= Broadcasts events to netmask
MODEVENTZMQ_DESC= Zeroconf config socket
MODSNMP_DESC= SNMP AgentX module
MODVLC_DESC= Play local mp3 files any rate(NEW Testing)
MODPASTREAM_DESC= PortAudio Streaming Module
MODSHELLSTREAM_DESC= Stream audio via shell command
MODSHOUT_DESC= Play local mp3/shoutcast (Build Error)
MODMANAGED_DESC= Common Language Infrastructure API
MODPERL_DESC= Perl Lang Support
MODPYTHON_DESC= Python Lang Suppot
MODPOSIXTIMER_DESC= Posix timer (New/Testing)
MODXMLCURL_DESC= XML dynamically control of FreeSWITCH
MODXMLODBC_DESC= XML ODBC Module
MODXMLRPC_DESC= XML Remote Procedure Calls
MODSAYDE_DESC= German Voice Prompts
MODSAYES_DESC= Spanish Voice Prompts
MODSAYEN_DESC= English Voice Prompts
MODSAYFR_DESC= French Voice Prompts
MODSAYHE_DESC= Hebrew Voice Prompts
MODSAYHU_DESC= Hungarian Voice Propmts
MODSAYIT_DESC= Italian Voice Propmts
MODSAYNL_DESC= Dutch Voice Propmts
MODSAYPT_DESC= Portuguese Voice Propmts
MODSAYRU_DESC= Russian Voice Propmts
MODSAYTH_DESC= Thai Voice Propmts
MODSAYZH_DESC= Chinese Voice Propmts
OPTIONS_DEFAULT= REBOOTSTRAP MODABSTRACTION MODAVMD MODCALLCENTER MODCIDLOOKUP MODBLACKLIST MODCURL \
MODDISTRIBUTOR MODEASYROUTE MODFSK MODHTTAPI MODHTTPCACHE MODDIRECTORY MODLADSPA MODLCR MODMEMCACHE \
MODNIBBLEBILL MODRSS MODSNOM MODSPY MODVMD MODVOICEMAILIVR MODAMRWB MODCELT MODCODEC2 MODISAC MODILBC MODOPUS \
MODSIREN MODDPDIRECTORY MODDINGALING MODPORTAUDIO MODRTMP MODSKINNY MODFLITE MODPOCKETSPHINX MODTTSCMDLINE MODUNIMRCP \
MODMULTICAST MODEVENTZMQ MODPASTREAM MODSHELLSTREAM MODPERL MODPYTHON MODPOSIXTIMER MODXMLCURL MODXMLODBC \
MODXMLRPC MODSAYEN
NO_OPTIONS_SORT= yes
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${ARCH} == "amd64"
CFLAGS+= -fPIC
.endif
.for opt in ${ALL_OPTIONS}
.if $(PORT_OPTIONS:M${opt})
PLIST_SUB+= ${opt}=""
.else
PLIST_SUB+= ${opt}="@comment "
.endif
.endfor
.if ${PORT_OPTIONS:MMODFREETDM}
CONFIGURE_ARGS+= --with-libpri=${LOCALBASE}
BUILD_DEPENDS+= ${LOCALBASE}/include/dahdi/wctdm_user.h:${PORTSDIR}/misc/dahdi
LIB_DEPENDS+= libpri.so:${PORTSDIR}/misc/libpri
RUN_DEPENDS+= ${LOCALBASE}/include/dahdi/wctdm_user.h:${PORTSDIR}/misc/dahdi
.endif
.if ${PORT_OPTIONS:MMODSHOUT}
LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis
.endif
.if ${PORT_OPTIONS:MMODPERL}
USE_BDB= 42+
LIB_DEPENDS+= libgdbm.so:${PORTSDIR}/databases/gdbm
.endif
.if ${PORT_OPTIONS:MMODERLANGEVENT}
BUILD_DEPENDS+= ${LOCALBASE}/lib/erlang/usr/include/erl_driver.h:${PORTSDIR}/lang/erlang
.endif
.if ${PORT_OPTIONS:MMODPYTHON}
USE_PYTHON= yes
.endif
.if ${PORT_OPTIONS:MMODCDRPGCSV}
USE_PGSQL= yes
.endif
.if ${PORT_OPTIONS:MMODSNMP}
BUILD_DEPENDS+= ${LOCALBASE}/include/net-snmp/definitions.h:${PORTSDIR}/net-mgmt/net-snmp
RUN_DEPENDS+= ${LOCALBASE}/include/net-snmp/definitions.h:${PORTSDIR}/net-mgmt/net-snmp
.endif
.if ${PORT_OPTIONS:MMODLADSPA}
BUILD_DEPENDS+= ${LOCALBASE}/lib/ladspa/amp.so:${PORTSDIR}/audio/ladspa \
${LOCALBASE}/lib/ladspa/tap_autopan.so:${PORTSDIR}/audio/tap-plugins \
${LOCALBASE}/lib/ladspa/cmt.so:${PORTSDIR}/audio/cmt \
${LOCALBASE}/lib/ladspa/alias_1407.so:${PORTSDIR}/audio/swhplugins \
${LOCALBASE}/lib/ladspa/autotalent.so:${PORTSDIR}/audio/autotalent
RUN_DEPENDS+= ${LOCALBASE}/lib/ladspa/amp.so:${PORTSDIR}/audio/ladspa \
${LOCALBASE}/lib/ladspa/tap_autopan.so:${PORTSDIR}/audio/tap-plugins \
${LOCALBASE}/lib/ladspa/cmt.so:${PORTSDIR}/audio/cmt \
${LOCALBASE}/lib/ladspa/alias_1407.so:${PORTSDIR}/audio/swhplugins \
${LOCALBASE}/lib/ladspa/autotalent.so:${PORTSDIR}/audio/autotalent
.endif
.if ${PORT_OPTIONS:MMODVLC}
LIB_DEPENDS+= libvlc.so:${PORTSDIR}/multimedia/vlc
RUN_DEPENDS+= vlc:/${PORTSDIR}/multimedia/vlc
.endif
pre-configure:
@${REINPLACE_CMD} -e 's|base=http://files.freeswitch.org/downloads/libs/|base=file://${DISTDIR}/${DIST_SUBDIR}/|g' ${WRKSRC}/build/getlib.sh.in
@${REINPLACE_CMD} -e 's|2.1.9|2.1.11|g' ${WRKSRC}/src/mod/event_handlers/mod_event_zmq/Makefile
@${REINPLACE_CMD} -e 's|ZMQ_BASEURL=http://download.zeromq.org|ZMQ_BASEURL=file://${DISTDIR}/${DIST_SUBDIR}/|g' ${WRKSRC}/src/mod/event_handlers/mod_event_zmq/Makefile
@${REINPLACE_CMD} -e 's|\$$(MAKE) samples-conf|##\$$(MAKE) samples-conf|g' ${WRKSRC}/Makefile.am
.if ${PORT_OPTIONS:MREBOOTSTRAP}
cd ${WRKSRC} && ./rebootstrap.sh
.endif
post-configure:
.for i in mod_unimrcp mod_flite mod_pocketsphinx
.if ${PORT_OPTIONS:M${i:S/_//g:tu}}
@${REINPLACE_CMD} -e 's|#\(asr_tts/${i}\)|\1|g' ${WRKSRC}/modules.conf
.endif
.endfor
.if ${PORT_OPTIONS:MMODTTSCMDLINE}}
@${REINPLACE_CMD} -e 's|#asr_tts/mod_tts_commandline|asr_tts/mod_tts_commandline|g' ${WRKSRC}/modules.conf
.endif
.for i in mod_cidlookup mod_easyroute mod_lcr mod_soundtouch mod_rss mod_snom \
mod_vmd mod_avmd mod_spy mod_curl mod_nibblebill mod_memcache mod_directory mod_distributor \
mod_snapshot mod_callcenter mod_fsk mod_ladspa mod_blacklist mod_http_cache mod_abstraction \
mod_voicemail_ivr mod_httapi
.if ${PORT_OPTIONS:M${i:S/_//g:tu}}
@${REINPLACE_CMD} -e 's|#\(applications/${i}\)|\1|g' ${WRKSRC}/modules.conf
.endif
.endfor
.for i in mod_amrwb mod_celt mod_silk mod_codec2 mod_opus mod_isac mod_ilbc mod_siren
.if ${PORT_OPTIONS:M${i:S/_//g:tu}}
@${REINPLACE_CMD} -e 's|#\(codecs/${i}\)|\1|g' ${WRKSRC}/modules.conf
.endif
.endfor
.for i in mod_shell_stream mod_shout mod_vlc
.if ${PORT_OPTIONS:M${i:S/_//g:tu}}
@${REINPLACE_CMD} -e 's|#\(formats/${i}\)|\1|g' ${WRKSRC}/modules.conf
.endif
.endfor
.if ${PORT_OPTIONS:MMODPASTREAM}}
@${REINPLACE_CMD} -e 's|#formats/mod_portaudio_stream|formats/mod_portaudio_stream|g' ${WRKSRC}/modules.conf
.endif
.for i in mod_say_de mod_say_es mod_say_en mod_say_fr mod_say_he mod_say_hu mod_say_it mod_say_nl mod_say_pt mod_say_ru mod_say_th mod_say_zh
.if ${PORT_OPTIONS:M${i:S/_//g:tu}}
@${REINPLACE_CMD} -e 's|#\(say/${i}\)|\1|g' ${WRKSRC}/modules.conf
.endif
.endfor
.for i in mod_perl mod_python
.if ${PORT_OPTIONS:M${i:S/_//g:tu}}
@${REINPLACE_CMD} -e 's|#\(languages/${i}\)|\1|g' ${WRKSRC}/modules.conf
.endif
.endfor
.for i in mod_skinny mod_portaudio mod_dingaling mod_rtmp mod_khomp
.if ${PORT_OPTIONS:M${i:S/_//g:tu}}
@${REINPLACE_CMD} -e 's|#\(endpoints/${i}\)|\1|g' ${WRKSRC}/modules.conf
.endif
.endfor
.if ${PORT_OPTIONS:MMODDPDIRECTORY}
@${REINPLACE_CMD} -e 's|#dialplans/mod_dialplan_directory|dialplans/mod_dialplan_directory|g' ${WRKSRC}/modules.conf
.endif
.if ${PORT_OPTIONS:MMODFREETDM}
@${REINPLACE_CMD} -e 's|#../../libs/freetdm/mod_freetdm|../../libs/freetdm/mod_freetdm|g' ${WRKSRC}/modules.conf
.endif
.if ${PORT_OPTIONS:MMODMULTICAST}
@${REINPLACE_CMD} -e 's|#event_handlers/mod_event_multicast|event_handlers/mod_event_multicast|g' ${WRKSRC}/modules.conf
.endif
.if ${PORT_OPTIONS:MMODERLANGEVENT}
@${REINPLACE_CMD} -e 's|#event_handlers/mod_erlang_event|event_handlers/mod_erlang_event|g' ${WRKSRC}/modules.conf
.endif
.if ${PORT_OPTIONS:MMODCDRPGCSV}
@${REINPLACE_CMD} -e 's|#event_handlers/mod_cdr_pg_csv|event_handlers/mod_cdr_pg_csv|g' ${WRKSRC}/modules.conf
.endif
.if ${PORT_OPTIONS:MMODSNMP}
@${REINPLACE_CMD} -e 's|#event_handlers/mod_snmp|event_handlers/mod_snmp|g' ${WRKSRC}/modules.conf
.endif
.if ${PORT_OPTIONS:MMODXMLCURL}
@${REINPLACE_CMD} -e 's|#xml_int/mod_xml_curl|xml_int/mod_xml_curl|g' ${WRKSRC}/modules.conf
.endif
.if empty(PORT_OPTIONS:MMODDPASTERISK)
@${REINPLACE_CMD} -e 's|dialplans/mod_dialplan_asterisk|#dialplans/mod_dialplan_asterisk|g' ${WRKSRC}/modules.conf
.endif
.if ${PORT_OPTIONS:MMODEVENTZMQ}
@${REINPLACE_CMD} -e 's|#event_handlers/mod_event_zmq|event_handlers/mod_event_zmq|g' ${WRKSRC}/modules.conf
.endif
.if ${PORT_OPTIONS:MMODXMLODBC}
@${REINPLACE_CMD} -e 's|#../../contrib/mod/xml_int/mod_xml_odbc|../../contrib/mod/xml_int/mod_xml_odbc|g' ${WRKSRC}/modules.conf
.endif
.if ${PORT_OPTIONS:MMODPOSIXTIMER}
@${REINPLACE_CMD} -e 's|#timers/mod_posix_timer|timers/mod_posix_timer|g' ${WRKSRC}/modules.conf
.endif
pre-install:
@${CHMOD} 664 ${WRKSRC}/libs/freetdm/conf/*
@${MKDIR} ${ETCDIR}/conf
@${TOUCH} ${ETCDIR}/conf/.freeswitch-core-devel
.if ${PORT_OPTIONS:MMODFREETDM}
@${MKDIR} ${ETCDIR}/conf/autoload_configs
.endif
post-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CHOWN} -R ${USERS}:${GROUPS} ${ETCDIR} ${DATADIR} \
${PREFIX}/include/${PORTNAME} \
${PREFIX}/lib/${PORTNAME}
@${FIND} ${ETCDIR} -type d | ${XARGS} ${CHMOD} 770
@${MKDIR} ${DATADIR}/sounds
@${CHMOD} -R 770 ${DATADIR}
@${FIND} ${ETCDIR} ${WWWDIR} -type f | ${XARGS} ${CHMOD} 660
.include <bsd.port.mk>

View File

@ -1,30 +0,0 @@
SHA256 (freeswitch/freeswitch-1.2.3.tar.bz2) = 13bc3fd76b6dbcccb5647ddd674cbd9b5273d397952a14ae37d9b0725cb1db4d
SIZE (freeswitch/freeswitch-1.2.3.tar.bz2) = 41821905
SHA256 (freeswitch/opus-1.0.1.tar.gz) = 80fa5c3caf2ac0fd68f8a22cce1564fc46b368c773a17554887d0066fe1841ef
SIZE (freeswitch/opus-1.0.1.tar.gz) = 767241
SHA256 (freeswitch/celt-0.10.0.tar.gz) = 147c5bc8c6a37b2ad2c8b8af17c91cb35494421ec9b68110018a4bcec72e45dc
SIZE (freeswitch/celt-0.10.0.tar.gz) = 435953
SHA256 (freeswitch/flite-1.5.4-current.tar.bz2) = e98c54307954f406ef59a354f9ec274436b95be53f785e27191f19569af0ed7e
SIZE (freeswitch/flite-1.5.4-current.tar.bz2) = 14740774
SHA256 (freeswitch/json-c-0.9.tar.gz) = 816fb2d4baab09e2f51a7c1be75bc9e03ed09d4cf3c2cd03c183f433bb9b565f
SIZE (freeswitch/json-c-0.9.tar.gz) = 328935
SHA256 (freeswitch/lame-3.98.4.tar.gz) = ac3144c76617223a9be4aaa3e28a66b51bcab28141050c3af04cb06836f772c8
SIZE (freeswitch/lame-3.98.4.tar.gz) = 1336025
SHA256 (freeswitch/libmemcached-0.32.tar.gz) = cf1be20af93163d6ab25b511f79c515778ebced54806875561ebef46011f2a9b
SIZE (freeswitch/libmemcached-0.32.tar.gz) = 512586
SHA256 (freeswitch/libshout-2.2.2.tar.gz) = 38701125cb0e0349f4394dd3254d6037eeb8af0747c0942ff433ffbcd48d2367
SIZE (freeswitch/libshout-2.2.2.tar.gz) = 478582
SHA256 (freeswitch/mpg123-1.13.2.tar.gz) = b3a855acc96e0061a0c2b1162e8aff80b6b1a03849e3756786db2fcacfc9a9bd
SIZE (freeswitch/mpg123-1.13.2.tar.gz) = 924948
SHA256 (freeswitch/openldap-2.4.11.tar.gz) = 76e57147a2373015f306f2e72128330e51d5c0f1056b4713283234dfd16c1c9c
SIZE (freeswitch/openldap-2.4.11.tar.gz) = 4941654
SHA256 (freeswitch/pocketsphinx-0.7.tar.gz) = ce0cace1ab153006e631d0a15680f2ec13f289cb2ddafa20c84fb5986fe92455
SIZE (freeswitch/pocketsphinx-0.7.tar.gz) = 23701750
SHA256 (freeswitch/soundtouch-1.6.0.tar.gz) = 8776edaf7299ffe1e8c97285f020365a63c0e01aa4f6f7c5fd1d011c0ded278f
SIZE (freeswitch/soundtouch-1.6.0.tar.gz) = 94852
SHA256 (freeswitch/sphinxbase-0.7.tar.gz) = 389cb99a545f7d615a2b3bc3f7362a490ca45fc4dc440140ae1d2a41f87773ec
SIZE (freeswitch/sphinxbase-0.7.tar.gz) = 3291922
SHA256 (freeswitch/communicator_semi_6000_20080321.tar.gz) = dbb5e9fb85000a7cb97d6958a3ef8d77532dc55fc730ac6979705e8645cb0c18
SIZE (freeswitch/communicator_semi_6000_20080321.tar.gz) = 5595694
SHA256 (freeswitch/zeromq-2.1.11.tar.gz) = e1cd4abbe353d3d72df42a2ee05593047915987024a4baf965745d29832eb214
SIZE (freeswitch/zeromq-2.1.11.tar.gz) = 1891038

View File

@ -1,52 +0,0 @@
#!/bin/sh
# PROVIDE: freeswitch
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable freeswitch:
#
# freeswitch_enable="YES"
#
#
# freeswitch_user="freeswitch"
# freeswitch_group="freeswitch"
. /etc/rc.subr
name=freeswitch
rcvar=`set_rcvar`
load_rc_config $name
: ${freeswitch_enable=NO}
: ${freeswitch_cluster=NO}
: ${freeswitch_user=freeswitch}
: ${freeswitch_group=freeswitch}
: ${freeswitch_flags=-nc -waste}
command=%%PREFIX%%/bin/freeswitch
command_args="-u ${freeswitch_user} -g ${freeswitch_group}"
umask 002
pidfile=${freeswitch_pidfile:-"/var/run/freeswitch/freeswitch.pid"}
start_precmd="${name}_prestart"
stop_cmd="${name}_stop"
freeswitch_stop () {
echo "Stopping FreeSWITCH."
%%PREFIX%%/bin/freeswitch -stop
wait_for_pids `cat $pidfile`
}
freeswitch_prestart () {
install -d -o ${freeswitch_user} -m755 /var/run/${name}
if checkyesno freeswitch_cluster; then
%%PREFIX%%/bin/fs_cli -x "sofia recover"
fi
}
run_rc_command "$1"

View File

@ -1,48 +0,0 @@
--- Makefile.am
+++ Makefile.am
@@ -485,8 +485,8 @@ vm-sync:
test -d $(DESTDIR)$(sysconfdir)/lang/en || $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/lang/en
test -d $(DESTDIR)$(sysconfdir)/lang/en/demo || $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/lang/en/demo
test -d $(DESTDIR)$(sysconfdir)/lang/en/vm || $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/lang/en/vm
- $(INSTALL) -m 644 $(switch_srcdir)/conf/vanilla/lang/en/vm/* $(DESTDIR)$(sysconfdir)/lang/en/vm
- $(INSTALL) -m 644 $(switch_srcdir)/conf/vanilla/lang/en/demo/* $(DESTDIR)$(sysconfdir)/lang/en/demo
+ $(INSTALL) -m 664 $(switch_srcdir)/conf/vanilla/lang/en/vm/* $(DESTDIR)$(sysconfdir)/lang/en/vm/$$filename.sample
+ $(INSTALL) -m 664 $(switch_srcdir)/conf/vanilla/lang/en/demo/* $(DESTDIR)$(sysconfdir)/lang/en/demo/$$filename.sample
config-%:
test -d $(DESTDIR)$(sysconfdir) || $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
@@ -496,7 +496,7 @@ config-%:
test -d $(DESTDIR)$(sysconfdir)$$dir || $(mkinstalldirs) $(DESTDIR)$(sysconfdir)$$dir ; \
test -f $(DESTDIR)$(sysconfdir)$$dir/$$filename || \
test -f $(DESTDIR)$(sysconfdir)$$dir/$$filename.noload || \
- $(INSTALL) -m 644 $(switch_srcdir)/conf/$*/$$dir/$$filename $(DESTDIR)$(sysconfdir)$$dir; \
+ $(INSTALL) -m 664 $(switch_srcdir)/conf/$*/$$dir/$$filename $(DESTDIR)$(sysconfdir)$$dir/$$filename.sample; \
done
samples-conf: config-vanilla
@@ -507,21 +507,19 @@ samples-htdocs:
dir=`echo $$htdocsfile | sed -e 's|/[^/]*$$||'`; \
filename=`echo $$htdocsfile | sed -e 's|^.*/||'`; \
test -d $(DESTDIR)$(htdocsdir)$$dir || $(mkinstalldirs) $(DESTDIR)$(htdocsdir)$$dir ; \
- test -f $(DESTDIR)$(htdocsdir)$$dir/$$filename || $(INSTALL) -m 644 $(switch_srcdir)/htdocs/$$dir/$$filename $(DESTDIR)$(htdocsdir)$$dir 2>/dev/null; \
+ test -f $(DESTDIR)$(htdocsdir)$$dir/$$filename || $(INSTALL) -m 664 $(switch_srcdir)/htdocs/$$dir/$$filename $(DESTDIR)$(htdocsdir)$$dir/$$filename.sample 2>/dev/null; \
done
-
samples: samples-conf samples-htdocs
install-exec-local:
$(mkinstalldirs) $(DESTDIR)$(modulesdir)
install-data-local:
- @echo Installing $(NAME)
- @for x in $(modulesdir) $(runtimedir) $(dbdir) $(logfiledir) $(logfiledir)/xml_cdr $(bindir) $(scriptdir) $(recordingsdir) $(grammardir); do \
+ @for x in $(bindir) $(modulesdir) $(runtimedir) $(logfiledir) $(logfiledir)/xml_cdr $(dbdir) $(grammardir) $(scriptdir) $(storagedir) $(recordingsdir) ; do \
$(mkinstalldirs) $(DESTDIR)$$x ; \
- done
- test -d $(DESTDIR)$(sysconfdir) || $(MAKE) samples-conf
+ done
+ $(MAKE) samples-conf
test -d $(DESTDIR)$(htdocsdir) || $(MAKE) samples-htdocs
is-scm:

View File

@ -1,16 +0,0 @@
--- build/getlib.sh.in
+++ build/getlib.sh.in
@@ -8,10 +8,10 @@ XZ=@XZ@
WGET=@WGET@
CURL=@CURL@
-if [ -f "$WGET" ]; then
- DOWNLOAD_CMD=$WGET
-elif [ -f "$CURL" ]; then
+if [ -f "$CURL" ]; then
DOWNLOAD_CMD="$CURL -O"
+elif [ -f "$WGET" ]; then
+ DOWNLOAD_CMD=$WGET
fi
if [ -n "`echo $1 | grep '://'`" ]; then

View File

@ -1,10 +0,0 @@
--- build/modmake.rules.in.orig
+++ build/modmake.rules.in
@@ -42,6 +42,7 @@
OPENSSL_LIBS=@openssl_LIBS@
OPENSSL_CFLAGS=@openssl_CFLAGS@
+unexport LIBS
LIBS=$(switch_builddir)/libfreeswitch.la
DEFS=@DEFS@

View File

@ -1,10 +0,0 @@
--- build/modules.conf.in.orig 2012-05-13 13:32:34.000000000 -0400
+++ build/modules.conf.in 2012-05-13 13:33:30.000000000 -0400
@@ -89,6 +89,7 @@
#event_handlers/mod_event_zmq
#event_handlers/mod_radius_cdr
#event_handlers/mod_snmp
+#formats/mod_vlc
formats/mod_local_stream
formats/mod_native_file
#formats/mod_portaudio_stream

View File

@ -1,10 +0,0 @@
--- conf/vanilla/autoload_configs/switch.conf.xml 2010-06-22 17:19:31.000000000 -0400
+++ conf/vanilla/autoload_configs/switch.conf.xml 2010-06-29 11:06:18.000000000 -0400
@@ -71,6 +71,7 @@
-->
<param name="mailer-app" value="sendmail"/>
<param name="mailer-app-args" value="-t"/>
+ <!--<param name="storage-dir" value="/tmp"/>-->
<param name="dump-cores" value="yes"/>
<!--RTP port range -->
<!--<param name="rtp-start-port" value="16384"/>-->

View File

@ -1,12 +0,0 @@
--- conf/vanilla/sip_profiles/external.xml
+++ conf/banilla/sip_profiles/external.xml
@@ -91,5 +91,8 @@
<!-- TLS version ("sslv23" (default), "tlsv1"). NOTE: Phones may not work with TLSv1 -->
<param name="tls-version" value="$${sip_tls_version}"/>
+ <!-- Enable call revovery -->
+ <param name="track-calls" value="true"/>
+
</settings>
</profile>

View File

@ -1,11 +0,0 @@
--- conf/vanilla/sip_profiles/internal.xml
+++ conf/vanilla/sip_profiles/internal.xml
@@ -387,5 +387,8 @@
-->
<!--<param name="renegotiate-codec-on-hold" value="true"/>-->
+ <!-- Enable call revovery -->
+ <param name="track-calls" value="true"/>
+
</settings>
</profile>

View File

@ -1,167 +0,0 @@
--- configure.in.orig 2012-05-11 17:16:05.000000000 -0400
+++ configure.in 2012-05-11 17:31:04.000000000 -0400
@@ -1,4 +1,5 @@
-# -*- Autoconf -*-
+
+# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
# Must change all of the below together
@@ -32,19 +33,27 @@
AC_SUBST(switch_srcdir)
AC_SUBST(switch_builddir)
-# Where to install the modules
-AC_ARG_WITH([modinstdir],
- [AS_HELP_STRING([--with-modinstdir=DIR], [Install modules into this location (default: $prefix/mod)])], [modulesdir="$withval"], [modulesdir="${prefix}/mod"])
-AC_SUBST(modulesdir)
-AC_DEFINE_UNQUOTED([SWITCH_MOD_DIR],"${modulesdir}",[where to install the modules to])
+#Where to put freeswitch config files
+if test "$sysconfdir" = "\${prefix}/etc" ; then
+ confdir="${prefix}/conf"
+else
+ confdir="${sysconfdir}"
+fi
+
+sysconfdir="$confdir"
+
+AC_SUBST(confdir)
+AC_DEFINE_UNQUOTED([SWITCH_CONF_DIR],"${confdir}",[directory for configuration files])
+#Where to put freswitch logfiles and runtime PID;
if test "$localstatedir" = "\${prefix}/var" ; then
- rundir="$prefix/run"
- logdir="${prefix}/log"
+ rundir="${prefix}/run"
+ logdir="${prefix}/log"
else
- rundir="$localstatedir/run/freeswitch"
- logdir="$localstatedir/log/freeswitch"
+ rundir="$localstatedir/run/freeswitch"
+ logdir="$localstatedir/log/freeswitch"
fi
+
# Where to put pidfile
AC_ARG_WITH([rundir],
[AS_HELP_STRING([--with-rundir=DIR], [Put pidfile into this location (default: $prefix/run)])], [runtimedir="$withval"], [runtimedir="$rundir"])
@@ -56,51 +65,60 @@
AC_SUBST(logfiledir)
AC_DEFINE_UNQUOTED([SWITCH_LOG_DIR],"${logfiledir}",[where to put log files])
-AC_ARG_WITH([dbdir],
- [AS_HELP_STRING([--with-dbdir=DIR], [Put database files into this location (default: $prefix/db)])], [dbdir="$withval"], [dbdir="$prefix/db"])
-AC_SUBST(dbdir)
-AC_DEFINE_UNQUOTED([SWITCH_DB_DIR],"${dbdir}",[where to put db files])
+#Where to put Freeswitch database;
+if test "$datadir" = "\${prefix}/var" ; then
+ dbdir="${prefix}/db"
+else
+ dbdir="${datadir}"
+fi
-AC_ARG_WITH([htdocsdir],
- [AS_HELP_STRING([--with-htdocsdir=DIR], [Put html files into this location (default: $prefix/htdocs)])], [htdocsdir="$withval"], [htdocsdir="$prefix/htdocs"])
-AC_SUBST(htdocsdir)
-AC_DEFINE_UNQUOTED([SWITCH_HTDOCS_DIR],"${htdocsdir}",[where to put htdocs files])
+datadir="$dbdir"
-AC_ARG_WITH([soundsdir],
- [AS_HELP_STRING([--with-soundsdir=DIR], [Put sound files into this location (default: $prefix/sounds)])], [soundsdir="$withval"], [soundsdir="$prefix/sounds"])
-AC_SUBST(soundsdir)
-AC_DEFINE_UNQUOTED([SWITCH_SOUNDS_DIR],"${soundsdir}",[where to put sounds files])
+AC_SUBST(dbdir)
+AC_DEFINE_UNQUOTED([SWITCH_DB_DIR],"${dbdir}",[where to store freeswitch database files])
+#Where to put grammar files
AC_ARG_WITH([grammardir],
- [AS_HELP_STRING([--with-grammardir=DIR], [Put grammar files into this location (default: $prefix/grammar)])], [grammardir="$withval"], [grammardir="$prefix/grammar"])
+ [AS_HELP_STRING([--with-grammardir=DIR], [Put grammar files into this location (default: $prefix/grammar)])], [grammardir="$withval"], [grammardir="${prefix}/grammar"])
AC_SUBST(grammardir)
-AC_DEFINE_UNQUOTED([SWITCH_GRAMMAR_DIR],"${grammardir}",[where to put grammar files])
+AC_DEFINE_UNQUOTED([SWITCH_GRAMMAR_DIR],"${grammardir}",[where to put freeswitch grammar files])
-AC_ARG_WITH([scriptdir],
- [AS_HELP_STRING([--with-scriptdir=DIR], [Put script files into this location (default: $prefix/scripts)])], [scriptdir="$withval"], [scriptdir="$prefix/scripts"])
-AC_SUBST(scriptdir)
-AC_DEFINE_UNQUOTED([SWITCH_SCRIPT_DIR],"${scriptdir}",[where to put script files])
+AC_ARG_WITH([htdocsdir],
+ [AS_HELP_STRING([--with-htdocsdir=DIR], [Put html files into this location (default: $prefix/htdocs)])], [htdocsdir="$withval"], [htdocsdir="$prefix/htdocs"])
+AC_SUBST(htdocsdir)
+AC_DEFINE_UNQUOTED([SWITCH_HTDOCS_DIR],"${htdocsdir}",[where to put htdocs files])
+
+# Where to install the modules
+AC_ARG_WITH([modinstdir],
+ [AS_HELP_STRING([--with-modinstdir=DIR], [Install modules into this location (default: $prefix/mod)])], [modulesdir="$withval"], [modulesdir="${prefix}/mod"])
+AC_SUBST(modulesdir)
+AC_DEFINE_UNQUOTED([SWITCH_MOD_DIR],"${modulesdir}",[where to install the modules to])
+#Where to put Custom Recordings
AC_ARG_WITH([recordingsdir],
- [AS_HELP_STRING([--with-recordingsdir=DIR], [Put recordings files into this location (default: $prefix/recordings)])], [recordingsdir="$withval"], [recordingsdir="$prefix/recordings"])
+ [AS_HELP_STRING([--with-recordingsdir=DIR], [Put recordings files into this location (default: $prefix/recordings)])], [recordingsdir="$withval"], [recordingsdir="${PREFIX}/recordings"])
AC_SUBST(recordingsdir)
-AC_DEFINE_UNQUOTED([SWITCH_RECORDINGS_DIR],"${recordingsdir}",[where to put recording files])
+AC_DEFINE_UNQUOTED([SWITCH_RECORDINGS_DIR],"${recordingsdir}",[where to putfreeswitch custom recording files])
-if test "$sysconfdir" = "\${prefix}/etc" ; then
- confdir="$prefix/conf"
-else
- confdir="$sysconfdir"
-fi
-
-sysconfdir="$confdir"
+#Where to put custom scripts
+AC_ARG_WITH([scriptdir],
+ [AS_HELP_STRING([--with-scriptdir=DIR], [Put script files into this location (default: $prefix/scripts)])], [scriptdir="$withval"], [scriptdir="${prefix}/scripts"])
+AC_SUBST(scriptdir)
+AC_DEFINE_UNQUOTED([SWITCH_SCRIPT_DIR],"${scriptdir}",[where to put freeswitch & custom script files])
-AC_SUBST(confdir)
-AC_DEFINE_UNQUOTED([SWITCH_CONF_DIR],"${confdir}",[directory for configuration files])
+#Where to put freeswitch sounds and moh
+AC_ARG_WITH([soundsdir],
+ [AS_HELP_STRING([--with-soundsdir=DIR], [Put freeswitch sound files into this location (default: $prefix/sounds)])], [soundsdir="$withval"], [soundsdir="${prefix}/sounds"])
+AC_SUBST(soundsdir)
+AC_DEFINE_UNQUOTED([SWITCH_SOUNDS_DIR],"${soundsdir}",[where to put freeswitch sounds files])
-AC_SUBST(libdir)
-AC_SUBST(bindir)
-AC_SUBST(includedir)
+#Freeswitch dir for storage.
+AC_ARG_WITH([storagedir],
+ [AS_HELP_STRING([--with-storagedir=DIR], [Store files in this location (default: $prefix/storage)])], [storagedir="$withval"], [storagedir="${prefix}/storage"])
+AC_SUBST(storagedir)
+AC_DEFINE_UNQUOTED([SWITCH_STORAGE_DIR],"${storagedir}",[where to put extra files & faxes])
+#Where to put pkgconfig file
AC_ARG_WITH([pkgconfigdir],
[AS_HELP_STRING([--with-pkgconfigdir=DIR], [Installation directory for pkgconfig file (default: ${libdir}/pkgconfig)])],
[case "${withval}" in
@@ -112,6 +130,13 @@
)
AC_SUBST([pkgconfigdir])
+AC_SUBST(confdir)
+AC_DEFINE_UNQUOTED([SWITCH_CONF_DIR],"${confdir}",[directory for configuration files])
+
+AC_SUBST(libdir)
+AC_SUBST(bindir)
+AC_SUBST(includedir)
+
#Set default language
AC_LANG_C
# Checks for programs.
@@ -1143,7 +1168,11 @@
echo " libdir: ${libdir}"
echo " modulesdir: ${modulesdir}"
echo " sysconfdir: ${sysconfdir}"
-echo " runtimedir: ${runtimedir}"
-echo " logfiledir: ${logfiledir}"
+echo " dbdir: ${datadir}"
+echo " soundsdir: ${soundsdir}"
+echo " storgredir: ${storagedir}"
+echo " recordingsdir: ${recordingsdir}"
+echo " htdocdir: ${htdocsdir}"
+echo " logdir: ${logfiledir}"
echo ""
echo "------------------------------------------------------------------------------"

View File

@ -1,9 +0,0 @@
--- libs/freetdm/Makefile.am
+++ libs/freetdm/Makefile.am
@@ -320,5 +320,5 @@ mod_freetdm-clean:
install-data-local:
$(mkinstalldirs) $(DESTDIR)$(PREFIX)
$(mkinstalldirs) $(DESTDIR)@confdir@
- @[ -f "$(DESTDIR)@confdir@/freetdm.conf" ] || ( cp conf/*.conf $(DESTDIR)@confdir@)
+ @for i in conf/*.conf; do cp -p $$i $$i.sample; done; cp -f -p conf/*.conf.sample $(DESTDIR)@confdir@
@echo FreeTDM Installed

View File

@ -1,12 +0,0 @@
--- libs/freetdm/mod_freetdm/Makefile.in
+++ libs/freetdm/mod_freetdm/Makefile.in
@@ -15,8 +15,7 @@ $(FTLA): $(FT_DIR)/.update
local_install:
cd $(FT_DIR) && $(MAKE) install
- [ -f $(DESTDIR)@confdir@/autoload_configs/freetdm.conf.xml ] || cp -f $(FT_DIR)/conf/freetdm.conf.xml $(DESTDIR)@confdir@/autoload_configs
-
+ @for i in $(FT_DIR)/conf/*.xml; do cp -p $$i $$i.sample; done; [ -f $(DESTDIR)@confdir@/autoload_configs/freetdm.conf.xml.sample ] || cp -f -p $(FT_DIR)/conf/freetdm.conf.xml.sample $(DESTDIR)@confdir@/autoload_configs
local_clean:
cd $(FT_DIR) && $(MAKE) clean

View File

@ -1,112 +0,0 @@
--- libs/js/nsprpub/pr/include/md/_freebsd.cfg
+++ libs/js/nsprpub/pr/include/md/_freebsd.cfg
@@ -141,6 +141,109 @@
#define PR_ALIGN_OF_DOUBLE 8
#define PR_ALIGN_OF_POINTER 8
+#elif defined(__arm__)
+
+#define IS_LITTLE_ENDIAN 1
+#undef IS_BIG_ENDIAN
+#define HAVE_LONG_LONG
+#define HAVE_ALIGNED_DOUBLES
+#define HAVE_ALIGNED_LONGLONGS
+
+#define PR_BYTES_PER_BYTE 1
+#define PR_BYTES_PER_SHORT 2
+#define PR_BYTES_PER_INT 4
+#define PR_BYTES_PER_INT64 8
+#define PR_BYTES_PER_LONG 4
+#define PR_BYTES_PER_FLOAT 4
+#define PR_BYTES_PER_DOUBLE 8
+#define PR_BYTES_PER_WORD 4
+#define PR_BYTES_PER_DWORD 8
+
+#define PR_BITS_PER_BYTE 8
+#define PR_BITS_PER_SHORT 16
+#define PR_BITS_PER_INT 32
+#define PR_BITS_PER_INT64 64
+#define PR_BITS_PER_LONG 32
+#define PR_BITS_PER_FLOAT 32
+#define PR_BITS_PER_DOUBLE 64
+#define PR_BITS_PER_WORD 32
+
+#define PR_BITS_PER_BYTE_LOG2 3
+#define PR_BITS_PER_SHORT_LOG2 4
+#define PR_BITS_PER_INT_LOG2 5
+#define PR_BITS_PER_INT64_LOG2 6
+#define PR_BITS_PER_LONG_LOG2 5
+#define PR_BITS_PER_FLOAT_LOG2 5
+#define PR_BITS_PER_DOUBLE_LOG2 6
+#define PR_BITS_PER_WORD_LOG2 5
+
+#define PR_ALIGN_OF_SHORT 2
+#define PR_ALIGN_OF_INT 4
+#define PR_ALIGN_OF_LONG 4
+#define PR_ALIGN_OF_INT64 4
+#define PR_ALIGN_OF_FLOAT 4
+#define PR_ALIGN_OF_DOUBLE 4
+#define PR_ALIGN_OF_POINTER 4
+#define PR_ALIGN_OF_WORD 4
+
+#define PR_BYTES_PER_WORD_LOG2 2
+#define PR_BYTES_PER_DWORD_LOG2 3
+
+#elif defined(__mips__)
+
+#ifdef __MIPSEB__
+#define IS_BIG_ENDIAN 1
+#undef IS_LITTLE_ENDIAN
+#elif defined(__MIPSEL__)
+#define IS_LITTLE_ENDIAN 1
+#undef IS_BIG_ENDIAN
+#else
+#error "Unknown MIPS endianness."
+#endif
+#define HAVE_LONG_LONG
+#define HAVE_ALIGNED_DOUBLES
+#define HAVE_ALIGNED_LONGLONGS
+
+#define PR_BYTES_PER_BYTE 1
+#define PR_BYTES_PER_SHORT 2
+#define PR_BYTES_PER_INT 4
+#define PR_BYTES_PER_INT64 8
+#define PR_BYTES_PER_LONG 4
+#define PR_BYTES_PER_FLOAT 4
+#define PR_BYTES_PER_DOUBLE 8
+#define PR_BYTES_PER_WORD 4
+#define PR_BYTES_PER_DWORD 8
+
+#define PR_BITS_PER_BYTE 8
+#define PR_BITS_PER_SHORT 16
+#define PR_BITS_PER_INT 32
+#define PR_BITS_PER_INT64 64
+#define PR_BITS_PER_LONG 32
+#define PR_BITS_PER_FLOAT 32
+#define PR_BITS_PER_DOUBLE 64
+#define PR_BITS_PER_WORD 32
+
+#define PR_BITS_PER_BYTE_LOG2 3
+#define PR_BITS_PER_SHORT_LOG2 4
+#define PR_BITS_PER_INT_LOG2 5
+#define PR_BITS_PER_INT64_LOG2 6
+#define PR_BITS_PER_LONG_LOG2 5
+#define PR_BITS_PER_FLOAT_LOG2 5
+#define PR_BITS_PER_DOUBLE_LOG2 6
+#define PR_BITS_PER_WORD_LOG2 5
+
+#define PR_ALIGN_OF_SHORT 2
+#define PR_ALIGN_OF_INT 4
+#define PR_ALIGN_OF_LONG 4
+#define PR_ALIGN_OF_INT64 8
+#define PR_ALIGN_OF_FLOAT 4
+#define PR_ALIGN_OF_DOUBLE 8
+#define PR_ALIGN_OF_POINTER 4
+#define PR_ALIGN_OF_WORD 4
+
+#define PR_BYTES_PER_WORD_LOG2 2
+#define PR_BYTES_PER_DWORD_LOG2 3
+
#elif defined(__sparc__)
#undef IS_LITTLE_ENDIAN

View File

@ -1,16 +0,0 @@
--- libs/js/nsprpub/pr/include/md/_freebsd.h
+++ libs/js/nsprpub/pr/include/md/_freebsd.h
@@ -57,7 +57,13 @@
#define _PR_SI_ARCHITECTURE "ia64"
#elif defined(__amd64__)
#define _PR_SI_ARCHITECTURE "amd64"
+#elif defined(__arm__)
+#define _PR_SI_ARCHITECTURE "arm"
+#elif defined(__mips__)
+#define _PR_SI_ARCHITECTURE "mips"
+
#else
+
#error "Unknown CPU architecture"
#endif
#if defined(__ELF__)

View File

@ -1,10 +0,0 @@
--- libs/spandsp/configure.ac.orig 2012-09-19 16:28:24.349415841 +0200
+++ libs/spandsp/configure.ac 2012-09-19 16:28:37.991415791 +0200
@@ -186,7 +186,6 @@
AC_CHECK_HEADERS([string.h])
AC_CHECK_HEADERS([strings.h])
AC_CHECK_HEADERS([malloc.h])
-AC_CHECK_HEADERS([tgmath.h], [INSERT_TGMATH_HEADER="#include <tgmath.h>"])
AC_CHECK_HEADERS([math.h], [INSERT_MATH_HEADER="#include <math.h>"])
AC_CHECK_HEADERS([float.h])
AC_CHECK_HEADERS([fcntl.h])

View File

@ -1,10 +0,0 @@
--- src/include/private/switch_core_pvt.h 2010-06-22 17:19:31.000000000 -0400
+++ src/include/private/switch_core_pvt.h 2010-06-29 11:12:54.000000000 -0400
@@ -209,6 +209,7 @@
int32_t sps;
int32_t sps_last;
switch_log_level_t hard_log_level;
+ char *storage_dir;
char *mailer_app;
char *mailer_app_args;
uint32_t max_dtmf_duration;

View File

@ -1,12 +0,0 @@
--- src/include/switch_types.h.orig 2011-02-02 16:27:41.000000000 -0500
+++ src/include/switch_types.h 2011-02-02 16:29:16.000000000 -0500
@@ -108,7 +108,7 @@
#define SWITCH_DEFAULT_DTMF_DURATION 2000
#define SWITCH_MIN_DTMF_DURATION 400
#define SWITCH_MAX_DTMF_DURATION 192000
-#define SWITCH_DEFAULT_DIR_PERMS SWITCH_FPROT_UREAD | SWITCH_FPROT_UWRITE | SWITCH_FPROT_UEXECUTE | SWITCH_FPROT_GREAD | SWITCH_FPROT_GEXECUTE
+#define SWITCH_DEFAULT_DIR_PERMS SWITCH_FPROT_UREAD | SWITCH_FPROT_UWRITE | SWITCH_FPROT_UEXECUTE | SWITCH_FPROT_GREAD | SWITCH_FPROT_GWRITE | SWITCH_FPROT_GEXECUTE
#ifdef WIN32
#define SWITCH_PATH_SEPARATOR "\\"
#else

View File

@ -1,36 +0,0 @@
--- src/switch_core.c
+++ src/switch_core.c
@@ -646,6 +646,7 @@ SWITCH_DECLARE(void) switch_core_set_globals(void)
switch_assert(SWITCH_GLOBAL_dirs.recordings_dir);
switch_assert(SWITCH_GLOBAL_dirs.sounds_dir);
switch_assert(SWITCH_GLOBAL_dirs.temp_dir);
+ switch_assert(SWITCH_GLOBAL_dirs.storage_dir);
}
@@ -1450,7 +1451,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
switch_dir_make_recursive(SWITCH_GLOBAL_dirs.recordings_dir, SWITCH_DEFAULT_DIR_PERMS, runtime.memory_pool);
switch_dir_make_recursive(SWITCH_GLOBAL_dirs.sounds_dir, SWITCH_DEFAULT_DIR_PERMS, runtime.memory_pool);
switch_dir_make_recursive(SWITCH_GLOBAL_dirs.temp_dir, SWITCH_DEFAULT_DIR_PERMS, runtime.memory_pool);
-
+ switch_dir_make_recursive(SWITCH_GLOBAL_dirs.storage_dir, SWITCH_DEFAULT_DIR_PERMS, runtime.memory_pool);
switch_mutex_init(&runtime.uuid_mutex, SWITCH_MUTEX_NESTED, runtime.memory_pool);
@@ -1488,6 +1489,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
switch_find_local_ip(guess_ip, sizeof(guess_ip), NULL, AF_INET6);
switch_core_set_variable("local_ip_v6", guess_ip);
switch_core_set_variable("base_dir", SWITCH_GLOBAL_dirs.base_dir);
+ switch_core_set_variable("storage_dir", SWITCH_GLOBAL_dirs.storage_dir);
switch_core_set_variable("recordings_dir", SWITCH_GLOBAL_dirs.recordings_dir);
switch_core_set_variable("sound_prefix", SWITCH_GLOBAL_dirs.sounds_dir);
switch_core_set_variable("sounds_dir", SWITCH_GLOBAL_dirs.sounds_dir);
@@ -1728,6 +1730,8 @@ static void switch_load_core_config(const char *file)
switch_set_flag((&runtime), SCF_EARLY_HANGUP);
} else if (!strcasecmp(var, "colorize-console") && switch_true(val)) {
runtime.colorize_console = SWITCH_TRUE;
+ } else if (!strcasecmp(var, "storage-dir") && !zstr(val)) {
+ runtime.storage_dir = switch_core_strdup(runtime.memory_pool, val);
} else if (!strcasecmp(var, "core-db-pre-trans-execute") && !zstr(val)) {
runtime.core_db_pre_trans_execute = switch_core_strdup(runtime.memory_pool, val);
} else if (!strcasecmp(var, "core-db-post-trans-execute") && !zstr(val)) {

View File

@ -1,39 +0,0 @@
#!/bin/sh
# $FreeBSD: /tmp/pcvs/ports/net/freeswitch-core-devel/files/pkg-install.in,v 1.2 2012-05-22 19:12:47 crees Exp $
#
if [ "$2" != "POST-INSTALL" ]; then
exit 0
fi
for dir in \
etc/freeswitch/conf/directory/default \
etc/freeswitch/scripts \
share/freeswitch/sounds
do install -d -o %%FREESWITCH_USER%% -g %%FREESWITCH_GROUP%% ${PKG_PREFIX}/$dir
done
find ${PKG_PREFIX}/etc/freeswitch/ -type d -exec chmod 770 {} +
find ${PKG_PREFIX}/etc/freeswitch/ -type f -exec chmod 660 {} +
/usr/sbin/chown -R %%FREESWITCH_USER%%:%%FREESWITCH_GROUP%% \
%%ETCDIR%% %%DATADIR%% \
${PKG_PREFIX}/include/freeswitch \
${PKG_PREFIX}/lib/freeswitch
chmod 775 ${PKG_PREFIX}/share/freeswitch
for dir in \
db/freeswitch \
freeswitch/recordings \
log/freeswitch/xml_cdr
do install -d -m 775 -o %%FREESWITCH_USER%% -g %%FREESWITCH_GROUP%% /var/$dir
done
echo "This port chown -R various directories %%FREESWITCH_USER%%:%%FREESWITCH_GROUP%%"
echo "This port chmod -R 770 various directories"
echo "This port chmod -R 660 various files"
echo "This is for security reasons. In the event something should"
echo "stop working, please take the time to check the following dirs:"
echo " /var/log/freeswitch /var/freeswitch"
exit 0

View File

@ -1,20 +0,0 @@
*****************************************************
* Please read *
*****************************************************
FreeBSD 7.x
There are some known issues with FreeBSD's libpthread
implementation and APR that can affect throughput at
high volume. A possible fix is to use libmap.conf to
remap FreeSWITCH. and its libraries to use libthr
(the better performance threading library)
/etc/libmap.conf
[freeswitch]
libc_r.so.5 libthr.so.2
libc_r.so.6 libthr.so.2
libpthread.so.1 libthr.so.2
libpthread.so.2 libthr.so.2

View File

@ -1,3 +0,0 @@
FreeSwitch Voip SoftSwitch & OpenSource PBX
WWW: http://www.freeswitch.org/

View File

@ -1,354 +0,0 @@
@unexec for i in $(find %D/etc/freeswitch/conf/ -type f -name \*.xml -o -name \*.ttml -o -name \*.tpl -o -name \*.conf -o -name \*.types); do if cmp "$i" "${i}.sample"; then rm "$i"; fi; done
bin/freeswitch
bin/fs_cli
bin/fs_encode
bin/fs_ivrd
bin/fsxs
bin/gentls_cert
bin/tone2wav
%%ETCDIR%%/conf/.freeswitch-core-devel
%%MODFREETDM%%%%ETCDIR%%/conf/autoload_configs/freetdm.conf.xml.sample
%%MODFREETDM%%%%ETCDIR%%/conf/freetdm.conf.sample
%%MODFREETDM%%%%ETCDIR%%/conf/pika.conf.sample
%%MODFREETDM%%%%ETCDIR%%/conf/wanpipe.conf.sample
%%MODFREETDM%%%%ETCDIR%%/conf/zt.conf.sample
@exec for i in $(find %D/%%ETCDIR%%/conf/ -type f -name *.sample); do if [ ! -f ${i%%.sample} ]; then cp -rp $i ${i%%.sample}; fi; done
%%MODPOCKETSPHINX%%%%ETCDIR%%/grammar/default.dic
%%MODPOCKETSPHINX%%%%ETCDIR%%/grammar/model/communicator/COPYING
%%MODPOCKETSPHINX%%%%ETCDIR%%/grammar/model/communicator/feat.params
%%MODPOCKETSPHINX%%%%ETCDIR%%/grammar/model/communicator/mdef
%%MODPOCKETSPHINX%%%%ETCDIR%%/grammar/model/communicator/means
%%MODPOCKETSPHINX%%%%ETCDIR%%/grammar/model/communicator/noisedict
%%MODPOCKETSPHINX%%%%ETCDIR%%/grammar/model/communicator/sendump
%%MODPOCKETSPHINX%%%%ETCDIR%%/grammar/model/communicator/transition_matrices
%%MODPOCKETSPHINX%%%%ETCDIR%%/grammar/model/communicator/variances
include/freeswitch/libteletone.h
include/freeswitch/libteletone_detect.h
include/freeswitch/libteletone_generate.h
include/freeswitch/switch.h
include/freeswitch/switch_am_config.h
include/freeswitch/switch_apr.h
include/freeswitch/switch_buffer.h
include/freeswitch/switch_caller.h
include/freeswitch/switch_channel.h
include/freeswitch/switch_config.h
include/freeswitch/switch_console.h
include/freeswitch/switch_core.h
include/freeswitch/switch_core_db.h
include/freeswitch/switch_core_event_hook.h
include/freeswitch/switch_cpp.h
include/freeswitch/switch_dso.h
include/freeswitch/switch_event.h
include/freeswitch/switch_frame.h
include/freeswitch/switch_ivr.h
include/freeswitch/switch_json.h
include/freeswitch/switch_limit.h
include/freeswitch/switch_loadable_module.h
include/freeswitch/switch_log.h
include/freeswitch/switch_module_interfaces.h
include/freeswitch/switch_mprintf.h
include/freeswitch/switch_nat.h
include/freeswitch/switch_odbc.h
include/freeswitch/switch_platform.h
include/freeswitch/switch_regex.h
include/freeswitch/switch_resample.h
include/freeswitch/switch_rtcp_frame.h
include/freeswitch/switch_rtp.h
include/freeswitch/switch_scheduler.h
include/freeswitch/switch_stun.h
include/freeswitch/switch_types.h
include/freeswitch/switch_utils.h
include/freeswitch/switch_xml.h
include/freeswitch/switch_xml_config.h
include/freeswitch/tpl.h
%%MODFREETDM%%include/freetdm.h
%%MODFREETDM%%include/ftdm_declare.h
%%MODFREETDM%%include/ftdm_dso.h
%%MODFREETDM%%include/ftdm_os.h
%%MODFREETDM%%include/ftdm_threadmutex.h
lib/freeswitch/lib/libfreeswitch.a
lib/freeswitch/lib/libfreeswitch.la
lib/freeswitch/lib/libfreeswitch.so
lib/freeswitch/lib/libfreeswitch.so.1
%%MODFREETDM%%lib/freeswitch/lib/libfreetdm.a
%%MODFREETDM%%lib/freeswitch/lib/libfreetdm.la
%%MODFREETDM%%lib/freeswitch/lib/libfreetdm.so
%%MODFREETDM%%lib/freeswitch/lib/libfreetdm.so.1
lib/freeswitch/lib/libjs.a
lib/freeswitch/lib/libjs.la
lib/freeswitch/lib/libjs.so
lib/freeswitch/lib/libjs.so.1
lib/freeswitch/lib/libnspr4.a
lib/freeswitch/lib/libnspr4.so.1
lib/freeswitch/lib/libplc4.a
lib/freeswitch/lib/libplc4.so.1
lib/freeswitch/lib/libplds4.a
lib/freeswitch/lib/libplds4.so.1
%%MODFREETDM%%lib/freeswitch/mod/ftmod_analog.la
%%MODFREETDM%%lib/freeswitch/mod/ftmod_analog.so
%%MODFREETDM%%lib/freeswitch/mod/ftmod_analog_em.la
%%MODFREETDM%%lib/freeswitch/mod/ftmod_analog_em.so
%%MODFREETDM%%lib/freeswitch/mod/ftmod_libpri.la
%%MODFREETDM%%lib/freeswitch/mod/ftmod_libpri.so
%%MODFREETDM%%lib/freeswitch/mod/ftmod_skel.a
%%MODFREETDM%%lib/freeswitch/mod/ftmod_skel.la
%%MODFREETDM%%lib/freeswitch/mod/ftmod_skel.so
%%MODFREETDM%%lib/freeswitch/mod/ftmod_zt.la
%%MODFREETDM%%lib/freeswitch/mod/ftmod_zt.so
%%MODABSTRACTION%%lib/freeswitch/mod/mod_abstraction.la
%%MODABSTRACTION%%lib/freeswitch/mod/mod_abstraction.so
lib/freeswitch/mod/mod_amr.la
lib/freeswitch/mod/mod_amr.so
%%MODAMRWB%%lib/freeswitch/mod/mod_amrwb.la
%%MODAMRWB%%lib/freeswitch/mod/mod_amrwb.so
%%MODAVMD%%lib/freeswitch/mod/mod_avmd.la
%%MODAVMD%%lib/freeswitch/mod/mod_avmd.so
lib/freeswitch/mod/mod_blacklist.la
lib/freeswitch/mod/mod_blacklist.so
lib/freeswitch/mod/mod_bv.la
lib/freeswitch/mod/mod_bv.so
%%MODCALLCENTER%%lib/freeswitch/mod/mod_callcenter.la
%%MODCALLCENTER%%lib/freeswitch/mod/mod_callcenter.so
lib/freeswitch/mod/mod_cdr_csv.la
lib/freeswitch/mod/mod_cdr_csv.so
%%MODCDRPGCSV%%lib/freeswitch/mod/mod_cdr_pg_csv.la
%%MODCDRPGCSV%%lib/freeswitch/mod/mod_cdr_pg_csv.so
lib/freeswitch/mod/mod_cdr_sqlite.la
lib/freeswitch/mod/mod_cdr_sqlite.so
%%MODCELT%%lib/freeswitch/mod/mod_celt.la
%%MODCELT%%lib/freeswitch/mod/mod_celt.so
%%MODCIDLOOKUP%%lib/freeswitch/mod/mod_cidlookup.la
%%MODCIDLOOKUP%%lib/freeswitch/mod/mod_cidlookup.so
lib/freeswitch/mod/mod_cluechoo.la
lib/freeswitch/mod/mod_cluechoo.so
%%MODCODEC2%%lib/freeswitch/mod/mod_codec2.la
%%MODCODEC2%%lib/freeswitch/mod/mod_codec2.so
lib/freeswitch/mod/mod_commands.la
lib/freeswitch/mod/mod_commands.so
lib/freeswitch/mod/mod_conference.la
lib/freeswitch/mod/mod_conference.so
lib/freeswitch/mod/mod_console.la
lib/freeswitch/mod/mod_console.so
%%MODCURL%%lib/freeswitch/mod/mod_curl.la
%%MODCURL%%lib/freeswitch/mod/mod_curl.so
lib/freeswitch/mod/mod_db.la
lib/freeswitch/mod/mod_db.so
%%MODDPASTERISK%%lib/freeswitch/mod/mod_dialplan_asterisk.la
%%MODDPASTERISK%%lib/freeswitch/mod/mod_dialplan_asterisk.so
%%MODDPDIRECTORY%%lib/freeswitch/mod/mod_dialplan_directory.la
%%MODDPDIRECTORY%%lib/freeswitch/mod/mod_dialplan_directory.so
lib/freeswitch/mod/mod_dialplan_xml.la
lib/freeswitch/mod/mod_dialplan_xml.so
%%MODDINGALING%%lib/freeswitch/mod/mod_dingaling.la
%%MODDINGALING%%lib/freeswitch/mod/mod_dingaling.so
%%MODDIRECTORY%%lib/freeswitch/mod/mod_directory.la
%%MODDIRECTORY%%lib/freeswitch/mod/mod_directory.so
%%MODDISTRIBUTOR%%lib/freeswitch/mod/mod_distributor.la
%%MODDISTRIBUTOR%%lib/freeswitch/mod/mod_distributor.so
lib/freeswitch/mod/mod_dptools.la
lib/freeswitch/mod/mod_dptools.so
%%MODEASYROUTE%%lib/freeswitch/mod/mod_easyroute.la
%%MODEASYROUTE%%lib/freeswitch/mod/mod_easyroute.so
lib/freeswitch/mod/mod_enum.la
lib/freeswitch/mod/mod_enum.so
%%MODERLANGEVENT%%lib/freeswitch/mod/mod_erlang_event.la
%%MODERLANGEVENT%%lib/freeswitch/mod/mod_erlang_event.so
lib/freeswitch/mod/mod_esf.la
lib/freeswitch/mod/mod_esf.so
%%MODMULTICAST%%lib/freeswitch/mod/mod_event_multicast.la
%%MODMULTICAST%%lib/freeswitch/mod/mod_event_multicast.so
lib/freeswitch/mod/mod_event_socket.la
lib/freeswitch/mod/mod_event_socket.so
%%MODEVENTZMQ%%lib/freeswitch/mod/mod_event_zmq.la
%%MODEVENTZMQ%%lib/freeswitch/mod/mod_event_zmq.so
lib/freeswitch/mod/mod_expr.la
lib/freeswitch/mod/mod_expr.so
lib/freeswitch/mod/mod_fifo.la
lib/freeswitch/mod/mod_fifo.so
%%MODFLITE%%lib/freeswitch/mod/mod_flite.la
%%MODFLITE%%lib/freeswitch/mod/mod_flite.so
%%MODFREETDM%%lib/freeswitch/mod/mod_freetdm.la
%%MODFREETDM%%lib/freeswitch/mod/mod_freetdm.so
%%MODFSK%%lib/freeswitch/mod/mod_fsk.la
%%MODFSK%%lib/freeswitch/mod/mod_fsk.so
lib/freeswitch/mod/mod_fsv.la
lib/freeswitch/mod/mod_fsv.so
lib/freeswitch/mod/mod_g723_1.la
lib/freeswitch/mod/mod_g723_1.so
lib/freeswitch/mod/mod_g729.la
lib/freeswitch/mod/mod_g729.so
lib/freeswitch/mod/mod_h26x.la
lib/freeswitch/mod/mod_h26x.so
lib/freeswitch/mod/mod_hash.la
lib/freeswitch/mod/mod_hash.so
%%MODHTTAPI%%lib/freeswitch/mod/mod_httapi.la
%%MODHTTAPI%%lib/freeswitch/mod/mod_httapi.so
%%MODHTTPCACHE%%lib/freeswitch/mod/mod_http_cache.la
%%MODHTTPCACHE%%lib/freeswitch/mod/mod_http_cache.so
%%MODILBC%%lib/freeswitch/mod/mod_ilbc.la
%%MODILBC%%lib/freeswitch/mod/mod_ilbc.so
%%MODISAC%%lib/freeswitch/mod/mod_isac.la
%%MODISAC%%lib/freeswitch/mod/mod_isac.so
%%MODLADSPA%%lib/freeswitch/mod/mod_ladspa.la
%%MODLADSPA%%lib/freeswitch/mod/mod_ladspa.so
%%MODLCR%%lib/freeswitch/mod/mod_lcr.la
%%MODLCR%%lib/freeswitch/mod/mod_lcr.so
lib/freeswitch/mod/mod_local_stream.la
lib/freeswitch/mod/mod_local_stream.so
lib/freeswitch/mod/mod_logfile.la
lib/freeswitch/mod/mod_logfile.so
lib/freeswitch/mod/mod_loopback.la
lib/freeswitch/mod/mod_loopback.so
lib/freeswitch/mod/mod_lua.la
lib/freeswitch/mod/mod_lua.so
%%MODMEMCACHE%%lib/freeswitch/mod/mod_memcache.la
%%MODMEMCACHE%%lib/freeswitch/mod/mod_memcache.so
lib/freeswitch/mod/mod_native_file.la
lib/freeswitch/mod/mod_native_file.so
%%MODNIBBLEBILL%%lib/freeswitch/mod/mod_nibblebill.la
%%MODNIBBLEBILL%%lib/freeswitch/mod/mod_nibblebill.so
%%MODOPUS%%lib/freeswitch/mod/mod_opus.la
%%MODOPUS%%lib/freeswitch/mod/mod_opus.so
%%MODPERL%%lib/freeswitch/mod/mod_perl.la
%%MODPERL%%lib/freeswitch/mod/mod_perl.so
%%MODPOCKETSPHINX%%lib/freeswitch/mod/mod_pocketsphinx.la
%%MODPOCKETSPHINX%%lib/freeswitch/mod/mod_pocketsphinx.so
%%MODPORTAUDIO%%lib/freeswitch/mod/mod_portaudio.la
%%MODPORTAUDIO%%lib/freeswitch/mod/mod_portaudio.so
%%MODPASTREAM%%lib/freeswitch/mod/mod_portaudio_stream.la
%%MODPASTREAM%%lib/freeswitch/mod/mod_portaudio_stream.so
%%MODPOSIXTIMER%%lib/freeswitch/mod/mod_posix_timer.la
%%MODPOSIXTIMER%%lib/freeswitch/mod/mod_posix_timer.so
%%MODPYTHON%%lib/freeswitch/mod/mod_python.la
%%MODPYTHON%%lib/freeswitch/mod/mod_python.so
%%MODRSS%%lib/freeswitch/mod/mod_rss.la
%%MODRSS%%lib/freeswitch/mod/mod_rss.so
%%MODRTMP%%lib/freeswitch/mod/mod_rtmp.la
%%MODRTMP%%lib/freeswitch/mod/mod_rtmp.so
%%MODSAYDE%%lib/freeswitch/mod/mod_say_de.la
%%MODSAYDE%%lib/freeswitch/mod/mod_say_de.so
%%MODSAYEN%%lib/freeswitch/mod/mod_say_en.la
%%MODSAYEN%%lib/freeswitch/mod/mod_say_en.so
%%MODSAYES%%lib/freeswitch/mod/mod_say_es.la
%%MODSAYES%%lib/freeswitch/mod/mod_say_es.so
%%MODSAYFR%%lib/freeswitch/mod/mod_say_fr.la
%%MODSAYFR%%lib/freeswitch/mod/mod_say_fr.so
%%MODSAYHE%%lib/freeswitch/mod/mod_say_he.la
%%MODSAYHE%%lib/freeswitch/mod/mod_say_he.so
%%MODSAYHU%%lib/freeswitch/mod/mod_say_hu.la
%%MODSAYHU%%lib/freeswitch/mod/mod_say_hu.so
%%MODSAYIT%%lib/freeswitch/mod/mod_say_it.la
%%MODSAYIT%%lib/freeswitch/mod/mod_say_it.so
%%MODSAYNL%%lib/freeswitch/mod/mod_say_nl.la
%%MODSAYNL%%lib/freeswitch/mod/mod_say_nl.so
%%MODSAYPT%%lib/freeswitch/mod/mod_say_pt.la
%%MODSAYPT%%lib/freeswitch/mod/mod_say_pt.so
%%MODSAYRU%%lib/freeswitch/mod/mod_say_ru.la
%%MODSAYRU%%lib/freeswitch/mod/mod_say_ru.so
%%MODSAYTH%%lib/freeswitch/mod/mod_say_th.la
%%MODSAYTH%%lib/freeswitch/mod/mod_say_th.so
%%MODSAYZH%%lib/freeswitch/mod/mod_say_zh.la
%%MODSAYZH%%lib/freeswitch/mod/mod_say_zh.so
%%MODSHELLSTREAM%%lib/freeswitch/mod/mod_shell_stream.la
%%MODSHELLSTREAM%%lib/freeswitch/mod/mod_shell_stream.so
%%MODSHOUT%%lib/freeswitch/mod/mod_shout.la
%%MODSHOUT%%lib/freeswitch/mod/mod_shout.so
%%MODSILK%%lib/freeswitch/mod/mod_silk.la
%%MODSILK%%lib/freeswitch/mod/mod_silk.so
%%MODSIREN%%lib/freeswitch/mod/mod_siren.la
%%MODSIREN%%lib/freeswitch/mod/mod_siren.so
%%MODSKINNY%%lib/freeswitch/mod/mod_skinny.la
%%MODSKINNY%%lib/freeswitch/mod/mod_skinny.so
lib/freeswitch/mod/mod_sms.la
lib/freeswitch/mod/mod_sms.so
%%MODSNAPSHOT%%lib/freeswitch/mod/mod_snapshot.la
%%MODSNAPSHOT%%lib/freeswitch/mod/mod_snapshot.so
lib/freeswitch/mod/mod_sndfile.la
lib/freeswitch/mod/mod_sndfile.so
%%MODSNMP%%lib/freeswitch/mod/mod_snmp.la
%%MODSNMP%%lib/freeswitch/mod/mod_snmp.so
%%MODSNOM%%lib/freeswitch/mod/mod_snom.la
%%MODSNOM%%lib/freeswitch/mod/mod_snom.so
lib/freeswitch/mod/mod_sofia.la
lib/freeswitch/mod/mod_sofia.so
%%MODSOUNDTOUCH%%lib/freeswitch/mod/mod_soundtouch.la
%%MODSOUNDTOUCH%%lib/freeswitch/mod/mod_soundtouch.so
lib/freeswitch/mod/mod_spandsp.la
lib/freeswitch/mod/mod_spandsp.so
lib/freeswitch/mod/mod_speex.la
lib/freeswitch/mod/mod_speex.so
lib/freeswitch/mod/mod_spidermonkey.la
lib/freeswitch/mod/mod_spidermonkey.so
lib/freeswitch/mod/mod_spidermonkey_core_db.la
lib/freeswitch/mod/mod_spidermonkey_core_db.so
lib/freeswitch/mod/mod_spidermonkey_curl.la
lib/freeswitch/mod/mod_spidermonkey_curl.so
lib/freeswitch/mod/mod_spidermonkey_odbc.la
lib/freeswitch/mod/mod_spidermonkey_odbc.so
lib/freeswitch/mod/mod_spidermonkey_socket.la
lib/freeswitch/mod/mod_spidermonkey_socket.so
lib/freeswitch/mod/mod_spidermonkey_teletone.la
lib/freeswitch/mod/mod_spidermonkey_teletone.so
%%MODSPY%%lib/freeswitch/mod/mod_spy.la
%%MODSPY%%lib/freeswitch/mod/mod_spy.so
lib/freeswitch/mod/mod_syslog.la
lib/freeswitch/mod/mod_syslog.so
lib/freeswitch/mod/mod_tone_stream.la
lib/freeswitch/mod/mod_tone_stream.so
%%MODTTSCMDLINE%%lib/freeswitch/mod/mod_tts_commandline.la
%%MODTTSCMDLINE%%lib/freeswitch/mod/mod_tts_commandline.so
%%MODUNIMRCP%%lib/freeswitch/mod/mod_unimrcp.la
%%MODUNIMRCP%%lib/freeswitch/mod/mod_unimrcp.so
lib/freeswitch/mod/mod_valet_parking.la
lib/freeswitch/mod/mod_valet_parking.so
%%MODVLC%%lib/freeswitch/mod_vlc.la
%%MODVLC%%lib/freeswitch/mod_vlc.so
%%MODVMD%%lib/freeswitch/mod/mod_vmd.la
%%MODVMD%%lib/freeswitch/mod/mod_vmd.so
lib/freeswitch/mod/mod_voicemail.la
lib/freeswitch/mod/mod_voicemail.so
%%MODVOICEMAILIVR%%lib/freeswitch/mod/mod_voicemail_ivr.la
%%MODVOICEMAILIVR%%lib/freeswitch/mod/mod_voicemail_ivr.so
lib/freeswitch/mod/mod_vp8.la
lib/freeswitch/mod/mod_vp8.so
lib/freeswitch/mod/mod_xml_cdr.la
lib/freeswitch/mod/mod_xml_cdr.so
%%MODXMLCURL%%lib/freeswitch/mod/mod_xml_curl.la
%%MODXMLCURL%%lib/freeswitch/mod/mod_xml_curl.so
lib/freeswitch/mod/mod_xml_rpc.la
lib/freeswitch/mod/mod_xml_rpc.so
lib/freeswitch/mod/mod_xml_scgi.la
lib/freeswitch/mod/mod_xml_scgi.so
%%MODPYTHON%%lib/python2.7/site-packages/freeswitch.py
libdata/pkgconfig/freeswitch.pc
%%MODFREETDM%%libdata/pkgconfig/freetdm.pc
%%MODPERL%%perl/freeswitch.la
%%MODPERL%%perl/freeswitch.pm
%%MODPERL%%perl/freeswitch.so
www/freeswitch/htdocs/license.txt.sample
www/freeswitch/htdocs/slim.swf.sample
www/freeswitch/htdocs/slimtest.htm.sample
@dirrm www/freeswitch/htdocs
@dirrm www/freeswitch
@dirrmtry share/freeswitch/sounds
@dirrmtry share/freeswitch
%%MODPYTHON%%@dirrmtry lib/python2.7/site-packages
%%MODPERL%%@dirrmtry perl
@dirrm lib/freeswitch/mod
@dirrm lib/freeswitch/lib
@dirrm lib/freeswitch
@dirrm include/freeswitch
@dirrm %%ETCDIR%%/scripts
%%MODPOCKETSPHINX%%@dirrmtry %%ETCDIR%%/grammar/model/communicator
%%MODPOCKETSPHINX%%@dirrmtry %%ETCDIR%%/grammar/model
@dirrmtry %%ETCDIR%%/grammar
@dirrmtry %%ETCDIR%%/conf/directory/default
@dirrmtry %%ETCDIR%%/conf/directory/
@dirrmtry %%ETCDIR%%/conf
@dirrmtry %%ETCDIR%%
@cwd /var
@dirrmtry log/freeswitch/xml_cdr
@dirrmtry log/freeswitch
@dirrmtry freeswitch/recordings
@dirrmtry freeswitch
@dirrmtry db/freeswitch

View File

@ -1,45 +0,0 @@
# Created by: Richard Neese <r.neese@gmail.com>
# $FreeBSD$
PORTNAME= freeswitch
PORTVERSION= 1.2.3
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= # none
PKGNAMESUFFIX= -devel
DISTFILES= # none
EXTRACT_ONLY= # none
MAINTAINER= ports@FreeBSD.org
COMMENT= FreeSwitch meta-port to pull in all the components
RUN_DEPENDS= freeswitch:${PORTSDIR}/net/freeswitch-core-devel
CONFLICTS= freeswitch-core-[0-9]*
NO_WRKSUBDIR= yes
NO_BUILD= yes
OPTIONS_DEFINE= SOUNDS MUSIC
SOUNDS_DESC= Sound files for use with FreeSwitch PBX
MUSIC_DESC= Music on hold for use with FreeSwitch PBX
OPTIONS_DEFAULT= SOUNDS MUSIC
NO_OPTIONS_SORT= yes
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSOUNDS}
RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/.freeswitch-sounds:${PORTSDIR}/audio/freeswitch-sounds
.endif
.if ${PORT_OPTIONS:MMUSIC}
RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/.freeswitch-music:${PORTSDIR}/audio/freeswitch-music
.endif
do-install: build
@${DO_NADA}
.include <bsd.port.mk>

View File

@ -1,9 +0,0 @@
FreeSWITCH meta port.
FreeSWITCH is an open source telephony platform designed to facilitate the
creation of voice and chat driven products scaling from a soft-phone up to a
soft-switch. It can be used as a simple switching engine, a PBX, a media
gateway or a media server to host IVR applications using simple scripts or XML
to control the callflow.
WWW: http://www.freeswitch.org