View | Details | Raw Unified | Return to bug 138412
Collapse All | Expand All

(-)freeswitch/Makefile (-8 / +26 lines)
Lines 2-19 Link Here
2
# Date created: Augets 9, 2009
2
# Date created: Augets 9, 2009
3
# Whom: Richard Neese <r.neese@gmail.com>
3
# Whom: Richard Neese <r.neese@gmail.com>
4
#
4
#
5
# $FreeBSD: ports/net/freeswitch/Makefile,v 1.2 2009/08/27 20:31:46 miwi Exp $
5
# $FreeBSD$
6
#
6
#
7
7
8
PORTNAME=	freeswitch
8
PORTNAME=	freeswitch
9
PORTVERSION=	1.0.4.2
9
PORTVERSION=	1.0.4.3
10
CATEGORIES=	net
10
CATEGORIES=	net
11
MASTER_SITES=	http://files.freeswitch.org/:source1 \
11
MASTER_SITES=	http://files.freeswitch.org/:source1 \
12
		http://dl.getdropbox.com/u/152504/:source2 \
12
		http://dl.getdropbox.com/u/152504/:source2 \
13
		http://www.freeswitch.org/eg/:source3
13
		http://www.freeswitch.org/eg/:source3
14
DISTNAME=	${PORTNAME}-${PORTVERSION}
14
DISTNAME=	${PORTNAME}-${PORTVERSION}
15
DISTFILES=	pizza_gram.tar.gz:source1 \
15
DISTFILES=	pizza_gram.tar.gz:source1 \
16
		freeswitch-1.0.4.2.tar.gz:source2 \
16
		freeswitch-1.0.4.3.tar.gz:source2 \
17
		pizza_sounds.tar.gz:source3 \
17
		pizza_sounds.tar.gz:source3 \
18
		freeswitch-sounds-en-us-callie-8000-1.0.11.tar.gz:source1 \
18
		freeswitch-sounds-en-us-callie-8000-1.0.11.tar.gz:source1 \
19
		freeswitch-sounds-en-us-callie-16000-1.0.11.tar.gz:source1 \
19
		freeswitch-sounds-en-us-callie-16000-1.0.11.tar.gz:source1 \
Lines 23-29 Link Here
23
		freeswitch-sounds-music-16000-1.0.8.tar.gz:source1 \
23
		freeswitch-sounds-music-16000-1.0.8.tar.gz:source1 \
24
		freeswitch-sounds-music-32000-1.0.8.tar.gz:source1 \
24
		freeswitch-sounds-music-32000-1.0.8.tar.gz:source1 \
25
		freeswitch-sounds-music-48000-1.0.8.tar.gz:source1
25
		freeswitch-sounds-music-48000-1.0.8.tar.gz:source1
26
EXTRACT_ONLY=	freeswitch-1.0.4.2.tar.gz
26
EXTRACT_ONLY=	freeswitch-1.0.4.3.tar.gz
27
27
28
MAINTAINER=	r.neese@gmail.com
28
MAINTAINER=	r.neese@gmail.com
29
COMMENT=	FreeSwitch SoftSwitch Port
29
COMMENT=	FreeSwitch SoftSwitch Port
Lines 59-65 Link Here
59
		MODPOCKETSPHINX	"Enable mod_pockectsphinx (voice control)" on \
59
		MODPOCKETSPHINX	"Enable mod_pockectsphinx (voice control)" on \
60
		MODCIDLOOKUP	"Enable mod_cidlookup" on \
60
		MODCIDLOOKUP	"Enable mod_cidlookup" on \
61
		MODDPDIRECTORY	"Enable mod_dialplan_directory" on \
61
		MODDPDIRECTORY	"Enable mod_dialplan_directory" on \
62
		MODDINGALING    "Enable mod_dingaling(google talk)" on \
62
		MODEASYROUTE	"Enable mod_easyroute(routeing tool)" on \
63
		MODEASYROUTE	"Enable mod_easyroute(routeing tool)" on \
64
		MODERLANGEVENT  "Enable mod_erlang_event (Call Center Dist)" off \
