Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2015 00:12:14 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382976 - in head/net: asterisk-g72x asterisk11 asterisk13
Message-ID:  <201504020012.t320CEvj097682@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Thu Apr  2 00:12:13 2015
New Revision: 382976
URL: https://svnweb.freebsd.org/changeset/ports/382976

Log:
  - Update net/asterisk11 to 11.17.0
  - Update net/asterisk13 to 13.3.0
  - Fix mgcp module installation
  - Add needed USE_LDCONFIG to asterisk13
  - Adapt asterisk-g72x port and bump PORTREVISION
  
  NOTE: While these versions of asterisk can be compiled with clang,
  I have seen it crash at startup if so compiled. For this reason at
  present I'm leaving the gcc requirement.

Modified:
  head/net/asterisk-g72x/Makefile
  head/net/asterisk11/Makefile
  head/net/asterisk11/distinfo
  head/net/asterisk11/pkg-plist
  head/net/asterisk13/Makefile
  head/net/asterisk13/distinfo
  head/net/asterisk13/pkg-plist

Modified: head/net/asterisk-g72x/Makefile
==============================================================================
--- head/net/asterisk-g72x/Makefile	Wed Apr  1 23:38:42 2015	(r382975)
+++ head/net/asterisk-g72x/Makefile	Thu Apr  2 00:12:13 2015	(r382976)
@@ -2,6 +2,7 @@
 
 PORTNAME=	asterisk-g72x
 PORTVERSION=	1.3
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://asterisk.hosting.lv/src/
 
@@ -12,7 +13,7 @@ LIB_DEPENDS=	libbcg729.so:${PORTSDIR}/au
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-bcg729
-USES=		autoreconf libtool tar:bzip2
+USES=		autoreconf compiler libtool tar:bzip2
 NO_OPTIONS_SORT=	yes
 
 LDFLAGS+=	-L${LOCALBASE}/lib
