summaryrefslogtreecommitdiff
path: root/comms/asterisk
diff options
context:
space:
mode:
authorjnemeth <jnemeth@pkgsrc.org>2016-10-26 05:53:37 +0000
committerjnemeth <jnemeth@pkgsrc.org>2016-10-26 05:53:37 +0000
commitac86807c869f7986e8944bacccd0fa91ed96668c (patch)
tree1b54aeb9167dc80e8fd0c22189f6416da8d34d03 /comms/asterisk
parent4eaffed454c6954470325ad09fc0684c35c51e22 (diff)
downloadpkgsrc-ac86807c869f7986e8944bacccd0fa91ed96668c.tar.gz
Update to Asterisk 11.24.0: this is a bug fix release.
The Asterisk Development Team has announced the release of Asterisk 11.24.0. The release of Asterisk 11.24.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following are the issues resolved in this release: Bugs fixed in this release: ----------------------------------- * ASTERISK-26438 - [patch] chan_sip: auto_force_rport: No NAT = No Symmetric Response. (Reported by Alexander Traud) * ASTERISK-18232 - Broken REGISTER sent to IPv4 server when bindaddr=[::] (Reported by Jacek) * ASTERISK-26359 - [patch] cdr_mysql: fails to use UTC if so instructed (Reported by Tzafrir Cohen) * ASTERISK-19968 - TCP Session-Timers not dropping call (Reported by Aaron Hamstra) * ASTERISK-26360 - app_queue: "queue show" output gets "failed to extend from 240 to 327" msgs. (Reported by Richard Mudgett) * ASTERISK-26272 - chan_sip: File descriptors leak (UDP sockets) (Reported by Etienne Lessard) * ASTERISK-26288 - followme: fails to reset config items to default values on reload (Reported by Tzafrir Cohen) * ASTERISK-26282 - AEL: macro-call in Dial application, macro "lacks 's' extension" (Reported by chris de rock) * ASTERISK-26226 - pbx: Asterisk crash on AMI action "ShowDialplan" when there's a circular dependency between contexts (Reported by Etienne Lessard) * ASTERISK-26299 - app_queue: Queue application sometimes stops calling members with Local interface (Reported by Etienne Lessard) * ASTERISK-26306 - channel: Hang-up crashes, chan_pjsip not cleaning up properly (Reported by Alexander Traud) * ASTERISK-26203 - res_fax: Deadlock when using FAXOPT(gateway)=yes with Local channels (Reported by Etienne Lessard) * ASTERISK-24822 - Deadlock: Fax Gateway framehook creates locking inversion in T.38 query option with features bridging code (Reported by David Brillert) * ASTERISK-22732 - Deadlock potential in res_fax and CCSS with local channels. (Reported by Richard Mudgett) * ASTERISK-24841 - ConfBridge: Strange sampling rates chosen when channels have multiple native formats (Reported by Matt Jordan) * ASTERISK-24425 - [patch] jabber/xmpp to use TLS instead of SSLv3, security fix POODLE (CVE-2014-3566) (Reported by abelbeck) * ASTERISK-25706 - pbx: Abort asterisk on features reload (handle_hint_change) (Reported by Krzysztof Trempala) * ASTERISK-26233 - pbx: Failure to remove inconsistent extension names (Reported by Corey Farrell) * ASTERISK-26267 - ast_register_atexit callbacks should be run on failed startup. (Reported by Corey Farrell) * ASTERISK-26265 - Errors ignored from some parts of system initialization. (Reported by Corey Farrell) * ASTERISK-25996 - Remove "live_dangerously" requirement on DB(read) (Reported by Andrew Nagy) * ASTERISK-26237 - Fax is detected on regular calls. (Reported by Richard Mudgett) * ASTERISK-23013 - [patch] Deadlock between 'sip show channels' command and attended transfer handling (Reported by Ben Smithurst) * ASTERISK-26211 - Unit tests: AST_TEST_DEFINE should be used in conditional code. (Reported by Corey Farrell) * ASTERISK-26207 - [patch] sRTP: Count a roll-over of the sequence number even on lost packets. (Reported by Alexander Traud) * ASTERISK-26038 - 'make install' doesn't seem to install OS/X init files (Reported by Tzafrir Cohen) * ASTERISK-26133 - app_queue: Queue members receive multiple calls (Reported by Richard Miller) * ASTERISK-26196 - pbx: Time based includes can leak timezone string (Reported by Corey Farrell) * ASTERISK-25659 - res_rtp_asterisk: ECDH not negotiated causing DTLS failure occurred on RTP instance (Reported by Edwin Vandamme) * ASTERISK-26046 - [patch] Avoid obsolete warnings on autoconf. (Reported by Alexander Traud) * ASTERISK-25289 - Build System does not respect CFLAGS and CXXFLAGS when building menuselect (Reported by Jeffrey Walton) * ASTERISK-26119 - [patch] fix: memory leaks, resource leaks, out of bounds and bugs (Reported by Alexei Gradinari) * ASTERISK-26179 - chan_sip: Second T.38 request fails (Reported by Joshua Colp) * ASTERISK-26157 - Build: Fix errors highlighted by GCC 6.x (Reported by George Joseph) Improvements made in this release: ----------------------------------- * ASTERISK-26220 - Add support for noreturn function attributes. (Reported by Corey Farrell) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-11.24.0 Thank you for your continued support of Asterisk!
Diffstat (limited to 'comms/asterisk')
-rw-r--r--comms/asterisk/Makefile5
-rw-r--r--comms/asterisk/distinfo19
-rw-r--r--comms/asterisk/patches/patch-res_res__fax.c37
3 files changed, 49 insertions, 12 deletions
diff --git a/comms/asterisk/Makefile b/comms/asterisk/Makefile
index bcb807ab2fd..367fc041537 100644
--- a/comms/asterisk/Makefile
+++ b/comms/asterisk/Makefile
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.143 2016/10/09 21:41:55 wiz Exp $
+# $NetBSD: Makefile,v 1.144 2016/10/26 05:53:37 jnemeth Exp $
#
# NOTE: when updating this package, there are two places that sound
# tarballs need to be checked; look win ${WRKSRC}/sounds/Makefile
# to find out the current sound file versions
-DISTNAME= asterisk-11.23.1
-PKGREVISION= 2
+DISTNAME= asterisk-11.24.0
CATEGORIES= comms net audio
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ \
diff --git a/comms/asterisk/distinfo b/comms/asterisk/distinfo
index f09da264123..7379e4e3fc6 100644
--- a/comms/asterisk/distinfo
+++ b/comms/asterisk/distinfo
@@ -1,13 +1,13 @@
-$NetBSD: distinfo,v 1.80 2016/09/23 19:16:29 jnemeth Exp $
+$NetBSD: distinfo,v 1.81 2016/10/26 05:53:37 jnemeth Exp $
-SHA1 (asterisk-11.23.1/asterisk-11.23.1.tar.gz) = cae7aa5a7e1515928a255f5bd3715f67c13285d3
-RMD160 (asterisk-11.23.1/asterisk-11.23.1.tar.gz) = e789fc326db6771e3a865516241dbc47ecb73fd7
-SHA512 (asterisk-11.23.1/asterisk-11.23.1.tar.gz) = 6d067ea86a7c050b19e29d6ea25aefd23c3f32bb7d334f4e3c74bcaedaf21e4faeeab71b4fd260fc39f3e12f645c3bf89737f4c2d16f988cc66f93d4e47f80a7
-Size (asterisk-11.23.1/asterisk-11.23.1.tar.gz) = 35098451 bytes
-SHA1 (asterisk-11.23.1/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 831ae6442e23cbef1e7d1c84798778ad0b0524d1
-RMD160 (asterisk-11.23.1/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = d52df795201c53fc4cd7d99ed41516e312f6f0f3
-SHA512 (asterisk-11.23.1/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = c7d3c3fd2c854e6776801312d34bf69bbed78a443c16121637f508c5275f18b1d415cbb6e4f6f8c5aa3769cbbfa1a11485b9972053777f3ac39256c2c81729f1
-Size (asterisk-11.23.1/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 4256538 bytes
+SHA1 (asterisk-11.24.0/asterisk-11.24.0.tar.gz) = 30baba5d03a3a31c1861771b1ccb1275e7778655
+RMD160 (asterisk-11.24.0/asterisk-11.24.0.tar.gz) = 5c478d86fb080c483aabd94f48d9593f9eeef9cc
+SHA512 (asterisk-11.24.0/asterisk-11.24.0.tar.gz) = 0ae77070432da3d07c8431b174b32f6c261d8a4397bf72c26e22ed15dbc10a1c5814b1a9856e98997b935cc0c4e70cdb4415ac6472b2e5135fd8817deed8058f
+Size (asterisk-11.24.0/asterisk-11.24.0.tar.gz) = 35139944 bytes
+SHA1 (asterisk-11.24.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 831ae6442e23cbef1e7d1c84798778ad0b0524d1
+RMD160 (asterisk-11.24.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = d52df795201c53fc4cd7d99ed41516e312f6f0f3
+SHA512 (asterisk-11.24.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = c7d3c3fd2c854e6776801312d34bf69bbed78a443c16121637f508c5275f18b1d415cbb6e4f6f8c5aa3769cbbfa1a11485b9972053777f3ac39256c2c81729f1
+Size (asterisk-11.24.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 4256538 bytes
SHA1 (patch-Makefile) = 5fd774779d3c8d85936beca8a3407dd3011af2dc
SHA1 (patch-addons_chan__ooh323.c) = 57f61a2edf0f9f022e03837230ee572ec9cf47b4
SHA1 (patch-apps_app__confbridge.c) = c815905994355a19c32e8e3e2eb5dc9f1679eb29
@@ -76,6 +76,7 @@ SHA1 (patch-res_res__calendar.c) = a4c491d8c77f88d0834d0eb52622f7c6e4f3428b
SHA1 (patch-res_res__calendar__caldav.c) = 673e8a256fc748338f35c7deddbf283809d19904
SHA1 (patch-res_res__calendar__icalendar.c) = 3258522abbdc5c0cfe76868f73f16931118983e5
SHA1 (patch-res_res__config__pgsql.c) = 719fa8939ca0e6cae256dd1b19a11405f475a620
+SHA1 (patch-res_res__fax.c) = 5555bfe6f911f4bdbd5d54dca5260138c296744d
SHA1 (patch-res_res__timing__kqueue.c) = 36dba3fb1081bccc872145a4d9601e179ac2981a
SHA1 (patch-res_res__xmpp.c) = 25ce66a0536a290598b4c11f14c7ab94f6577af5
SHA1 (patch-sounds_Makefile) = 792c2e25e1c8334fe8c9038b8b630376a5894c31
diff --git a/comms/asterisk/patches/patch-res_res__fax.c b/comms/asterisk/patches/patch-res_res__fax.c
new file mode 100644
index 00000000000..16d9c9badf6
--- /dev/null
+++ b/comms/asterisk/patches/patch-res_res__fax.c
@@ -0,0 +1,37 @@
+$NetBSD: patch-res_res__fax.c,v 1.1 2016/10/26 05:53:37 jnemeth Exp $
+
+--- res/res_fax.c.orig 2016-10-25 18:53:17.000000000 +0000
++++ res/res_fax.c
+@@ -2982,6 +2982,10 @@ static void fax_gateway_framehook_destro
+ ao2_ref(gateway, -1);
+ }
+
++RAII_DECL(struct ast_fax_session_details *, details, ao2_cleanup);
++RAII_DECL(struct ast_channel *, peer, ao2_cleanup);
++RAII_DECL(struct ast_channel *, chan_ref, ao2_cleanup);
++
+ /*!
+ * \brief T.30<->T.38 gateway framehook.
+ *
+@@ -3002,9 +3006,9 @@ static struct ast_frame *fax_gateway_fra
+ {
+ struct fax_gateway *gateway = data;
+ struct ast_channel *active;
+- RAII_VAR(struct ast_fax_session_details *, details, NULL, ao2_cleanup);
+- RAII_VAR(struct ast_channel *, peer, NULL, ao2_cleanup);
+- RAII_VAR(struct ast_channel *, chan_ref, chan, ao2_cleanup);
++ RAII_VAR(struct ast_fax_session_details *, details, NULL);
++ RAII_VAR(struct ast_channel *, peer, NULL);
++ RAII_VAR(struct ast_channel *, chan_ref, chan);
+
+ /* Ref bump channel for when we have to unlock it */
+ ao2_ref(chan_ref, 1);
+@@ -3347,7 +3351,7 @@ static struct ast_frame *fax_detect_fram
+ struct ast_fax_session_details *details;
+ struct ast_control_t38_parameters *control_params;
+ struct ast_channel *peer;
+- RAII_VAR(struct ast_channel *, chan_ref, chan, ao2_cleanup);
++ RAII_VAR(struct ast_channel *, chan_ref, chan);
+ int result = 0;
+
+ /* Ref bump the channel for when we have to unlock it */