summaryrefslogtreecommitdiff
path: root/comms/asterisk18/patches
diff options
context:
space:
mode:
authorjnemeth <jnemeth@pkgsrc.org>2012-04-07 20:10:45 +0000
committerjnemeth <jnemeth@pkgsrc.org>2012-04-07 20:10:45 +0000
commitff5a71f75dd0c9718803d6cd9491168ace53b67f (patch)
tree75457da1998e38b3feadbf6d1e6dca6f4303cb3d /comms/asterisk18/patches
parent6003b54d1c94e44338c535a5aa33bd2d833ac496 (diff)
downloadpkgsrc-ff5a71f75dd0c9718803d6cd9491168ace53b67f.tar.gz
Update to Asterisk 1.8.11.0:
pkgsrc change: eliminate ilbc option now that the iLBC codec is always built The Asterisk Development Team has announced the release of Asterisk 1.8.11.0. The release of Asterisk 1.8.11.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: * --- Fix potential buffer overrun and memory leak when executing "sip show peers" * --- Fix ACK routing for non-2xx responses. * --- Remove possible segfaults from res_odbc by adding locks around usage of odbc handle * --- Fix blind transfer parking issues if the dialed extension is not recognized as a parking extension. * --- Copy CDR variables when set during a bridge * --- push 'outgoing' flag from sig_XXX up to chan_dahdi For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.11.0 Thank you for your continued support of Asterisk!
Diffstat (limited to 'comms/asterisk18/patches')
-rw-r--r--comms/asterisk18/patches/patch-aq31
-rw-r--r--comms/asterisk18/patches/patch-ay28
2 files changed, 30 insertions, 29 deletions
diff --git a/comms/asterisk18/patches/patch-aq b/comms/asterisk18/patches/patch-aq
index f0408645adc..34a56b20857 100644
--- a/comms/asterisk18/patches/patch-aq
+++ b/comms/asterisk18/patches/patch-aq
@@ -1,8 +1,8 @@
-$NetBSD: patch-aq,v 1.8 2012/03/22 03:43:42 jnemeth Exp $
+$NetBSD: patch-aq,v 1.9 2012/04/07 20:10:45 jnemeth Exp $
---- configure.orig 2012-01-14 16:40:17.000000000 +0000
+--- configure.orig 2012-02-16 19:26:16.000000000 +0000
+++ configure
-@@ -17130,6 +17130,146 @@ fi
+@@ -25178,6 +25178,146 @@ fi
@@ -149,23 +149,24 @@ $NetBSD: patch-aq,v 1.8 2012/03/22 03:43:42 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]];'.
-@@ -18136,6 +18276,8 @@ $as_echo_n "checking if \"struct ifaddrs
-
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+@@ -29482,6 +29622,8 @@ _ACEOF
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-+ #include <sys/types.h>
-+ #include <sys/socket.h>
- #include <ifaddrs.h>
++#include <sys/types.h>
++#include <sys/socket.h>
+ #include <ifaddrs.h>
int
main ()
-@@ -29188,9 +29330,8 @@ if test "x$ac_cv_file__sbin_launchd" = x
-
- $as_echo "#define HAVE_SBIN_LAUNCHD 1" >>confdefs.h
+@@ -55700,10 +55842,9 @@ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_SBIN_LAUNCHD 1
+ _ACEOF
-+PBX_LAUNCHD=1
- fi
+-fi
-
-- PBX_LAUNCHD=1
+ PBX_LAUNCHD=1
fi
++fi
+ PBX_GTK2=0
diff --git a/comms/asterisk18/patches/patch-ay b/comms/asterisk18/patches/patch-ay
index cc72e1d79cd..5ecdbcfaee4 100644
--- a/comms/asterisk18/patches/patch-ay
+++ b/comms/asterisk18/patches/patch-ay
@@ -1,8 +1,8 @@
-$NetBSD: patch-ay,v 1.3 2011/10/11 03:12:55 jnemeth Exp $
+$NetBSD: patch-ay,v 1.4 2012/04/07 20:10:45 jnemeth Exp $
---- main/features.c.orig 2011-08-16 16:31:36.000000000 +0000
+--- main/features.c.orig 2012-02-27 16:03:04.000000000 +0000
+++ main/features.c
-@@ -1454,14 +1454,14 @@ static int park_call_full(struct ast_cha
+@@ -1493,14 +1493,14 @@ static int park_call_full(struct ast_cha
"Channel: %s\r\n"
"Parkinglot: %s\r\n"
"From: %s\r\n"
@@ -13,13 +13,13 @@ $NetBSD: patch-ay,v 1.3 2011/10/11 03:12:55 jnemeth Exp $
"ConnectedLineNum: %s\r\n"
"ConnectedLineName: %s\r\n"
"Uniqueid: %s\r\n",
- pu->parkingexten, pu->chan->name, pu->parkinglot->name, event_from ? event_from : "",
+ pu->parkingexten, chan->name, pu->parkinglot->name, event_from,
- (long)pu->start.tv_sec + (long)(pu->parkingtime/1000) - (long)time(NULL),
+ (intmax_t)pu->start.tv_sec + (intmax_t)(pu->parkingtime/1000) - (intmax_t)time(NULL),
- S_COR(pu->chan->caller.id.number.valid, pu->chan->caller.id.number.str, "<unknown>"),
- S_COR(pu->chan->caller.id.name.valid, pu->chan->caller.id.name.str, "<unknown>"),
- S_COR(pu->chan->connected.id.number.valid, pu->chan->connected.id.number.str, "<unknown>"),
-@@ -1908,7 +1908,7 @@ static int builtin_automonitor(struct as
+ S_COR(chan->caller.id.number.valid, chan->caller.id.number.str, "<unknown>"),
+ S_COR(chan->caller.id.name.valid, chan->caller.id.name.str, "<unknown>"),
+ S_COR(chan->connected.id.number.valid, chan->connected.id.number.str, "<unknown>"),
+@@ -2057,7 +2057,7 @@ static int builtin_automonitor(struct as
len = strlen(touch_monitor) + 50;
args = alloca(len);
touch_filename = alloca(len);
@@ -28,7 +28,7 @@ $NetBSD: patch-ay,v 1.3 2011/10/11 03:12:55 jnemeth Exp $
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,
-@@ -1918,7 +1918,7 @@ static int builtin_automonitor(struct as
+@@ -2067,7 +2067,7 @@ static int builtin_automonitor(struct as
len = strlen(caller_chan_id) + strlen(callee_chan_id) + 50;
args = alloca(len);
touch_filename = alloca(len);
@@ -37,7 +37,7 @@ $NetBSD: patch-ay,v 1.3 2011/10/11 03:12:55 jnemeth Exp $
snprintf(args, len, "%s,%s,m", S_OR(touch_format, "wav"), touch_filename);
}
-@@ -2024,7 +2024,7 @@ static int builtin_automixmonitor(struct
+@@ -2173,7 +2173,7 @@ static int builtin_automixmonitor(struct
len = strlen(touch_monitor) + 50;
args = alloca(len);
touch_filename = alloca(len);
@@ -46,7 +46,7 @@ $NetBSD: patch-ay,v 1.3 2011/10/11 03:12:55 jnemeth Exp $
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,
-@@ -2034,7 +2034,7 @@ static int builtin_automixmonitor(struct
+@@ -2183,7 +2183,7 @@ static int builtin_automixmonitor(struct
len = strlen(caller_chan_id) + strlen(callee_chan_id) + 50;
args = alloca(len);
touch_filename = alloca(len);
@@ -55,7 +55,7 @@ $NetBSD: patch-ay,v 1.3 2011/10/11 03:12:55 jnemeth Exp $
snprintf(args, len, "%s.%s,b", touch_filename, S_OR(touch_format, "wav"));
}
-@@ -6752,10 +6752,10 @@ static char *handle_parkedcalls(struct a
+@@ -6958,10 +6958,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.3 2011/10/11 03:12:55 jnemeth Exp $
++lotparked;
}
AST_LIST_UNLOCK(&curlot->parkings);
-@@ -6811,7 +6811,7 @@ static int manager_parking_status(struct
+@@ -7017,7 +7017,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.3 2011/10/11 03:12:55 jnemeth Exp $
"CallerIDNum: %s\r\n"
"CallerIDName: %s\r\n"
"ConnectedLineNum: %s\r\n"
-@@ -6820,7 +6820,7 @@ static int manager_parking_status(struct
+@@ -7026,7 +7026,7 @@ static int manager_parking_status(struct
"\r\n",
curlot->name,
cur->parkingnum, cur->chan->name, cur->peername,