View | Details | Raw Unified | Return to bug 152423 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-49 / +44 lines)
Lines 6-22 Link Here
6
#
6
#
7
7
8
PORTNAME=	freeswitch-core
8
PORTNAME=	freeswitch-core
9
PORTVERSION=	1.0.6
9
PORTVERSION=	201044
10
PORTREVISION=	5
11
CATEGORIES=	net
10
CATEGORIES=	net
12
MASTER_SITES=	http://files.freeswitch.org/:1 \
11
MASTER_SITES=	ftp://ftp.secure-computing.net/pub/freeswitch/ \
12
		ftp://ftp2.secure-computing.net/pub/freeswitch/ \
13
		http://files.freeswitch.org/downloads/libs/:2
13
		http://files.freeswitch.org/downloads/libs/:2
14
DISTFILES=	${BASE_PORTNAME}-${PORTVERSION}.tar.gz:1 \
14
DISTFILES=	${BASE_PORTNAME}-${PORTVERSION}.tar.gz \
15
		celt-0.7.1.tar.gz:2 \
15
		celt-0.7.1.tar.gz:2 \
16
		flite-1.3.99-latest.tar.gz:2 \
16
		flite-1.3.99-latest.tar.gz:2 \
17
		json-c-0.9.tar.gz \
17
		json-c-0.9.tar.gz:2 \
18
		lame-3.97.tar.gz:2 \
18
		lame-3.97.tar.gz:2 \
19
		libmemcached-0.32.tar.gz \
19
		libmemcached-0.32.tar.gz:2 \
20
		libshout-2.2.2.tar.gz:2 \
20
		libshout-2.2.2.tar.gz:2 \
21
		mpg123.tar.gz:2 \
21
		mpg123.tar.gz:2 \
22
		openldap-2.4.11.tar.gz:2 \
22
		openldap-2.4.11.tar.gz:2 \
Lines 24-29 Link Here
24
		soundtouch-1.3.1.tar.gz:2 \
24
		soundtouch-1.3.1.tar.gz:2 \
25
		sphinxbase-0.4.99-20091212.tar.gz:2 \
25
		sphinxbase-0.4.99-20091212.tar.gz:2 \
26
		communicator_semi_6000_20080321.tar.gz:2
26
		communicator_semi_6000_20080321.tar.gz:2
27
DIST_SUBDIR=	${BASE_PORTNAME}
27
EXTRACT_ONLY=	${BASE_PORTNAME}-${PORTVERSION}.tar.gz
28
EXTRACT_ONLY=	${BASE_PORTNAME}-${PORTVERSION}.tar.gz
28
29
29
MAINTAINER=	r.neese@gmail.com
30
MAINTAINER=	r.neese@gmail.com
Lines 52-59 Link Here
52
		--sysconfdir=${PREFIX}/etc/${BASE_PORTNAME}/conf \
53
		--sysconfdir=${PREFIX}/etc/${BASE_PORTNAME}/conf \
53
		--includedir=${PREFIX}/include/${BASE_PORTNAME} \
54
		--includedir=${PREFIX}/include/${BASE_PORTNAME} \
54
		--libdir=${PREFIX}/lib/${BASE_PORTNAME}/lib \
55
		--libdir=${PREFIX}/lib/${BASE_PORTNAME}/lib \
56
		--localstatedir="${VARBASE}" \
55
		--with-modinstdir=${PREFIX}/lib/${BASE_PORTNAME}/mod \
57
		--with-modinstdir=${PREFIX}/lib/${BASE_PORTNAME}/mod \
56
		--with-rundir=${VARBASE}/run/${BASE_PORTNAME} \
57
		--with-libgnutls-prefix=${LOCALBASE} \
58
		--with-libgnutls-prefix=${LOCALBASE} \
58
		--with-ogg=${LOCALBASE} \
59
		--with-ogg=${LOCALBASE} \
59
		--with-ogg-libraries=${LOCALBASE}/lib \
60
		--with-ogg-libraries=${LOCALBASE}/lib \
Lines 66-79 Link Here
66
67
67
FREESWITCH_USER=	freeswitch
68
FREESWITCH_USER=	freeswitch
68
FREESWITCH_GROUP=	${FREESWITCH_USER}
69
FREESWITCH_GROUP=	${FREESWITCH_USER}
69
BASE_PORTNAME=	${FREESWITCH_USER}
70
70
71
SUB_LIST=	FREESWITCH_USER=${FREESWITCH_USER} FREESWITCH_GROUP=${FREESWITCH_GROUP}
71
SUB_LIST=	FREESWITCH_USER=${FREESWITCH_USER} FREESWITCH_GROUP=${FREESWITCH_GROUP}
72
72
73
BASE_PORTNAME=	${FREESWITCH_USER}
74
73
OPTIONS=	MODSHOUT        "Enable mod_shout (streaming audio/mp3)" on \
75
OPTIONS=	MODSHOUT        "Enable mod_shout (streaming audio/mp3)" on \
74
		MODFLITE	"Enable mod_flite (Text to Speech)" on \
76
		MODFLITE	"Enable mod_flite (Text to Speech)" on \
75
		MODUNIMRCP	"Enable mod_unimrcp tts (new testing)" off \
77
		MODUNIMRCP	"Enable mod_unimrcp tts" off \
76
		MODTTSCMDLINE	"Enable mod_tts_commandline (testing)" off \
78
		MODTTSCMDLINE	"Enable mod_tts_commandline" off \
77
		MODPOCKETSPHINX	"Enable mod_pockectsphinx (voice control)" on \
79
		MODPOCKETSPHINX	"Enable mod_pockectsphinx (voice control)" on \
78
		MODCIDLOOKUP	"Enable mod_cidlookup" on \
80
		MODCIDLOOKUP	"Enable mod_cidlookup" on \
79
		MODDPDIRECTORY	"Enable mod_dialplan_directory" off \
81
		MODDPDIRECTORY	"Enable mod_dialplan_directory" off \
Lines 86-121 Link Here
86
		MODSOUNDTOUCH	"Enable mod_soundtouch" on \
88
		MODSOUNDTOUCH	"Enable mod_soundtouch" on \
87
		MODRSS		"Enable mod_rss (rss feed reader)" on \
89
		MODRSS		"Enable mod_rss (rss feed reader)" on \
88
		MODSNOM		"Enable mod_snom (snom control)" off \
90
		MODSNOM		"Enable mod_snom (snom control)" off \
91
		MODAVMD		"Enable mod_avmd (Adavced v-mail detection)" on \
89
		MODVMD		"Enable mod_vmd (voice mail detection)" on \
92
		MODVMD		"Enable mod_vmd (voice mail detection)" on \
90
		MODSPY		"Enable mod_spy" on \
93
		MODSPY		"Enable mod_spy" on \
91
		MODAMRWB	"Enable mod_amrwb (amrwb codec)" on \
94
		MODAMRWB	"Enable mod_amrwb (amrwb codec)" on \
92
		MODCELT		"Enable mod_celt (celt codec)" on \
95
		MODCELT		"Enable mod_celt (celt 48k  codec)" on \
93
		MODSILK		"Enable mod_silk (New Silk Codec)" on \
96
		MODSILK		"Enable mod_silk (New Silk Codec)" on \
94
		MODOPENZAP	"Enable mod_openzap dahdi support" off \
97
		MODCODEC2	"Enable mod_codec2 (new codec)" on \
95
		MODSKINNY	"Enable mod_skinny Skinny Support (Beta)" off \
98
		MODFREETDM	"Enable mod_freetdm dahdi support (Testing)" off \
99
		MODSKINNY	"Enable mod_skinny Skinny Support" on \
96
		MODMEMCACHE	"Enable mod_memcache" on \
100
		MODMEMCACHE	"Enable mod_memcache" on \
97
		MODMULTICAST	"Enable mod_event_multicast" on \
101
		MODMULTICAST	"Enable mod_event_multicast" on \
98
		MODNIBBLEBILL   "Enable mod_nibblebill(billing)" on \
102
		MODNIBBLEBILL   "Enable mod_nibblebill (billing)" on \
99
		MODPORTAUDIO    "Enable mod_portaudio" on \
103
		MODPORTAUDIO    "Enable mod_portaudio" on \
100
		MODPASTREAM	"Enable mod_portaudio_stream (new)" on \
104
		MODPASTREAM	"Enable mod_portaudio_stream (new)" on \
101
		MODSHELLSTREAM	"Enable mod_SHELL_stream (New)" on \
105
		MODSHELLSTREAM	"Enable mod_shell_stream (new)" on \
102
		MODPERL		"Enable mod_perl (perl support)" off \
106
		MODPERL		"Enable mod_perl (perl support)" off \
103
		MODPYTHON	"Enable mod_python (python lang)" off \
107
		MODPYTHON	"Enable mod_python (python)" off \
104
		MODCURL		"Enable mod_curl" off \
108
		MODCURL		"Enable mod_curl" off \
105
		MODXMLCURL	"Enable mod_xml_curl" off \
109
		MODXMLCURL	"Enable mod_xml_curl" off \
106
		MODDISTRIBUTOR	"Enable mod_distributor (testing)" off \
110
		MODDISTRIBUTOR	"Enable mod_distributor " off \
107
		MODSNAPSHOT	"Enable mod_snapshot (testing)" off \
111
		MODSNAPSHOT	"Enable mod_snapshot (testing)" off \
108
		MODSAYDE	"Enable mod_say_de (German support)" off \
112
		MODSAYDE	"Enable mod_say_de (German support)" off \
109
		MODSAYES	"Enable mod_say_se (Spanish support)" off \
113
		MODSAYES	"Enable mod_say_se (Spanish support)" off \
110
		MODSAYEN	"Enable mod_say_en (English support)" on \
114
		MODSAYEN	"Enable mod_say_en (English support)" on \
111
		MODSAYHU	"Enable mod_say_hu (Hungarian support(new)" off \
115
		MODSAYHU	"Enable mod_say_hu (Hungarian support)" off \
112
		MODSAYFR	"Enable mod_say_fr (French support)" off \
116
		MODSAYFR	"Enable mod_say_fr (French support)" off \
113
		MODSAYIT	"Enable mod_say_it (Italian support)" off \
117
		MODSAYIT	"Enable mod_say_it (Italian support)" off \
114
		MODSAYNL	"Enable mod_say_nl (Dutch support)" off \
118
		MODSAYNL	"Enable mod_say_nl (Dutch support)" off \
115
		MODSAYRU	"Enable mod_say_ru (Russian support)" on \
119
		MODSAYRU	"Enable mod_say_ru (Russian support)" on \
116
		MODSAYTH	"Enable mod_say_th (Thi support(new)" off \
120
		MODSAYTH	"Enable mod_say_th (Thi support)" off \
117
		MODSAYZH	"Enable mod_say_zh (Chinese support)" off \
121
		MODSAYZH	"Enable mod_say_zh (Chinese support)" off \
118
		EXTENSIONS	"Include Default User Extensions" off
122
		EXTENSIONS	"Include Default User Extensions" off \
123
		MODCALLCENTER	"Enable mod_callcenter (new)(test)" on
119
124
120
.include <bsd.port.options.mk>
125
.include <bsd.port.options.mk>
121
126
Lines 128-137 Link Here
128
.endif
133
.endif
129
134
130
.for i in MODFLITE MODPOCKETSPHINX MODCIDLOOKUP MODDPDIRECTORY MODEASYROUTE MODLCR MODSOUNDTOUCH \
135
.for i in MODFLITE MODPOCKETSPHINX MODCIDLOOKUP MODDPDIRECTORY MODEASYROUTE MODLCR MODSOUNDTOUCH \
131
	MODRSS MODSNOM MODVMD MODSPY MODAMRWB MODCELT MODMULTICAST MODPORTAUDIO MODCURL MODXMLCURL \
136
	MODRSS MODSNOM MODAVMD MODVMD MODSPY MODAMRWB MODCELT MODMULTICAST MODPORTAUDIO MODCURL MODXMLCURL \
132
	MODSAYDE MODSAYEN MODSAYES MODSAYFR MODSAYHU MODSAYIT MODSAYNL MODSAYRU MODSAYTH MODSAYZH \
137
	MODSAYDE MODSAYEN MODSAYES MODSAYFR MODSAYHU MODSAYIT MODSAYNL MODSAYRU MODSAYTH MODSAYZH \
133
	MODNIBBLEBILL MODDINGALING MODDIRECTORY MODMEMCACHE MODPASTREAM MODSHELLSTREAM \
138
	MODNIBBLEBILL MODDINGALING MODDIRECTORY MODMEMCACHE MODPYTHON MODPASTREAM MODSHELLSTREAM \
