Update to 1.6.2.16: The release of Asterisk 1.6.2.16 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 cache of device state changes for multiple servers. (Closes issue #18284, #18280. Reported, tested by klaus3000. Patched, tested by russellb) * Resolve issue where channel redirect function (CLI or AMI) hangs up the call instead of redirecting the call. (Closes issue #18171. Reported by: SantaFox) (Closes issue #18185. Reported by: kwemheuer) (Closes issue #18211. Reported by: zahir_koradia) (Closes issue #18230. Reported by: vmarrone) (Closes issue #18299. Reported by: mbrevda) (Closes issue #18322. Reported by: nerbos) * Linux and *BSD disagree on the elements within the ucred structure. Detect which one is in use on the system. (Closes issue #18384. Reported, patched, tested by bjm, tilghman) * app_followme: Don't create a Local channel if the target extension does not exist. (Closes issue #18126. Reported, patched by junky) * Revert code that changed SSRC for DTMF. (Closes issue #17404, #18189, #18352. Reported by sdolloff, marcbou. rsw686. Tested by cmbaker82) * Resolve issue where REGISTER request with a Call-ID matching an existing transaction is received it was possible that the REGISTER request would overwrite the initreq of the private structure. (Closes issue #18051. Reported by eeman. Patched, tested by twilson) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.6.2.16diff -r1.27 -r1.28 pkgsrc/comms/asterisk16/Makefile
(jnemeth)
@@ -1,19 +1,19 @@ | @@ -1,19 +1,19 @@ | |||
1 | # $NetBSD: Makefile,v 1.27 2010/12/12 10:19:44 jnemeth Exp $ | 1 | # $NetBSD: Makefile,v 1.28 2011/01/16 06:30:56 jnemeth Exp $ | |
2 | # | 2 | # | |
3 | # NOTE: when updating this package, there are two places that sound | 3 | # NOTE: when updating this package, there are two places that sound | |
4 | # tarballs need to be checked | 4 | # tarballs need to be checked | |
5 | 5 | |||
6 | DISTNAME= asterisk-1.6.2.15 | 6 | DISTNAME= asterisk-1.6.2.16 | |
7 | DIST_SUBDIR= ${PKGNAME_NOREV} | 7 | DIST_SUBDIR= ${PKGNAME_NOREV} | |
8 | DISTFILES= ${DEFAULT_DISTFILES} | 8 | DISTFILES= ${DEFAULT_DISTFILES} | |
9 | EXTRACT_ONLY= ${DISTNAME}.tar.gz | 9 | EXTRACT_ONLY= ${DISTNAME}.tar.gz | |
10 | CATEGORIES= comms net audio | 10 | CATEGORIES= comms net audio | |
11 | MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ | 11 | MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ | |
12 | http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ \ | 12 | http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ \ | |
13 | http://downloads.asterisk.org/pub/telephony/sounds/releases/ | 13 | http://downloads.asterisk.org/pub/telephony/sounds/releases/ | |
14 | 14 | |||
15 | OWNER= jnemeth@NetBSD.org | 15 | OWNER= jnemeth@NetBSD.org | |
16 | HOMEPAGE= http://www.asterisk.org/ | 16 | HOMEPAGE= http://www.asterisk.org/ | |
17 | COMMENT= The Asterisk Software PBX | 17 | COMMENT= The Asterisk Software PBX | |
18 | LICENSE= gnu-gpl-v2 | 18 | LICENSE= gnu-gpl-v2 | |
19 | 19 |
@@ -1,38 +1,38 @@ | @@ -1,38 +1,38 @@ | |||
1 | $NetBSD: distinfo,v 1.18 2010/12/12 10:19:44 jnemeth Exp $ | 1 | $NetBSD: distinfo,v 1.19 2011/01/16 06:30:56 jnemeth Exp $ | |
2 | 2 | |||
3 | SHA1 (asterisk-1.6.2.15/asterisk-1.6.2.15.tar.gz) = ed439320d91c9a21acabb4ea142d3f4d1eb26f55 | 3 | SHA1 (asterisk-1.6.2.16/asterisk-1.6.2.16.tar.gz) = 643e7d0db5012881b52cbea6574d6a97788e1142 | |
4 | RMD160 (asterisk-1.6.2.15/asterisk-1.6.2.15.tar.gz) = 910bd655a42d21969f17e07374ee4159f656e37e | 4 | RMD160 (asterisk-1.6.2.16/asterisk-1.6.2.16.tar.gz) = 9ba8b7085b58cf670221eb08c0cded09ffda2bba | |
5 | Size (asterisk-1.6.2.15/asterisk-1.6.2.15.tar.gz) = 23717736 bytes | 5 | Size (asterisk-1.6.2.16/asterisk-1.6.2.16.tar.gz) = 23708360 bytes | |
6 | SHA1 (asterisk-1.6.2.15/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 8692fa61423b4769dc8bfa78faf9ed5ef7a259b9 | 6 | SHA1 (asterisk-1.6.2.16/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 8692fa61423b4769dc8bfa78faf9ed5ef7a259b9 | |
7 | RMD160 (asterisk-1.6.2.15/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 68170c769d739d6b5b35b00f999ad6bbf876f9f6 | 7 | RMD160 (asterisk-1.6.2.16/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 68170c769d739d6b5b35b00f999ad6bbf876f9f6 | |
8 | Size (asterisk-1.6.2.15/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 3349898 bytes | 8 | Size (asterisk-1.6.2.16/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 3349898 bytes | |
9 | SHA1 (asterisk-1.6.2.15/extract-cfile.awk) = c4f08eee1ab83c041bde1ab91672a4a3c43c28b8 | 9 | SHA1 (asterisk-1.6.2.16/extract-cfile.awk) = c4f08eee1ab83c041bde1ab91672a4a3c43c28b8 | |
10 | RMD160 (asterisk-1.6.2.15/extract-cfile.awk) = cd59f8e5807732023d5aec95187e2d5572f400a4 | 10 | RMD160 (asterisk-1.6.2.16/extract-cfile.awk) = cd59f8e5807732023d5aec95187e2d5572f400a4 | |
11 | Size (asterisk-1.6.2.15/extract-cfile.awk) = 667 bytes | 11 | Size (asterisk-1.6.2.16/extract-cfile.awk) = 667 bytes | |
12 | SHA1 (asterisk-1.6.2.15/rfc3951.txt) = 1a6c769be750fb02456d60db2470909254496017 | 12 | SHA1 (asterisk-1.6.2.16/rfc3951.txt) = 1a6c769be750fb02456d60db2470909254496017 | |
13 | RMD160 (asterisk-1.6.2.15/rfc3951.txt) = 15f7ec61653ec9953172f8f2150e7d8f6f620926 | 13 | RMD160 (asterisk-1.6.2.16/rfc3951.txt) = 15f7ec61653ec9953172f8f2150e7d8f6f620926 | |
14 | Size (asterisk-1.6.2.15/rfc3951.txt) = 373442 bytes | 14 | Size (asterisk-1.6.2.16/rfc3951.txt) = 373442 bytes | |
15 | SHA1 (patch-aa) = 8c2a3c75adff34474c8f416bcea5842e771e4631 | 15 | SHA1 (patch-aa) = 8c2a3c75adff34474c8f416bcea5842e771e4631 | |
16 | SHA1 (patch-af) = 09860d714281cb4c65d1a087cf5b16647a16e2fa | 16 | SHA1 (patch-af) = 09860d714281cb4c65d1a087cf5b16647a16e2fa | |
17 | SHA1 (patch-ag) = c71c61350cefbbe53eefa99245ca7712753f22d5 | 17 | SHA1 (patch-ag) = c71c61350cefbbe53eefa99245ca7712753f22d5 | |
18 | SHA1 (patch-ai) = e92edab5c1ff323478f41d0b0783102ed527fe39 | 18 | SHA1 (patch-ai) = e92edab5c1ff323478f41d0b0783102ed527fe39 | |
19 | SHA1 (patch-ak) = adee75b7716a8794de1b8cb054af7a5a8f0e5ffd | 19 | SHA1 (patch-ak) = adee75b7716a8794de1b8cb054af7a5a8f0e5ffd | |
20 | SHA1 (patch-al) = b2a1134786d7c3b118ee8c47892f91dd2a4c783a | 20 | SHA1 (patch-al) = b2a1134786d7c3b118ee8c47892f91dd2a4c783a | |
21 | SHA1 (patch-am) = 98aa4648b867d193ec05d8da14434205f369c17b | 21 | SHA1 (patch-am) = 98aa4648b867d193ec05d8da14434205f369c17b | |
22 | SHA1 (patch-an) = 93a5df66fd6459fb76e9191dc3bf37b9ee5483b5 | 22 | SHA1 (patch-an) = 93a5df66fd6459fb76e9191dc3bf37b9ee5483b5 | |
23 | SHA1 (patch-ao) = 0663a698469550b22bb97ee1b18980bc2bc67495 | 23 | SHA1 (patch-ao) = 0663a698469550b22bb97ee1b18980bc2bc67495 | |
24 | SHA1 (patch-ap) = 309d51a35c600f4898d99ad6ab1c492c47c6a55a | 24 | SHA1 (patch-ap) = 309d51a35c600f4898d99ad6ab1c492c47c6a55a | |
25 | SHA1 (patch-aq) = 450fd3c38bd0b7bf0152b7f457e2999f3ab183c6 | 25 | SHA1 (patch-aq) = b20c76de4385da836c627f5310c52beafcdf86d0 | |
26 | SHA1 (patch-ar) = 44e46336c0b228ab291e025b8bb5ee505f75345a | 26 | SHA1 (patch-ar) = 44e46336c0b228ab291e025b8bb5ee505f75345a | |
27 | SHA1 (patch-as) = a887d37f0829c22d115ff08721893da49e4bfda4 | 27 | SHA1 (patch-as) = a887d37f0829c22d115ff08721893da49e4bfda4 | |
28 | SHA1 (patch-at) = 7f366ea0075b16c81bb81ba78becc029b3265151 | 28 | SHA1 (patch-at) = 7f366ea0075b16c81bb81ba78becc029b3265151 | |
29 | SHA1 (patch-au) = 57100ee55338c5ab8be1f8d73d4126d26227786b | 29 | SHA1 (patch-au) = 57100ee55338c5ab8be1f8d73d4126d26227786b | |
30 | SHA1 (patch-av) = 632c7f9595ed1575b74d97a323ae53343a416254 | 30 | SHA1 (patch-av) = 632c7f9595ed1575b74d97a323ae53343a416254 | |
31 | SHA1 (patch-aw) = 1342176dd34dd68614edf1085c6997013e93c135 | 31 | SHA1 (patch-aw) = 1342176dd34dd68614edf1085c6997013e93c135 | |
32 | SHA1 (patch-ax) = b8ff68b628ccadd81b0a2615b610470279d54bf4 | 32 | SHA1 (patch-ax) = b8ff68b628ccadd81b0a2615b610470279d54bf4 | |
33 | SHA1 (patch-ay) = 39a2ae198ff2989c501dd4374e1ea57a3d52dda9 | 33 | SHA1 (patch-ay) = 39a2ae198ff2989c501dd4374e1ea57a3d52dda9 | |
34 | SHA1 (patch-az) = 917cc8868708ce9c022a0268debd90f51f88bdad | 34 | SHA1 (patch-az) = 917cc8868708ce9c022a0268debd90f51f88bdad | |
35 | SHA1 (patch-ba) = 915eb587d36f3a54734c9c88af15f59c98016708 | 35 | SHA1 (patch-ba) = 915eb587d36f3a54734c9c88af15f59c98016708 | |
36 | SHA1 (patch-bb) = 3b78ed3c8233e2db38d09ca81f1768d018ffd2e2 | 36 | SHA1 (patch-bb) = 3b78ed3c8233e2db38d09ca81f1768d018ffd2e2 | |
37 | SHA1 (patch-bc) = 0efc99595d1ef82a879361e8bf3b2ef7fd84af62 | 37 | SHA1 (patch-bc) = 0efc99595d1ef82a879361e8bf3b2ef7fd84af62 | |
38 | SHA1 (patch-bd) = c827419664f78230556e43607d1abf6b156dcc88 | 38 | SHA1 (patch-bd) = c827419664f78230556e43607d1abf6b156dcc88 |
@@ -1,31 +1,160 @@ | @@ -1,31 +1,160 @@ | |||
1 | $NetBSD: patch-aq,v 1.9 2010/12/12 10:19:44 jnemeth Exp $ | 1 | $NetBSD: patch-aq,v 1.10 2011/01/16 06:30:56 jnemeth Exp $ | |
2 | 2 | |||
3 | --- configure.orig 2010-12-12 06:55:04.000000000 +0000 | 3 | --- configure.orig 2011-01-12 16:43:16.000000000 +0000 | |
4 | +++ configure | 4 | +++ configure | |
5 | @@ -15148,6 +15148,17 @@ fi | 5 | @@ -21275,6 +21275,146 @@ fi | |
6 | 6 | |||
7 | 7 | |||
8 | 8 | |||
9 | +ac_fn_c_check_header_mongrel "$LINENO" "sys/atomic.h" "ac_cv_header_sys_atomic_h" "$ac_includes_default" | 9 | +if test "${ac_cv_header_sys_atomic_h+set}" = set; then | |
10 | +if test "x$ac_cv_header_sys_atomic_h" = x""yes; then : | 10 | + { echo "$as_me:$LINENO: checking for sys/atomic.h" >&5 | |
11 | +echo $ECHO_N "checking for sys/atomic.h... $ECHO_C" >&6; } | |||
12 | +if test "${ac_cv_header_sys_atomic_h+set}" = set; then | |||
13 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | |||
14 | +fi | |||
15 | +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_atomic_h" >&5 | |||
16 | +echo "${ECHO_T}$ac_cv_sys_atomic_h" >&6; } | |||
17 | +else | |||
18 | + # Is the header compilable? | |||
19 | +{ echo "$as_me:$LINENO: checking sys/atomic.h usability" >&5 | |||
20 | +echo $ECHO_N "checking sys/atomic.h usability... $ECHO_C" >&6; } | |||
21 | +cat >conftest.$ac_ext <<_ACEOF | |||
22 | +/* confdefs.h. */ | |||
23 | +_ACEOF | |||
24 | +cat confdefs.h >>conftest.$ac_ext | |||
25 | +cat >>conftest.$ac_ext <<_ACEOF | |||
26 | +/* end confdefs.h. */ | |||
27 | +$ac_includes_default | |||
28 | +#include <sys/atomic.h> | |||
29 | +_ACEOF | |||
30 | +rm -f conftest.$ac_objext | |||
31 | +if { (ac_try="$ac_compile" | |||
32 | +case "(($ac_try" in | |||
33 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |||
34 | + *) ac_try_echo=$ac_try;; | |||
35 | +esac | |||
36 | +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |||
37 | + (eval "$ac_compile") 2>conftest.er1 | |||
38 | + ac_status=$? | |||
39 | + grep -v '^ *+' conftest.er1 >conftest.err | |||
40 | + rm -f conftest.er1 | |||
41 | + cat conftest.err >&5 | |||
42 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |||
43 | + (exit $ac_status); } && { | |||
44 | + test -z "$ac_c_werror_flag" || | |||
45 | + test ! -s conftest.err | |||
46 | + } && test -s conftest.$ac_objext; then | |||
47 | + ac_header_compiler=yes | |||
48 | +else | |||
49 | + echo "$as_me: failed program was:" >&5 | |||
50 | +sed 's/^/| /' conftest.$ac_ext >&5 | |||
51 | + | |||
52 | + ac_header_compiler=no | |||
53 | +fi | |||
54 | + | |||
55 | +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | |||
56 | +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | |||
57 | +echo "${ECHO_T}$ac_header_compiler" >&6; } | |||
58 | + | |||
59 | +# Is the header present? | |||
60 | +{ echo "$as_me:$LINENO: checking sys/atomic.h presence" >&5 | |||
61 | +echo $ECHO_N "checking sys/atomic.h presence... $ECHO_C" >&6; } | |||
62 | +cat >conftest.$ac_ext <<_ACEOF | |||
63 | +/* confdefs.h. */ | |||
64 | +_ACEOF | |||
65 | +cat confdefs.h >>conftest.$ac_ext | |||
66 | +cat >>conftest.$ac_ext <<_ACEOF | |||
67 | +/* end confdefs.h. */ | |||
68 | +#include <sys/atomic.h> | |||
69 | +_ACEOF | |||
70 | +if { (ac_try="$ac_cpp conftest.$ac_ext" | |||
71 | +case "(($ac_try" in | |||
72 | + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | |||
73 | + *) ac_try_echo=$ac_try;; | |||
74 | +esac | |||
75 | +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 | |||
76 | + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 | |||
77 | + ac_status=$? | |||
78 | + grep -v '^ *+' conftest.er1 >conftest.err | |||
79 | + rm -f conftest.er1 | |||
80 | + cat conftest.err >&5 | |||
81 | + echo "$as_me:$LINENO: \$? = $ac_status" >&5 | |||
82 | + (exit $ac_status); } >/dev/null && { | |||
83 | + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | |||
84 | + test ! -s conftest.err | |||
85 | + }; then | |||
86 | + ac_header_preproc=yes | |||
87 | +else | |||
88 | + echo "$as_me: failed program was:" >&5 | |||
89 | +sed 's/^/| /' conftest.$ac_ext >&5 | |||
90 | + | |||
91 | + ac_header_preproc=no | |||
92 | +fi | |||
93 | + | |||
94 | +rm -f conftest.err conftest.$ac_ext | |||
95 | +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | |||
96 | +echo "${ECHO_T}$ac_header_preproc" >&6; } | |||
97 | + | |||
98 | +# So? What about this header? | |||
99 | +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in | |||
100 | + yes:no: ) | |||
101 | + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: accepted by the compiler, rejected by the preprocessor!" >&5 | |||
102 | +echo "$as_me: WARNING: sys/atomic.h: accepted by the compiler, rejected by the preprocessor!" >&2;} | |||
103 | + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: proceeding with the compiler's result" >&5 | |||
104 | +echo "$as_me: WARNING: sys/atomic.h: proceeding with the compiler's result" >&2;} | |||
105 | + ac_header_preproc=yes | |||
106 | + ;; | |||
107 | + no:yes:* ) | |||
108 | + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: present but cannot be compiled" >&5 | |||
109 | +echo "$as_me: WARNING: sys/atomic.h: present but cannot be compiled" >&2;} | |||
110 | + { echo "$as_me:$LINENO: WARNING: libkern/OSAtomic.h: check for missing prerequisite headers?" >&5 | |||
111 | +echo "$as_me: WARNING: sys/atomic.h: check for missing prerequisite headers?" >&2;} | |||
112 | + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: see the Autoconf documentation" >&5 | |||
113 | +echo "$as_me: WARNING: sys/atomic.h: see the Autoconf documentation" >&2;} | |||
114 | + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: section \"Present But Cannot Be Compiled\"" >&5 | |||
115 | +echo "$as_me: WARNING: sys/atomic.h: section \"Present But Cannot Be Compiled\"" >&2;} | |||
116 | + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: proceeding with the preprocessor's result" >&5 | |||
117 | +echo "$as_me: WARNING: sys/atomic.h: proceeding with the preprocessor's result" >&2;} | |||
118 | + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: in the future, the compiler will take precedence" >&5 | |||
119 | +echo "$as_me: WARNING: sys/atomic.h: in the future, the compiler will take precedence" >&2;} | |||
120 | + ( cat <<\_ASBOX | |||
121 | +## ------------------------------------------ ## | |||
122 | +## Report this to https://issues.asterisk.org ## | |||
123 | +## ------------------------------------------ ## | |||
124 | +_ASBOX | |||
125 | + ) | sed "s/^/$as_me: WARNING: /" >&2 | |||
126 | + ;; | |||
127 | +esac | |||
128 | +{ echo "$as_me:$LINENO: checking for sys/atomic.h" >&5 | |||
129 | +echo $ECHO_N "checking for sys/atomic.h... $ECHO_C" >&6; } | |||
130 | +if test "${ac_cv_header_sys_atomic_h+set}" = set; then | |||
131 | + echo $ECHO_N "(cached) $ECHO_C" >&6 | |||
132 | +else | |||
133 | + ac_cv_header_sys_atomic_h=$ac_header_preproc | |||
134 | +fi | |||
135 | +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_atomic_h" >&5 | |||
136 | +echo "${ECHO_T}$ac_cv_header_sys_atomic_h" >&6; } | |||
137 | + | |||
138 | +fi | |||
139 | +if test $ac_cv_header_sys_atomic_h = yes; then | |||
11 | + | 140 | + | |
12 | +cat >>confdefs.h <<_ACEOF | 141 | +cat >>confdefs.h <<_ACEOF | |
13 | +#define HAVE_SYS_ATOMIC_H 1 | 142 | +#define HAVE_SYS_ATOMIC_H 1 | |
14 | +_ACEOF | 143 | +_ACEOF | |
15 | + | 144 | + | |
16 | +fi | 145 | +fi | |
17 | + | 146 | + | |
18 | + | 147 | + | |
19 | + | 148 | + | |
20 | # The cast to long int works around a bug in the HP C Compiler | 149 | { echo "$as_me:$LINENO: checking for int" >&5 | |
21 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 150 | echo $ECHO_N "checking for int... $ECHO_C" >&6; } | |
22 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 151 | if test "${ac_cv_type_int+set}" = set; then | |
23 | @@ -15981,6 +15992,8 @@ $as_echo_n "checking if \"struct ifaddrs | 152 | @@ -24509,6 +24649,8 @@ _ACEOF | |
24 | 153 | cat confdefs.h >>conftest.$ac_ext | ||
25 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 154 | cat >>conftest.$ac_ext <<_ACEOF | |
26 | /* end confdefs.h. */ | 155 | /* end confdefs.h. */ | |
27 | + #include <sys/types.h> | 156 | +#include <sys/types.h> | |
28 | + #include <sys/socket.h> | 157 | +#include <sys/socket.h> | |
29 | #include <ifaddrs.h> | 158 | #include <ifaddrs.h> | |
30 | int | 159 | int | |
31 | main () | 160 | main () |