@@ -38,7 +39,13 @@ ASTERISK13_BUILD_DEPENDS=	asterisk:${POR
 ASTERISK13_RUN_DEPENDS=	asterisk:${PORTSDIR}/net/asterisk13
 ASTERISK13_CONFIGURE_ON=	--with-asterisk130
 
+.include <bsd.port.pre.mk>
+
+.if ${CHOSEN_COMPILER_TYPE} == clang
+CFLAGS+=	-fblocks
+.endif
+
 post-build:
 	${STRIP_CMD} ${WRKSRC}/.libs/codec_g729.so
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/net/asterisk11/Makefile
==============================================================================
--- head/net/asterisk11/Makefile	Wed Apr  1 23:38:42 2015	(r382975)
+++ head/net/asterisk11/Makefile	Thu Apr  2 00:12:13 2015	(r382976)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	asterisk
-PORTVERSION=	11.16.0
+PORTVERSION=	11.17.0
 CATEGORIES=	net
 MASTER_SITES=	http://downloads.asterisk.org/pub/telephony/asterisk/ \
 		http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
@@ -25,6 +25,7 @@ CFLAGS+=	-I${LOCALBASE}/include
 USE_GCC=	yes
 USE_CSTD=	gnu89
 USE_GNOME=	libxml2
+USE_LDCONFIG=	yes
 USES=		bison cpe gmake
 CPE_VENDOR=	digium
 USE_RC_SUBR=	asterisk
@@ -141,6 +142,8 @@ post-patch:
 post-configure:
 	@cd ${WRKSRC} && ${MAKE_CMD} menuselect.makeopts
 	@cd ${WRKSRC} && ./menuselect/menuselect --disable res_timing_kqueue menuselect.makeopts
+	@cd ${WRKSRC} && ./menuselect/menuselect --enable chan_mgcp menuselect.makeopts
+	@cd ${WRKSRC} && ./menuselect/menuselect --enable res_pktccops menuselect.makeopts
 .if ${PORT_OPTIONS:MMYSQL}
 	@cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts
 	@cd ${WRKSRC} && ./menuselect/menuselect --enable app_mysql menuselect.makeopts

Modified: head/net/asterisk11/distinfo
==============================================================================
--- head/net/asterisk11/distinfo	Wed Apr  1 23:38:42 2015	(r382975)
+++ head/net/asterisk11/distinfo	Thu Apr  2 00:12:13 2015	(r382976)
@@ -1,2 +1,2 @@
-SHA256 (asterisk-11.16.0.tar.gz) = f98da93ed0ffbdddfbc301351ea32e5a63d2dbecf05a4f97fb794a68a3bdbe4d
-SIZE (asterisk-11.16.0.tar.gz) = 34995495
+SHA256 (asterisk-11.17.0.tar.gz) = 6c6680539c5fa30c15584ccc0017f96f4b772e297d8984e2da1338e8076f4132
+SIZE (asterisk-11.17.0.tar.gz) = 35008465

Modified: head/net/asterisk11/pkg-plist
==============================================================================
--- head/net/asterisk11/pkg-plist	Wed Apr  1 23:38:42 2015	(r382975)
+++ head/net/asterisk11/pkg-plist	Thu Apr  2 00:12:13 2015	(r382976)
@@ -265,6 +265,7 @@ lib/asterisk/modules/bridge_simple.so
 lib/asterisk/modules/bridge_softmix.so
 %%ODBC%%lib/asterisk/modules/cdr_adaptive_odbc.so
 lib/asterisk/modules/chan_bridge.so
+lib/asterisk/modules/chan_mgcp.so
 %%XMPP%%lib/asterisk/modules/chan_motif.so
 lib/asterisk/modules/chan_unistim.so
 lib/asterisk/modules/codec_g722.so
@@ -305,6 +306,7 @@ lib/asterisk/modules/res_format_attr_h26
 lib/asterisk/modules/res_format_attr_silk.so
 lib/asterisk/modules/res_http_websocket.so
 lib/asterisk/modules/res_limit.so
+lib/asterisk/modules/res_pktccops.so
 lib/asterisk/modules/res_phoneprov.so
 lib/asterisk/modules/res_realtime.so
 %%SRTP%%lib/asterisk/modules/res_srtp.so

Modified: head/net/asterisk13/Makefile
==============================================================================
--- head/net/asterisk13/Makefile	Wed Apr  1 23:38:42 2015	(r382975)
+++ head/net/asterisk13/Makefile	Thu Apr  2 00:12:13 2015	(r382976)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	asterisk
-PORTVERSION=	13.2.0
-PORTREVISION=	1
+PORTVERSION=	13.3.0
 CATEGORIES=	net
 MASTER_SITES=	http://downloads.asterisk.org/pub/telephony/asterisk/ \
 		http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
@@ -151,6 +150,8 @@ post-patch:
 post-configure:
 	@cd ${WRKSRC} && ${MAKE_CMD} menuselect.makeopts
 	@cd ${WRKSRC} && ./menuselect/menuselect --disable res_timing_kqueue menuselect.makeopts
+	@cd ${WRKSRC} && ./menuselect/menuselect --enable chan_mgcp menuselect.makeopts
+	@cd ${WRKSRC} && ./menuselect/menuselect --enable res_pktccops menuselect.makeopts
 .if ${PORT_OPTIONS:MMYSQL}
 	@cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts
 	@cd ${WRKSRC} && ./menuselect/menuselect --enable app_mysql menuselect.makeopts

Modified: head/net/asterisk13/distinfo
==============================================================================
--- head/net/asterisk13/distinfo	Wed Apr  1 23:38:42 2015	(r382975)
+++ head/net/asterisk13/distinfo	Thu Apr  2 00:12:13 2015	(r382976)
@@ -1,2 +1,2 @@
-SHA256 (asterisk-13.2.0.tar.gz) = bcef6b30cf7bb1943b12939a4dc98a53f837a8f7ef564fe44cf73ea87e114a9b
-SIZE (asterisk-13.2.0.tar.gz) = 31951737
+SHA256 (asterisk-13.3.0.tar.gz) = 88b1eaab1b2d45722f89f51e1fa47883a8fab283bc1dc2ffd7d7c6a0e4411d57
+SIZE (asterisk-13.3.0.tar.gz) = 31992024

Modified: head/net/asterisk13/pkg-plist
==============================================================================
--- head/net/asterisk13/pkg-plist	Wed Apr  1 23:38:42 2015	(r382975)
+++ head/net/asterisk13/pkg-plist	Thu Apr  2 00:12:13 2015	(r382976)
@@ -333,6 +333,7 @@ lib/asterisk/modules/bridge_softmix.so
 %%ODBC%%lib/asterisk/modules/cdr_adaptive_odbc.so
 %%XMPP%%lib/asterisk/modules/chan_motif.so
 lib/asterisk/modules/chan_bridge_media.so
+lib/asterisk/modules/chan_mgcp.so
 %%OOH323%%lib/asterisk/modules/chan_ooh323.so
 %%PJSIP%%lib/asterisk/modules/chan_pjsip.so
 lib/asterisk/modules/chan_unistim.so
@@ -445,6 +446,7 @@ lib/asterisk/modules/res_phoneprov.so
 %%PJSIP%%lib/asterisk/modules/res_pjsip_t38.so
 %%PJSIP%%lib/asterisk/modules/res_pjsip_transport_websocket.so
 %%PJSIP%%lib/asterisk/modules/res_pjsip_xpidf_body_generator.so
+lib/asterisk/modules/res_pktccops.so
 lib/asterisk/modules/res_realtime.so
 lib/asterisk/modules/res_sorcery_astdb.so
 lib/asterisk/modules/res_sorcery_config.so



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504020012.t320CEvj097682>