134
	MODSILK MODUNIMRCP MODTTSCMDLINE MODDISTRIBUTOR MODSNAPSHOT MODSKINNY EXTENSIONS
139
	MODSILK MODUNIMRCP MODTTSCMDLINE MODDISTRIBUTOR MODSNAPSHOT MODSKINNY EXTENSIONS MODCALLCENTER MODCODEC2
135
.if !defined(WITH_${i})
140
.if !defined(WITH_${i})
136
PLIST_SUB+=	WITH_${i}="@comment "
141
PLIST_SUB+=	WITH_${i}="@comment "
137
.else
142
.else
Lines 139-151 Link Here
139
.endif
144
.endif
140
.endfor
145
.endfor
141
146
142
.if !defined(WITH_MODOPENZAP)
147
.if !defined(WITH_MODFREETDM)
143
PLIST_SUB+=	WITH_MODOPENZAP="@comment "
148
PLIST_SUB+=	 WITH_MODFREETDM="@comment "
144
.else
149
.else
145
.if ${OSVERSION} < 703000 || (${OSVERSION} >= 800000 && ${OSVERSION} < 800108)
150
.if ${OSVERSION} < 703000 || (${OSVERSION} >= 800000 && ${OSVERSION} < 800108)
146
IGNORE=		sorry you can not use mod_openzap on this version of freebsd ( dahdi support broken ) please update
151
IGNORE=	sorry you can not use mod_freetdm on this version of freebsd ( dahdi support broken ) please update
147
.endif
152
.endif
148
PLIST_SUB+=	WITH_MODOPENZAP=""
153
PLIST_SUB+=	WITH_MODFREETDM=""
149
CONFIGURE_ARGS+=	--with-libpri
154
CONFIGURE_ARGS+=	--with-libpri
150
BUILD_DEPENDS+=	libpri>=1.2.0:${PORTSDIR}/misc/libpri \
155
BUILD_DEPENDS+=	libpri>=1.2.0:${PORTSDIR}/misc/libpri \
151
		${LOCALBASE}/include/dahdi/wctdm_user.h:${PORTSDIR}/misc/dahdi
156
		${LOCALBASE}/include/dahdi/wctdm_user.h:${PORTSDIR}/misc/dahdi
Lines 153-165 Link Here
153
RUN_DEPENDS+=	${LOCALBASE}/include/dahdi/wctdm_user.h:${PORTSDIR}/misc/dahdi
158
RUN_DEPENDS+=	${LOCALBASE}/include/dahdi/wctdm_user.h:${PORTSDIR}/misc/dahdi
154
.endif
159
.endif
155
160
156
.if !defined(WITH_MODPYTHON)
157
PLIST_SUB+=	WITH_MODPYTHON="@comment "
158
.else
159
PLIST_SUB+=	WITH_MODPYTHON=""
160
USE_PYTHON=	yes
161
.endif
162
163
.if !defined(WITH_MODSHOUT)
161
.if !defined(WITH_MODSHOUT)
164
PLIST_SUB+=	WITH_MODSHOUT="@comment "
162
PLIST_SUB+=	WITH_MODSHOUT="@comment "
165
.else
163
.else
Lines 190-206 Link Here
190
.endif
188
.endif
191
189
192
pre-configure:
190
pre-configure:
193
	cd ${WRKSRC} && ./rebootstrap.sh
194
	@${REINPLACE_CMD} -e 's|pkgconfigdir = $$(libdir)/pkgconfig|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/libs/*/Makefile.am
191
	@${REINPLACE_CMD} -e 's|pkgconfigdir = $$(libdir)/pkgconfig|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/libs/*/Makefile.am
195
	@${REINPLACE_CMD} -e 's|pkgconfigdir = $$(libdir)/pkgconfig|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/libs/*/Makefile.in
192
	@${REINPLACE_CMD} -e 's|pkgconfigdir   = $$(libdir)/pkgconfig|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/libs/*/Makefile.am
196
	@${REINPLACE_CMD} -e 's|pkgconfigdir = $$(libdir)/pkgconfig|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/Makefile.am
193
	@${REINPLACE_CMD} -e 's|pkgconfigdir = $$(libdir)/pkgconfig|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/Makefile.am
197
	@${REINPLACE_CMD} -e 's|pkgconfigdir = $$(libdir)/pkgconfig|pkgconfigdir = ${PREFIX}/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in
194
	@${REINPLACE_CMD} -e 's|base=http://files.freeswitch.org/downloads/libs/|base=file://${DISTDIR}/${DIST_SUBDIR}/|g' ${WRKSRC}/build/getlib.sh.in
198
	@${REINPLACE_CMD} -e 's|base=http://files.freeswitch.org/downloads/libs/|base=file://${DISTDIR}/|g' ${WRKSRC}/build/getlib.sh.in
195
	cd ${WRKSRC} && ./rebootstrap.sh
199
200
.if defined(WITH_VOICEMAILPATCH)
201
	@${REINPLACE_CMD} -e 's|${storage_dir}/|${voicemail_dir}|g' ${WRKSRC}/src/mod/applications/mod_voicemail/mod_voicemail.c
202
	@${REINPLACE_CMD} -e 's|<!--<param name="storage-dir" value="/tmp"/>-->|<!--<param name="voicemail-dir" value="/var/spool/freeswitch/voicemail"/>-->|g' ${WRKSRC}/conf/autoload_configs/voicemail.conf.xml
203
.endif
204
196
205
post-configure:
197
post-configure:
206
.for i in mod_unimrcp mod_flite mod_pocketsphinx
198
.for i in mod_unimrcp mod_flite mod_pocketsphinx
Lines 212-224 Link Here
212
	@${REINPLACE_CMD} -e 's|#asr_tts/mod_tts_commandline|asr_tts/mod_tts_commandline|g' ${WRKSRC}/modules.conf
204
	@${REINPLACE_CMD} -e 's|#asr_tts/mod_tts_commandline|asr_tts/mod_tts_commandline|g' ${WRKSRC}/modules.conf
213
.endif
205
.endif
214
.for i in mod_cidlookup mod_easyroute mod_fax mod_lcr mod_soundtouch mod_rss mod_snom \
206
.for i in mod_cidlookup mod_easyroute mod_fax mod_lcr mod_soundtouch mod_rss mod_snom \
215
	mod_vmd mod_spy mod_curl mod_nibblebill mod_memcache mod_directory mod_distributor \
207
	mod_vmd mod_avmd mod_spy mod_curl mod_nibblebill mod_memcache mod_directory mod_distributor \
216
	mod_snapshot
208
	mod_snapshot mod_callcenter