63
		MODFAX		"Enable mod_fax" on \
65
		MODFAX		"Enable mod_fax" on \
64
		MODLCR		"Enable mod_lcr (least cost routing)" on \
66
		MODLCR		"Enable mod_lcr (least cost routing)" on \
65
		MODSOUNDTOUCH	"Enable mod_soundtouch" on \
67
		MODSOUNDTOUCH	"Enable mod_soundtouch" on \
Lines 326-331 Link Here
326
PLIST_SUB+=	WITH_MODNIBBLEBILL=""
328
PLIST_SUB+=	WITH_MODNIBBLEBILL=""
327
.endif
329
.endif
328
330
331
.if !defined(WITH_MODDINGALING)
332
 PLIST_SUB+=	WITH_MODDINGALING="@comment "
333
.else
334
PLIST_SUB+=	WITH_MODDINGALING=""
335
.endif
336
337
.if !defined(WITH_MODERLANGEVENT)
338
PLIST_SUB+=	WITH_MODERLANGEVENT="@comment "
339
.else
340
PLIST_SUB+=	WITH_MODERLANGEVENT=""
341
.endif
342
329
pre-configure:
343
pre-configure:
330
	@cd ${WRKSRC} && ./bootstrap.sh
344
	@cd ${WRKSRC} && ./bootstrap.sh
331
	@${CP} ${WRKSRC}/build/modules.conf.in ${WRKSRC}/modules.conf
345
	@${CP} ${WRKSRC}/build/modules.conf.in ${WRKSRC}/modules.conf
Lines 453-458 Link Here
453
	@${REINPLACE_CMD} -e 's|#applications/mod_nibblebill|applications/mod_nibblebill|g' ${WRKSRC}/modules.conf
467
	@${REINPLACE_CMD} -e 's|#applications/mod_nibblebill|applications/mod_nibblebill|g' ${WRKSRC}/modules.conf
454
.endif
468
.endif
455
469
470
.if defined(WITH_MODDINGALING)
471
	${REINPLACE_CMD} -e 's|#endpoints/mod_dingaling|endpoints/mod_dingaling|g' ${WRKSRC}/modules.conf
472
.endif
473
474
.if defined(WITH_MODERLANGEVENT)
475
	@${REINPLACE_CMD} -e 's|#event_handlers/mod_erlang_event|event_handlers/mod_erlang_event|g' ${WRKSRC}/modules.conf
476
.endif
477
456
post-patch:
478
post-patch:
457
	@${GREP} -Rl '/bin/bash' ${WRKSRC} | \
479
	@${GREP} -Rl '/bin/bash' ${WRKSRC} | \
458
		${XARGS} ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|g'
480
		${XARGS} ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|g'
Lines 493-500 Link Here
493
	@${TAR} -xzvf ${DISTDIR}/pizza_sounds.tar.gz -C ${LOCALBASE}/${PORTNAME}/sounds/en/us
515
	@${TAR} -xzvf ${DISTDIR}/pizza_sounds.tar.gz -C ${LOCALBASE}/${PORTNAME}/sounds/en/us
