From owner-svn-ports-all@freebsd.org Fri Apr 15 18:01:28 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1002AED4E9; Fri, 15 Apr 2016 18:01:28 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C8D9316C6; Fri, 15 Apr 2016 18:01:28 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3FI1RoL025791; Fri, 15 Apr 2016 18:01:27 GMT (envelope-from madpilot@FreeBSD.org) Received: (from madpilot@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3FI1RJF025788; Fri, 15 Apr 2016 18:01:27 GMT (envelope-from madpilot@FreeBSD.org) Message-Id: <201604151801.u3FI1RJF025788@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: madpilot set sender to madpilot@FreeBSD.org using -f From: Guido Falsi Date: Fri, 15 Apr 2016 18:01:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413365 - in head/net: asterisk13 pjsip X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Apr 2016 18:01:29 -0000 Author: madpilot Date: Fri Apr 15 18:01:27 2016 New Revision: 413365 URL: https://svnweb.freebsd.org/changeset/ports/413365 Log: - Update net/asterisk13 to 13.8.1 - Change PJ_IOQUEUE_MAX_HANDLES build time limit in pjsip as suggested by asterisk project [1] to mitigate potential DoS [2] - Add DEBUG and IPV6 options to pjsip port Obtained from: https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+pjproject [1] Security: ee50726e-0319-11e6-aa86-001999f8d30b e21474c6-031a-11e6-aa86-001999f8d30b [2] MFH: 2016Q2 Modified: head/net/asterisk13/Makefile head/net/asterisk13/distinfo head/net/pjsip/Makefile Modified: head/net/asterisk13/Makefile ============================================================================== --- head/net/asterisk13/Makefile Fri Apr 15 17:57:30 2016 (r413364) +++ head/net/asterisk13/Makefile Fri Apr 15 18:01:27 2016 (r413365) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= asterisk -PORTVERSION= 13.8.0 +PORTVERSION= 13.8.1 CATEGORIES= net MASTER_SITES= http://downloads.asterisk.org/pub/telephony/%SUBDIR%/:main,g729 MASTER_SITE_SUBDIR= asterisk/:main \ Modified: head/net/asterisk13/distinfo ============================================================================== --- head/net/asterisk13/distinfo Fri Apr 15 17:57:30 2016 (r413364) +++ head/net/asterisk13/distinfo Fri Apr 15 18:01:27 2016 (r413365) @@ -1,5 +1,5 @@ -SHA256 (asterisk-13.8.0.tar.gz) = 9953d3ea0023f7be0e14aed587725dacc199116c9453587093e1489073b53d5d -SIZE (asterisk-13.8.0.tar.gz) = 32520658 +SHA256 (asterisk-13.8.1.tar.gz) = 87edf926855bcccc0ef1838acc6bc5e767da1f403e0482dc328b982d044b770d +SIZE (asterisk-13.8.1.tar.gz) = 32488096 SHA256 (asterisk-core-sounds-en-g729-1.5.tar.gz) = 8b28a59cfa53b59c76e0a191704f0708e3d83acffab8c5e6f25dfc599f0123f9 SIZE (asterisk-core-sounds-en-g729-1.5.tar.gz) = 1551123 SHA256 (asterisk-moh-opsound-g729-2.03.tar.gz) = 0147ca9a97f0c550227aacb7793499057c4d2c64e021c95f93722f27d5549585 Modified: head/net/pjsip/Makefile ============================================================================== --- head/net/pjsip/Makefile Fri Apr 15 17:57:30 2016 (r413364) +++ head/net/pjsip/Makefile Fri Apr 15 18:01:27 2016 (r413365) @@ -2,6 +2,7 @@ PORTNAME= pjsip PORTVERSION= 2.4.5 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.pjsip.org/release/${PORTVERSION}/ DISTNAME= pjproject-${DISTVERSION} @@ -23,7 +24,7 @@ USE_LDCONFIG= yes PLIST_SUB= CONFIGURE_TARGET="${CONFIGURE_TARGET}" MAKE_JOBS_UNSAFE= yes -OPTIONS_DEFINE= FFMPEG G711 G722 G7221 GSM ILBC L16 OPENH264 RESAMPLE RESAMPLEDLL \ +OPTIONS_DEFINE= DEBUG FFMPEG G711 G722 G7221 GSM ILBC IPV6 L16 OPENH264 RESAMPLE RESAMPLEDLL \ SAMPLERATE SDL SHARED SPEEX SPEEXAEC V4L IPV6 SOUND VIDEO AMR EXTSRTP OPTIONS_DEFAULT=G711 G722 G7221 GSM ILBC L16 SHARED SPEEX SPEEXAEC @@ -43,6 +44,8 @@ EXTSRTP_DESC= Use libsrtp port (needed t OPTIONS_SUB= yes +DEBUG_CFLAGS= -DNDEBUG=0 +DEBUG_CFLAGS_OFF= -DNDEBUG=1 FFMPEG_CONFIGURE_ENABLE= ffmpeg FFMPEG_LIB_DEPENDS= libswresample.so:multimedia/ffmpeg G711_CONFIGURE_ENABLE= g711-codec @@ -52,6 +55,8 @@ GSM_CONFIGURE_ENABLE= gsm-codec GSM_LIB_DEPENDS= libgsm.so:audio/gsm GSM_CONFIGURE_ON= --with-external-gsm ILBC_CONFIGURE_ENABLE= ilbc-codec +IPV6_CFLAGS= -DPJ_HAS_IPV6=1 +IPV6_CFLAGS_OFF= -DPJ_HAS_IPV6=1 L16_CONFIGURE_ENABLE= l16-codec OPENH264_CONFIGURE_ENABLE= openh264 OPENH264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 @@ -81,5 +86,7 @@ EXTSRTP_LIB_DEPENDS= libsrtp.so:net/lib post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/pkgconfig.py + @${ECHO} "#include " > ${WRKSRC}/pjlib/include/pj/config_site.h + @${ECHO} "#define PJ_IOQUEUE_MAX_HANDLES (FD_SETSIZE)" >> ${WRKSRC}/pjlib/include/pj/config_site.h .include