217
.if defined(WITH_${i:C/_//g:U})
209
.if defined(WITH_${i:C/_//g:U})
218
	@${REINPLACE_CMD} -e 's|#\(applications/${i}\)|\1|g' ${WRKSRC}/modules.conf
210
	@${REINPLACE_CMD} -e 's|#\(applications/${i}\)|\1|g' ${WRKSRC}/modules.conf
219
.endif
211
.endif
220
.endfor
212
.endfor
221
.for i in mod_amrwb mod_celt mod_silk
213
.for i in mod_amrwb mod_celt mod_silk mod_codec2
222
.if defined(WITH_${i:C/_//g:U})
214
.if defined(WITH_${i:C/_//g:U})
223
	@${REINPLACE_CMD} -e 's|#\(codecs/${i}\)|\1|g' ${WRKSRC}/modules.conf
215
	@${REINPLACE_CMD} -e 's|#\(codecs/${i}\)|\1|g' ${WRKSRC}/modules.conf
224
.endif
216
.endif
Lines 249-256 Link Here
249
.if defined(WITH_MODDPDIRECTORY)
241
.if defined(WITH_MODDPDIRECTORY)
250
	@${REINPLACE_CMD} -e 's|#dialplans/mod_dialplan_directory|dialplans/mod_dialplan_directory|g' ${WRKSRC}/modules.conf
242
	@${REINPLACE_CMD} -e 's|#dialplans/mod_dialplan_directory|dialplans/mod_dialplan_directory|g' ${WRKSRC}/modules.conf
251
.endif
243
.endif
252
.if defined(WITH_MODOPENZAP)
244
.if defined(WITH_MODFREETDM)
253
	@${REINPLACE_CMD} -e 's|#../../libs/openzap/mod_openzap|../../libs/openzap/mod_openzap|g' ${WRKSRC}/modules.conf
245
	@${REINPLACE_CMD} -e 's|#../../libs/freetdm/mod_freetdm|../../libs/freetdm/mod_freetdm|g' ${WRKSRC}/modules.conf
254
.endif
246
.endif
255
.if defined(WITH_MODMULTICAST)
247
.if defined(WITH_MODMULTICAST)
256
	@${REINPLACE_CMD} -e 's|#event_handlers/mod_event_multicast|event_handlers/mod_event_multicast|g' ${WRKSRC}/modules.conf
248
	@${REINPLACE_CMD} -e 's|#event_handlers/mod_event_multicast|event_handlers/mod_event_multicast|g' ${WRKSRC}/modules.conf
Lines 282-291 Link Here
282
	@${CHOWN} -R ${FREESWITCH_USER}:${FREESWITCH_GROUP} ${VARBASE}/run/${BASE_PORTNAME}
274
	@${CHOWN} -R ${FREESWITCH_USER}:${FREESWITCH_GROUP} ${VARBASE}/run/${BASE_PORTNAME}
283
	@${CHOWN} -R ${FREESWITCH_USER}:${FREESWITCH_GROUP} ${VARBASE}/spool/${BASE_PORTNAME}
275
	@${CHOWN} -R ${FREESWITCH_USER}:${FREESWITCH_GROUP} ${VARBASE}/spool/${BASE_PORTNAME}
284
	@for i in $$(${FIND} ${PREFIX}/etc/${BASE_PORTNAME}/conf/ -type f -name '*.sample'); do if [ ! -f $${i%.sample} ]; then ${CP} -p $$i $${i%.sample}; fi; done
276
	@for i in $$(${FIND} ${PREFIX}/etc/${BASE_PORTNAME}/conf/ -type f -name '*.sample'); do if [ ! -f $${i%.sample} ]; then ${CP} -p $$i $${i%.sample}; fi; done
285
	@${CAT} ${PKGMESSAGE}
277
	@${CHMOD} -R 775 ${PREFIX}/etc/${BASE_PORTNAME}/conf
278
	@${CHMOD} -R 775 ${VARBASE}/log/${BASE_PORTNAME}
279
	@${CHMOD} -R 775 ${VARBASE}/${BASE_PORTNAME}
286
	@${ECHO_MSG} "This port chown -R various directories ${FREESWITCH_USER}:${FREESWITCH_GROUP} "
280
	@${ECHO_MSG} "This port chown -R various directories ${FREESWITCH_USER}:${FREESWITCH_GROUP} "
287
	@${ECHO_MSG} "this is for port security . in the event something should stop working."
281
	@${ECHO_MSG} "this is for port security . in the event something should stop working."
288
	@${ECHO_MSG} "Please take the time to check chownership of the dir's"
282
	@${ECHO_MSG} "Please take the time to check chownership of the dir's"
289
	@${ECHO_MSG} "${VARBASE}/db/${BASE_PORTNAME} ${VARBASE}/log/${BASE_PORTNAME} ${VARBASE}/${BASE_PORTNAME} ${PREFIX}/etc/${BASE_PORTNAME}"
283
	@${ECHO_MSG} "${VARBASE}/db/${BASE_PORTNAME} ${VARBASE}/log/${BASE_PORTNAME} ${VARBASE}/${BASE_PORTNAME} ${PREFIX}/etc/${BASE_PORTNAME}"
284
	@${CAT} ${PKGMESSAGE}
290
285
291
.include <bsd.port.mk>
286
.include <bsd.port.mk>
(-)distinfo (-39 / +26 lines)
Lines 1-39 Link Here
1
MD5 (freeswitch-1.0.6.tar.gz) = 388effee587887a81fe7f411b7350590
1
SHA256 (freeswitch/freeswitch-201044.tar.gz) = cea3583bcc1febc8b6ad85ca38c991d2d7319945784dd915834c1479b33bbd4b
2
SHA256 (freeswitch-1.0.6.tar.gz) = 5610f478307b5c06d38e1ea4029298142c2960e426c3297378857d8734770215
2
SIZE (freeswitch/freeswitch-201044.tar.gz) = 42320468
3
SIZE (freeswitch-1.0.6.tar.gz) = 36400963
3
SHA256 (freeswitch/celt-0.7.1.tar.gz) = 93f0e2dfb59021b19e69dc0dee855eb89f19397db1dea0d0d6f9329cff933066
4
MD5 (celt-0.7.1.tar.gz) = c7f6b8346e132b1a48dae0eff77ea9f0
4
SIZE (freeswitch/celt-0.7.1.tar.gz) = 425092
5
SHA256 (celt-0.7.1.tar.gz) = 93f0e2dfb59021b19e69dc0dee855eb89f19397db1dea0d0d6f9329cff933066
5
SHA256 (freeswitch/flite-1.3.99-latest.tar.gz) = ac5832c7b654c5adf9ec3df0e8a7c817d2105233e11ce5aa7e97a8c6c8e14e13
6
SIZE (celt-0.7.1.tar.gz) = 425092
6
SIZE (freeswitch/flite-1.3.99-latest.tar.gz) = 17440698
7
MD5 (flite-1.3.99-latest.tar.gz) = 365b60881715c5e13c0d8bc37d9be6ff
7
SHA256 (freeswitch/json-c-0.9.tar.gz) = 816fb2d4baab09e2f51a7c1be75bc9e03ed09d4cf3c2cd03c183f433bb9b565f
8
SHA256 (flite-1.3.99-latest.tar.gz) = ac5832c7b654c5adf9ec3df0e8a7c817d2105233e11ce5aa7e97a8c6c8e14e13
8
SIZE (freeswitch/json-c-0.9.tar.gz) = 328935
9
SIZE (flite-1.3.99-latest.tar.gz) = 17440698
9
SHA256 (freeswitch/lame-3.97.tar.gz) = 0a2334a6d11085298a9a3c46d5d310cca012f2e61d6efae90840a76a364dbe17
10
MD5 (json-c-0.9.tar.gz) = 3a13d264528dcbaf3931b0cede24abae
10
SIZE (freeswitch/lame-3.97.tar.gz) = 1328058
11
SHA256 (json-c-0.9.tar.gz) = 702a486c9bf8e19137d484ab5c49b4ad314eb5e1fe37062a72c0a0fa39439475
11
SHA256 (freeswitch/libmemcached-0.32.tar.gz) = cf1be20af93163d6ab25b511f79c515778ebced54806875561ebef46011f2a9b
12
SIZE (json-c-0.9.tar.gz) = 340953
12
SIZE (freeswitch/libmemcached-0.32.tar.gz) = 512586
13
MD5 (lame-3.97.tar.gz) = 90a4acbb730d150dfe80de145126eef7
13
SHA256 (freeswitch/libshout-2.2.2.tar.gz) = 38701125cb0e0349f4394dd3254d6037eeb8af0747c0942ff433ffbcd48d2367
14
SHA256 (lame-3.97.tar.gz) = 0a2334a6d11085298a9a3c46d5d310cca012f2e61d6efae90840a76a364dbe17
14
SIZE (freeswitch/libshout-2.2.2.tar.gz) = 478582
15
SIZE (lame-3.97.tar.gz) = 1328058
15
SHA256 (freeswitch/mpg123.tar.gz) = 408fed3b37d83ab2396bcf6253d62e75e573ba96b7c4497f0faddd557763b97b
16
MD5 (libmemcached-0.32.tar.gz) = 2f06059803737b6bf6135edfc86db4b3
16
SIZE (freeswitch/mpg123.tar.gz) = 1253597
17
SHA256 (libmemcached-0.32.tar.gz) = cf1be20af93163d6ab25b511f79c515778ebced54806875561ebef46011f2a9b
17
SHA256 (freeswitch/openldap-2.4.11.tar.gz) = 76e57147a2373015f306f2e72128330e51d5c0f1056b4713283234dfd16c1c9c
18
SIZE (libmemcached-0.32.tar.gz) = 512586
18
SIZE (freeswitch/openldap-2.4.11.tar.gz) = 4941654
19
MD5 (libshout-2.2.2.tar.gz) = e409b006b5dad6d8668c3e429bf20159
19
SHA256 (freeswitch/pocketsphinx-0.5.99-20091212.tar.gz) = ad2318103ae16bd1740b0e8658bc6d5fa8964e8eb79de128f7c106d3401f2f48
20
SHA256 (libshout-2.2.2.tar.gz) = 38701125cb0e0349f4394dd3254d6037eeb8af0747c0942ff433ffbcd48d2367
20
SIZE (freeswitch/pocketsphinx-0.5.99-20091212.tar.gz) = 11703230
21
SIZE (libshout-2.2.2.tar.gz) = 478582
21
SHA256 (freeswitch/soundtouch-1.3.1.tar.gz) = ff5ff8dfe4a078ced7478a71f0d4715ee27743424f5c06db19829e2fee06b2b5
22
MD5 (mpg123.tar.gz) = 5af8730df15a50b3814bcb4686f3a8ff
22
SIZE (freeswitch/soundtouch-1.3.1.tar.gz) = 407740
23
SHA256 (mpg123.tar.gz) = 408fed3b37d83ab2396bcf6253d62e75e573ba96b7c4497f0faddd557763b97b
23
SHA256 (freeswitch/sphinxbase-0.4.99-20091212.tar.gz) = a1e359aa92934414bc4fe1dcbb93edad11bf7b5f625c94bdebe85d6dfe3618f0
24
SIZE (mpg123.tar.gz) = 1253597
24
SIZE (freeswitch/sphinxbase-0.4.99-20091212.tar.gz) = 2150613
25
MD5 (openldap-2.4.11.tar.gz) = 920fedbbb5bc61c2ca52c56edeef770a
25
SHA256 (freeswitch/communicator_semi_6000_20080321.tar.gz) = dbb5e9fb85000a7cb97d6958a3ef8d77532dc55fc730ac6979705e8645cb0c18
26
SHA256 (openldap-2.4.11.tar.gz) = 76e57147a2373015f306f2e72128330e51d5c0f1056b4713283234dfd16c1c9c
26
SIZE (freeswitch/communicator_semi_6000_20080321.tar.gz) = 5595694
27
SIZE (openldap-2.4.11.tar.gz) = 4941654
28
MD5 (pocketsphinx-0.5.99-20091212.tar.gz) = 9162b0008213bbd3e8b046f6ab576d12
29
SHA256 (pocketsphinx-0.5.99-20091212.tar.gz) = ad2318103ae16bd1740b0e8658bc6d5fa8964e8eb79de128f7c106d3401f2f48
30
SIZE (pocketsphinx-0.5.99-20091212.tar.gz) = 11703230
31
MD5 (soundtouch-1.3.1.tar.gz) = 86979af5a2dde55d58967600476b8c23
32
SHA256 (soundtouch-1.3.1.tar.gz) = ff5ff8dfe4a078ced7478a71f0d4715ee27743424f5c06db19829e2fee06b2b5
33
SIZE (soundtouch-1.3.1.tar.gz) = 407740
34
MD5 (sphinxbase-0.4.99-20091212.tar.gz) = 0a6e3e726d8900961ec998dd1ba6c128
35
SHA256 (sphinxbase-0.4.99-20091212.tar.gz) = a1e359aa92934414bc4fe1dcbb93edad11bf7b5f625c94bdebe85d6dfe3618f0
36
SIZE (sphinxbase-0.4.99-20091212.tar.gz) = 2150613
37
MD5 (communicator_semi_6000_20080321.tar.gz) = 504941aa35924af84cee1bf61914d923
38
SHA256 (communicator_semi_6000_20080321.tar.gz) = dbb5e9fb85000a7cb97d6958a3ef8d77532dc55fc730ac6979705e8645cb0c18
39
SIZE (communicator_semi_6000_20080321.tar.gz) = 5595694
(-)pkg-plist (-62 / +69 lines)
Lines 6-16 Link Here
6
bin/gentls_cert
6
bin/gentls_cert
7
etc/freeswitch/conf/autoload_configs/acl.conf.xml.sample
7
etc/freeswitch/conf/autoload_configs/acl.conf.xml.sample
8
etc/freeswitch/conf/autoload_configs/alsa.conf.xml.sample
8
etc/freeswitch/conf/autoload_configs/alsa.conf.xml.sample
9
etc/freeswitch/conf/autoload_configs/callcenter.conf.xml.sample
9
etc/freeswitch/conf/autoload_configs/cdr_csv.conf.xml.sample
10
etc/freeswitch/conf/autoload_configs/cdr_csv.conf.xml.sample
10
etc/freeswitch/conf/autoload_configs/cdr_pg_csv.conf.xml.sample
11
etc/freeswitch/conf/autoload_configs/cdr_pg_csv.conf.xml.sample
11
etc/freeswitch/conf/autoload_configs/cidlookup.conf.xml.sample
12
etc/freeswitch/conf/autoload_configs/cidlookup.conf.xml.sample
12
etc/freeswitch/conf/autoload_configs/conference.conf.xml.sample
13
etc/freeswitch/conf/autoload_configs/conference.conf.xml.sample
13
etc/freeswitch/conf/autoload_configs/console.conf.xml.sample
14
etc/freeswitch/conf/autoload_configs/console.conf.xml.sample
15
etc/freeswitch/conf/autoload_configs/db.conf.xml.sample
14
etc/freeswitch/conf/autoload_configs/dialplan_directory.conf.xml.sample
16
etc/freeswitch/conf/autoload_configs/dialplan_directory.conf.xml.sample
15
etc/freeswitch/conf/autoload_configs/dingaling.conf.xml.sample
17
etc/freeswitch/conf/autoload_configs/dingaling.conf.xml.sample
16
etc/freeswitch/conf/autoload_configs/directory.conf.xml.sample
18
etc/freeswitch/conf/autoload_configs/directory.conf.xml.sample
Lines 22-31 Link Here
22
etc/freeswitch/conf/autoload_configs/event_socket.conf.xml.sample
24
etc/freeswitch/conf/autoload_configs/event_socket.conf.xml.sample
23
etc/freeswitch/conf/autoload_configs/fax.conf.xml.sample
25
etc/freeswitch/conf/autoload_configs/fax.conf.xml.sample
24
etc/freeswitch/conf/autoload_configs/fifo.conf.xml.sample
26
etc/freeswitch/conf/autoload_configs/fifo.conf.xml.sample
27
%%WITH_MODFREETDM%%etc/freeswitch/conf/autoload_configs/freetdm.conf.xml.sample
28
etc/freeswitch/conf/autoload_configs/hash.conf.xml.sample
25
etc/freeswitch/conf/autoload_configs/ivr.conf.xml.sample
29
etc/freeswitch/conf/autoload_configs/ivr.conf.xml.sample
26
etc/freeswitch/conf/autoload_configs/java.conf.xml.sample
30
etc/freeswitch/conf/autoload_configs/java.conf.xml.sample
27
etc/freeswitch/conf/autoload_configs/lcr.conf.xml.sample
31
etc/freeswitch/conf/autoload_configs/lcr.conf.xml.sample
28
etc/freeswitch/conf/autoload_configs/limit.conf.xml.sample
29
etc/freeswitch/conf/autoload_configs/local_stream.conf.xml.sample
32
etc/freeswitch/conf/autoload_configs/local_stream.conf.xml.sample
30
etc/freeswitch/conf/autoload_configs/logfile.conf.xml.sample
33
etc/freeswitch/conf/autoload_configs/logfile.conf.xml.sample
31
etc/freeswitch/conf/autoload_configs/lua.conf.xml.sample
34
etc/freeswitch/conf/autoload_configs/lua.conf.xml.sample
Lines 33-49 Link Here
33
etc/freeswitch/conf/autoload_configs/modules.conf.xml.sample
36
etc/freeswitch/conf/autoload_configs/modules.conf.xml.sample
34
etc/freeswitch/conf/autoload_configs/nibblebill.conf.xml.sample
37
etc/freeswitch/conf/autoload_configs/nibblebill.conf.xml.sample
35
etc/freeswitch/conf/autoload_configs/opal.conf.xml.sample
38
etc/freeswitch/conf/autoload_configs/opal.conf.xml.sample
36
%%WITH_MODOPENZAP%%etc/freeswitch/conf/autoload_configs/openzap.conf.xml.sample
39
etc/freeswitch/conf/autoload_configs/osp.conf.xml.sample
37
etc/freeswitch/conf/autoload_configs/perl.conf.xml.sample
40
etc/freeswitch/conf/autoload_configs/perl.conf.xml.sample
38
etc/freeswitch/conf/autoload_configs/pocketsphinx.conf.xml.sample
41
etc/freeswitch/conf/autoload_configs/pocketsphinx.conf.xml.sample
39
etc/freeswitch/conf/autoload_configs/portaudio.conf.xml.sample
42
etc/freeswitch/conf/autoload_configs/portaudio.conf.xml.sample
40
etc/freeswitch/conf/autoload_configs/post_load_modules.conf.xml.sample
43
etc/freeswitch/conf/autoload_configs/post_load_modules.conf.xml.sample
41
etc/freeswitch/conf/autoload_configs/python.conf.xml.sample
44
etc/freeswitch/conf/autoload_configs/python.conf.xml.sample
45
etc/freeswitch/conf/autoload_configs/redis.conf.xml.sample
42
etc/freeswitch/conf/autoload_configs/rss.conf.xml.sample
46
etc/freeswitch/conf/autoload_configs/rss.conf.xml.sample
43
etc/freeswitch/conf/autoload_configs/sangoma_codec.conf.xml.sample
47
etc/freeswitch/conf/autoload_configs/sangoma_codec.conf.xml.sample
44
etc/freeswitch/conf/autoload_configs/shout.conf.xml.sample
48
etc/freeswitch/conf/autoload_configs/shout.conf.xml.sample
45
etc/freeswitch/conf/autoload_configs/skinny.conf.xml.sample
49
etc/freeswitch/conf/autoload_configs/skinny.conf.xml.sample
46
etc/freeswitch/conf/autoload_configs/sofia.conf.xml.sample
50
etc/freeswitch/conf/autoload_configs/sofia.conf.xml.sample
51
etc/freeswitch/conf/autoload_configs/spandsp.conf.xml.sample
47
etc/freeswitch/conf/autoload_configs/spidermonkey.conf.xml.sample
52
etc/freeswitch/conf/autoload_configs/spidermonkey.conf.xml.sample
48
etc/freeswitch/conf/autoload_configs/switch.conf.xml.sample
53
etc/freeswitch/conf/autoload_configs/switch.conf.xml.sample
49
etc/freeswitch/conf/autoload_configs/syslog.conf.xml.sample
54
etc/freeswitch/conf/autoload_configs/syslog.conf.xml.sample
Lines 59-68 Link Here
59
etc/freeswitch/conf/dialplan/default.xml.sample
64
etc/freeswitch/conf/dialplan/default.xml.sample
60
etc/freeswitch/conf/dialplan/default/00_pizza_demo.xml.sample
65
etc/freeswitch/conf/dialplan/default/00_pizza_demo.xml.sample
61
etc/freeswitch/conf/dialplan/default/01_example.com.xml.sample
66
etc/freeswitch/conf/dialplan/default/01_example.com.xml.sample
62
etc/freeswitch/conf/dialplan/default/99999_enum.xml.sample
63
etc/freeswitch/conf/dialplan/features.xml.sample
67
etc/freeswitch/conf/dialplan/features.xml.sample
64
etc/freeswitch/conf/dialplan/public.xml.sample
68
etc/freeswitch/conf/dialplan/public.xml.sample
65
etc/freeswitch/conf/dialplan/public/00_inbound_did.xml.sample
69
etc/freeswitch/conf/dialplan/public/00_inbound_did.xml.sample
70
etc/freeswitch/conf/dialplan/skinny-patterns.xml.sample
71
etc/freeswitch/conf/dialplan/skinny-patterns/20-Demo.xml.sample
72
etc/freeswitch/conf/dialplan/skinny-patterns/20-Local_extension.xml.sample
73
etc/freeswitch/conf/dialplan/skinny-patterns/90-External.xml.sample
74
etc/freeswitch/conf/dialplan/skinny-patterns/99-Default_Drop.xml.sample
66
etc/freeswitch/conf/directory/default.xml.sample
75
etc/freeswitch/conf/directory/default.xml.sample
67
%%WITH_EXTENSIONS%%etc/freeswitch/conf/directory/default/1000.xml.sample
76
%%WITH_EXTENSIONS%%etc/freeswitch/conf/directory/default/1000.xml.sample
68
%%WITH_EXTENSIONS%%etc/freeswitch/conf/directory/default/1001.xml.sample
77
%%WITH_EXTENSIONS%%etc/freeswitch/conf/directory/default/1001.xml.sample
Lines 87-94 Link Here
87
%%WITH_EXTENSIONS%%etc/freeswitch/conf/directory/default/brian.xml.sample
96
%%WITH_EXTENSIONS%%etc/freeswitch/conf/directory/default/brian.xml.sample
88
%%WITH_EXTENSIONS%%etc/freeswitch/conf/directory/default/default.xml.sample
97
%%WITH_EXTENSIONS%%etc/freeswitch/conf/directory/default/default.xml.sample
89
%%WITH_EXTENSIONS%%etc/freeswitch/conf/directory/default/example.com.xml.sample
98
%%WITH_EXTENSIONS%%etc/freeswitch/conf/directory/default/example.com.xml.sample
99
%%WITH_EXTENSIONS%%etc/freeswitch/conf/directory/default/skinny-example.xml.sample
90
etc/freeswitch/conf/extensions.conf.sample
100
etc/freeswitch/conf/extensions.conf.sample
91
etc/freeswitch/conf/freeswitch.xml.sample
101
etc/freeswitch/conf/freeswitch.xml.sample
102
%%WITH_MODFREETDM%%etc/freeswitch/conf/freetdm.conf.sample
92
etc/freeswitch/conf/fur_elise.ttml.sample
103
etc/freeswitch/conf/fur_elise.ttml.sample
93
etc/freeswitch/conf/ivr_menus/demo_ivr.xml.sample
104
etc/freeswitch/conf/ivr_menus/demo_ivr.xml.sample
94
etc/freeswitch/conf/jingle_profiles/client.xml.sample
105
etc/freeswitch/conf/jingle_profiles/client.xml.sample
Lines 115-122 Link Here
115
etc/freeswitch/conf/lang/ru/ru.xml.sample
126
etc/freeswitch/conf/lang/ru/ru.xml.sample
116
etc/freeswitch/conf/lang/ru/vm/sounds.xml.sample
127
etc/freeswitch/conf/lang/ru/vm/sounds.xml.sample
117
etc/freeswitch/conf/lang/ru/vm/tts.xml.sample
128
etc/freeswitch/conf/lang/ru/vm/tts.xml.sample
118
%%WITH_MODOPENZAP%%etc/freeswitch/conf/m3ua.conf.sample
129
%%WITH_MODFREETDM%%etc/freeswitch/conf/m3ua.conf.sample
119
etc/freeswitch/conf/mime.types.sample
130
%%WITH_MODFREETDM%%etc/freeswitch/conf/mime.types.sample
120
etc/freeswitch/conf/mrcp_profiles/loquendo-7-mrcp-v2.xml.sample
131
etc/freeswitch/conf/mrcp_profiles/loquendo-7-mrcp-v2.xml.sample
121
etc/freeswitch/conf/mrcp_profiles/nuance-1.0.0-mrcp-v1.xml.sample
132
etc/freeswitch/conf/mrcp_profiles/nuance-1.0.0-mrcp-v1.xml.sample
122
etc/freeswitch/conf/mrcp_profiles/nuance-5.0-mrcp-v1.xml.sample
133
etc/freeswitch/conf/mrcp_profiles/nuance-5.0-mrcp-v1.xml.sample
Lines 124-131 Link Here
124
etc/freeswitch/conf/mrcp_profiles/unimrcpserver-mrcp-v1.xml.sample
135
etc/freeswitch/conf/mrcp_profiles/unimrcpserver-mrcp-v1.xml.sample
125
etc/freeswitch/conf/mrcp_profiles/voxeo-prophecy-8.0-mrcp-v1.xml.sample
136
etc/freeswitch/conf/mrcp_profiles/voxeo-prophecy-8.0-mrcp-v1.xml.sample
126
etc/freeswitch/conf/notify-voicemail.tpl.sample
137
etc/freeswitch/conf/notify-voicemail.tpl.sample
127
%%WITH_MODOPENZAP%%etc/freeswitch/conf/openzap.conf.sample
138
%%WITH_MODFREETDM%%etc/freeswitch/conf/pika.conf.sample
128
%%WITH_MODOPENZAP%%etc/freeswitch/conf/pika.conf.sample
129
etc/freeswitch/conf/sip_profiles/external.xml.sample
139
etc/freeswitch/conf/sip_profiles/external.xml.sample
130
etc/freeswitch/conf/sip_profiles/external/example.xml.sample
140
etc/freeswitch/conf/sip_profiles/external/example.xml.sample
131
etc/freeswitch/conf/sip_profiles/internal-ipv6.xml.sample
141
etc/freeswitch/conf/sip_profiles/internal-ipv6.xml.sample
Lines 133-144 Link Here
133
etc/freeswitch/conf/sip_profiles/internal/example.xml.sample
143
etc/freeswitch/conf/sip_profiles/internal/example.xml.sample
134
etc/freeswitch/conf/skinny_profiles/internal.xml.sample
144
etc/freeswitch/conf/skinny_profiles/internal.xml.sample
135
etc/freeswitch/conf/tetris.ttml.sample
145
etc/freeswitch/conf/tetris.ttml.sample
136
%%WITH_MODOPENZAP%%etc/freeswitch/conf/tones.conf.sample
146
%%WITH_MODFREETDM%%etc/freeswitch/conf/tones.conf.sample
137
etc/freeswitch/conf/vars.xml.sample
147
etc/freeswitch/conf/vars.xml.sample
138
etc/freeswitch/conf/voicemail.tpl.sample
148
etc/freeswitch/conf/voicemail.tpl.sample
139
%%WITH_MODOPENZAP%%etc/freeswitch/conf/wanpipe.conf.sample
149
%%WITH_MODFREETDM%%etc/freeswitch/conf/wanpipe.conf.sample
140
etc/freeswitch/conf/web-vm.tpl.sample
150
etc/freeswitch/conf/web-vm.tpl.sample
141
%%WITH_MODOPENZAP%%etc/freeswitch/conf/zt.conf.sample
151
%%WITH_MODFREETDM%%etc/freeswitch/conf/zt.conf.sample
142
@exec for i in $(find %D/etc/freeswitch/conf/ -type f -name *.sample); do if [ ! -f ${i%.sample} ]; then cp $i ${i%.sample}; fi; done
152
@exec for i in $(find %D/etc/freeswitch/conf/ -type f -name *.sample); do if [ ! -f ${i%.sample} ]; then cp $i ${i%.sample}; fi; done
143
%%WITH_MODPOCKETSPHINX%%etc/freeswitch/grammar/default.dic
153
%%WITH_MODPOCKETSPHINX%%etc/freeswitch/grammar/default.dic
144
%%WITH_MODPOCKETSPHINX%%etc/freeswitch/grammar/model/communicator/COPYING
154
%%WITH_MODPOCKETSPHINX%%etc/freeswitch/grammar/model/communicator/COPYING
Lines 160-175 Link Here
160
%%WITH_MODPOCKETSPHINX%%etc/freeswitch/grammar/model/wsj1/sendump
170
%%WITH_MODPOCKETSPHINX%%etc/freeswitch/grammar/model/wsj1/sendump
161
%%WITH_MODPOCKETSPHINX%%etc/freeswitch/grammar/model/wsj1/transition_matrices
171
%%WITH_MODPOCKETSPHINX%%etc/freeswitch/grammar/model/wsj1/transition_matrices
162
%%WITH_MODPOCKETSPHINX%%etc/freeswitch/grammar/model/wsj1/variances
172
%%WITH_MODPOCKETSPHINX%%etc/freeswitch/grammar/model/wsj1/variances
163
%%WITH_MODOPENZAP%%include/freeswitch/fsk.h
164
%%WITH_MODOPENZAP%%include/freeswitch/g711.h
165
%%WITH_MODOPENZAP%%include/freeswitch/hashtable.h
166
%%WITH_MODOPENZAP%%include/freeswitch/hashtable_itr.h
167
%%WITH_MODOPENZAP%%include/freeswitch/hashtable_private.h
168
include/freeswitch/libteletone.h
173
include/freeswitch/libteletone.h
169
include/freeswitch/libteletone_detect.h
174
include/freeswitch/libteletone_detect.h
170
include/freeswitch/libteletone_generate.h
175
include/freeswitch/libteletone_generate.h
171
%%WITH_MODOPENZAP%%include/freeswitch/openzap.h
172
%%WITH_MODOPENZAP%%include/freeswitch/sangoma_tdm_api.h
173
include/freeswitch/switch.h
176
include/freeswitch/switch.h
174
include/freeswitch/switch_am_config.h
177
include/freeswitch/switch_am_config.h
175
include/freeswitch/switch_apr.h
178
include/freeswitch/switch_apr.h
Lines 186-191 Link Here
186
include/freeswitch/switch_event.h
189
include/freeswitch/switch_event.h
187
include/freeswitch/switch_frame.h
190
include/freeswitch/switch_frame.h
188
include/freeswitch/switch_ivr.h
191
include/freeswitch/switch_ivr.h
192
include/freeswitch/switch_json.h
193
include/freeswitch/switch_limit.h
189
include/freeswitch/switch_loadable_module.h
194
include/freeswitch/switch_loadable_module.h
190
include/freeswitch/switch_log.h
195
include/freeswitch/switch_log.h
191
include/freeswitch/switch_module_interfaces.h
196
include/freeswitch/switch_module_interfaces.h
Lines 195-200 Link Here
195
include/freeswitch/switch_platform.h
200
include/freeswitch/switch_platform.h
196
include/freeswitch/switch_regex.h
201
include/freeswitch/switch_regex.h
197
include/freeswitch/switch_resample.h
202
include/freeswitch/switch_resample.h
203
include/freeswitch/switch_rtcp_frame.h
198
include/freeswitch/switch_rtp.h
204
include/freeswitch/switch_rtp.h
199
include/freeswitch/switch_scheduler.h
205
include/freeswitch/switch_scheduler.h
200
include/freeswitch/switch_stun.h
206
include/freeswitch/switch_stun.h
Lines 202-238 Link Here
202
include/freeswitch/switch_utils.h
208
include/freeswitch/switch_utils.h
203
include/freeswitch/switch_xml.h
209
include/freeswitch/switch_xml.h
204
include/freeswitch/switch_xml_config.h
210
include/freeswitch/switch_xml_config.h
205
%%WITH_MODOPENZAP%%include/freeswitch/uart.h
211
%%WITH_MODFREETDM%%include/freetdm.h
206
%%WITH_MODOPENZAP%%include/freeswitch/zap_buffer.h
212
%%WITH_MODFREETDM%%include/ftdm_declare.h
207
%%WITH_MODOPENZAP%%include/freeswitch/zap_config.h
213
%%WITH_MODFREETDM%%include/ftdm_dso.h
208
%%WITH_MODOPENZAP%%include/freeswitch/zap_cpu_monitor.h
214
%%WITH_MODFREETDM%%include/ftdm_os.h
209
%%WITH_MODOPENZAP%%include/freeswitch/zap_dso.h
215
%%WITH_MODFREETDM%%include/ftdm_threadmutex.h
210
%%WITH_MODOPENZAP%%include/freeswitch/zap_threadmutex.h
211
%%WITH_MODOPENZAP%%include/freeswitch/zap_types.h
212
lib/freeswitch/lib/libfreeswitch.a
216
lib/freeswitch/lib/libfreeswitch.a
213
lib/freeswitch/lib/libfreeswitch.la
217
lib/freeswitch/lib/libfreeswitch.la
214
lib/freeswitch/lib/libfreeswitch.so
218
lib/freeswitch/lib/libfreeswitch.so
215
lib/freeswitch/lib/libfreeswitch.so.1
219
lib/freeswitch/lib/libfreeswitch.so.1
220
%%WITH_MODFREETDM%%lib/freeswitch/lib/libfreetdm.a
221
%%WITH_MODFREETDM%%lib/freeswitch/lib/libfreetdm.la
222
%%WITH_MODFREETDM%%lib/freeswitch/lib/libfreetdm.so
223
%%WITH_MODFREETDM%%lib/freeswitch/lib/libfreetdm.so.1
216
lib/freeswitch/lib/libjs.a
224
lib/freeswitch/lib/libjs.a
217
lib/freeswitch/lib/libjs.la
225
lib/freeswitch/lib/libjs.la
218
lib/freeswitch/lib/libjs.so
226
lib/freeswitch/lib/libjs.so
219
lib/freeswitch/lib/libjs.so.1
227
lib/freeswitch/lib/libjs.so.1
220
lib/freeswitch/lib/libnspr4.a
228
lib/freeswitch/lib/libnspr4.a
221
lib/freeswitch/lib/libnspr4.so.1
229
lib/freeswitch/lib/libnspr4.so.1
222
%%WITH_MODOPENZAP%%lib/freeswitch/lib/libopenzap.a
223
%%WITH_MODOPENZAP%%lib/freeswitch/lib/libopenzap.la
224
%%WITH_MODOPENZAP%%lib/freeswitch/lib/libopenzap.so
225
%%WITH_MODOPENZAP%%lib/freeswitch/lib/libopenzap.so.1
226
lib/freeswitch/lib/libplc4.a
230
lib/freeswitch/lib/libplc4.a
227
lib/freeswitch/lib/libplc4.so.1
231
lib/freeswitch/lib/libplc4.so.1
228
lib/freeswitch/lib/libplds4.a
232
lib/freeswitch/lib/libplds4.a
229
lib/freeswitch/lib/libplds4.so.1
233
lib/freeswitch/lib/libplds4.so.1
234
%%WITH_MODFREETDM%%lib/freeswitch/mod/ftmod_analog.la
235
%%WITH_MODFREETDM%%lib/freeswitch/mod/ftmod_analog.so
236
%%WITH_MODFREETDM%%lib/freeswitch/mod/ftmod_analog_em.la
237
%%WITH_MODFREETDM%%lib/freeswitch/mod/ftmod_analog_em.so
238
%%WITH_MODFREETDM%%lib/freeswitch/mod/ftmod_libpri.la
239
%%WITH_MODFREETDM%%lib/freeswitch/mod/ftmod_libpri.so
240
%%WITH_MODFREETDM%%lib/freeswitch/mod/ftmod_sangoma_boost.la
241
%%WITH_MODFREETDM%%lib/freeswitch/mod/ftmod_sangoma_boost.so
242
%%WITH_MODFREETDM%%lib/freeswitch/mod/ftmod_skel.a
243
%%WITH_MODFREETDM%%lib/freeswitch/mod/ftmod_skel.la
244
%%WITH_MODFREETDM%%lib/freeswitch/mod/ftmod_skel.so
245
%%WITH_MODFREETDM%%lib/freeswitch/mod/ftmod_zt.la
246
%%WITH_MODFREETDM%%lib/freeswitch/mod/ftmod_zt.so
230
lib/freeswitch/mod/mod_amr.la
247
lib/freeswitch/mod/mod_amr.la
231
lib/freeswitch/mod/mod_amr.so
248
lib/freeswitch/mod/mod_amr.so
232
%%WITH_MODAMRWB%%lib/freeswitch/mod/mod_amrwb.la
249
%%WITH_MODAMRWB%%lib/freeswitch/mod/mod_amrwb.la
233
%%WITH_MODAMRWB%%lib/freeswitch/mod/mod_amrwb.so
250
%%WITH_MODAMRWB%%lib/freeswitch/mod/mod_amrwb.so
251
%%WITH_MODAVMD%%lib/freeswitch/mod/mod_avmd.la
252
%%WITH_MODAVMD%%lib/freeswitch/mod/mod_avmd.so
234
lib/freeswitch/mod/mod_bv.la
253
lib/freeswitch/mod/mod_bv.la
235
lib/freeswitch/mod/mod_bv.so
254
lib/freeswitch/mod/mod_bv.so
255
%%WITH_MODCALLCENTER%%lib/freeswitch/mod/mod_callcenter.la
256
%%WITH_MODCALLCENTER%%lib/freeswitch/mod/mod_callcenter.so
236
lib/freeswitch/mod/mod_cdr_csv.la
257
lib/freeswitch/mod/mod_cdr_csv.la
237
lib/freeswitch/mod/mod_cdr_csv.so
258
lib/freeswitch/mod/mod_cdr_csv.so
238
%%WITH_MODCELT%%lib/freeswitch/mod/mod_celt.la
259
%%WITH_MODCELT%%lib/freeswitch/mod/mod_celt.la
Lines 241-246 Link Here
241
%%WITH_MODCIDLOOKUP%%lib/freeswitch/mod/mod_cidlookup.so
262
%%WITH_MODCIDLOOKUP%%lib/freeswitch/mod/mod_cidlookup.so
242
lib/freeswitch/mod/mod_cluechoo.la
263
lib/freeswitch/mod/mod_cluechoo.la
243
lib/freeswitch/mod/mod_cluechoo.so
264
lib/freeswitch/mod/mod_cluechoo.so
265
%%WITH_MODCODEC2%%lib/freeswitch/mod/mod_codec2.la
266
%%WITH_MODCODEC2%%lib/freeswitch/mod/mod_codec2.so
244
lib/freeswitch/mod/mod_commands.la
267
lib/freeswitch/mod/mod_commands.la
245
lib/freeswitch/mod/mod_commands.so
268
lib/freeswitch/mod/mod_commands.so
246
lib/freeswitch/mod/mod_conference.la
269
lib/freeswitch/mod/mod_conference.la
Lines 249-254 Link Here
249
lib/freeswitch/mod/mod_console.so
272
lib/freeswitch/mod/mod_console.so
250
%%WITH_MODCURL%%lib/freeswitch/mod/mod_curl.la
273
%%WITH_MODCURL%%lib/freeswitch/mod/mod_curl.la
251
%%WITH_MODCURL%%lib/freeswitch/mod/mod_curl.so
274
%%WITH_MODCURL%%lib/freeswitch/mod/mod_curl.so
275
lib/freeswitch/mod/mod_db.la
276
lib/freeswitch/mod/mod_db.so
252
lib/freeswitch/mod/mod_dialplan_asterisk.la
277
lib/freeswitch/mod/mod_dialplan_asterisk.la
253
lib/freeswitch/mod/mod_dialplan_asterisk.so
278
lib/freeswitch/mod/mod_dialplan_asterisk.so
254
%%WITH_MODDPDIRECTORY%%lib/freeswitch/mod/mod_dialplan_directory.la
279
%%WITH_MODDPDIRECTORY%%lib/freeswitch/mod/mod_dialplan_directory.la
Lines 277-290 Link Here
277
lib/freeswitch/mod/mod_event_socket.so
302
lib/freeswitch/mod/mod_event_socket.so
278
lib/freeswitch/mod/mod_expr.la
303
lib/freeswitch/mod/mod_expr.la
279
lib/freeswitch/mod/mod_expr.so
304
lib/freeswitch/mod/mod_expr.so
280
%%WITH_MODFAX%%lib/freeswitch/mod/mod_fax.la
281
%%WITH_MODFAX%%lib/freeswitch/mod/mod_fax.so
282
lib/freeswitch/mod/mod_fifo.la
305
lib/freeswitch/mod/mod_fifo.la
283
lib/freeswitch/mod/mod_fifo.so
306
lib/freeswitch/mod/mod_fifo.so
284
lib/freeswitch/mod/mod_file_string.la
307
lib/freeswitch/mod/mod_file_string.la
285
lib/freeswitch/mod/mod_file_string.so
308
lib/freeswitch/mod/mod_file_string.so
286
%%WITH_MODFLITE%%lib/freeswitch/mod/mod_flite.la
309
%%WITH_MODFLITE%%lib/freeswitch/mod/mod_flite.la
287
%%WITH_MODFLITE%%lib/freeswitch/mod/mod_flite.so
310
%%WITH_MODFLITE%%lib/freeswitch/mod/mod_flite.so
311
%%WITH_MODFREETDM%%lib/freeswitch/mod/mod_freetdm.la
312
%%WITH_MODFREETDM%%lib/freeswitch/mod/mod_freetdm.so
288
lib/freeswitch/mod/mod_fsv.la
313
lib/freeswitch/mod/mod_fsv.la
289
lib/freeswitch/mod/mod_fsv.so
314
lib/freeswitch/mod/mod_fsv.so
290
lib/freeswitch/mod/mod_g723_1.la
315
lib/freeswitch/mod/mod_g723_1.la
Lines 293-304 Link Here
293
lib/freeswitch/mod/mod_g729.so
318
lib/freeswitch/mod/mod_g729.so
294
lib/freeswitch/mod/mod_h26x.la
319
lib/freeswitch/mod/mod_h26x.la
295
lib/freeswitch/mod/mod_h26x.so
320
lib/freeswitch/mod/mod_h26x.so
321
lib/freeswitch/mod/mod_hash.la
322
lib/freeswitch/mod/mod_hash.so
296
lib/freeswitch/mod/mod_ilbc.la
323
lib/freeswitch/mod/mod_ilbc.la
297
lib/freeswitch/mod/mod_ilbc.so
324
lib/freeswitch/mod/mod_ilbc.so
298
%%WITH_MODLCR%%lib/freeswitch/mod/mod_lcr.la
325
%%WITH_MODLCR%%lib/freeswitch/mod/mod_lcr.la
299
%%WITH_MODLCR%%lib/freeswitch/mod/mod_lcr.so
326
%%WITH_MODLCR%%lib/freeswitch/mod/mod_lcr.so
300
lib/freeswitch/mod/mod_limit.la
301
lib/freeswitch/mod/mod_limit.so
302
lib/freeswitch/mod/mod_local_stream.la
327
lib/freeswitch/mod/mod_local_stream.la
303
lib/freeswitch/mod/mod_local_stream.so
328
lib/freeswitch/mod/mod_local_stream.so
304
lib/freeswitch/mod/mod_logfile.la
329
lib/freeswitch/mod/mod_logfile.la
Lines 313-320 Link Here
313
lib/freeswitch/mod/mod_native_file.so
338
lib/freeswitch/mod/mod_native_file.so
314
%%WITH_MODNIBBLEBILL%%lib/freeswitch/mod/mod_nibblebill.la
339
%%WITH_MODNIBBLEBILL%%lib/freeswitch/mod/mod_nibblebill.la
315
%%WITH_MODNIBBLEBILL%%lib/freeswitch/mod/mod_nibblebill.so
340
%%WITH_MODNIBBLEBILL%%lib/freeswitch/mod/mod_nibblebill.so
316
%%WITH_MODOPENZAP%%lib/freeswitch/mod/mod_openzap.la
317
%%WITH_MODOPENZAP%%lib/freeswitch/mod/mod_openzap.so
318
%%WITH_MODPERL%%lib/freeswitch/mod/mod_perl.la
341
%%WITH_MODPERL%%lib/freeswitch/mod/mod_perl.la
319
%%WITH_MODPERL%%lib/freeswitch/mod/mod_perl.so
342
%%WITH_MODPERL%%lib/freeswitch/mod/mod_perl.so
320
%%WITH_MODPOCKETSPHINX%%lib/freeswitch/mod/mod_pocketsphinx.la
343
%%WITH_MODPOCKETSPHINX%%lib/freeswitch/mod/mod_pocketsphinx.la
Lines 325-331 Link Here
325
%%WITH_MODPASTREAM%%lib/freeswitch/mod/mod_portaudio_stream.so
348
%%WITH_MODPASTREAM%%lib/freeswitch/mod/mod_portaudio_stream.so
326
%%WITH_MODPYTHON%%lib/freeswitch/mod/mod_python.la
349
%%WITH_MODPYTHON%%lib/freeswitch/mod/mod_python.la
327
%%WITH_MODPYTHON%%lib/freeswitch/mod/mod_python.so
350
%%WITH_MODPYTHON%%lib/freeswitch/mod/mod_python.so
328
%%WITH_MODPYTHON%%%%PYTHON_SITELIBDIR%%/freeswitch.py
329
%%WITH_MODRSS%%lib/freeswitch/mod/mod_rss.la
351
%%WITH_MODRSS%%lib/freeswitch/mod/mod_rss.la
330
%%WITH_MODRSS%%lib/freeswitch/mod/mod_rss.so
352
%%WITH_MODRSS%%lib/freeswitch/mod/mod_rss.so
331
%%WITH_MODSAYDE%%lib/freeswitch/mod/mod_say_de.la
353
%%WITH_MODSAYDE%%lib/freeswitch/mod/mod_say_de.la
Lines 368-373 Link Here
368
lib/freeswitch/mod/mod_sofia.so
390
lib/freeswitch/mod/mod_sofia.so
369
%%WITH_MODSOUNDTOUCH%%lib/freeswitch/mod/mod_soundtouch.la
391
%%WITH_MODSOUNDTOUCH%%lib/freeswitch/mod/mod_soundtouch.la
370
%%WITH_MODSOUNDTOUCH%%lib/freeswitch/mod/mod_soundtouch.so
392
%%WITH_MODSOUNDTOUCH%%lib/freeswitch/mod/mod_soundtouch.so
393
%%WITH_MODFAX%%lib/freeswitch/mod/mod_spandsp.la
394
%%WITH_MODFAX%%lib/freeswitch/mod/mod_spandsp.so
371
lib/freeswitch/mod/mod_speex.la
395
lib/freeswitch/mod/mod_speex.la
372
lib/freeswitch/mod/mod_speex.so
396
lib/freeswitch/mod/mod_speex.so
373
lib/freeswitch/mod/mod_spidermonkey.la
397
lib/freeswitch/mod/mod_spidermonkey.la
Lines 398-426 Link Here
398
%%WITH_MODVMD%%lib/freeswitch/mod/mod_vmd.so
422
%%WITH_MODVMD%%lib/freeswitch/mod/mod_vmd.so
399
lib/freeswitch/mod/mod_voicemail.la
423
lib/freeswitch/mod/mod_voicemail.la
400
lib/freeswitch/mod/mod_voicemail.so
424
lib/freeswitch/mod/mod_voicemail.so
401
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_analog.a
402
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_analog.la
403
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_analog.so
404
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_analog_em.a
405
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_analog_em.la
406
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_analog_em.so
407
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_isdn.a
408
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_isdn.la
409
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_isdn.so
410
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_libpri.a
411
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_libpri.la
412
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_libpri.so
413
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_sangoma_boost.a
414
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_sangoma_boost.la
415
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_sangoma_boost.so
416
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_skel.a
417
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_skel.la
418
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_skel.so
419
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_zt.a
420
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_zt.la
421
%%WITH_MODOPENZAP%%lib/freeswitch/mod/ozmod_zt.so
422
lib/freeswitch/mod/mod_voipcodecs.la
423
lib/freeswitch/mod/mod_voipcodecs.so
424
lib/freeswitch/mod/mod_xml_cdr.la
425
lib/freeswitch/mod/mod_xml_cdr.la
425
lib/freeswitch/mod/mod_xml_cdr.so
426
lib/freeswitch/mod/mod_xml_cdr.so
426
%%WITH_MODXMLCURL%%lib/freeswitch/mod/mod_xml_curl.la
427
%%WITH_MODXMLCURL%%lib/freeswitch/mod/mod_xml_curl.la
Lines 428-433 Link Here
428
lib/freeswitch/mod/mod_xml_rpc.la
429
lib/freeswitch/mod/mod_xml_rpc.la
429
lib/freeswitch/mod/mod_xml_rpc.so
430
lib/freeswitch/mod/mod_xml_rpc.so
430
libdata/pkgconfig/freeswitch.pc
431
libdata/pkgconfig/freeswitch.pc
432
%%WITH_MODFREETDM%%libdata/pkgconfig/freetdm.pc
431
%%WITH_MODPERL%%perl/freeswitch.la
433
%%WITH_MODPERL%%perl/freeswitch.la
432
%%WITH_MODPERL%%perl/freeswitch.pm
434
%%WITH_MODPERL%%perl/freeswitch.pm
433
%%WITH_MODPERL%%perl/freeswitch.so
435
%%WITH_MODPERL%%perl/freeswitch.so
Lines 436-443 Link Here
436
www/freeswitch/htdocs/slimtest.htm
438
www/freeswitch/htdocs/slimtest.htm
437
@dirrm www/freeswitch/htdocs
439
@dirrm www/freeswitch/htdocs
438
@dirrm www/freeswitch
440
@dirrm www/freeswitch
439
@dirrmtry share/freeswitch/sounds
441
@dirrm share/freeswitch/sounds
440
@dirrmtry share/freeswitch
442
@dirrm share/freeswitch
441
%%WITH_MODPERL%%@dirrm perl
443
%%WITH_MODPERL%%@dirrm perl
442
@dirrm lib/freeswitch/mod
444
@dirrm lib/freeswitch/mod
443
@dirrm lib/freeswitch/lib
445
@dirrm lib/freeswitch/lib
Lines 471-478 Link Here
471
@dirrm etc/freeswitch/conf/lang
473
@dirrm etc/freeswitch/conf/lang
472
@dirrm etc/freeswitch/conf/jingle_profiles
474
@dirrm etc/freeswitch/conf/jingle_profiles
473
@dirrm etc/freeswitch/conf/ivr_menus
475
@dirrm etc/freeswitch/conf/ivr_menus
474
@dirrmtry etc/freeswitch/conf/directory/default
476
@dirrm etc/freeswitch/conf/directory/default
475
@dirrm etc/freeswitch/conf/directory
477
@dirrm etc/freeswitch/conf/directory
478
@dirrm etc/freeswitch/conf/dialplan/skinny-patterns
476
@dirrm etc/freeswitch/conf/dialplan/public
479
@dirrm etc/freeswitch/conf/dialplan/public
477
@dirrm etc/freeswitch/conf/dialplan/default
480
@dirrm etc/freeswitch/conf/dialplan/default
478
@dirrm etc/freeswitch/conf/dialplan
481
@dirrm etc/freeswitch/conf/dialplan
Lines 481-487 Link Here
481
@dirrm etc/freeswitch
484
@dirrm etc/freeswitch
482
@exec mkdir -p %D/etc/freeswitch/scripts
485
@exec mkdir -p %D/etc/freeswitch/scripts
483
@exec mkdir -p %D/share/freeswitch/sounds
486
@exec mkdir -p %D/share/freeswitch/sounds
484
@cwd /var/
487
@cwd /var
485
@dirrm spool/freeswitch/voicemail
488
@dirrm spool/freeswitch/voicemail
486
@dirrm log/freeswitch/xml_cdr
489
@dirrm log/freeswitch/xml_cdr
487
@dirrm log/freeswitch
490
@dirrm log/freeswitch
Lines 494-496 Link Here
494
@exec mkdir -p %D/freeswitch
497
@exec mkdir -p %D/freeswitch
495
@exec mkdir -p %D/freeswitch/recordings
498
@exec mkdir -p %D/freeswitch/recordings
496
@exec mkdir -p %D/db/freeswitch
499
@exec mkdir -p %D/db/freeswitch
500
@exec chown -R freeswitch:freeswitch spool/freeswitch/voicemail
501
@exec chown -R freeswitch:freeswitch log/freeswitch/xml_cdr
502
@exec chown -R freeswitch:freeswitch freeswitch/recordings
503
@exec chown -R freeswitch:freeswitch db/freeswitch
(-)files/freeswitch.in (-2 lines)
Lines 1-7 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
2
3
# $FreeBSD: ports/net/freeswitch-core/files/freeswitch.in,v 1.4 2010/08/11 05:22:11 dougb Exp $
4
#
5
# PROVIDE: freeswitch
3
# PROVIDE: freeswitch
6
# REQUIRE: LOGIN
4
# REQUIRE: LOGIN
7
# KEYWORD: shutdown
5
# KEYWORD: shutdown
(-)files/patch-configure.in (-15 / +40 lines)
Lines 1-16 Link Here
1
--- configure.in	2010-06-22 17:19:37.000000000 -0400
1
--- configure.in
2
+++ configure.in	2010-06-29 12:01:43.000000000 -0400
2
+++ configure.in
3
@@ -44,34 +44,42 @@
3
@@ -38,12 +38,12 @@ AC_ARG_WITH([modinstdir],
4
 AC_SUBST(runtimedir)
4
 AC_SUBST(modulesdir)
5
 AC_DEFINE_UNQUOTED([SWITCH_RUN_DIR],"${runtimedir}",[where to put pidfile to])
5
 AC_DEFINE_UNQUOTED([SWITCH_MOD_DIR],"${modulesdir}",[where to install the modules to])
6
 
6
 
7
-logfiledir="${prefix}/log"
7
-if test "$localstatedir" = "\${prefix}/var" ; then
8
+logfiledir="/var/log/freeswitch"
8
-    rundir="$prefix/run"
9
+if test "${localstatedir}" = "\${prefix}/var" ; then
10
+    rundir="${prefix}/run"
11
     logfiledir="${prefix}/log"
12
 else
13
-    rundir="$localstatedir/run/freeswitch"
14
-    logfiledir="$localstatedir/log/freeswitch"
15
+    rundir="${localstatedir}/run/freeswitch"
16
+    logfiledir="${localstatedir}/log/freeswitch"
17
 fi
18
 # Where to put pidfile
19
 AC_ARG_WITH([rundir],
20
@@ -54,34 +54,34 @@ AC_DEFINE_UNQUOTED([SWITCH_RUN_DIR],"${runtimedir}",[where to put pidfile to])
9
 AC_SUBST(logfiledir)
21
 AC_SUBST(logfiledir)
10
 AC_DEFINE_UNQUOTED([SWITCH_LOG_DIR],"${logfiledir}",[where to put log files])
22
 AC_DEFINE_UNQUOTED([SWITCH_LOG_DIR],"${logfiledir}",[where to put log files])
11
 
23
 
12
-dbdir="${prefix}/db"
24
-dbdir="${prefix}/db"
13
+dbdir="/var/db/freeswitch"
25
+dbdir="${localstatedir}/db/freeswitch"
14
 AC_SUBST(dbdir)
26
 AC_SUBST(dbdir)
15
 AC_DEFINE_UNQUOTED([SWITCH_DB_DIR],"${dbdir}",[where to put db files])
27
 AC_DEFINE_UNQUOTED([SWITCH_DB_DIR],"${dbdir}",[where to put db files])
16
 
28
 
Lines 35-52 Link Here
35
 AC_DEFINE_UNQUOTED([SWITCH_SCRIPT_DIR],"${scriptdir}",[where to put script files])
47
 AC_DEFINE_UNQUOTED([SWITCH_SCRIPT_DIR],"${scriptdir}",[where to put script files])
36
 
48
 
37
-recordingsdir="${prefix}/recordings"
49
-recordingsdir="${prefix}/recordings"
38
+recordingsdir="/var/freeswitch/recordings"
50
+recordingsdir="${localstatedir}/freeswitch/recordings"
39
 AC_SUBST(recordingsdir)
51
 AC_SUBST(recordingsdir)
40
 AC_DEFINE_UNQUOTED([SWITCH_RECORDINGS_DIR],"${recordingsdir}",[where to put recording files])
52
 AC_DEFINE_UNQUOTED([SWITCH_RECORDINGS_DIR],"${recordingsdir}",[where to put recording files])
41
 
53
 
42
+storagedir="/var/freeswitch"
54
 if test "$sysconfdir" = "\${prefix}/etc" ; then
55
-    confdir="$prefix/conf"
56
+    confdir="${prefix}/conf"
57
 else
58
-    confdir="$sysconfdir"
59
+    confdir="${sysconfdir}"
60
 fi
61
 
62
 sysconfdir="$confdir"
63
@@ -89,6 +89,14 @@ sysconfdir="$confdir"
64
 AC_SUBST(confdir)
65
 AC_DEFINE_UNQUOTED([SWITCH_CONF_DIR],"${confdir}",[directory for configuration files])
66
 
67
+storagedir="${localstatedir}/freeswitch"
43
+AC_SUBST(storagedir)
68
+AC_SUBST(storagedir)
44
+AC_DEFINE_UNQUOTED([SWITCH_STORAGE_DIR],"${storagedir}",[where to put extra files])
69
+AC_DEFINE_UNQUOTED([SWITCH_STORAGE_DIR],"${storagedir}",[where to put extra files])
45
+
70
+
46
+voicemaildir="/var/spool/freeswitch/voicemail"
71
+voicemaildir="${localstatedir}/spool/freeswitch/voicemail"
47
+AC_SUBST(voicemaildir)
72
+AC_SUBST(voicemaildir)
48
+AC_DEFINE_UNQUOTED([SWITCH_VOICEMAIL_DIR],"${voicemaildir}",[where to put voicemail])
73
+AC_DEFINE_UNQUOTED([SWITCH_VOICEMAIL_DIR],"${voicemaildir}",[where to put voicemail])
49
+
74
+
50
 if test "$sysconfdir" = "\${prefix}/etc" ; then
75
 AC_SUBST(libdir)
51
     confdir="$prefix/conf"
76
 AC_SUBST(bindir)
52
 else
77
 AC_SUBST(includedir)
(-)files/patch-libs-freetdm-Makefile.am (+9 lines)
Added Link Here
1
--- libs/freetdm/Makefile.am
2
+++ libs/freetdm/Makefile.am
3
@@ -320,5 +320,5 @@ mod_freetdm-clean:
4
 install-data-local:
5
 	$(mkinstalldirs) $(DESTDIR)$(PREFIX)
6
 	$(mkinstalldirs) $(DESTDIR)@confdir@
7
-	@[ -f "$(DESTDIR)@confdir@/freetdm.conf" ] || ( cp conf/*.conf $(DESTDIR)@confdir@)
8
+	@for i in conf/*.conf; do cp $$i $$i.sample; done; cp -f conf/*.conf.sample $(DESTDIR)@confdir@
9
 	@echo FreeTDM Installed
(-)files/patch-libs-freetdm-mod_freetdm-Makefile.in (+12 lines)
Added Link Here
1
--- libs/freetdm/mod_freetdm/Makefile.in
2
+++ libs/freetdm/mod_freetdm/Makefile.in
3
@@ -15,8 +15,7 @@ $(FTLA): $(FT_DIR)/.update
4
 
5
 local_install:
6
 	cd $(FT_DIR) && $(MAKE) install
7
-	[ -f $(DESTDIR)@confdir@/autoload_configs/freetdm.conf.xml ] || cp -f $(FT_DIR)/conf/freetdm.conf.xml  $(DESTDIR)@confdir@/autoload_configs
8
-
9
+	@for i in $(FT_DIR)/conf/*.xml; do cp $$i $$i.sample; done; cp  -f $(FT_DIR)/conf/*.xml.sample $(DESTDIR)@confdir@/autoload_configs
10
 local_clean:
11
 	cd $(FT_DIR) && $(MAKE) clean
12
 
(-)files/patch-libs-freetdm-src-ftmod-ftmod_zt-ftmod_zt.c (+73 lines)
Added Link Here
1
--- libs/freetdm/src/ftmod/ftmod_zt/ftmod_zt.c
2
+++ libs/freetdm/src/ftmod/ftmod_zt/ftmod_zt.c
3
@@ -52,38 +52,38 @@ static struct {
4
  * \brief General IOCTL codes
5
  */
6
 struct ioctl_codes {
7
-    int GET_BLOCKSIZE;
8
-    int SET_BLOCKSIZE;
9
-    int FLUSH;
10
-    int SYNC;
11
-    int GET_PARAMS;
12
-    int SET_PARAMS;
13
-    int HOOK;
14
-    int GETEVENT;
15
-    int IOMUX;
16
-    int SPANSTAT;
17
-    int MAINT;
18
-    int GETCONF;
19
-    int SETCONF;
20
-    int CONFLINK;
21
-    int CONFDIAG;
22
-    int GETGAINS;
23
-    int SETGAINS;
24
-    int SPANCONFIG;
25
-    int CHANCONFIG;
26
-    int SET_BUFINFO;
27
-    int GET_BUFINFO;
28
-    int AUDIOMODE;
29
-    int ECHOCANCEL;
30
-    int HDLCRAWMODE;
31
-    int HDLCFCSMODE;
32
-    int SPECIFY;
33
-    int SETLAW;
34
-    int SETLINEAR;
35
-    int GETCONFMUTE;
36
-    int ECHOTRAIN;
37
-    int SETTXBITS;
38
-    int GETRXBITS;
39
+    long GET_BLOCKSIZE;
40
+    long SET_BLOCKSIZE;
41
+    long FLUSH;
42
+    long SYNC;
43
+    long GET_PARAMS;
44
+    long SET_PARAMS;
45
+    long HOOK;
46
+    long GETEVENT;
47
+    long IOMUX;
48
+    long SPANSTAT;
49
+    long MAINT;
50
+    long GETCONF;
51
+    long SETCONF;
52
+    long CONFLINK;
53
+    long CONFDIAG;
54
+    long GETGAINS;
55
+    long SETGAINS;
56
+    long SPANCONFIG;
57
+    long CHANCONFIG;
58
+    long SET_BUFINFO;
59
+    long GET_BUFINFO;
60
+    long AUDIOMODE;
61
+    long ECHOCANCEL;
62
+    long HDLCRAWMODE;
63
+    long HDLCFCSMODE;
64
+    long SPECIFY;
65
+    long SETLAW;
66
+    long SETLINEAR;
67
+    long GETCONFMUTE;
68
+    long ECHOTRAIN;
69
+    long SETTXBITS;
70
+    long GETRXBITS;
71
 };
72
 
73
 /**
(-)files/patch-libs-openzap-Makefile.am (-18 lines)
Removed Link Here
1
--- libs/openzap/Makefile.am	2010-06-22 17:19:27.000000000 -0400
2
+++ libs/openzap/Makefile.am	2010-06-28 21:10:25.000000000 -0400
3
@@ -34,7 +34,7 @@
4
 
5
 moddir = @modinstdir@
6
 libdir = @libdir@
7
-library_includedir = $(PREFIX)/include
8
+library_includedir = @includedir@
9
 
10
 INCS      = -I$(OZ_SRCDIR)/$(SRC)/include -I$(OZ_SRCDIR)/$(SRC)/isdn/include
11
 if HAVE_SCTP
12
@@ -268,5 +268,5 @@
13
 install-data-local:
14
 	$(mkinstalldirs) $(DESTDIR)$(PREFIX)
15
 	$(mkinstalldirs) $(DESTDIR)@confdir@
16
-	@[ -f "$(DESTDIR)@confdir@/openzap.conf" ] || ( cp conf/*.conf $(DESTDIR)@confdir@)
17
+	@for i in conf/*.conf; do cp $$i $$i.sample; done; cp -f conf/*.conf.sample $(DESTDIR)@confdir@
18
 	@echo OpenZAP Installed
(-)files/patch-libs-openzap-mod_openzap-Makefile.in (-11 lines)
Removed Link Here
1
--- libs/openzap/mod_openzap/Makefile.in	2010-06-22 17:19:26.000000000 -0400
2
+++ libs/openzap/mod_openzap/Makefile.in	2010-06-25 12:31:28.000000000 -0400
3
@@ -15,7 +15,7 @@
4
 
5
 local_install:
6
 	cd $(OZ_DIR) && $(MAKE) install
7
-	[ -f $(DESTDIR)@confdir@/autoload_configs/openzap.conf.xml ] || cp -f $(OZ_DIR)/conf/openzap.conf.xml  $(DESTDIR)@confdir@/autoload_configs
8
+	@for i in $(OZ_DIR)/conf/*.xml; do cp $$i $$i.sample; done; cp  -f $(OZ_DIR)/conf/*.xml.sample $(DESTDIR)@confdir@/autoload_configs
9
 
10
 local_clean:
11
 	cd $(OZ_DIR) && $(MAKE) clean
(-)files/patch-libs-openzap-src-ozmod-ozmod_zt-ozmod_zt.c (-73 lines)
Removed Link Here
1
--- libs/openzap/src/ozmod/ozmod_zt/ozmod_zt.c.orig	2010-04-26 14:17:55.000000000 -0700
2
+++ libs/openzap/src/ozmod/ozmod_zt/ozmod_zt.c	2010-04-26 14:22:56.000000000 -0700
3
@@ -52,38 +52,38 @@
4
  * \brief General IOCTL codes
5
  */
6
 struct ioctl_codes {
7
-    int GET_BLOCKSIZE;
8
-    int SET_BLOCKSIZE;
9
-    int FLUSH;
10
-    int SYNC;
11
-    int GET_PARAMS;
12
-    int SET_PARAMS;
13
-    int HOOK;
14
-    int GETEVENT;
15
-    int IOMUX;
16
-    int SPANSTAT;
17
-    int MAINT;
18
-    int GETCONF;
19
-    int SETCONF;
20
-    int CONFLINK;
21
-    int CONFDIAG;
22
-    int GETGAINS;
23
-    int SETGAINS;
24
-    int SPANCONFIG;
25
-    int CHANCONFIG;
26
-    int SET_BUFINFO;
27
-    int GET_BUFINFO;
28
-    int AUDIOMODE;
29
-    int ECHOCANCEL;
30
-    int HDLCRAWMODE;
31
-    int HDLCFCSMODE;
32
-    int SPECIFY;
33
-    int SETLAW;
34
-    int SETLINEAR;
35
-    int GETCONFMUTE;
36
-    int ECHOTRAIN;
37
-    int SETTXBITS;
38
-    int GETRXBITS;
39
+    long GET_BLOCKSIZE;
40
+    long SET_BLOCKSIZE;
41
+    long FLUSH;
42
+    long SYNC;
43
+    long GET_PARAMS;
44
+    long SET_PARAMS;
45
+    long HOOK;
46
+    long GETEVENT;
47
+    long IOMUX;
48
+    long SPANSTAT;
49
+    long MAINT;
50
+    long GETCONF;
51
+    long SETCONF;
52
+    long CONFLINK;
53
+    long CONFDIAG;
54
+    long GETGAINS;
55
+    long SETGAINS;
56
+    long SPANCONFIG;
57
+    long CHANCONFIG;
58
+    long SET_BUFINFO;
59
+    long GET_BUFINFO;
60
+    long AUDIOMODE;
61
+    long ECHOCANCEL;
62
+    long HDLCRAWMODE;
63
+    long HDLCFCSMODE;
64
+    long SPECIFY;
65
+    long SETLAW;
66
+    long SETLINEAR;
67
+    long GETCONFMUTE;
68
+    long ECHOTRAIN;
69
+    long SETTXBITS;
70
+    long GETRXBITS;
71
 };
72
 
73
 /**
(-)files/patch-src-switch.c (-14 lines)
Removed Link Here
1
--- src/switch.c.orig	2010-05-11 23:58:27.000000000 -0700
2
+++ src/switch.c	2010-05-12 00:19:56.000000000 -0700
3
@@ -661,11 +661,6 @@
4
 		return 255;
5
 	}
6
 
7
-	if (alt_dirs && alt_dirs != 3) {
8
-		fprintf(stderr, "You must specify all or none of -conf, -log, and -db\n");
9
-		return 255;
10
-	}
11
-
12
 	signal(SIGILL, handle_SIGILL);
13
 	signal(SIGTERM, handle_SIGILL);
14
 
(-)files/patch-src-switch_core.c (-13 / +12 lines)
Lines 1-6 Link Here
1
--- src/switch_core.c	2010-06-22 17:19:36.000000000 -0400
1
--- src/switch_core.c
2
+++ src/switch_core.c	2010-06-29 11:42:43.000000000 -0400
2
+++ src/switch_core.c
3
@@ -489,6 +489,14 @@
3
@@ -509,6 +509,14 @@ SWITCH_DECLARE(void) switch_core_set_globals(void)
4
 #endif
4
 #endif
5
 	}
5
 	}
6
 
6
 
Lines 10-21 Link Here
10
+#else
10
+#else
11
+		switch_snprintf(SWITCH_GLOBAL_dirs.voicemail_dir, BUFSIZE, "%s%svoicemail", storage_dir, SWITCH_PATH_SEPARATOR);
11
+		switch_snprintf(SWITCH_GLOBAL_dirs.voicemail_dir, BUFSIZE, "%s%svoicemail", storage_dir, SWITCH_PATH_SEPARATOR);
12
+#endif
12
+#endif
13
+       }
13
+	}
14
+
14
+
15
 	if (!SWITCH_GLOBAL_dirs.db_dir && (SWITCH_GLOBAL_dirs.db_dir = (char *) malloc(BUFSIZE))) {
15
 	if (!SWITCH_GLOBAL_dirs.db_dir && (SWITCH_GLOBAL_dirs.db_dir = (char *) malloc(BUFSIZE))) {
16
 #ifdef SWITCH_DB_DIR
16
 #ifdef SWITCH_DB_DIR
17
 		switch_snprintf(SWITCH_GLOBAL_dirs.db_dir, BUFSIZE, "%s", SWITCH_DB_DIR);
17
 		switch_snprintf(SWITCH_GLOBAL_dirs.db_dir, BUFSIZE, "%s", SWITCH_DB_DIR);
18
@@ -546,6 +554,8 @@
18
@@ -566,6 +574,8 @@ SWITCH_DECLARE(void) switch_core_set_globals(void)
19
 	switch_assert(SWITCH_GLOBAL_dirs.recordings_dir);
19
 	switch_assert(SWITCH_GLOBAL_dirs.recordings_dir);
20
 	switch_assert(SWITCH_GLOBAL_dirs.sounds_dir);
20
 	switch_assert(SWITCH_GLOBAL_dirs.sounds_dir);
21
 	switch_assert(SWITCH_GLOBAL_dirs.temp_dir);
21
 	switch_assert(SWITCH_GLOBAL_dirs.temp_dir);
Lines 24-39 Link Here
24
 }
24
 }
25
 
25
 
26
 SWITCH_DECLARE(int32_t) set_high_priority(void)
26
 SWITCH_DECLARE(int32_t) set_high_priority(void)
27
@@ -1240,6 +1250,8 @@
27
@@ -1261,6 +1271,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
28
 	switch_dir_make_recursive(SWITCH_GLOBAL_dirs.recordings_dir, SWITCH_DEFAULT_DIR_PERMS, runtime.memory_pool);
28
 	switch_dir_make_recursive(SWITCH_GLOBAL_dirs.recordings_dir, SWITCH_DEFAULT_DIR_PERMS, runtime.memory_pool);
29
 	switch_dir_make_recursive(SWITCH_GLOBAL_dirs.sounds_dir, SWITCH_DEFAULT_DIR_PERMS, runtime.memory_pool);
29
 	switch_dir_make_recursive(SWITCH_GLOBAL_dirs.sounds_dir, SWITCH_DEFAULT_DIR_PERMS, runtime.memory_pool);
30
 	switch_dir_make_recursive(SWITCH_GLOBAL_dirs.temp_dir, SWITCH_DEFAULT_DIR_PERMS, runtime.memory_pool);
30
 	switch_dir_make_recursive(SWITCH_GLOBAL_dirs.temp_dir, SWITCH_DEFAULT_DIR_PERMS, runtime.memory_pool);
31
+	switch_dir_make_recursive(SWITCH_GLOBAL_dirs.storage_dir, SWITCH_DEFAULT_DIR_PERMS, runtime.memory_pool);
31
+	switch_dir_make_recursive(SWITCH_GLOBAL_dirs.storage_dir, SWITCH_DEFAULT_DIR_PERMS, runtime.memory_pool);
32
+	switch_dir_make_recursive(SWITCH_GLOBAL_dirs.voicemail_dir, SWITCH_DEFAULT_DIR_PERMS, runtime.memory_pool);
32
+	switch_dir_make_recursive(SWITCH_GLOBAL_dirs.voicemail_dir, SWITCH_DEFAULT_DIR_PERMS, runtime.memory_pool);
33
 
33
 
34
 	switch_mutex_init(&runtime.uuid_mutex, SWITCH_MUTEX_NESTED, runtime.memory_pool);
35
 
34
 
36
@@ -1273,7 +1285,9 @@
35
 	switch_mutex_init(&runtime.uuid_mutex, SWITCH_MUTEX_NESTED, runtime.memory_pool);
36
@@ -1296,7 +1308,9 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
37
 	switch_find_local_ip(guess_ip, sizeof(guess_ip), NULL, AF_INET6);
37
 	switch_find_local_ip(guess_ip, sizeof(guess_ip), NULL, AF_INET6);
38
 	switch_core_set_variable("local_ip_v6", guess_ip);
38
 	switch_core_set_variable("local_ip_v6", guess_ip);
39
 	switch_core_set_variable("base_dir", SWITCH_GLOBAL_dirs.base_dir);
39
 	switch_core_set_variable("base_dir", SWITCH_GLOBAL_dirs.base_dir);
Lines 43-49 Link Here
43
 	switch_core_set_variable("sound_prefix", SWITCH_GLOBAL_dirs.sounds_dir);
43
 	switch_core_set_variable("sound_prefix", SWITCH_GLOBAL_dirs.sounds_dir);
44
 	switch_core_set_variable("sounds_dir", SWITCH_GLOBAL_dirs.sounds_dir);
44
 	switch_core_set_variable("sounds_dir", SWITCH_GLOBAL_dirs.sounds_dir);
45
 	switch_core_set_serial();
45
 	switch_core_set_serial();
46
@@ -1417,6 +1431,8 @@
46
@@ -1448,6 +1462,8 @@ static void switch_load_core_config(const char *file)
47
 					switch_set_flag((&runtime), SCF_EARLY_HANGUP);
47
 					switch_set_flag((&runtime), SCF_EARLY_HANGUP);
48
 				} else if (!strcasecmp(var, "colorize-console") && switch_true(val)) {
48
 				} else if (!strcasecmp(var, "colorize-console") && switch_true(val)) {
49
 					runtime.colorize_console = SWITCH_TRUE;
49
 					runtime.colorize_console = SWITCH_TRUE;
Lines 52-63 Link Here
52
 				} else if (!strcasecmp(var, "mailer-app") && !zstr(val)) {
52
 				} else if (!strcasecmp(var, "mailer-app") && !zstr(val)) {
53
 					runtime.mailer_app = switch_core_strdup(runtime.memory_pool, val);
53
 					runtime.mailer_app = switch_core_strdup(runtime.memory_pool, val);
54
 				} else if (!strcasecmp(var, "mailer-app-args") && val) {
54
 				} else if (!strcasecmp(var, "mailer-app-args") && val) {
55
@@ -1867,6 +1883,8 @@
55
@@ -1932,6 +1948,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_destroy(void)
56
 	switch_safe_free(SWITCH_GLOBAL_dirs.script_dir);
57
 	switch_safe_free(SWITCH_GLOBAL_dirs.htdocs_dir);
56
 	switch_safe_free(SWITCH_GLOBAL_dirs.htdocs_dir);
58
 	switch_safe_free(SWITCH_GLOBAL_dirs.grammar_dir);
57
 	switch_safe_free(SWITCH_GLOBAL_dirs.grammar_dir);
59
+	switch_safe_free(SWITCH_GLOBAL_dirs.storage_dir);
58
 	switch_safe_free(SWITCH_GLOBAL_dirs.storage_dir);
60
+	switch_safe_free(SWITCH_GLOBAL_dirs.voicemail_dir);
59
+	switch_safe_free(SWITCH_GLOBAL_dirs.voicemail_dir);
61
 	switch_safe_free(SWITCH_GLOBAL_dirs.recordings_dir);
60
 	switch_safe_free(SWITCH_GLOBAL_dirs.recordings_dir);
62
 	switch_safe_free(SWITCH_GLOBAL_dirs.sounds_dir);
61
 	switch_safe_free(SWITCH_GLOBAL_dirs.sounds_dir);
63
 	switch_safe_free(SWITCH_GLOBAL_dirs.temp_dir);
62
 	switch_safe_free(SWITCH_GLOBAL_dirs.run_dir);
(-)files/pkg-install.in (-28 / +31 lines)
Lines 1-32 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
# $FreeBSD:  Exp $
2
#
3
#
3
# $FreeBSD: ports/net/freeswitch-core/files/pkg-install.in,v 1.2 2010/07/16 14:57:42 jpaetzel Exp $
4
#
5
6
PATH=/bin:/usr/bin:/usr/sbin
7
8
case $2 in
9
10
PRE-INSTALL)
11
  echo "---> Starting pre-install script:"
12
13
  if pw showgroup "freeswitch" 2>/dev/null; then
14
    echo "---> Using existing group \"freeswitch\""
15
  else
16
    echo "---> Adding group \"freeswitch\""
17
    pw addgroup freeswitch -h - || exit 1
18
  fi
19
20
21
  # Create user if required
22
  if pw showuser "freeswitch" 2>/dev/null; then
23
    echo "---> Using existing user \"freeswitch\""
24
  else
25
    echo "---> Adding user \"freeswitch\""
26
    pw adduser freeswitch -g freeswitch -h - \
27
      -d "/nonexistent" -s "/sbin/nologin" -c "freeswitch User" || exit 1
28
  fi
29
4
30
  ;;
5
if [ "$2" != "PRE-INSTALL" ]; then
6
	exit 0
7
fi
8
9
FREESWITCHUSER=freeswitch
10
FREESWITCHGROUP=${FREESWITCHUSER}
11
FREESWITCHUID=610
12
FREESWITCHGID=${FREESWITCHUID}
13
14
if ! pw groupshow "${FREESWITCHGROUP}" 2>/dev/null 1>&2; then
15
	if pw groupadd ${FREESWITCHGROUP} -g ${FREESWITCHGID}; then
16
		echo "Added group \"${FREESWITCHGROUP}\"."
17
	else
18
		echo "Adding group \"${FREESWITCHGROUP}\" failed..."
19
		exit 1
20
	fi
21
fi
22
23
if ! pw usershow "${FREESWITCHUSER}" 2>/dev/null 1>&2; then
24
	if pw useradd ${FREESWITCHUSER} -u ${FREESWITCHUID} -g ${FREESWITCHGROUP} -h - \
25
		-s "/sbin/nologin" -d "/nonexistent" \
26
		-c "FREESWITCH Owner"; \
27
	then
28
		echo "Added user \"${FREESWITCHUSER}\"."
29
	else
30
		echo "Adding user \"${FREESWITCHUSER}\" failed..."
31
		exit 1
32
	fi
33
fi
31
34
32
esac
35
exit 0

Return to bug 152423