494
.endif
516
.endif
495
517
496
.if ${OSVERSION} < 700000
497
IGNORE=		it's to unsupported before FreeBSD 7.X
498
.endif
499
500
.include <bsd.port.post.mk>
518
.include <bsd.port.post.mk>
(-)freeswitch/README (+11 lines)
Line 0 Link Here
1
IF you need mod_erlang_event. For right now you have to 
2
3
manualy install erlang-lite  in /usr/ports/lang/erlang-lite.
4
5
then come back to freeswitch and make the port and choose 
6
7
mod_erlang_event in the menu options.
8
9
Once the erlang port is fixed to build with other ports this
10
11
will be done automaticly.
(-)freeswitch/distinfo (-3 / +3 lines)
Lines 1-9 Link Here
1
MD5 (pizza_gram.tar.gz) = dc10f21c8d6bd708b7deae9f18a82b92
1
MD5 (pizza_gram.tar.gz) = dc10f21c8d6bd708b7deae9f18a82b92
2
SHA256 (pizza_gram.tar.gz) = e713406834ba40fe07c69b84f042fcb27493c15bc6b51133418527bc7a818027
2
SHA256 (pizza_gram.tar.gz) = e713406834ba40fe07c69b84f042fcb27493c15bc6b51133418527bc7a818027
3
SIZE (pizza_gram.tar.gz) = 1053
3
SIZE (pizza_gram.tar.gz) = 1053
4
MD5 (freeswitch-1.0.4.2.tar.gz) = ce3d8e75856cb1304afba50e489f1651
4
MD5 (freeswitch-1.0.4.3.tar.gz) = 05572d867c25b23b4dcdaae096e71cbd
5
SHA256 (freeswitch-1.0.4.2.tar.gz) = f9417e557c7111a6a3f3d9c33270a34c504d8f6bb948f414b4d4274a1d73b5aa
5
SHA256 (freeswitch-1.0.4.3.tar.gz) = 6e3adaf153d63eea7ad127978886cecc9b09d0f952675f2dccc2c12e38a2b8d2
6
SIZE (freeswitch-1.0.4.2.tar.gz) = 57086208
6
SIZE (freeswitch-1.0.4.3.tar.gz) = 57172620
7
MD5 (pizza_sounds.tar.gz) = dacfde8879da8dd0e0542069e5cba6a2
7
MD5 (pizza_sounds.tar.gz) = dacfde8879da8dd0e0542069e5cba6a2
8
SHA256 (pizza_sounds.tar.gz) = 606f736625b7f331e219e10460029c8e0b0e58136feeddde976a0dcc68a97bef
8
SHA256 (pizza_sounds.tar.gz) = 606f736625b7f331e219e10460029c8e0b0e58136feeddde976a0dcc68a97bef
9
SIZE (pizza_sounds.tar.gz) = 1498679
9
SIZE (pizza_sounds.tar.gz) = 1498679
(-)freeswitch/pkg-plist (+4 lines)
Lines 301-312 Link Here
301
%%WITH_MODDPDIRECTORY%%freeswitch/mod/mod_dialplan_directory.so
301
%%WITH_MODDPDIRECTORY%%freeswitch/mod/mod_dialplan_directory.so
302
freeswitch/mod/mod_dialplan_xml.la
302
freeswitch/mod/mod_dialplan_xml.la
303
freeswitch/mod/mod_dialplan_xml.so
303
freeswitch/mod/mod_dialplan_xml.so
304
%%WITH_MODDINGALING%%freeswitch/mod/mod_dingaling.la
305
%%WITH_MODDINGALING%%freeswitch/mod/mod_dingaling.so
304
freeswitch/mod/mod_dptools.la
306
freeswitch/mod/mod_dptools.la
305
freeswitch/mod/mod_dptools.so
307
freeswitch/mod/mod_dptools.so
306
%%WITH_MODEASYROUTE%%freeswitch/mod/mod_easyroute.la
308
%%WITH_MODEASYROUTE%%freeswitch/mod/mod_easyroute.la
307
%%WITH_MODEASYROUTE%%freeswitch/mod/mod_easyroute.so
309
%%WITH_MODEASYROUTE%%freeswitch/mod/mod_easyroute.so
308
freeswitch/mod/mod_enum.la
310
freeswitch/mod/mod_enum.la
309
freeswitch/mod/mod_enum.so
311
freeswitch/mod/mod_enum.so
312
%%WITH_MODERLANGEVENT%%freeswitch/mod/mod_erlang_event.la
313
%%WITH_MODERLANGEVENT%%freeswitch/mod/mod_erlang_event.so
310
freeswitch/mod/mod_esf.la
314
freeswitch/mod/mod_esf.la
311
freeswitch/mod/mod_esf.so
315
freeswitch/mod/mod_esf.so
312
%%WITH_MODMULTICAST%%freeswitch/mod/mod_event_multicast.la
316
%%WITH_MODMULTICAST%%freeswitch/mod/mod_event_multicast.la

Return to bug 138412