From 9bc6bbaa7a4bf26184df8245c1663d6b93d3d721 Mon Sep 17 00:00:00 2001 From: jnemeth Date: Mon, 8 Oct 2012 23:56:47 +0000 Subject: update to Asterisk 1.8.17.0: this is a bugfix release: The Asterisk Development Team has announced the release of Asterisk 1.8.17.0. The release of Asterisk 1.8.17.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * --- Fix channel reference leak in ChanSpy. * --- dsp.c: Fix multiple issues when no-interdigit delay is present, and fast DTMF 50ms/50ms * --- Fix bug where final queue member would not be removed from memory. * --- Fix memory leak when CEL is successfully written to PostgreSQL database * --- Fix DUNDi message routing bug when neighboring peer is unreachable For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.17.0 Thank you for your continued support of Asterisk! --- comms/asterisk18/Makefile | 5 ++--- comms/asterisk18/distinfo | 18 +++++++++--------- comms/asterisk18/patches/patch-aq | 28 ++++++++++++++-------------- comms/asterisk18/patches/patch-ay | 36 ++++++++++++++++++------------------ 4 files changed, 43 insertions(+), 44 deletions(-) diff --git a/comms/asterisk18/Makefile b/comms/asterisk18/Makefile index 30d711a5665..301b3b8f31b 100644 --- a/comms/asterisk18/Makefile +++ b/comms/asterisk18/Makefile @@ -1,13 +1,12 @@ -# $NetBSD: Makefile,v 1.51 2012/10/08 23:01:19 adam Exp $ +# $NetBSD: Makefile,v 1.52 2012/10/08 23:56:47 jnemeth Exp $ # # NOTE: when updating this package, there are two places that sound # tarballs need to be checked -DISTNAME= asterisk-1.8.16.0 +DISTNAME= asterisk-1.8.17.0 DIST_SUBDIR= ${PKGNAME_NOREV} DISTFILES= ${DEFAULT_DISTFILES} EXTRACT_ONLY= ${DISTNAME}.tar.gz -PKGREVISION= 4 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/asterisk18/distinfo b/comms/asterisk18/distinfo index 7544f4dc596..7e5178cc0a3 100644 --- a/comms/asterisk18/distinfo +++ b/comms/asterisk18/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.38 2012/09/14 02:26:28 jnemeth Exp $ +$NetBSD: distinfo,v 1.39 2012/10/08 23:56:47 jnemeth Exp $ -SHA1 (asterisk-1.8.16.0/asterisk-1.8.16.0.tar.gz) = 71bd990be4d6c4c8f035c0bc7279c1ed15101319 -RMD160 (asterisk-1.8.16.0/asterisk-1.8.16.0.tar.gz) = 8e754634528277a377c1409b92890cd86f4898aa -Size (asterisk-1.8.16.0/asterisk-1.8.16.0.tar.gz) = 25085895 bytes -SHA1 (asterisk-1.8.16.0/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 8692fa61423b4769dc8bfa78faf9ed5ef7a259b9 -RMD160 (asterisk-1.8.16.0/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 68170c769d739d6b5b35b00f999ad6bbf876f9f6 -Size (asterisk-1.8.16.0/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 3349898 bytes +SHA1 (asterisk-1.8.17.0/asterisk-1.8.17.0.tar.gz) = b1b5d383288f8ff55d894ce3a1021d5e4acac5de +RMD160 (asterisk-1.8.17.0/asterisk-1.8.17.0.tar.gz) = 24b34c11edfe9c9a169978ff23e8aa39db089e43 +Size (asterisk-1.8.17.0/asterisk-1.8.17.0.tar.gz) = 25136583 bytes +SHA1 (asterisk-1.8.17.0/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 8692fa61423b4769dc8bfa78faf9ed5ef7a259b9 +RMD160 (asterisk-1.8.17.0/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 68170c769d739d6b5b35b00f999ad6bbf876f9f6 +Size (asterisk-1.8.17.0/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 3349898 bytes SHA1 (patch-aa) = 832f1c043b15198e0a286094dd0cc1a251bcfed0 SHA1 (patch-af) = 19786616bb606c38f769ec85f2e4d118573659ab SHA1 (patch-ai) = e92edab5c1ff323478f41d0b0783102ed527fe39 @@ -15,7 +15,7 @@ SHA1 (patch-am) = 5f9cbf47ec1cb66758492a5ed1bf843006eae9b7 SHA1 (patch-an) = 93a5df66fd6459fb76e9191dc3bf37b9ee5483b5 SHA1 (patch-ao) = aa95464a8bd4a417f313541b465142d2e4c3ee47 SHA1 (patch-ap) = 94a986e6e24c04ee8e95ea6809f826cb99c90c8a -SHA1 (patch-aq) = 866706ae195a70020679e549c7304c1bcd1fa1b2 +SHA1 (patch-aq) = 682891a6c77d809bebc3085dcb88be9b1ab8589f SHA1 (patch-ar) = da8e614e68e476ce32c66fed5ee9dcb8c5f9a060 SHA1 (patch-as) = b2e1aadf49f20506243ab40796f15aab12d95bad SHA1 (patch-at) = df318d7b492121ff6f766b0e6ea73415293e96f0 @@ -23,7 +23,7 @@ SHA1 (patch-au) = 773398e719dca34640dcdc190857872da1ad7b4f SHA1 (patch-av) = 3424013b5bf22624aa664e972e2b495ab3296cbe SHA1 (patch-aw) = 0534acd67ea5da1eee8cf282035ebf4c559278ab SHA1 (patch-ax) = a4f4b0a46e74d74b780d8b96cdecb7e44d9b99f7 -SHA1 (patch-ay) = 777fb4515c2d9f4bc38f3fd32fa5d6b3871e92b6 +SHA1 (patch-ay) = 746a609e4d01903ebdf525a7cf5c3925729e74b0 SHA1 (patch-az) = 64365b12cb47ec0fba358e4326eda172f96068cf SHA1 (patch-ba) = ffb20f4788f2f253e822fb48c68fec04c31b0619 SHA1 (patch-bb) = bf1a2bb2ba1eb2ba44a9b26fa9ae0468510a1575 diff --git a/comms/asterisk18/patches/patch-aq b/comms/asterisk18/patches/patch-aq index 446bd4c46ab..c92910b5fd7 100644 --- a/comms/asterisk18/patches/patch-aq +++ b/comms/asterisk18/patches/patch-aq @@ -1,17 +1,17 @@ -$NetBSD: patch-aq,v 1.11 2012/06/05 00:15:35 jnemeth Exp $ +$NetBSD: patch-aq,v 1.12 2012/10/08 23:56:48 jnemeth Exp $ ---- configure.orig 2012-04-12 14:26:06.000000000 +0000 +--- configure.orig 2012-08-09 18:58:44.000000000 +0000 +++ configure -@@ -16652,7 +16652,7 @@ $as_echo "user CFLAGS present" >&6; } +@@ -24270,7 +24270,7 @@ $as_echo "user CFLAGS present" >&6; } else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + { $as_echo "$as_me:$LINENO: result: no" >&5 $as_echo "no" >&6; } - AST_NATIVE_ARCH= + AST_NATIVE_ARCH=0 fi -@@ -17112,6 +17112,146 @@ fi +@@ -25159,6 +25159,146 @@ fi @@ -158,18 +158,18 @@ $NetBSD: patch-aq,v 1.11 2012/06/05 00:15:35 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]];'. -@@ -18226,6 +18366,8 @@ $as_echo_n "checking if \"struct ifaddrs - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +@@ -29734,6 +29874,8 @@ _ACEOF + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -+ #include -+ #include - #include ++#include ++#include + #include int main () -@@ -29216,10 +29358,10 @@ if test "x$ac_cv_file__sbin_launchd" = x - - $as_echo "#define HAVE_SBIN_LAUNCHD 1" >>confdefs.h +@@ -55685,10 +55827,10 @@ cat >>confdefs.h <<\_ACEOF + #define HAVE_SBIN_LAUNCHD 1 + _ACEOF -fi diff --git a/comms/asterisk18/patches/patch-ay b/comms/asterisk18/patches/patch-ay index a45da45968d..bd537250fe3 100644 --- a/comms/asterisk18/patches/patch-ay +++ b/comms/asterisk18/patches/patch-ay @@ -1,8 +1,8 @@ -$NetBSD: patch-ay,v 1.5 2012/07/15 07:49:27 jnemeth Exp $ +$NetBSD: patch-ay,v 1.6 2012/10/08 23:56:48 jnemeth Exp $ ---- main/features.c.orig 2012-07-05 23:07:27.000000000 +0000 +--- main/features.c.orig 2012-09-11 15:26:10.000000000 +0000 +++ main/features.c -@@ -1547,14 +1547,14 @@ static int park_call_full(struct ast_cha +@@ -1578,14 +1578,14 @@ static int park_call_full(struct ast_cha "Channel: %s\r\n" "Parkinglot: %s\r\n" "From: %s\r\n" @@ -19,43 +19,43 @@ $NetBSD: patch-ay,v 1.5 2012/07/15 07:49:27 jnemeth Exp $ S_COR(chan->caller.id.number.valid, chan->caller.id.number.str, ""), S_COR(chan->caller.id.name.valid, chan->caller.id.name.str, ""), S_COR(chan->connected.id.number.valid, chan->connected.id.number.str, ""), -@@ -2113,7 +2113,7 @@ static int builtin_automonitor(struct as +@@ -2144,7 +2144,7 @@ static int builtin_automonitor(struct as len = strlen(touch_monitor) + 50; - args = alloca(len); - touch_filename = alloca(len); + args = ast_alloca(len); + touch_filename = ast_alloca(len); - snprintf(touch_filename, len, "%s-%ld-%s", S_OR(touch_monitor_prefix, "auto"), (long)time(NULL), touch_monitor); + snprintf(touch_filename, len, "%s-%jd-%s", S_OR(touch_monitor_prefix, "auto"), (intmax_t)time(NULL), touch_monitor); snprintf(args, len, "%s,%s,m", S_OR(touch_format, "wav"), touch_filename); } else { caller_chan_id = ast_strdupa(S_COR(caller_chan->caller.id.number.valid, -@@ -2123,7 +2123,7 @@ static int builtin_automonitor(struct as +@@ -2154,7 +2154,7 @@ static int builtin_automonitor(struct as len = strlen(caller_chan_id) + strlen(callee_chan_id) + 50; - args = alloca(len); - touch_filename = alloca(len); + args = ast_alloca(len); + touch_filename = ast_alloca(len); - snprintf(touch_filename, len, "%s-%ld-%s-%s", S_OR(touch_monitor_prefix, "auto"), (long)time(NULL), caller_chan_id, callee_chan_id); + snprintf(touch_filename, len, "%s-%jd-%s-%s", S_OR(touch_monitor_prefix, "auto"), (intmax_t)time(NULL), caller_chan_id, callee_chan_id); snprintf(args, len, "%s,%s,m", S_OR(touch_format, "wav"), touch_filename); } -@@ -2225,7 +2225,7 @@ static int builtin_automixmonitor(struct +@@ -2256,7 +2256,7 @@ static int builtin_automixmonitor(struct len = strlen(touch_monitor) + 50; - args = alloca(len); - touch_filename = alloca(len); + args = ast_alloca(len); + touch_filename = ast_alloca(len); - snprintf(touch_filename, len, "auto-%ld-%s", (long)time(NULL), touch_monitor); + snprintf(touch_filename, len, "auto-%jd-%s", (intmax_t)time(NULL), touch_monitor); snprintf(args, len, "%s.%s,b", touch_filename, (touch_format) ? touch_format : "wav"); } else { caller_chan_id = ast_strdupa(S_COR(caller_chan->caller.id.number.valid, -@@ -2235,7 +2235,7 @@ static int builtin_automixmonitor(struct +@@ -2266,7 +2266,7 @@ static int builtin_automixmonitor(struct len = strlen(caller_chan_id) + strlen(callee_chan_id) + 50; - args = alloca(len); - touch_filename = alloca(len); + args = ast_alloca(len); + touch_filename = ast_alloca(len); - snprintf(touch_filename, len, "auto-%ld-%s-%s", (long)time(NULL), caller_chan_id, callee_chan_id); + snprintf(touch_filename, len, "auto-%jd-%s-%s", (intmax_t)time(NULL), caller_chan_id, callee_chan_id); snprintf(args, len, "%s.%s,b", touch_filename, S_OR(touch_format, "wav")); } -@@ -6995,10 +6995,10 @@ static char *handle_parkedcalls(struct a +@@ -7052,10 +7052,10 @@ static char *handle_parkedcalls(struct a AST_LIST_LOCK(&curlot->parkings); AST_LIST_TRAVERSE(&curlot->parkings, cur, list) { @@ -68,7 +68,7 @@ $NetBSD: patch-ay,v 1.5 2012/07/15 07:49:27 jnemeth Exp $ ++lotparked; } AST_LIST_UNLOCK(&curlot->parkings); -@@ -7054,7 +7054,7 @@ static int manager_parking_status(struct +@@ -7111,7 +7111,7 @@ static int manager_parking_status(struct "Exten: %d\r\n" "Channel: %s\r\n" "From: %s\r\n" @@ -77,7 +77,7 @@ $NetBSD: patch-ay,v 1.5 2012/07/15 07:49:27 jnemeth Exp $ "CallerIDNum: %s\r\n" "CallerIDName: %s\r\n" "ConnectedLineNum: %s\r\n" -@@ -7063,7 +7063,7 @@ static int manager_parking_status(struct +@@ -7120,7 +7120,7 @@ static int manager_parking_status(struct "\r\n", curlot->name, cur->parkingnum, cur->chan->name, cur->peername, -- cgit v1.2.3