summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2020-08-13 09:24:25 +0000
committerryoon <ryoon@pkgsrc.org>2020-08-13 09:24:25 +0000
commitf468b18b4b7d41e9e84ece9c1966d72cbbde986a (patch)
tree601c79d33e2233a4d17d2ba940c7d2046a831ffa
parent08a10691e600dbdbc4f8fd3dd9066a5b0b914d12 (diff)
downloadpkgsrc-f468b18b4b7d41e9e84ece9c1966d72cbbde986a.tar.gz
asterisk16: Update to 16.12.0
Changelog: Bugs fixed in this release: ----------------------------------- [ASTERISK-28878] - chan_pjsip: PJSIP_MEDIA_OFFER Broken asterisk 16 (Reported by Joseph Ades) [ASTERISK-28965] - res_pjsip: Apply outbound proxy to static contacts on AOR (Reported by Joshua C. Colp) [ASTERISK-28930] - ./configure --without-ssl build failure (Reported by Jaco Kroon) [ASTERISK-28886] - chan_pjsip: PJSIP_SC_NULL does not exist in pjproject 2.7.2 (Reported by Jared Smith) [ASTERISK-28957] - chan_sip: chan_sip does not process 400 response to an INVITE. (Reported by Frederic LE FOLL) [ASTERISK-28888] - res_corosync: causes asterisk crash in huge distributed environment. (Reported by Università di Bologna - CESIA VoIP) [ASTERISK-28955] - "setvar" doesn't work properly in dahdi-channels.conf (Reported by Marin Odrljin) [ASTERISK-28954] - StreamEcho() only returns 1 active stream (Reported by Bill Kervaski) [ASTERISK-28942] - res_sorcery_memory_cache: Individual object expiration behaves unexpectedly with full backend caching (Reported by Joshua C. Colp) [ASTERISK-28953] - res_pjsip_session: Preserve stream label (Reported by Joshua C. Colp) [ASTERISK-28952] - Queue wrapuptime sometimes not respected (based on stale lastcall time) (Reported by Walter Doekes) [ASTERISK-28950] - Stale code in app_queue to check untouched channel (Reported by Walter Doekes) [ASTERISK-28644] - Stale comment in app_queue about ring_entry exception (Reported by Walter Doekes) [ASTERISK-28948] - ARI channel create doesn't referencing the channel_id parameter (Reported by sungtae kim) [ASTERISK-28938] - core_unreal / core_local: Add support for multistream and re-negotiation (Reported by Joshua C. Colp) [ASTERISK-28939] - res_rtp_asterisk: Don't have send/receive buffers on non-WebRTC (Reported by Joshua C. Colp) [ASTERISK-28944] - bridge_softmix: Transitioning a stream from inactive -> sendrecv/sendonly doesn't re-negotiation (Reported by Joshua C. Colp) [ASTERISK-28923] - T.38 Segfaults in chan_pjsip_queryoption (Reported by Yury Kirsanov) [ASTERISK-28940] - /channels/create doesn't get any parameters from the body (Reported by sungtae kim) [ASTERISK-28936] - res_pjsip: crash when dialing non-sip uri (Reported by Walter Doekes) [ASTERISK-28900] - res_fax: Double frame free when gateway in use with off-nominal format usage (Reported by Gregory Massel) [ASTERISK-28929] - pjproject_bundled: Honor --without-pjproject. (Reported by Alexander Traud) [ASTERISK-28932] - res_pjsip_logger writing too big packets (Reported by nappsoft) [ASTERISK-28921] - Wrong return value check for fwrite when writing to pcap file (Reported by nappsoft) Improvements made in this release: ----------------------------------- [ASTERISK-28959] - res_pjsip: Added option for disable rport parameter set (Reported by sungtae kim) [ASTERISK-28958] - Continue reading string when ping received by websocket (Reported by Nickolay V. Shmyrev) [ASTERISK-28945] - AMI SendText - add Content-Type parameter (Reported by Kevin Harwell) [ASTERISK-28949] - res_http_websocket: Add masking to websocket client (Reported by Moises Silva) [ASTERISK-28899] - Upgrade Asterisk to bundled pjproject 2.10 (Reported by Kevin Harwell)
-rw-r--r--comms/asterisk16/Makefile6
-rw-r--r--comms/asterisk16/distinfo38
-rw-r--r--comms/asterisk16/patches/patch-configure23
-rw-r--r--comms/asterisk16/patches/patch-configure.ac21
4 files changed, 53 insertions, 35 deletions
diff --git a/comms/asterisk16/Makefile b/comms/asterisk16/Makefile
index c0de46b615e..f6745d792b1 100644
--- a/comms/asterisk16/Makefile
+++ b/comms/asterisk16/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.66 2020/06/12 16:23:53 ryoon Exp $
+# $NetBSD: Makefile,v 1.67 2020/08/13 09:24:25 ryoon Exp $
#
# NOTE: when updating this package, there are two places that sound
# tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile
# to find out the current sound file versions
-DISTNAME= asterisk-16.11.0
+DISTNAME= asterisk-16.12.0
CATEGORIES= comms net audio
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/
MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
@@ -157,7 +157,7 @@ CONFIGURE_ARGS+= --without-unbound
DISTFILES+= asterisk-extra-sounds-en-gsm-1.5.2.tar.gz
# pjproject
-PJPROJ_VERSION= 2.9
+PJPROJ_VERSION= 2.10
SITES.pjproject-${PJPROJ_VERSION}.tar.bz2= \
-https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/${PJPROJ_VERSION}/pjproject-${PJPROJ_VERSION}.tar.bz2
SITES.pjproject-${PJPROJ_VERSION}.md5= \
diff --git a/comms/asterisk16/distinfo b/comms/asterisk16/distinfo
index 1298a0cfe31..dfe73be76ed 100644
--- a/comms/asterisk16/distinfo
+++ b/comms/asterisk16/distinfo
@@ -1,26 +1,26 @@
-$NetBSD: distinfo,v 1.35 2020/06/12 16:23:53 ryoon Exp $
+$NetBSD: distinfo,v 1.36 2020/08/13 09:24:25 ryoon Exp $
-SHA1 (asterisk-16.11.0/asterisk-16.11.0.tar.gz) = 9a9d1c7a45210d94e266686462203405e5d34dda
-RMD160 (asterisk-16.11.0/asterisk-16.11.0.tar.gz) = 74036bece29f9865f1110d8f69621e6e8cb2d79f
-SHA512 (asterisk-16.11.0/asterisk-16.11.0.tar.gz) = 1b138c6a4ac442504d05c1f9a327cdc1396669a328f86678252fe578dc0e3cccf5b4d7856937862f7cc531a0618e3b7e6eebc041ab435efe676cd89e6d877ee6
-Size (asterisk-16.11.0/asterisk-16.11.0.tar.gz) = 27708591 bytes
-SHA1 (asterisk-16.11.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 0207e289404704c42941759db9660269599044f9
-RMD160 (asterisk-16.11.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 5d660e7664a56086bd60ad49196e1b622a60f106
-SHA512 (asterisk-16.11.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f2f7bf3d5bce3544bc013f913c352f0204a3ce96239987403eb9dce8bc87e64a61d437762323a422a87b2fad1f3bf3e7a5f3d0d340f912a1b1dbfea9479d41d
-Size (asterisk-16.11.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 4253587 bytes
-SHA1 (asterisk-16.11.0/pjproject-2.9.md5) = f8162e9ab7e4de130c166d9ac2f4271ded408ab0
-RMD160 (asterisk-16.11.0/pjproject-2.9.md5) = 71f1173138a806451480180ab4147bbddae259d8
-SHA512 (asterisk-16.11.0/pjproject-2.9.md5) = bfc8fb4ecb6fcb6b9fe2c088e3236ccab74f09bda163c7f1a9b548b0c514228b20ca15c734ff53ed88810b32e904743b396fffdf5d1a6e0c8d66427f0216c0cd
-Size (asterisk-16.11.0/pjproject-2.9.md5) = 107 bytes
-SHA1 (asterisk-16.11.0/pjproject-2.9.tar.bz2) = 4b7690e90a9fbe757ac7c5b0db9a2d3db8927824
-RMD160 (asterisk-16.11.0/pjproject-2.9.tar.bz2) = 7333d158e05b4bee16af0a91d4432c6f9e570bf5
-SHA512 (asterisk-16.11.0/pjproject-2.9.tar.bz2) = a65823a86ad0cd76890cf7dd2485f7547fd90aea2ef631c5420c009b35f39eda3b78551a42fc2816c2470de9eb728c26497774a8494824472ecaa1d2889cc20b
-Size (asterisk-16.11.0/pjproject-2.9.tar.bz2) = 5009546 bytes
+SHA1 (asterisk-16.12.0/asterisk-16.12.0.tar.gz) = 85f67fbba2401f45ace3d47eff6affa36521682c
+RMD160 (asterisk-16.12.0/asterisk-16.12.0.tar.gz) = 99779e3f6e977752c1e2a851ee5360c9b0215d04
+SHA512 (asterisk-16.12.0/asterisk-16.12.0.tar.gz) = 1fc41b92d070efd4a7ea5db1a36c83bdb6dbbe7d9b5087b0a887ba3d6875e81ba1b71a79b216138b242f0349a176baf6745480ff6fb7ed47c62dda4b09b6a891
+Size (asterisk-16.12.0/asterisk-16.12.0.tar.gz) = 27727347 bytes
+SHA1 (asterisk-16.12.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 0207e289404704c42941759db9660269599044f9
+RMD160 (asterisk-16.12.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 5d660e7664a56086bd60ad49196e1b622a60f106
+SHA512 (asterisk-16.12.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f2f7bf3d5bce3544bc013f913c352f0204a3ce96239987403eb9dce8bc87e64a61d437762323a422a87b2fad1f3bf3e7a5f3d0d340f912a1b1dbfea9479d41d
+Size (asterisk-16.12.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 4253587 bytes
+SHA1 (asterisk-16.12.0/pjproject-2.10.md5) = 1f91cf11ef1df14344817905e165cc1908668d18
+RMD160 (asterisk-16.12.0/pjproject-2.10.md5) = c33bbef404923860a41e34520871c0fa7533a01d
+SHA512 (asterisk-16.12.0/pjproject-2.10.md5) = bd24048c9c2fdaf06468e44bceca92bd02848d759ef98285d20b50174f865b1aec2928f1ce6c092862397ba83dd1a74da4a7e479eca881df1e9f9d1c211a7054
+Size (asterisk-16.12.0/pjproject-2.10.md5) = 110 bytes
+SHA1 (asterisk-16.12.0/pjproject-2.10.tar.bz2) = 0c691fa3562d4daad4b4374df61e8325ac15cc55
+RMD160 (asterisk-16.12.0/pjproject-2.10.tar.bz2) = 9ffe871976a67e4d29d45fdb2c1fc26b2925ef86
+SHA512 (asterisk-16.12.0/pjproject-2.10.tar.bz2) = fe29edccc63a8e72323e1b6f955a8c3475e26aba9cb8f5125546da4409fecc19a09a7950eee6b8e4a3c908943bc043d95130f878ad52958c5eccc617e3bcfb4e
+Size (asterisk-16.12.0/pjproject-2.10.tar.bz2) = 7339188 bytes
SHA1 (patch-Makefile) = f7630acc724e1beb422226318611d5f3f79be82b
SHA1 (patch-build__tools_mkpkgconfig) = 7fab8fcf46d9f8a3b98455674fec6307ec472b23
SHA1 (patch-channels_Makefile) = b32bb8439ae07ed361ab7cb811b4766a27f09ec9
-SHA1 (patch-configure) = b25ac1178eb77a1d0ecb57f5b37813cf1a4ad5c6
-SHA1 (patch-configure.ac) = 63a54b310ea38216861206f07116614ddfb90e20
+SHA1 (patch-configure) = 65da4b46faae700c39b316cc88f6757f8b023657
+SHA1 (patch-configure.ac) = 91a080a5190eb397021676ba2f579990939b40e8
SHA1 (patch-contrib_scripts_vmail.cgi) = 7935ce96ea319eb19cc2ce999813eb837d5357c0
SHA1 (patch-include_asterisk_autoconfig.h.in) = 2f8a986bd3b35ebb384280f0dbf81c32d689ddd2
SHA1 (patch-include_asterisk_sha1.h) = 9b233ef82b50b8d94177616e1382991656ce1ebf
diff --git a/comms/asterisk16/patches/patch-configure b/comms/asterisk16/patches/patch-configure
index 9a609d2a6b2..3d12d91fddb 100644
--- a/comms/asterisk16/patches/patch-configure
+++ b/comms/asterisk16/patches/patch-configure
@@ -1,8 +1,8 @@
-$NetBSD: patch-configure,v 1.2 2019/12/21 23:29:05 joerg Exp $
+$NetBSD: patch-configure,v 1.3 2020/08/13 09:24:25 ryoon Exp $
---- configure.orig 2019-07-25 09:38:14.000000000 +0000
+--- configure.orig 2020-07-16 16:00:28.000000000 +0000
+++ configure
-@@ -9120,7 +9120,7 @@ $as_echo_n "checking for clang -fblocks.
+@@ -8960,7 +8960,7 @@ $as_echo_n "checking for clang -fblocks.
AST_CLANG_BLOCKS="-Wno-unknown-warning-option -fblocks"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
@@ -11,7 +11,16 @@ $NetBSD: patch-configure,v 1.2 2019/12/21 23:29:05 joerg Exp $
AST_CLANG_BLOCKS_LIBS="-lBlocksRuntime"
AST_CLANG_BLOCKS="-fblocks"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-@@ -14838,7 +14838,7 @@ fi
+@@ -9057,7 +9057,7 @@ if test "${with_pjproject_bundled+set}"
+ fi
+
+
+-if test "${with_pjproject}" == "no" || test "${with_pjproject}" == "n" ; then
++if test "${with_pjproject}" = "no" || test "${with_pjproject}" = "n" ; then
+ PJPROJECT_BUNDLED=no
+ fi
+
+@@ -14689,7 +14689,7 @@ fi
@@ -20,7 +29,7 @@ $NetBSD: patch-configure,v 1.2 2019/12/21 23:29:05 joerg Exp $
$as_echo "#define HAVE_PERMANENT_DLOPEN 1" >>confdefs.h
-@@ -14872,7 +14872,7 @@ fi
+@@ -14723,7 +14723,7 @@ fi
done
@@ -29,7 +38,7 @@ $NetBSD: patch-configure,v 1.2 2019/12/21 23:29:05 joerg Exp $
if test "x$ac_cv_header_sys_poll_h" = xyes; then :
else
-@@ -16887,7 +16887,7 @@ fi
+@@ -16738,7 +16738,7 @@ fi
done
@@ -38,7 +47,7 @@ $NetBSD: patch-configure,v 1.2 2019/12/21 23:29:05 joerg Exp $
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-@@ -17122,7 +17122,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -16973,7 +16973,7 @@ rm -f core conftest.err conftest.$ac_obj
LDFLAGS=${old_LDFLAGS}
rm -f conftest.dynamics
diff --git a/comms/asterisk16/patches/patch-configure.ac b/comms/asterisk16/patches/patch-configure.ac
index 460d4d16512..b6c8468d24d 100644
--- a/comms/asterisk16/patches/patch-configure.ac
+++ b/comms/asterisk16/patches/patch-configure.ac
@@ -1,8 +1,17 @@
-$NetBSD: patch-configure.ac,v 1.1 2019/08/20 13:47:42 ryoon Exp $
+$NetBSD: patch-configure.ac,v 1.2 2020/08/13 09:24:25 ryoon Exp $
---- configure.ac.orig 2019-07-25 09:38:14.000000000 +0000
+--- configure.ac.orig 2020-07-16 16:00:28.000000000 +0000
+++ configure.ac
-@@ -738,7 +738,7 @@ AC_ARG_ENABLE([permanent-dlopen],
+@@ -452,7 +452,7 @@ AC_ARG_WITH([pjproject-bundled],
+ *) PJPROJECT_BUNDLED=yes ;;
+ esac])
+
+-if test "${with_pjproject}" == "no" || test "${with_pjproject}" == "n" ; then
++if test "${with_pjproject}" = "no" || test "${with_pjproject}" = "n" ; then
+ PJPROJECT_BUNDLED=no
+ fi
+
+@@ -740,7 +740,7 @@ AC_ARG_ENABLE([permanent-dlopen],
esac], [PERMANENT_DLOPEN=no])
AC_SUBST([PERMANENT_DLOPEN])
@@ -11,7 +20,7 @@ $NetBSD: patch-configure.ac,v 1.1 2019/08/20 13:47:42 ryoon Exp $
AC_DEFINE([HAVE_PERMANENT_DLOPEN], 1, [Define to support libc with permanent dlopen.])
fi
-@@ -747,7 +747,7 @@ AC_CHECK_HEADERS([xlocale.h])
+@@ -749,7 +749,7 @@ AC_CHECK_HEADERS([xlocale.h])
AC_CHECK_HEADERS([winsock.h winsock2.h])
@@ -20,7 +29,7 @@ $NetBSD: patch-configure.ac,v 1.1 2019/08/20 13:47:42 ryoon Exp $
[],
AC_DEFINE([AST_POLL_COMPAT], 1, [Define to 1 if internal poll should be used.]))
-@@ -799,7 +799,7 @@ AC_FUNC_STRNLEN
+@@ -801,7 +801,7 @@ AC_FUNC_STRNLEN
AC_FUNC_STRTOD
AC_FUNC_UTIME_NULL
AC_FUNC_VPRINTF
@@ -29,7 +38,7 @@ $NetBSD: patch-configure.ac,v 1.1 2019/08/20 13:47:42 ryoon Exp $
AC_MSG_CHECKING(for htonll)
AC_LINK_IFELSE(
-@@ -868,9 +868,9 @@ AC_SUBST(PBX_DYNAMIC_LIST)
+@@ -870,9 +870,9 @@ AC_SUBST(PBX_DYNAMIC_LIST)
LDFLAGS=${old_LDFLAGS}
rm -f conftest.dynamics