summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjnemeth <jnemeth@pkgsrc.org>2021-12-19 00:39:11 +0000
committerjnemeth <jnemeth@pkgsrc.org>2021-12-19 00:39:11 +0000
commit951e9e49c25c6dedb9f5e290149ed9b5513feeb7 (patch)
tree805c270ea19f5699ac012a1b1ca7a80416862dc6 /comms
parent3a2fff62b4ca23591db219b572789f5ad5a19edf (diff)
downloadpkgsrc-951e9e49c25c6dedb9f5e290149ed9b5513feeb7.tar.gz
Update to Asterisk 19.1.0.
The Asterisk Development Team would like to announce the release of Asterisk 19.1.0. The release of Asterisk 19.1.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following issues are resolved in this release: New Features made in this release: ----------------------------------- * ASTERISK-29720 - res_tonedetect: Add call progress tone detection (Reported by N A) * ASTERISK-18069 - [patch] app_queue Add Login Time and Last Paused Times to Queue Members (Reported by Jamuel Starkey) Bugs fixed in this release: ----------------------------------- * ASTERISK-29779 - progdocs: Hidden code sections with syntax errors. (Reported by Alexander Traud) * ASTERISK-29732 - progdocs: Fix grouping for latest Doxygen (Reported by Alexander Traud) * ASTERISK-29771 - Crash occurs when 2 realtime sippeers mysql connections are configured and we have a schema warning (Reported by Mario Ban) * ASTERISK-29776 - stir/shaken: Requires GNU designator (Reported by Alexander Traud) * ASTERISK-29773 - progdocs: doxyref.h outdated (Reported by Alexander Traud) * ASTERISK-29765 - xmldoc: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29762 - channels: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29730 - Segfault in __ao2_ref if refdebug = yes (Reported by Alexei Gradinari) * ASTERISK-29748 - bridging: Infinite loop when both Local channel halves in same bridge (Reported by Joshua C. Colp) * ASTERISK-29754 - odbc: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29753 - parking: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29756 - res_ari: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29755 - frame: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29751 - channel: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29752 - app: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29750 - stasis: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29749 - res_xmpp: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29742 - addons: Fix for Doxygen. (Reported by Alexander Traud) * ASTERISK-29747 - res_pjsip: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29737 - chan_iax2: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29743 - bridges: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29740 - apps: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29741 - tests: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29736 - bridge_channel: Fix for Doxygen (Reported by Alexander Traud) * ASTERISK-29734 - progdocs: Use Doxygen \example correctly (Reported by Alexander Traud) * ASTERISK-29735 - progdocs: Avoid multiple use of section labels (Reported by Alexander Traud) * ASTERISK-29733 - progdocs: Avoid name with Doxygen \file (Reported by Alexander Traud) * ASTERISK-29744 - app_morsecode: Fix deadlock (Reported by N A) * ASTERISK-29705 - app_read: Fix custom terminator functionality regression (Reported by N A) * ASTERISK-29703 - res_pjsip_callerid: Fix OLI parsing (Reported by N A) * ASTERISK-29724 - BuildSystem: In POSIX sh, == in place of = is undefined. (Reported by Alexander Traud) * ASTERISK-29702 - sig_analog: Fix truncated buffer copy (Reported by N A) * ASTERISK-28040 - pbx: "dialplan reload" is removing minus symbol from dynamic hints (Reported by Daniel Zanutti) * ASTERISK-29391 - VoiceMail does not cancel recording on rerecord hangup (Reported by N A) * ASTERISK-29709 - res_snmp: Not build on recent Debian distributions. (Reported by Alexander Traud) * ASTERISK-29717 - res_config_sqlite: not removed in makeopts.in (Reported by Alexander Traud) * ASTERISK-29710 - stasis: Clang 13 warns about the unused but set variable dispatched. (Reported by Alexander Traud) * ASTERISK-29711 - aelparse: GCC 11.2 found two maybe uninitialized (Reported by Alexander Traud) * ASTERISK-29713 - GCC 11.2: two stringop-overread (Reported by Alexander Traud) * ASTERISK-29682 - Squash compiler issues generated by gcc 11 (Reported by George Joseph) * ASTERISK-29693 - Using --with-crypto and --with-ssl fails on a recompile (Reported by George Joseph) * ASTERISK-27816 - func_talkdetect's logic is completely broken (Reported by Moritz Fain) * ASTERISK-26497 - make install downloads x86_32 variants of external modules on non Intel architectures (Reported by Corey Farrell) * ASTERISK-29691 - stun: Not all users provide a dst to ast_stun_request (Reported by Dennis Haney) Improvements made in this release: ----------------------------------- * ASTERISK-29777 - documentation: Standardize example syntax (Reported by N A) * ASTERISK-29715 - app_voicemail: Refactor email generation functions (Reported by N A) * ASTERISK-29727 - Add type for JSON stasis message RTCP Report Received/Sent (Reported by Boris P. Korzun) * ASTERISK-29714 - Spelling errors (Reported by Josh Soref) * ASTERISK-29707 - chan_iax2: Allow both key and secret to be specified at dial time (Reported by N A) * ASTERISK-29662 - Add mix option to Playback application for say and filename (Reported by Shloime Rosenblum) For a full list of changes in this release, please see the ChangeLog: https://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-19.1.0
Diffstat (limited to 'comms')
-rw-r--r--comms/asterisk19/Makefile9
-rw-r--r--comms/asterisk19/PLIST4
-rw-r--r--comms/asterisk19/distinfo30
-rw-r--r--comms/asterisk19/patches/patch-configure34
-rw-r--r--comms/asterisk19/patches/patch-main_bridge__channel.c12
5 files changed, 35 insertions, 54 deletions
diff --git a/comms/asterisk19/Makefile b/comms/asterisk19/Makefile
index a034966ff52..b6c65f82d3c 100644
--- a/comms/asterisk19/Makefile
+++ b/comms/asterisk19/Makefile
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.3 2021/12/08 16:03:34 adam Exp $
+# $NetBSD: Makefile,v 1.4 2021/12/19 00:39:11 jnemeth 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
# Also look in ${WRKSRC}/third-party/versions.mak for pjproject
-DISTNAME= asterisk-19.0.0
+DISTNAME= asterisk-19.1.0
#PKGREVISION= 24
-PKGREVISION= 1
CATEGORIES= comms net audio
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/
MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
@@ -120,7 +119,7 @@ BUILDLINK_TRANSFORM+= rm:-march=i386
.endif
PLIST_VARS+= kqueue
-.if exists(/usr/include/sys/event.h)
+.if defined(OPSYS_HAS_KQUEUE)
PLIST.kqueue= yes
.endif
@@ -288,7 +287,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/UPGRADE.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/Zaptel-to-DAHDI.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
- ${INSTALL_DATA} ${WRKSRC}/asterisk-19.0.0-summary.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/asterisk-19.1.0-summary.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/doc/IAX2-security.pdf ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/doc/IAX2-security.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/doc/README.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
diff --git a/comms/asterisk19/PLIST b/comms/asterisk19/PLIST
index b8da7b773b8..0037af71b93 100644
--- a/comms/asterisk19/PLIST
+++ b/comms/asterisk19/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2021/11/14 02:30:21 jnemeth Exp $
+@comment $NetBSD: PLIST,v 1.2 2021/12/19 00:39:11 jnemeth Exp $
lib/asterisk/libasteriskpj.so
lib/asterisk/libasteriskpj.so.2
lib/asterisk/modules/app_adsiprog.so
@@ -2321,7 +2321,7 @@ share/doc/asterisk/README.md
share/doc/asterisk/README.txt
share/doc/asterisk/UPGRADE.txt
share/doc/asterisk/Zaptel-to-DAHDI.txt
-share/doc/asterisk/asterisk-19.0.0-summary.txt
+share/doc/asterisk/asterisk-19.1.0-summary.txt
share/examples/asterisk/acl.conf
share/examples/asterisk/adsi.conf
share/examples/asterisk/aeap.conf
diff --git a/comms/asterisk19/distinfo b/comms/asterisk19/distinfo
index 27774e447e2..3593cd8a30f 100644
--- a/comms/asterisk19/distinfo
+++ b/comms/asterisk19/distinfo
@@ -1,17 +1,17 @@
-$NetBSD: distinfo,v 1.1 2021/11/14 02:30:21 jnemeth Exp $
+$NetBSD: distinfo,v 1.2 2021/12/19 00:39:11 jnemeth Exp $
-BLAKE2s (asterisk-19.0.0/asterisk-19.0.0.tar.gz) = fd7ceffcac3f60c81657cc8c50c7b9e5d3e79adc80026f1b63cffaa57de36350
-SHA512 (asterisk-19.0.0/asterisk-19.0.0.tar.gz) = 8d939eefad4307257d8b43a0c95dd8c2726de56a4d03f40f1637cfa70c4df663e171bbea90b801a0e4ae02dc22b2e8fda68f7a6673320ca9f5975ebf5fecb9f8
-Size (asterisk-19.0.0/asterisk-19.0.0.tar.gz) = 27833296 bytes
-BLAKE2s (asterisk-19.0.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f7e5fe212d7e7cdca14c52527a2552311ab7762c3f1464b09ddedc7c66aebde
-SHA512 (asterisk-19.0.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f2f7bf3d5bce3544bc013f913c352f0204a3ce96239987403eb9dce8bc87e64a61d437762323a422a87b2fad1f3bf3e7a5f3d0d340f912a1b1dbfea9479d41d
-Size (asterisk-19.0.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 4253587 bytes
-BLAKE2s (asterisk-19.0.0/pjproject-2.10.md5) = 6739f51daf24d0567304f773bd49648c1be3a7a4a33c0f3353279fb349168e7e
-SHA512 (asterisk-19.0.0/pjproject-2.10.md5) = bd24048c9c2fdaf06468e44bceca92bd02848d759ef98285d20b50174f865b1aec2928f1ce6c092862397ba83dd1a74da4a7e479eca881df1e9f9d1c211a7054
-Size (asterisk-19.0.0/pjproject-2.10.md5) = 110 bytes
-BLAKE2s (asterisk-19.0.0/pjproject-2.10.tar.bz2) = fac6400fa94cde09a848314b754062364c021e8c13d3fe28493634d4415959f7
-SHA512 (asterisk-19.0.0/pjproject-2.10.tar.bz2) = fe29edccc63a8e72323e1b6f955a8c3475e26aba9cb8f5125546da4409fecc19a09a7950eee6b8e4a3c908943bc043d95130f878ad52958c5eccc617e3bcfb4e
-Size (asterisk-19.0.0/pjproject-2.10.tar.bz2) = 7339188 bytes
+BLAKE2s (asterisk-19.1.0/asterisk-19.1.0.tar.gz) = 529c086184ff2ffdacfa8d1a671e03baddfa7c9a522fb97b087e20db9309031b
+SHA512 (asterisk-19.1.0/asterisk-19.1.0.tar.gz) = db86eb8df8c1f093b90d90ae7165679b869ed3352c226325b9ffdd098a7352443b00ad7d3407a47a62e101ff9ff263dbd0c79459e6d42e95ccfb4419518b6f80
+Size (asterisk-19.1.0/asterisk-19.1.0.tar.gz) = 27804257 bytes
+BLAKE2s (asterisk-19.1.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f7e5fe212d7e7cdca14c52527a2552311ab7762c3f1464b09ddedc7c66aebde
+SHA512 (asterisk-19.1.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f2f7bf3d5bce3544bc013f913c352f0204a3ce96239987403eb9dce8bc87e64a61d437762323a422a87b2fad1f3bf3e7a5f3d0d340f912a1b1dbfea9479d41d
+Size (asterisk-19.1.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 4253587 bytes
+BLAKE2s (asterisk-19.1.0/pjproject-2.10.md5) = 6739f51daf24d0567304f773bd49648c1be3a7a4a33c0f3353279fb349168e7e
+SHA512 (asterisk-19.1.0/pjproject-2.10.md5) = bd24048c9c2fdaf06468e44bceca92bd02848d759ef98285d20b50174f865b1aec2928f1ce6c092862397ba83dd1a74da4a7e479eca881df1e9f9d1c211a7054
+Size (asterisk-19.1.0/pjproject-2.10.md5) = 110 bytes
+BLAKE2s (asterisk-19.1.0/pjproject-2.10.tar.bz2) = fac6400fa94cde09a848314b754062364c021e8c13d3fe28493634d4415959f7
+SHA512 (asterisk-19.1.0/pjproject-2.10.tar.bz2) = fe29edccc63a8e72323e1b6f955a8c3475e26aba9cb8f5125546da4409fecc19a09a7950eee6b8e4a3c908943bc043d95130f878ad52958c5eccc617e3bcfb4e
+Size (asterisk-19.1.0/pjproject-2.10.tar.bz2) = 7339188 bytes
SHA1 (patch-Makefile) = 5cf3b6937ec23a82e4d056b91e493a36bc1089b9
SHA1 (patch-addons_chan__ooh323.c) = 1775da7ca2129a962ed460bd1e78ba3ce6afa62c
SHA1 (patch-apps_app__adsiprog.c) = 031139e5cd1ef6bb2afb0a74fee3d752eded0a2c
@@ -30,7 +30,7 @@ SHA1 (patch-channels_chan__pjsip.c) = efd4cbb82133fc5ddf7de70d01c99e185c585211
SHA1 (patch-channels_chan__sip.c) = ed285612eae6cbfde19ded87db9360c0bca153c7
SHA1 (patch-channels_pjsip_cli__commands.c) = 01baa9d242e3af02a1f3540cfb3064ad68c71d67
SHA1 (patch-channels_pjsip_dialplan__functions.c) = 2cf8199c4ec9d4894eb922c2703d49ecc06188ef
-SHA1 (patch-configure) = c96698684e330ebe565b9cd4eade3869ae7f04f6
+SHA1 (patch-configure) = 14b4817975a10cded7618e3a493a32088a82283d
SHA1 (patch-configure.ac) = b972730a2be3bf54502116f1f7e03afee76a02cc
SHA1 (patch-contrib_scripts_vmail.cgi) = 7935ce96ea319eb19cc2ce999813eb837d5357c0
SHA1 (patch-funcs_func__cdr.c) = 79c743df264948e5ea9e1c292012a1f6362d0c1e
@@ -52,7 +52,7 @@ SHA1 (patch-main_ast__expr2.y) = 56ac74b5a3ae47bd5bec798e549ec43bd085e0e8
SHA1 (patch-main_asterisk.c) = 1262d792f330fe8a1bb1d1f7ba51bc502d65be42
SHA1 (patch-main_astmm.c) = 26a98d6fbb567ae619041ebd01a31349a847deab
SHA1 (patch-main_bridge__basic.c) = b48627e563e20544017fdfcfb4559e868badf41d
-SHA1 (patch-main_bridge__channel.c) = 1ea5f8d0d1ad353c63904a80a67d8e53c8672b46
+SHA1 (patch-main_bridge__channel.c) = 72dafc04521fa02e8456c09d5c9be4789d8ac918
SHA1 (patch-main_callerid.c) = 0ea1b3df8aaf3969fcd9e06055c8e6184d50d3d3
SHA1 (patch-main_cdr.c) = 540fbdb354aba100fa37392b879b92a85d1d8620
SHA1 (patch-main_cel.c) = 22fa21db8e0afa0958d34014f52e2c4fe9c73ba2
diff --git a/comms/asterisk19/patches/patch-configure b/comms/asterisk19/patches/patch-configure
index 825ce9a90f0..3041f353551 100644
--- a/comms/asterisk19/patches/patch-configure
+++ b/comms/asterisk19/patches/patch-configure
@@ -1,8 +1,8 @@
-$NetBSD: patch-configure,v 1.1 2021/11/14 02:30:21 jnemeth Exp $
+$NetBSD: patch-configure,v 1.2 2021/12/19 00:39:11 jnemeth Exp $
---- configure.orig 2021-03-04 16:46:08.000000000 +0000
+--- configure.orig 2021-12-09 16:52:10.000000000 +0000
+++ configure
-@@ -8963,12 +8963,12 @@ else
+@@ -9025,12 +9025,12 @@ else
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang -fblocks" >&5
$as_echo_n "checking for clang -fblocks... " >&6; }
@@ -17,25 +17,7 @@ $NetBSD: patch-configure,v 1.1 2021/11/14 02:30:21 jnemeth Exp $
AST_CLANG_BLOCKS_LIBS="-lBlocksRuntime"
AST_CLANG_BLOCKS="-fblocks"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-@@ -9065,7 +9065,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
-
-@@ -14727,7 +14727,7 @@ fi
-
-
-
--if test "${PERMANENT_DLOPEN}" == "yes"; then
-+if test "${PERMANENT_DLOPEN}" = "yes"; then
-
- $as_echo "#define HAVE_PERMANENT_DLOPEN 1" >>confdefs.h
-
-@@ -14761,7 +14761,7 @@ fi
+@@ -14949,7 +14949,7 @@ fi
done
@@ -44,7 +26,7 @@ $NetBSD: patch-configure,v 1.1 2021/11/14 02:30:21 jnemeth Exp $
if test "x$ac_cv_header_sys_poll_h" = xyes; then :
else
-@@ -16776,7 +16776,7 @@ fi
+@@ -16964,7 +16964,7 @@ fi
done
@@ -53,7 +35,7 @@ $NetBSD: patch-configure,v 1.1 2021/11/14 02:30:21 jnemeth 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"
-@@ -17011,7 +17011,7 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -17199,7 +17199,7 @@ rm -f core conftest.err conftest.$ac_obj
LDFLAGS=${old_LDFLAGS}
rm -f conftest.dynamics
@@ -62,7 +44,7 @@ $NetBSD: patch-configure,v 1.1 2021/11/14 02:30:21 jnemeth Exp $
if test "x$ac_cv_header_sys_poll_h" = xyes; then :
HAS_POLL=1
-@@ -19289,6 +19289,148 @@ rm -f core conftest.err conftest.$ac_obj
+@@ -19488,6 +19488,148 @@ rm -f core conftest.err conftest.$ac_obj
@@ -211,7 +193,7 @@ $NetBSD: patch-configure,v 1.1 2021/11/14 02:30:21 jnemeth Exp $
# The cast to long int works around a bug in the HP C Compiler
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
-@@ -20393,6 +20535,8 @@ $as_echo_n "checking for getifaddrs() su
+@@ -20592,6 +20734,8 @@ $as_echo_n "checking for getifaddrs() su
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
diff --git a/comms/asterisk19/patches/patch-main_bridge__channel.c b/comms/asterisk19/patches/patch-main_bridge__channel.c
index afbfb7eed70..c9e50ea8401 100644
--- a/comms/asterisk19/patches/patch-main_bridge__channel.c
+++ b/comms/asterisk19/patches/patch-main_bridge__channel.c
@@ -1,12 +1,12 @@
-$NetBSD: patch-main_bridge__channel.c,v 1.1 2021/11/14 02:30:21 jnemeth Exp $
+$NetBSD: patch-main_bridge__channel.c,v 1.2 2021/12/19 00:39:11 jnemeth Exp $
* Fix segfault under NetBSD/aarch64 9.99.80.
---- main/bridge_channel.c.orig 2021-01-21 16:28:04.000000000 +0000
+--- main/bridge_channel.c.orig 2021-12-09 16:52:10.000000000 +0000
+++ main/bridge_channel.c
-@@ -58,6 +58,13 @@
- #include "asterisk/stream.h"
+@@ -59,6 +59,13 @@
#include "asterisk/message.h"
+ #include "asterisk/core_local.h"
+/* XXX, pthread_equal() is misused to compare non-valid thread pointers */
+static int
@@ -18,7 +18,7 @@ $NetBSD: patch-main_bridge__channel.c,v 1.1 2021/11/14 02:30:21 jnemeth Exp $
/*!
* \brief Used to queue an action frame onto a bridge channel and write an action frame into a bridge.
* \since 12.0.0
-@@ -258,7 +265,7 @@ int ast_bridge_channel_notify_talking(st
+@@ -259,7 +266,7 @@ int ast_bridge_channel_notify_talking(st
*/
static void bridge_channel_poke(struct ast_bridge_channel *bridge_channel)
{
@@ -27,7 +27,7 @@ $NetBSD: patch-main_bridge__channel.c,v 1.1 2021/11/14 02:30:21 jnemeth Exp $
/* Wake up the bridge channel thread. */
ast_queue_frame(bridge_channel->chan, &ast_null_frame);
}
-@@ -971,7 +978,7 @@ static int bridge_channel_queue_action_d
+@@ -952,7 +959,7 @@ static int bridge_channel_queue_action_d
};
/* Make sure we don't end up trying to wait on ourself to deliver the frame */