From owner-svn-ports-branches@freebsd.org Thu Nov 9 19:57:33 2017 Return-Path: Delivered-To: svn-ports-branches@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 76551E5A35E; Thu, 9 Nov 2017 19:57:33 +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 33A477603F; Thu, 9 Nov 2017 19:57:33 +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 vA9JvWv6059262; Thu, 9 Nov 2017 19:57:32 GMT (envelope-from madpilot@FreeBSD.org) Received: (from madpilot@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vA9JvVG0059251; Thu, 9 Nov 2017 19:57:31 GMT (envelope-from madpilot@FreeBSD.org) Message-Id: <201711091957.vA9JvVG0059251@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: madpilot set sender to madpilot@FreeBSD.org using -f From: Guido Falsi Date: Thu, 9 Nov 2017 19:57:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r453864 - in branches/2017Q4/net/asterisk13: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: madpilot X-SVN-Commit-Paths: in branches/2017Q4/net/asterisk13: . files X-SVN-Commit-Revision: 453864 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2017 19:57:33 -0000 Author: madpilot Date: Thu Nov 9 19:57:31 2017 New Revision: 453864 URL: https://svnweb.freebsd.org/changeset/ports/453864 Log: MFH: r453213 r453806 Update asterisk13 to 13.18.0 Update net/asterisk13 to 13.18.1 Security: 19b052c9-c533-11e7-8da5-001999f8d30b ab04cb0b-c533-11e7-8da5-001999f8d30b be261737-c535-11e7-8da5-001999f8d30b Approved by: ports-secteam (swills) Modified: branches/2017Q4/net/asterisk13/Makefile branches/2017Q4/net/asterisk13/distinfo branches/2017Q4/net/asterisk13/files/patch-Makefile branches/2017Q4/net/asterisk13/files/patch-channels-chan_dahdi.c branches/2017Q4/net/asterisk13/files/patch-configure branches/2017Q4/net/asterisk13/files/patch-main__Makefile branches/2017Q4/net/asterisk13/files/patch-main__asterisk.exports.in branches/2017Q4/net/asterisk13/files/patch-main__http.c branches/2017Q4/net/asterisk13/files/patch-main__lock.c branches/2017Q4/net/asterisk13/files/patch-res_res__pjsip_pjsip__cli.c Directory Properties: branches/2017Q4/ (props changed) Modified: branches/2017Q4/net/asterisk13/Makefile ============================================================================== --- branches/2017Q4/net/asterisk13/Makefile Thu Nov 9 19:44:52 2017 (r453863) +++ branches/2017Q4/net/asterisk13/Makefile Thu Nov 9 19:57:31 2017 (r453864) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= asterisk -PORTVERSION= 13.17.2 +PORTVERSION= 13.18.1 CATEGORIES= net MASTER_SITES= http://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729 MASTER_SITE_SUBDIR= asterisk/ \ Modified: branches/2017Q4/net/asterisk13/distinfo ============================================================================== --- branches/2017Q4/net/asterisk13/distinfo Thu Nov 9 19:44:52 2017 (r453863) +++ branches/2017Q4/net/asterisk13/distinfo Thu Nov 9 19:57:31 2017 (r453864) @@ -1,6 +1,6 @@ -TIMESTAMP = 1505852333 -SHA256 (asterisk-13.17.2.tar.gz) = 19ae0565687b85bde382b2cc274dd5a27ac33dc57a4eb3b663cb5ad9b238f1ac -SIZE (asterisk-13.17.2.tar.gz) = 32899368 +TIMESTAMP = 1510220384 +SHA256 (asterisk-13.18.1.tar.gz) = 1f5249465616958f2babc396de76caf2f706cc56221a9719a029aeaf2ded4e58 +SIZE (asterisk-13.18.1.tar.gz) = 32970878 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: branches/2017Q4/net/asterisk13/files/patch-Makefile ============================================================================== --- branches/2017Q4/net/asterisk13/files/patch-Makefile Thu Nov 9 19:44:52 2017 (r453863) +++ branches/2017Q4/net/asterisk13/files/patch-Makefile Thu Nov 9 19:57:31 2017 (r453864) @@ -1,6 +1,6 @@ ---- Makefile.orig 2016-03-22 18:32:00 UTC +--- Makefile.orig 2017-10-13 17:46:56 UTC +++ Makefile -@@ -131,7 +131,7 @@ ASTTOPDIR:=$(subst $(space),\$(space),$( +@@ -138,7 +138,7 @@ ASTTOPDIR:=$(subst $(space),\$(space),$(CURDIR)) OVERWRITE=y # Include debug and macro symbols in the executables (-g) and profiling info (-pg) @@ -9,7 +9,7 @@ # Asterisk.conf is located in ASTETCDIR or by using the -C flag # when starting Asterisk -@@ -155,7 +155,7 @@ LINKER_SYMBOL_PREFIX= +@@ -162,7 +162,7 @@ LINKER_SYMBOL_PREFIX= #_ASTCFLAGS+=-DOLD_DSP_ROUTINES # Default install directory for DAHDI hooks. @@ -18,16 +18,16 @@ # This Makefile previously contained a note about the ability to use .asterisk.makeopts # from your home directory or /etc/asterisk.makeopts to set defaults for menuselect. -@@ -217,7 +217,7 @@ endif +@@ -219,7 +219,7 @@ endif ifeq ($(OSARCH),FreeBSD) # -V is understood by BSD Make, not by GNU make. - BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk) + BSDVERSION=$(OSVERSION) _ASTCFLAGS+=$(shell if test $(BSDVERSION) -lt 500016 ; then echo "-D_THREAD_SAFE"; fi) - # flag to tell 'ldconfig' to only process specified directories - LDCONFIG_FLAGS=-m -@@ -476,8 +476,12 @@ datafiles: _all doc/core-en_US.xml + endif + +@@ -445,8 +445,12 @@ datafiles: _all doc/core-en_US.xml $(INSTALL) -m 644 $$n "$(DESTDIR)$(ASTDATADIR)/static-http/docs" ; \ done \ fi @@ -41,7 +41,7 @@ done $(MAKE) -C sounds install find rest-api -name "*.json" | while read x; do \ -@@ -572,7 +576,7 @@ INSTALLDIRS="$(ASTLIBDIR)" "$(ASTMODDIR) +@@ -541,7 +545,7 @@ INSTALLDIRS="$(ASTLIBDIR)" "$(ASTMODDIR)" "$(ASTSBINDI "$(ASTDATADIR)/firmware/iax" "$(ASTDATADIR)/images" "$(ASTDATADIR)/keys" \ "$(ASTDATADIR)/phoneprov" "$(ASTDATADIR)/rest-api" "$(ASTDATADIR)/static-http" \ "$(ASTDATADIR)/sounds" "$(ASTDATADIR)/moh" "$(ASTMANDIR)/man8" "$(AGI_DIR)" "$(ASTDBDIR)" \ @@ -50,7 +50,7 @@ installdirs: @for i in $(INSTALLDIRS); do \ -@@ -609,10 +613,10 @@ bininstall: _all installdirs $(SUBDIRS_I +@@ -578,10 +582,10 @@ bininstall: _all installdirs $(SUBDIRS_INSTALL) main-b if [ -f contrib/firmware/iax/iaxy.bin ] ; then \ $(INSTALL) -m 644 contrib/firmware/iax/iaxy.bin "$(DESTDIR)$(ASTDATADIR)/firmware/iax/iaxy.bin"; \ fi @@ -65,7 +65,7 @@ $(SUBDIRS_INSTALL): +@DESTDIR="$(DESTDIR)" ASTSBINDIR="$(ASTSBINDIR)" ASTDATADIR="$(ASTDATADIR)" $(SUBMAKE) -C $(@:-install=) install -@@ -645,7 +649,7 @@ ifneq ($(filter ~%,$(DESTDIR)),) +@@ -689,7 +693,7 @@ ifneq ($(filter ~%,$(DESTDIR)),) @exit 1 endif @@ -74,7 +74,7 @@ @if [ -x /usr/sbin/asterisk-post-install ]; then \ /usr/sbin/asterisk-post-install "$(DESTDIR)" . ; \ fi -@@ -688,23 +692,10 @@ upgrade: bininstall +@@ -734,23 +738,10 @@ upgrade: bininstall # (2) the extension to strip off define INSTALL_CONFIGS @for x in configs/$(1)/*$(2); do \ @@ -100,7 +100,7 @@ echo "Updating asterisk.conf" ; \ sed -e 's|^astetcdir.*$$|astetcdir => $(ASTETCDIR)|' \ -e 's|^astmoddir.*$$|astmoddir => $(ASTMODDIR)|' \ -@@ -717,8 +708,8 @@ define INSTALL_CONFIGS +@@ -763,8 +754,8 @@ define INSTALL_CONFIGS -e 's|^astrundir.*$$|astrundir => $(ASTVARRUNDIR)|' \ -e 's|^astlogdir.*$$|astlogdir => $(ASTLOGDIR)|' \ -e 's|^astsbindir.*$$|astsbindir => $(ASTSBINDIR)|' \ @@ -111,7 +111,7 @@ rm -f "$(DESTDIR)$(ASTCONFPATH).tmp" ; \ fi endef -@@ -734,7 +725,7 @@ adsi: +@@ -780,7 +771,7 @@ adsi: else \ echo "Installing $$x" ; \ fi ; \ Modified: branches/2017Q4/net/asterisk13/files/patch-channels-chan_dahdi.c ============================================================================== --- branches/2017Q4/net/asterisk13/files/patch-channels-chan_dahdi.c Thu Nov 9 19:44:52 2017 (r453863) +++ branches/2017Q4/net/asterisk13/files/patch-channels-chan_dahdi.c Thu Nov 9 19:57:31 2017 (r453864) @@ -1,6 +1,18 @@ ---- channels/chan_dahdi.c.orig 2015-07-24 22:20:17 UTC +--- channels/chan_dahdi.c.orig 2017-10-13 17:46:56 UTC +++ channels/chan_dahdi.c -@@ -4598,6 +4598,8 @@ void dahdi_ec_enable(struct dahdi_pvt *p +@@ -61,10 +61,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") + #include + #else + #include ++#include + #endif + #include + #include +-#include + + #include "sig_analog.h" + /* Analog signaling is currently still present in chan_dahdi for use with +@@ -4666,6 +4666,8 @@ void dahdi_ec_enable(struct dahdi_pvt *p) return; } if (p->echocancel.head.tap_length) { @@ -9,7 +21,7 @@ #if defined(HAVE_PRI) || defined(HAVE_SS7) switch (p->sig) { #if defined(HAVE_PRI) -@@ -4628,7 +4630,9 @@ void dahdi_ec_enable(struct dahdi_pvt *p +@@ -4696,7 +4698,9 @@ void dahdi_ec_enable(struct dahdi_pvt *p) break; } #endif /* defined(HAVE_PRI) || defined(HAVE_SS7) */ @@ -20,7 +32,7 @@ if (res) { ast_log(LOG_WARNING, "Unable to enable echo cancellation on channel %d (%s)\n", p->channel, strerror(errno)); } else { -@@ -4662,8 +4666,9 @@ void dahdi_ec_disable(struct dahdi_pvt * +@@ -4730,8 +4734,9 @@ void dahdi_ec_disable(struct dahdi_pvt *p) if (p->echocanon) { struct dahdi_echocanparams ecp = { .tap_length = 0 }; Modified: branches/2017Q4/net/asterisk13/files/patch-configure ============================================================================== --- branches/2017Q4/net/asterisk13/files/patch-configure Thu Nov 9 19:44:52 2017 (r453863) +++ branches/2017Q4/net/asterisk13/files/patch-configure Thu Nov 9 19:57:31 2017 (r453864) @@ -1,6 +1,6 @@ ---- configure.orig 2015-07-24 22:20:17 UTC +--- configure.orig 2017-10-13 17:46:56 UTC +++ configure -@@ -4684,9 +4684,9 @@ astheaderdir='${includedir}/asterisk' +@@ -4780,9 +4780,9 @@ astheaderdir='${includedir}/asterisk' astlibdir='${libdir}' astmoddir='${libdir}/asterisk/modules' astmandir='${mandir}' @@ -12,7 +12,7 @@ astkeydir='${astvarlibdir}' astspooldir='${localstatedir}/spool/asterisk' astlogdir='${localstatedir}/log/asterisk' -@@ -4709,8 +4709,6 @@ esac +@@ -4805,8 +4805,6 @@ esac case "${host_os}" in freebsd*) ac_default_prefix=/usr/local @@ -21,7 +21,7 @@ ;; openbsd*) ac_default_prefix=/usr/local -@@ -19297,6 +19295,8 @@ $as_echo_n "checking if \"struct ifaddrs +@@ -20706,6 +20704,8 @@ $as_echo_n "checking if \"struct ifaddrs *p; getifaddr cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -30,7 +30,7 @@ #include int main () -@@ -28158,7 +28158,7 @@ $as_echo "${OPENH323_BUILD}" >&6; } +@@ -30490,7 +30490,7 @@ $as_echo "${OPENH323_BUILD}" >&6; } fi @@ -39,7 +39,7 @@ if test "${HAS_OPENH323:-unset}" != "unset"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenH323 installation validity" >&5 -@@ -28256,13 +28256,13 @@ if test "x${PBX_LUA}" != "x1" -a "${USE_ +@@ -30588,13 +30588,13 @@ if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; ast_ext_lib_check_save_CFLAGS="${CFLAGS}" CFLAGS="${CFLAGS} " as_ac_Lib=`$as_echo "ac_cv_lib_lua5.2_${pbxfuncname}" | $as_tr_sh` @@ -56,7 +56,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -@@ -28304,18 +28304,18 @@ fi +@@ -30636,18 +30636,18 @@ fi # now check for the header. if test "${AST_LUA_FOUND}" = "yes"; then @@ -78,7 +78,7 @@ if test "x$ac_cv_header_lua5_2_lua_h" = xyes; then : LUA_HEADER_FOUND=1 else -@@ -28368,13 +28368,13 @@ if test "x${PBX_LUA}" != "x1" -a "${USE_ +@@ -30700,13 +30700,13 @@ if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; ast_ext_lib_check_save_CFLAGS="${CFLAGS}" CFLAGS="${CFLAGS} " as_ac_Lib=`$as_echo "ac_cv_lib_lua5.1_${pbxfuncname}" | $as_tr_sh` @@ -95,7 +95,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -@@ -28416,18 +28416,18 @@ fi +@@ -30748,18 +30748,18 @@ fi # now check for the header. if test "${AST_LUA_FOUND}" = "yes"; then Modified: branches/2017Q4/net/asterisk13/files/patch-main__Makefile ============================================================================== --- branches/2017Q4/net/asterisk13/files/patch-main__Makefile Thu Nov 9 19:44:52 2017 (r453863) +++ branches/2017Q4/net/asterisk13/files/patch-main__Makefile Thu Nov 9 19:57:31 2017 (r453864) @@ -1,6 +1,6 @@ ---- main/Makefile.orig 2017-03-24 08:40:58 UTC +--- main/Makefile.orig 2017-10-13 17:46:56 UTC +++ main/Makefile -@@ -81,9 +81,12 @@ endif +@@ -75,9 +75,12 @@ endif ifeq ($(OSARCH),FreeBSD) # -V is understood by BSD Make, not by GNU make. Modified: branches/2017Q4/net/asterisk13/files/patch-main__asterisk.exports.in ============================================================================== --- branches/2017Q4/net/asterisk13/files/patch-main__asterisk.exports.in Thu Nov 9 19:44:52 2017 (r453863) +++ branches/2017Q4/net/asterisk13/files/patch-main__asterisk.exports.in Thu Nov 9 19:57:31 2017 (r453864) @@ -1,6 +1,6 @@ ---- main/asterisk.exports.in.orig 2013-08-22 08:26:55 UTC +--- main/asterisk.exports.in.orig 2017-10-13 17:46:56 UTC +++ main/asterisk.exports.in -@@ -68,6 +68,8 @@ +@@ -70,6 +70,8 @@ */ LINKER_SYMBOL_PREFIX_IO_stdin_used; Modified: branches/2017Q4/net/asterisk13/files/patch-main__http.c ============================================================================== --- branches/2017Q4/net/asterisk13/files/patch-main__http.c Thu Nov 9 19:44:52 2017 (r453863) +++ branches/2017Q4/net/asterisk13/files/patch-main__http.c Thu Nov 9 19:57:31 2017 (r453864) @@ -1,6 +1,6 @@ ---- main/http.c.orig 2015-07-24 22:20:17 UTC +--- main/http.c.orig 2017-10-13 17:46:56 UTC +++ main/http.c -@@ -2080,7 +2080,7 @@ static int __ast_http_load(int reload) +@@ -2098,7 +2098,7 @@ static int __ast_http_load(int reload) struct http_uri_redirect *redirect; struct ast_flags config_flags = { reload ? CONFIG_FLAG_FILEUNCHANGED : 0 }; uint32_t bindport = DEFAULT_PORT; Modified: branches/2017Q4/net/asterisk13/files/patch-main__lock.c ============================================================================== --- branches/2017Q4/net/asterisk13/files/patch-main__lock.c Thu Nov 9 19:44:52 2017 (r453863) +++ branches/2017Q4/net/asterisk13/files/patch-main__lock.c Thu Nov 9 19:57:31 2017 (r453864) @@ -1,6 +1,6 @@ ---- main/lock.c.orig 2014-12-12 23:40:50 UTC +--- main/lock.c.orig 2017-10-13 17:46:56 UTC +++ main/lock.c -@@ -701,9 +701,6 @@ int __ast_rwlock_init(int tracking, cons +@@ -703,9 +703,6 @@ int __ast_rwlock_init(int tracking, const char *filena #endif /* DEBUG_THREADS */ pthread_rwlockattr_init(&attr); Modified: branches/2017Q4/net/asterisk13/files/patch-res_res__pjsip_pjsip__cli.c ============================================================================== --- branches/2017Q4/net/asterisk13/files/patch-res_res__pjsip_pjsip__cli.c Thu Nov 9 19:44:52 2017 (r453863) +++ branches/2017Q4/net/asterisk13/files/patch-res_res__pjsip_pjsip__cli.c Thu Nov 9 19:57:31 2017 (r453864) @@ -1,6 +1,6 @@ ---- res/res_pjsip/pjsip_cli.c.orig 2016-05-13 17:41:41 UTC +--- res/res_pjsip/pjsip_cli.c.orig 2017-10-13 17:46:56 UTC +++ res/res_pjsip/pjsip_cli.c -@@ -172,7 +172,7 @@ char *ast_sip_cli_traverse_objects(struc +@@ -172,7 +172,7 @@ char *ast_sip_cli_traverse_objects(struct ast_cli_entr } regex = a->argv[4]; } else {