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

Collapse All | Expand All

(-)Makefile (-4 / +10 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	freeswitch
4
PORTNAME=	freeswitch
5
PORTVERSION=	1.6.8
5
PORTVERSION=	1.6.10
6
CATEGORIES=	net
6
CATEGORIES=	net
7
MASTER_SITES=	http://files.freeswitch.org/releases/freeswitch/ \
7
MASTER_SITES=	http://files.freeswitch.org/releases/freeswitch/ \
8
		http://files.freeswitch.org/releases/sounds/:sounds
8
		http://files.freeswitch.org/releases/sounds/:sounds
Lines 16-25 Link Here
16
LIB_DEPENDS=	libsqlite3.so:databases/sqlite3 \
16
LIB_DEPENDS=	libsqlite3.so:databases/sqlite3 \
17
		libcurl.so:ftp/curl \
17
		libcurl.so:ftp/curl \
18
		libpcre.so:devel/pcre \
18
		libpcre.so:devel/pcre \
19
		libspeexdsp.so:audio/speexdsp \
19
		libspeex.so:audio/speex \
20
		libspeex.so:audio/speex \
20
		libldns.so:dns/ldns \
21
		libldns.so:dns/ldns \
21
		libopus.so:audio/opus \
22
		libopus.so:audio/opus \
22
		libsndfile.so:audio/libsndfile
23
		libsndfile.so:audio/libsndfile \
24
		libfreetype.so:print/freetype2 \
25
		libpng16.so:graphics/png \
26
		libjbig.so:graphics/jbigkit
23
27
24
CONFLICTS_BUILD=	xmlrpc-c-*
28
CONFLICTS_BUILD=	xmlrpc-c-*
25
29
Lines 26-32 Link Here
26
BROKEN_FreeBSD_9=	Fails in configure due to compiler issues
30
BROKEN_FreeBSD_9=	Fails in configure due to compiler issues
27
ONLY_FOR_ARCHS=	amd64
31
ONLY_FOR_ARCHS=	amd64
28
32
29
USES=		gmake jpeg pkgconfig lua perl5 libtool shebangfix tar:xz
33
USES=		gmake jpeg pkgconfig lua perl5 libtool shebangfix tar:xz iconv libedit ssl
30
USE_LDCONFIG=	yes
34
USE_LDCONFIG=	yes
31
35
32
ALL_MODULES_DESC=	Build all modules
36
ALL_MODULES_DESC=	Build all modules
Lines 46-51 Link Here
46
NO_OPTIONS_SORT=	yes
50
NO_OPTIONS_SORT=	yes
47
OPTIONS_SUB=		yes
51
OPTIONS_SUB=		yes
48
52
53
ALL_MODULES_CONFLICTS_BUILD+=	apr
49
ALL_MODULES_EXTRA_PATCHES=	${FILESDIR}/extrapatch-modules.conf
54
ALL_MODULES_EXTRA_PATCHES=	${FILESDIR}/extrapatch-modules.conf
50
55
51
GNU_CONFIGURE=		yes
56
GNU_CONFIGURE=		yes
Lines 66-76 Link Here
66
.include <bsd.port.options.mk>
71
.include <bsd.port.options.mk>
67
72
68
.if ${PORT_OPTIONS:MALL_MODULES}
73
.if ${PORT_OPTIONS:MALL_MODULES}
74
USE_XORG=	x11
69
BUILD_DEPENDS+=	${LOCALBASE}/include/ladspa.h:audio/ladspa \
75
BUILD_DEPENDS+=	${LOCALBASE}/include/ladspa.h:audio/ladspa \
70
		${LOCALBASE}/bin/aclocal:devel/automake
76
		${LOCALBASE}/bin/aclocal:devel/automake
71
RUN_DEPENDS+=	${LOCALBASE}/include/ladspa.h:audio/ladspa
77
RUN_DEPENDS+=	${LOCALBASE}/include/ladspa.h:audio/ladspa
72
LIB_DEPENDS+=	libavformat.so:multimedia/ffmpeg \
78
LIB_DEPENDS+=	libavformat.so:multimedia/ffmpeg \
73
		libopencv_legacy.so:graphics/opencv \
79
		libopencv_legacy.so:graphics/opencv \
80
		libopencv_core.so:graphics/opencv-core \
74
		libhiredis.so:databases/hiredis \
81
		libhiredis.so:databases/hiredis \
75
		libmemcached.so:databases/libmemcached \
82
		libmemcached.so:databases/libmemcached \
76
		libSoundTouch.so:audio/soundtouch \
83
		libSoundTouch.so:audio/soundtouch \
Lines 85-91 Link Here
85
		libyaml.so:textproc/libyaml \
92
		libyaml.so:textproc/libyaml \
86
		libMagickWand-6.so:graphics/ImageMagick-nox11
93
		libMagickWand-6.so:graphics/ImageMagick-nox11
87
USE_OPENLDAP=	yes
94
USE_OPENLDAP=	yes
88
USE_OPENSSL=	yes
89
.endif
95
.endif
90
96
91
EDPRE=	freeswitch-sounds
97
EDPRE=	freeswitch-sounds
(-)distinfo (-2 / +3 lines)
Lines 1-5 Link Here
1
SHA256 (freeswitch-1.6.8.tar.xz) = a9834667c0afc164631611b4862acd6411e4e6ddb706e4af4b51eab4adbe4fc1
1
TIMESTAMP = 1474458076
2
SIZE (freeswitch-1.6.8.tar.xz) = 33460304
2
SHA256 (freeswitch-1.6.10.tar.xz) = b7beaaac29dc0a58cc34cfd402bf1c7e8ca06975722fd8ddb2983cbed17dd6e4
3
SIZE (freeswitch-1.6.10.tar.xz) = 33487164
3
SHA256 (freeswitch-sounds-music-8000-1.0.51.tar.gz) = 7556d3eb314be939992a3f73c0d7754e44b36859d670e0b42d4cff7f9c0789a9
4
SHA256 (freeswitch-sounds-music-8000-1.0.51.tar.gz) = 7556d3eb314be939992a3f73c0d7754e44b36859d670e0b42d4cff7f9c0789a9
4
SIZE (freeswitch-sounds-music-8000-1.0.51.tar.gz) = 14619493
5
SIZE (freeswitch-sounds-music-8000-1.0.51.tar.gz) = 14619493
5
SHA256 (freeswitch-sounds-en-us-callie-8000-1.0.51.tar.gz) = e48a63bd69e6253d294ce43a941d603b02467feb5d92ee57a536ccc5f849a4a8
6
SHA256 (freeswitch-sounds-en-us-callie-8000-1.0.51.tar.gz) = e48a63bd69e6253d294ce43a941d603b02467feb5d92ee57a536ccc5f849a4a8
(-)files/extrapatch-modules.conf (-6 / +7 lines)
Lines 1-17 Link Here
1
--- modules.conf.orig	2016-05-05 16:42:20.000000000 -0400
1
--- modules.conf.orig	2016-08-25 12:35:35 UTC
2
+++ modules.conf	2016-05-06 16:42:38.276496730 -0400
2
+++ modules.conf
3
@@ -1,161 +1,161 @@
3
@@ -1,162 +1,162 @@
4
-#applications/mod_abstraction
4
-#applications/mod_abstraction
5
-#applications/mod_av
5
-#applications/mod_av
6
-#applications/mod_avmd
6
-#applications/mod_avmd
7
+applications/mod_abstraction
8
+applications/mod_av
9
+applications/mod_avmd
10
-#applications/mod_bert
7
-#applications/mod_bert
11
-#applications/mod_blacklist
8
-#applications/mod_blacklist
12
-#applications/mod_callcenter
9
-#applications/mod_callcenter
13
-#applications/mod_cidlookup
10
-#applications/mod_cidlookup
14
-#applications/mod_cluechoo
11
-#applications/mod_cluechoo
12
+applications/mod_abstraction
13
+applications/mod_av
14
+applications/mod_avmd
15
+applications/mod_bert
15
+applications/mod_bert
16
+applications/mod_blacklist
16
+applications/mod_blacklist
17
+applications/mod_callcenter
17
+applications/mod_callcenter
Lines 69-74 Link Here
69
+applications/mod_redis
69
+applications/mod_redis
70
+applications/mod_rss
70
+applications/mod_rss
71
 applications/mod_sms
71
 applications/mod_sms
72
 #applications/mod_sms_flowroute
72
-#applications/mod_snapshot
73
-#applications/mod_snapshot
73
-#applications/mod_snom
74
-#applications/mod_snom
74
-#applications/mod_sonar
75
-#applications/mod_sonar
(-)files/freeswitch.in (+4 lines)
Lines 27-30 Link Here
27
27
28
command_args="-nc"
28
command_args="-nc"
29
29
30
pidfile="/var/run/${name}/${name}.pid"
31
32
stop_cmd="${command} -stop ; sleep 5 ; check_pidfile ${pidfile} ${command} | xargs kill -KILL ; rm ${pidfile}"
33
30
run_rc_command "$1"
34
run_rc_command "$1"
(-)files/patch-build_config_ltmain.sh (+15 lines)
Line 0 Link Here
1
--- build/config/ltmain.sh.orig	2016-08-25 12:36:38 UTC
2
+++ build/config/ltmain.sh
3
@@ -2260,9 +2260,9 @@ func_mode_install ()
4
 
5
       func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
6
 
7
-      if test -n "$stripme" && test -n "$old_striplib"; then
8
-	func_show_eval "$old_striplib $oldlib" 'exit $?'
9
-      fi
10
+#      if test -n "$stripme" && test -n "$old_striplib"; then
11
+#	func_show_eval "$old_striplib $oldlib" 'exit $?'
12
+#      fi
13
 
14
       # Do each command in the postinstall commands.
15
       func_execute_cmds "$old_postinstall_cmds" 'exit $?'
(-)files/patch-configure (-11 lines)
Lines 1-11 Link Here
1
--- configure.orig	2016-05-18 22:49:18.753911000 +0000
2
+++ configure	2016-05-18 22:49:38.480978000 +0000
3
@@ -20062,7 +20062,7 @@
4
 fi
5
 
6
 
7
-for luaversion in lua5.2 lua-5.2 lua5.1 lua-5.1 lua; do
8
+for luaversion in lua5.3 lua-5.3 lua5.2 lua-5.2 lua5.1 lua-5.1 lua; do
9
 
10
   succeeded=no
11
 
(-)files/patch-libs_sofia-sip_config.h.in (+12 lines)
Line 0 Link Here
1
--- libs/sofia-sip/config.h.in.orig	2016-08-25 12:36:03 UTC
2
+++ libs/sofia-sip/config.h.in
3
@@ -518,7 +518,9 @@
4
 #undef _POSIX_SOURCE
5
 
6
 /* Little Endian */
7
+#ifndef __BYTE_ORDER
8
 #undef __BYTE_ORDER
9
+#endif
10
 
11
 /* Define to empty if `const' does not conform to ANSI C. */
12
 #undef const
(-)files/patch-src_mod_applications_mod__http__cache_mod__http__cache.c (+11 lines)
Line 0 Link Here
1
--- src/mod/applications/mod_http_cache/mod_http_cache.c.orig	2016-08-25 12:35:35 UTC
2
+++ src/mod/applications/mod_http_cache/mod_http_cache.c
3
@@ -38,6 +38,8 @@
4
 
5
 #include <stdlib.h>
6
 
7
+char *strndup(const char *str, size_t len);
8
+
9
 /* 253 max domain size + '/' + NUL byte */
10
 #define DOMAIN_BUF_SIZE 255
11
 

Return to bug 212729