head 1.16; access; symbols pkgsrc-2018Q2:1.15.0.44 pkgsrc-2018Q2-base:1.15 pkgsrc-2018Q1:1.15.0.42 pkgsrc-2018Q1-base:1.15 pkgsrc-2017Q4:1.15.0.40 pkgsrc-2017Q4-base:1.15 pkgsrc-2017Q3:1.15.0.38 pkgsrc-2017Q3-base:1.15 pkgsrc-2017Q2:1.15.0.34 pkgsrc-2017Q2-base:1.15 pkgsrc-2017Q1:1.15.0.32 pkgsrc-2017Q1-base:1.15 pkgsrc-2016Q4:1.15.0.30 pkgsrc-2016Q4-base:1.15 pkgsrc-2016Q3:1.15.0.28 pkgsrc-2016Q3-base:1.15 pkgsrc-2016Q2:1.15.0.26 pkgsrc-2016Q2-base:1.15 pkgsrc-2016Q1:1.15.0.24 pkgsrc-2016Q1-base:1.15 pkgsrc-2015Q4:1.15.0.22 pkgsrc-2015Q4-base:1.15 pkgsrc-2015Q3:1.15.0.20 pkgsrc-2015Q3-base:1.15 pkgsrc-2015Q2:1.15.0.18 pkgsrc-2015Q2-base:1.15 pkgsrc-2015Q1:1.15.0.16 pkgsrc-2015Q1-base:1.15 pkgsrc-2014Q4:1.15.0.14 pkgsrc-2014Q4-base:1.15 pkgsrc-2014Q3:1.15.0.12 pkgsrc-2014Q3-base:1.15 pkgsrc-2014Q2:1.15.0.10 pkgsrc-2014Q2-base:1.15 pkgsrc-2014Q1:1.15.0.8 pkgsrc-2014Q1-base:1.15 pkgsrc-2013Q4:1.15.0.6 pkgsrc-2013Q4-base:1.15 pkgsrc-2013Q3:1.15.0.4 pkgsrc-2013Q3-base:1.15 pkgsrc-2013Q2:1.15.0.2 pkgsrc-2013Q2-base:1.15 pkgsrc-2013Q1:1.12.0.4 pkgsrc-2013Q1-base:1.12 pkgsrc-2012Q4:1.12.0.2 pkgsrc-2012Q4-base:1.12 pkgsrc-2012Q3:1.11.0.4 pkgsrc-2012Q3-base:1.11 pkgsrc-2012Q2:1.11.0.2 pkgsrc-2012Q2-base:1.11 pkgsrc-2012Q1:1.8.0.2 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.6.0.2 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.5.0.4 pkgsrc-2011Q3-base:1.5 pkgsrc-2011Q2:1.5.0.2 pkgsrc-2011Q2-base:1.5 pkgsrc-2011Q1:1.4.0.2 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.1.1.1.0.2 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.16 date 2018.07.16.21.17.13; author jnemeth; state dead; branches; next 1.15; commitid G2EZX8T1D6hWdpKA; 1.15 date 2013.06.15.20.51.11; author jnemeth; state Exp; branches; next 1.14; commitid AioULPehVbTJLKTw; 1.14 date 2013.05.18.01.00.43; author jnemeth; state Exp; branches; next 1.13; commitid VEtVa15B5UVO43Qw; 1.13 date 2013.04.18.16.55.22; author jnemeth; state Exp; branches; next 1.12; 1.12 date 2012.10.08.23.56.48; author jnemeth; state Exp; branches; next 1.11; 1.11 date 2012.06.05.00.15.35; author jnemeth; state Exp; branches; next 1.10; 1.10 date 2012.05.06.05.40.50; author jnemeth; state Exp; branches; next 1.9; 1.9 date 2012.04.07.20.10.45; author jnemeth; state Exp; branches; next 1.8; 1.8 date 2012.03.22.03.43.42; author jnemeth; state Exp; branches 1.8.2.1; next 1.7; 1.7 date 2012.01.15.03.32.48; author jnemeth; state Exp; branches; next 1.6; 1.6 date 2011.10.11.03.12.55; author jnemeth; state Exp; branches; next 1.5; 1.5 date 2011.06.09.09.17.27; author jnemeth; state Exp; branches; next 1.4; 1.4 date 2011.01.29.22.50.32; author jnemeth; state Exp; branches; next 1.3; 1.3 date 2011.01.27.04.03.18; author jnemeth; state Exp; branches; next 1.2; 1.2 date 2011.01.16.17.52.43; author jnemeth; state Exp; branches; next 1.1; 1.1 date 2010.12.15.03.22.45; author jnemeth; state Exp; branches 1.1.1.1; next ; 1.8.2.1 date 2012.04.08.11.04.26; author sbd; state Exp; branches; next ; 1.1.1.1 date 2010.12.15.03.22.45; author jnemeth; state Exp; branches 1.1.1.1.2.1; next ; 1.1.1.1.2.1 date 2011.01.25.15.28.55; author tron; state Exp; branches; next ; desc @@ 1.16 log @Deleting comms/asterisk18 (Asterisk 1.8.*) as mentioned on pkgsrc-users@@ a few weeks ago. This package is ancient and has been EOL for a couple of years. It likely has numerous security issues. Also, the PKGNAME will conflict with the upcoming Asterisk 18.* in a couple of years times. There were no objections. @ text @$NetBSD: patch-aq,v 1.15 2013/06/15 20:51:11 jnemeth Exp $ --- configure.orig 2013-02-27 14:11:39.000000000 +0000 +++ configure @@@@ -14751,7 +14751,7 @@@@ fi done -for ac_func in asprintf atexit closefrom dup2 eaccess endpwent euidaccess ffsll ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday glob htonll ioperm inet_ntoa isascii memchr memmove memset mkdir mkdtemp munmap ntohll newlocale ppoll putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtod strtol strtold strtoq unsetenv utime vasprintf getpeereid sysctl swapctl +for ac_func in asprintf atexit closefrom dup2 eaccess endpwent euidaccess ffsll ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday glob htonll ioperm inet_ntoa isascii memchr memmove memset mkdir mkdtemp munmap ntohll newlocale ppoll putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strptime_l strftime_l strtod strtol strtold strtoq unsetenv utime vasprintf getpeereid sysctl swapctl 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" @@@@ -16717,7 +16717,7 @@@@ $as_echo "user CFLAGS present" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } - AST_NATIVE_ARCH= + AST_NATIVE_ARCH=0 fi @@@@ -17177,6 +17177,146 @@@@ fi +if test "${ac_cv_header_sys_atomic_h+set}" = set; then + { echo "$as_me:$LINENO: checking for sys/atomic.h" >&5 +echo $ECHO_N "checking for sys/atomic.h... $ECHO_C" >&6; } +if test "${ac_cv_header_sys_atomic_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_atomic_h" >&5 +echo "${ECHO_T}$ac_cv_header_sys_atomic_h" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking sys/atomic.h usability" >&5 +echo $ECHO_N "checking sys/atomic.h usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking sys/atomic.h presence" >&5 +echo $ECHO_N "checking sys/atomic.h presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: sys/atomic.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: sys/atomic.h: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: sys/atomic.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: sys/atomic.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: sys/atomic.h: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: sys/atomic.h: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: sys/atomic.h: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: sys/atomic.h: in the future, the compiler will take precedence" >&2;} + ( cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +{ echo "$as_me:$LINENO: checking for sys/atomic.h" >&5 +echo $ECHO_N "checking for sys/atomic.h... $ECHO_C" >&6; } +if test "${ac_cv_header_sys_atomic_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_sys_atomic_h=$ac_header_preproc +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_atomic_h" >&5 +echo "${ECHO_T}$ac_cv_header_sys_atomic_h" >&6; } + +fi +if test $ac_cv_header_sys_atomic_h = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_SYS_ATOMIC_H 1 +_ACEOF + +fi + + + # 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]];'. @@@@ -18291,6 +18431,8 @@@@ $as_echo_n "checking if \"struct ifaddrs cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include + #include #include int main () @ 1.15 log @- fix compile issue when newlocale support is detected, from joerg@@ @ text @d1 1 a1 1 $NetBSD$ @ 1.14 log @Update to Asterisk 1.8.22.0: this is a bug fix update. The Asterisk Development Team has announced the release of Asterisk 1.8.22.0. The release of Asterisk 1.8.22.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 Sorting Order For Parking Lots Stored In Static Realtime * --- Make ParkAndAnnounce return to priority + 1 when return context is not defined * --- When a session timer expires during a T.38 call, re-invite with correct SDP * --- Fix several unreleased mutex locks that cause problem with processing calls * --- Fix crash when AMI redirect action redirects two channels out of a bridge. For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.22.0 Thank you for your continued support of Asterisk! @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.13 2013/04/18 16:55:22 jnemeth Exp $ d3 1 a3 1 --- configure.orig 2013-01-30 17:44:11.000000000 +0000 d5 10 a14 1 @@@@ -16688,7 +16688,7 @@@@ $as_echo "user CFLAGS present" >&6; } d23 1 a23 1 @@@@ -17148,6 +17148,146 @@@@ fi d170 1 a170 1 @@@@ -18262,6 +18402,8 @@@@ $as_echo_n "checking if \"struct ifaddrs @ 1.13 log @Update to Asterisk 1.8.21.0: this is a bug fix update The Asterisk Development Team has announced the release of Asterisk 1.8.21.0. The release of Asterisk 1.8.21.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 issue where chan_mobile fails to bind to first available port * --- Fix station ringback; trunk hangup issues in SLA * --- Fix Queue Log Reporting Every Call COMPLETECALLER With "h" Extension Present * --- Fix Record-Route parsing for large headers. * --- Fix AMI redirect action with two channels failing to redirect both channels. For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.21.0 Thank you for your continued support of Asterisk! @ text @d1 1 a1 1 $NetBSD$ a169 12 @@@@ -29253,10 +29395,10 @@@@ if test "x$ac_cv_file__sbin_launchd" = x $as_echo "#define HAVE_SBIN_LAUNCHD 1" >>confdefs.h -fi PBX_LAUNCHD=1 fi +fi PBX_GTK2=0 @ 1.12 log @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! @ text @d3 1 a3 1 --- configure.orig 2012-08-09 18:58:44.000000000 +0000 d5 1 a5 1 @@@@ -24270,7 +24270,7 @@@@ $as_echo "user CFLAGS present" >&6; } d7 1 a7 1 { $as_echo "$as_me:$LINENO: result: no" >&5 d14 1 a14 1 @@@@ -25159,6 +25159,146 @@@@ fi d161 3 a163 3 @@@@ -29734,6 +29874,8 @@@@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d165 3 a167 3 +#include +#include #include d170 3 a172 3 @@@@ -55685,10 +55827,10 @@@@ cat >>confdefs.h <<\_ACEOF #define HAVE_SBIN_LAUNCHD 1 _ACEOF @ 1.11 log @Update to 1.8.13.0: The Asterisk Development Team has announced the release of Asterisk 1.8.13.0. The release of Asterisk 1.8.13.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: * --- Turn off warning message when bind address is set to any. * --- Prevent overflow in calculation in ast_tvdiff_ms on 32-bit machines * --- Make DAHDISendCallreroutingFacility wait 5 seconds for a reply before disconnecting the call. * --- Fix recalled party B feature flags for a failed DTMF atxfer. * --- Fix DTMF atxfer running h exten after the wrong bridge ends. For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.13.0 Thank you for your continued support of Asterisk! @ text @d3 1 a3 1 --- configure.orig 2012-04-12 14:26:06.000000000 +0000 d5 1 a5 1 @@@@ -16652,7 +16652,7 @@@@ $as_echo "user CFLAGS present" >&6; } d7 1 a7 1 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 d14 1 a14 1 @@@@ -17112,6 +17112,146 @@@@ fi d161 3 a163 3 @@@@ -18226,6 +18366,8 @@@@ $as_echo_n "checking if \"struct ifaddrs cat confdefs.h - <<_ACEOF >conftest.$ac_ext d165 3 a167 3 + #include + #include #include d170 3 a172 3 @@@@ -29216,10 +29358,10 @@@@ if test "x$ac_cv_file__sbin_launchd" = x $as_echo "#define HAVE_SBIN_LAUNCHD 1" >>confdefs.h @ 1.10 log @Update to Asterisk 1.8.12.0: this is a bugfix release pkgsrc changes: - set OPTIMIZE to -O3 as levels above are poorly defined and can cause problems - maintain current patch namimg convention ----- The Asterisk Development Team has announced the release of Asterisk 1.8.12.0. The release of Asterisk 1.8.12.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: * --- Prevent chanspy from binding to zombie channels * --- Fix Dial m and r options and forked calls generating warnings for voice frames. * --- Remove ISDN hold restriction for non-bridged calls. * --- Fix copying of CDR(accountcode) to local channels. * --- Ensure Asterisk acknowledges ACKs to 4xx on Replaces errors * --- Eliminate double close of file descriptor in manager.c For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.12.0 Thank you for your continued support of Asterisk! @ text @d3 1 a3 1 --- configure.orig 2012-03-27 14:32:40.000000000 +0000 d5 10 a14 1 @@@@ -17094,6 +17094,146 @@@@ fi d161 1 a161 1 @@@@ -18219,6 +18359,8 @@@@ $as_echo_n "checking if \"struct ifaddrs d170 1 a170 1 @@@@ -29288,10 +29430,10 @@@@ if test "x$ac_cv_file__sbin_launchd" = x @ 1.9 log @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! @ text @d3 1 a3 1 --- configure.orig 2012-02-16 19:26:16.000000000 +0000 d5 1 a5 1 @@@@ -25178,6 +25178,146 @@@@ fi d152 3 a154 3 @@@@ -29482,6 +29622,8 @@@@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d156 3 a158 3 +#include +#include #include d161 3 a163 3 @@@@ -55700,10 +55842,9 @@@@ cat >>confdefs.h <<\_ACEOF #define HAVE_SBIN_LAUNCHD 1 _ACEOF d166 1 a166 1 - @ 1.8 log @Update to 1.8.10.1: this fixes AST-2012-002 and AST-2012-003. pkgsrc changes: adapt to having iLBC coded included in the asterisk tarball and newer version of sounds tarball. ----- 1.8.10.0 ----- The Asterisk Development Team has announced the release of Asterisk 1.8.10.0. The release of Asterisk 1.8.10.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: * --- Prevent outbound SIP NOTIFY packets from displaying a port of 0 --- * --- Include iLBC source code for distribution with Asterisk --- * --- Fix callerid of originated calls --- * --- Fix outbound DTMF for inband mode of chan_ooh323 --- * --- Create and initialize udptl only when dialog requests image media --- * --- Don't prematurely stop SIP session timer --- For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.10.0 Thank you for your continued support of Asterisk! ----- 1.8.10.1 ----- The Asterisk Development Team has announced security releases for Asterisk 1.4, 1.6.2, 1.8, and 10. The available security releases are released as versions 1.4.44, 1.6.2.23, 1.8.10.1, and 10.2.1. The release of Asterisk 1.8.10.1 and 10.2.1 resolve two issues. First, they resolve the issue in app_milliwatt, wherein a buffer can potentially be overrun on the stack, but no remote code execution is possible. Second, they resolve an issue in HTTP AMI where digest authentication information can be used to overrun a buffer on the stack, allowing for code injection and execution. These issues and their resolution are described in the security advisory. For more information about the details of these vulnerabilities, please read the security advisories AST-2012-002 and AST-2012-003, which were released at the same time as this announcement. For a full list of changes in the current releases, please see the ChangeLogs: http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.10.1 The security advisories are available at: * http://downloads.asterisk.org/pub/security/AST-2012-002.pdf * http://downloads.asterisk.org/pub/security/AST-2012-003.pdf Thank you for your continued support of Asterisk! @ text @d3 1 a3 1 --- configure.orig 2012-01-14 16:40:17.000000000 +0000 d5 1 a5 1 @@@@ -17130,6 +17130,146 @@@@ fi d152 3 a154 3 @@@@ -18136,6 +18276,8 @@@@ $as_echo_n "checking if \"struct ifaddrs cat confdefs.h - <<_ACEOF >conftest.$ac_ext d156 3 a158 3 + #include + #include #include d161 3 a163 3 @@@@ -29188,9 +29330,8 @@@@ if test "x$ac_cv_file__sbin_launchd" = x $as_echo "#define HAVE_SBIN_LAUNCHD 1" >>confdefs.h d165 1 a165 2 +PBX_LAUNCHD=1 fi d167 1 a167 1 - PBX_LAUNCHD=1 d169 1 d172 1 @ 1.8.2.1 log @Pullup ticket #3715 - requested by dholland comms/asterisk10 and comms/asterisk18 update/build fixes. Revisions pulled up: - comms/asterisk10/Makefile 1.11 - comms/asterisk10/PLIST 1.5 - comms/asterisk10/distinfo 1.8 - comms/asterisk10/options.mk 1.4 - comms/asterisk10/patches/patch-configure 1.3 - comms/asterisk10/patches/patch-main_features.c 1.2 - comms/asterisk18/Makefile 1.29 - comms/asterisk18/PLIST 1.15 - comms/asterisk18/distinfo 1.24 - comms/asterisk18/options.mk 1.10 - comms/asterisk18/patches/patch-aq 1.9 - comms/asterisk18/patches/patch-ay 1.4 --- Module Name: pkgsrc Committed By: jnemeth Date: Sat Apr 7 20:05:57 UTC 2012 Modified Files: pkgsrc/comms/asterisk10: Makefile PLIST distinfo options.mk pkgsrc/comms/asterisk10/patches: patch-configure patch-main_features.c Log Message: Update to Asterisk 10.3.0: pkgsrc change: eliminate ilbc option now that iLBC codec is always built The Asterisk Development Team has announced the release of Asterisk 10.3.0. The release of Asterisk 10.3.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-10.3.0 Thank you for your continued support of Asterisk! --- Module Name: pkgsrc Committed By: jnemeth Date: Sat Apr 7 20:10:45 UTC 2012 Modified Files: pkgsrc/comms/asterisk18: Makefile PLIST distinfo options.mk pkgsrc/comms/asterisk18/patches: patch-aq patch-ay Log Message: 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! @ text @d3 1 a3 1 --- configure.orig 2012-02-16 19:26:16.000000000 +0000 d5 1 a5 1 @@@@ -25178,6 +25178,146 @@@@ fi d152 3 a154 3 @@@@ -29482,6 +29622,8 @@@@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d156 3 a158 3 +#include +#include #include d161 3 a163 3 @@@@ -55700,10 +55842,9 @@@@ cat >>confdefs.h <<\_ACEOF #define HAVE_SBIN_LAUNCHD 1 _ACEOF d165 2 a166 1 -fi d168 1 a168 1 PBX_LAUNCHD=1 a169 1 +fi a171 1 PBX_GTK2=0 @ 1.7 log @Update to Asterisk 1.8.8.1. share/doc/asterisk/AST.{txt,pdf} has been replaced with share/doc/asterisk/Asterisk_Admin_Guide. You will need a browser to read the latter. ----- Asterisk 1.8.8.1 ----- The release of Asterisk 1.8.8.1 resolves a regression introduced in Asterisk 1.8.8.0 reported by the community, and would have not been possible without your participation. Thank you! The following is the issue resolved in this release: * Handle AST_CONTROL_UPDATE_RTP_PEER frames in local bridge loop Failing to handle AST_CONTROL_UPDATE_RTP_PEER frames in the local bridge loop causes the loop to exit prematurely. This causes a variety of negative side effects, which may include having Music On Hold failing during a SIP Hold. For a full description of the changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.8.1 Thank you for your continued support of Asterisk! ----- Asterisk 1.8.8.0 ----- The release of Asterisk 1.8.8.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: * Updated SIP 484 handling; added Incomplete control frame When a SIP phone uses the dial application and receives a 484 Address Incomplete response, if overlapped dialing is enabled for SIP, then the 484 Address Incomplete is forwarded back to the SIP phone and the HANGUPCAUSE channel variable is set to 28. Previously, the Incomplete application dialplan logic was automatically triggered; now, explicit dialplan usage of the application is required. * Prevent IAX2 from getting IPv6 addresses via DNS IAX2 does not support IPv6 and getting such addresses from DNS can cause error messages on the remote end involving bad IPv4 address casts in the presence of IPv6/IPv4 tunnels. * Fix bad RTP media bridges in directmedia calls on peers separated by multiple Asterisk nodes. * Fix crashes in ast_rtcp_write() * Fix for incorrect voicemail duration in external notifications. This patch fixes an issue where the voicemail duration was being reported with a duration significantly less than the actual sound file duration. * Prevent segfault if call arrives before Asterisk is fully booted. * Fix remote Crash Vulnerability in SIP channel driver (AST-2011-012) http://downloads.asterisk.org/pub/security/AST-2011-012.pdf * Fix locking order in app_queue.c which caused deadlocks * Fix regression in configure script for libpri capability checks * Prevent BLF subscriptions from causing deadlocks. * Fix deadlock if peer is destroyed while sending MWI notice. * Fix issue with setting defaultenabled on categories that are already enabled by default. * Don't crash on INFO automon request with no channel AST-2011-014. When automon was enabled in features.conf, it was possible to crash Asterisk by sending an INFO request if no channel had been created yet. * Fixed crash from orphaned MWI subscriptions in chan_sip This patch resolves the issue where MWI subscriptions are orphaned by subsequent SIP SUBSCRIBE messages. * Default to nat=yes; warn when nat in general and peer differ AST-2011-013. It is possible to enumerate SIP usernames when the general and user/peer nat settings differ in whether to respond to the port a request is sent from or the port listed for responses in the Via header. For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.8.0 Thank you for your continued support of Asterisk! @ text @d3 1 a3 1 --- configure.orig 2011-10-18 21:26:48.000000000 +0000 d5 1 a5 1 @@@@ -24922,6 +24922,146 @@@@ fi d152 3 a154 3 @@@@ -29226,6 +29366,8 @@@@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d156 3 a158 3 +#include +#include #include d161 3 a163 3 @@@@ -55374,9 +55516,8 @@@@ cat >>confdefs.h <<\_ACEOF #define HAVE_SBIN_LAUNCHD 1 _ACEOF @ 1.6 log @Update to 1.8.7.0 (mainly bug fixes). pkgsrc changes: - adjust for ilbc changes after it was acquired by Google - install AST.pdf IAX2-security.pdf into share/doc/asterisk 1.8.7.0: ======== The release of Asterisk 1.8.7.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! Please note that a significant numbers of changes and fixes have gone into features.c in this release (call parking, built-in transfers, call pickup, etc.). NOTE: Recently, we were notified that the mechanism included in our Asterisk source code releases to download and build support for the iLBC codec had stopped working correctly; a little investigation revealed that this occurred because of some changes on the ilbcfreeware.org website. These changes occurred as a result of Google's acquisition of GIPS, who produced (and provided licenses for) the iLBC codec. If you are a user of Asterisk and iLBC together, and you've already executed a license agreement with GIPS, we believe you can continue using iLBC with Asterisk. If you are a user of Asterisk and iLBC together, but you had not executed a license agreement with GIPS, we encourage you to research the situation and consult with your own legal representatives to determine what actions you may want to take (or avoid taking). More information is available on the Asterisk blog: http://blogs.asterisk.org/2011/09/19/ilbc-support-in-asterisk-after-googles-acquisition-of-gips/ The following is a sample of the issues resolved in this release: * Added the 'storesipcause' option to sip.conf to allow the user to disable the setting of HASH(SIP_CAUSE,) on the channel. Having chan_sip set HASH(SIP_CAUSE,) on the channel carries a significant performance penalty because of the usage of the MASTER_CHANNEL() dialplan function. We've decided to disable this feature by default in future 1.8 versions. This would be an unexpected behavior change for anyone depending on that SIP_CAUSE update in their dialplan. Please refer to the asterisk-dev mailing list more information: http://lists.digium.com/pipermail/asterisk-dev/2011-August/050626.html * Significant fixes and improvements to parking lots. (Closes issues ASTERISK-17183, ASTERISK-17870, ASTERISK-17430, ASTERISK-17452, ASTERISK-17452, ASTERISK-15792.) * Numerous issues have been reported for deadlocks that are caused by a blocking read in res_timing_timerfd on a file descriptor that will never be written to. A change to Asterisk adds some checks to make sure that the timerfd is both valid and armed before calling read(). Should fix: ASTERISK-18142, ASTERISK-18197, ASTERISK-18166 and possibly others. (In essence, this change should make res_timing_timerfd usable.) * Resolve segfault when publishing device states via XMPP and not connected. (Closes issue ASTERISK-18078.) * Refresh peer address if DNS unavailable at peer creation. (Closes issue ASTERISK-18000) * Fix the missing DAHDI channels when using the newer chan_dahdi.conf sections for channel configuration. (Closes issue ASTERISK-18496.) * Remove unnecessary libpri dependency checks in the configure script. (Closes issue ASTERISK-18535.) * Update get_ilbc_source.sh script to work again. (Closes issue ASTERISK-18412) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.7.0 Thank you for your continued support of Asterisk! 1.8.6.0: ======== The release of Asterisk 1.8.6.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 an issue with Music on Hold classes losing files in playlist when realtime is used. (Closes issue ASTERISK-17875.) * Resolve a potential crash in chan_sip when utilizing auth= and performing a 'sip reload' from the console. (Closes issue ASTERISK-17939.) * Address some improper sql statements in res_odbc that would cause an update to fail on realtime peers due to trying to set as "(NULL)" rather than an actual NULL. (Closes issue ASTERISK-17791.) * Resolve issue where 403 Forbidden would always be sent maximum number of times regardless to receipt of ACK. * Resolve issue where if a call to MeetMe includes both the dynamic(D) and always request PIN(P) options, MeetMe will ask for the PIN two times: once for creating the conference and once for entering the conference. * Fix New Zealand indications profile based on http://www.telepermit.co.nz/TNA102.pdf (Closes issue ASTERISK-16263.) * Segfault in shell_helper in func_shell.c (Closes issue ASTERISK-18109.) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.6.0 Thank you for your continued support of Asterisk! @ text @d3 1 a3 1 --- configure.orig 2011-09-19 16:57:40.000000000 +0000 d5 1 a5 1 @@@@ -22644,6 +22644,146 @@@@ fi d149 4 a152 4 { echo "$as_me:$LINENO: checking for int" >&5 echo $ECHO_N "checking for int... $ECHO_C" >&6; } if test "${ac_cv_type_int+set}" = set; then @@@@ -27486,6 +27626,8 @@@@ _ACEOF d161 1 a161 1 @@@@ -53846,9 +53988,8 @@@@ cat >>confdefs.h <<\_ACEOF @ 1.5 log @Upgrade to 1.8.4.2. This fixes several security issues including: AST-2011-002, AST-2011-003, AST-2011-004, AST-2011-005, AST-2011-006, and AST-2011-007. pkgsrc changes: - add patch for autosupport script; == -> = - patch configure to not unconditionally set PBX_LAUNCHD=1 - this allows res_timing_kqueue.so to build This last change brings a timing source to NetBSD which allows IAX trunking and allows the bridging modules to work, a rather major piece that was missing. Note that I haven't extensively tested it. But, have at it... =========================================================================== 1.8.4.2: The Asterisk Development Team has announced the release of Asterisk version 1.8.4.2, which is a security release for Asterisk 1.8. The release of Asterisk 1.8.4.2 resolves an issue with SIP URI parsing which can lead to a remotely exploitable crash: Remote Crash Vulnerability in SIP channel driver (AST-2011-007) The issue and resolution is described in the AST-2011-007 security advisory. For more information about the details of this vulnerability, please read the security advisory AST-2011-007, which was released at the same time as this announcement. For a full list of changes in the current release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.4.2 Security advisory AST-2011-007 is available at: http://downloads.asterisk.org/pub/security/AST-2011-007.pdf =========================================================================== 1.8.4.1: The Asterisk Development Team has announced the release of Asterisk 1.8.4.1. The release of Asterisk 1.8.4.1 resolves several issues reported by the community. Without your help this release would not have been possible. Thank you! Below is a list of issues resolved in this release: * Fix our compliance with RFC 3261 section 18.2.2. (aka Cisco phone fix) * Resolve a change in IPv6 header parsing due to the Cisco phone fix issue. This issue was found and reported by the Asterisk test suite. * Resolve potential crash when using SIP TLS support. * Improve reliability when using SIP TLS. For a full list of changes in this release candidate, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.4.1 =========================================================================== 1.8.4: The Asterisk Development Team has announced the release of Asterisk 1.8.4. The release of Asterisk 1.8.4 resolves several issues reported by the community. Without your help this release would not have been possible. Thank you! Below is a sample of the issues resolved in this release: * Use SSLv23_client_method instead of old SSLv2 only. * Resolve crash in ast_mutex_init() * Resolution of several DTMF based attended transfer issues. NOTE: Be sure to read the ChangeLog for more information about these changes. * Resolve deadlocks related to device states in chan_sip * Resolve an issue with the Asterisk manager interface leaking memory when disabled. * Support greetingsfolder as documented in voicemail.conf.sample. * Fix channel redirect out of MeetMe() and other issues with channel softhangup * Fix voicemail sequencing for file based storage. * Set hangup cause in local_hangup so the proper return code of 486 instead of 503 when using Local channels when the far sides returns a busy. Also affects CCSS in Asterisk 1.8+. * Fix issues with verbose messages not being output to the console. * Fix Deadlock with attended transfer of SIP call Includes changes per AST-2011-005 and AST-2011-006 For a full list of changes in this release candidate, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.4 Information about the security releases are available at: http://downloads.asterisk.org/pub/security/AST-2011-005.pdf http://downloads.asterisk.org/pub/security/AST-2011-006.pdf =========================================================================== 1.8.3.3: The Asterisk Development Team has announced security releases for Asterisk branches 1.4, 1.6.1, 1.6.2, and 1.8. The available security releases are released as versions 1.4.40.1, 1.6.1.25, 1.6.2.17.3, and 1.8.3.3. The releases of Asterisk 1.4.40.1, 1.6.1.25, 1.6.2.17.3, and 1.8.3.3 resolve two issues: * File Descriptor Resource Exhaustion (AST-2011-005) * Asterisk Manager User Shell Access (AST-2011-006) The issues and resolutions are described in the AST-2011-005 and AST-2011-006 security advisories. For more information about the details of these vulnerabilities, please read the security advisories AST-2011-005 and AST-2011-006, which were released at the same time as this announcement. For a full list of changes in the current releases, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.3.3 Security advisory AST-2011-005 and AST-2011-006 are available at: http://downloads.asterisk.org/pub/security/AST-2011-005.pdf http://downloads.asterisk.org/pub/security/AST-2011-006.pdf =========================================================================== 1.8.3.2: he Asterisk Development Team has announced security releases for Asterisk branches 1.6.1, 1.6.2, and 1.8. The available security releases are released as versions 1.6.1.24, 1.6.2.17.2, and 1.8.3.2. ** This is a re-release of Asterisk 1.6.1.23, 1.6.2.17.1 and 1.8.3.1 which contained a bug which caused duplicate manager entries (issue #18987). The releases of Asterisk 1.6.1.24, 1.6.2.17.2, and 1.8.3.2 resolve two issues: * Resource exhaustion in Asterisk Manager Interface (AST-2011-003) * Remote crash vulnerability in TCP/TLS server (AST-2011-004) The issues and resolutions are described in the AST-2011-003 and AST-2011-004 security advisories. For more information about the details of these vulnerabilities, please read the security advisories AST-2011-003 and AST-2011-004, which were released at the same time as this announcement. For a full list of changes in the current releases, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.3.2 Security advisory AST-2011-003 and AST-2011-004 are available at: http://downloads.asterisk.org/pub/security/AST-2011-003.pdf http://downloads.asterisk.org/pub/security/AST-2011-004.pdf =========================================================================== 1.8.3.1: The Asterisk Development Team has announced security releases for Asterisk branches 1.6.1, 1.6.2, and 1.8. The available security releases are released as versions 1.6.1.23, 1.6.2.17.1, and 1.8.3.1. The releases of Asterisk 1.6.1.23, 1.6.2.17.1, and 1.8.3.1 resolve two issues: * Resource exhaustion in Asterisk Manager Interface (AST-2011-003) * Remote crash vulnerability in TCP/TLS server (AST-2011-004) The issues and resolutions are described in the AST-2011-003 and AST-2011-004 security advisories. For more information about the details of these vulnerabilities, please read the security advisories AST-2011-003 and AST-2011-004, which were released at the same time as this announcement. For a full list of changes in the current releases, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.3.1 Security advisory AST-2011-003 and AST-2011-004 are available at: http://downloads.asterisk.org/pub/security/AST-2011-003.pdf http://downloads.asterisk.org/pub/security/AST-2011-004.pdf =========================================================================== 1.8.3: The Asterisk Development Team has announced the release of Asterisk 1.8.3. The release of Asterisk 1.8.3 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: * Resolve duplicated data in the AstDB when using DIALGROUP() * Ensure the ipaddr field in realtime is large enough to handle IPv6 addresses. * Reworking parsing of mwi => lines to resolve a segfault. Also add a set of unit tests for the function that does the parsing. * When using cdr_pgsql the billsec field was not populated correctly on unanswered calls. * Resolve memory leak in iCalendar and Exchange calendaring modules. * This version of Asterisk includes the new Compiler Flags option BETTER_BACKTRACES which uses libbfd to search for better symbol information within both the Asterisk binary, as well as loaded modules, to assist when using inline backtraces to track down problems. * Resolve issue where no Music On Hold may be triggered when using res_timing_dahdi. * Resolve a memory leak when the Asterisk Manager Interface is disabled. * Reimplemented fax session reservation to reverse the ABI breakage introduced in r297486. * Fix regression that changed behavior of queues when ringing a queue member. * Resolve deadlock involving REFER. Additionally, this release has the changes related to security bulletin AST-2011-002 which can be found at http://downloads.asterisk.org/pub/security/AST-2011-002.pdf For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.3 =========================================================================== 1.8.2.4: The Asterisk Development Team has announced security releases for Asterisk branches 1.4, 1.6.1, 1.6.2, and 1.8. The available security releases are released as versions 1.4.39.2, 1.6.1.22, 1.6.2.16.2, and 1.8.2.4. The releases of Asterisk 1.4.39.2, 1.6.1.22, 1.6.2.16.2, and 1.8.2.4 resolve an issue that when decoding UDPTL packets, multiple stack and heap based arrays can be made to overflow by specially crafted packets. Systems configured for T.38 pass through or termination are vulnerable. The issue and resolution are described in the AST-2011-002 security advisory. For more information about the details of this vulnerability, please read the security advisory AST-2011-002, which was released at the same time as this announcement. For a full list of changes in the current release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.2.4 Security advisory AST-2011-002 is available at: http://downloads.asterisk.org/pub/security/AST-2011-002.pdf @ text @d3 1 a3 1 --- configure.orig 2011-01-27 17:03:01.000000000 +0000 d5 1 a5 1 @@@@ -16429,6 +16429,17 @@@@ fi d9 131 a139 2 +ac_fn_c_check_header_mongrel "$LINENO" "sys/atomic.h" "ac_cv_header_sys_atomic_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_atomic_h" = x""yes; then : d149 6 a154 6 # 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]];'. @@@@ -17540,6 +17551,8 @@@@ $as_echo_n "checking if \"struct ifaddrs cat confdefs.h - <<_ACEOF >conftest.$ac_ext d156 3 a158 3 + #include + #include #include d161 3 a163 3 @@@@ -28885,9 +28898,8 @@@@ if test "x$ac_cv_file__sbin_launchd" = x $as_echo "#define HAVE_SBIN_LAUNCHD 1" >>confdefs.h @ 1.4 log @Added a comment that the issue these patches fix (mainly adding support for NetBSD style atomic ops) has been reported upstream. No change to binary package, so no REVISION bump. @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.3 2011/01/27 04:03:18 jnemeth Exp $ d3 1 a3 3 # Reported upstream as https://issues.asterisk.org/view.php?id=18705 --- configure.orig 2011-01-12 16:52:31.000000000 +0000 d5 1 a5 1 @@@@ -22973,6 +22973,146 @@@@ fi d9 2 a10 131 +if test "${ac_cv_header_sys_atomic_h+set}" = set; then + { echo "$as_me:$LINENO: checking for sys/atomic.h" >&5 +echo $ECHO_N "checking for sys/atomic.h... $ECHO_C" >&6; } +if test "${ac_cv_header_sys_atomic_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_atomic_h" >&5 +echo "${ECHO_T}$ac_cv_header_sys_atomic_h" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking sys/atomic.h usability" >&5 +echo $ECHO_N "checking sys/atomic.h usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking sys/atomic.h presence" >&5 +echo $ECHO_N "checking sys/atomic.h presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: sys/atomic.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: sys/atomic.h: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: sys/atomic.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: sys/atomic.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: sys/atomic.h: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: sys/atomic.h: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: sys/atomic.h: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: sys/atomic.h: in the future, the compiler will take precedence" >&2;} + ( cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +{ echo "$as_me:$LINENO: checking for sys/atomic.h" >&5 +echo $ECHO_N "checking for sys/atomic.h... $ECHO_C" >&6; } +if test "${ac_cv_header_sys_atomic_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_sys_atomic_h=$ac_header_preproc +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_atomic_h" >&5 +echo "${ECHO_T}$ac_cv_header_sys_atomic_h" >&6; } + +fi +if test $ac_cv_header_sys_atomic_h = yes; then d20 6 a25 6 { echo "$as_me:$LINENO: checking for int" >&5 echo $ECHO_N "checking for int... $ECHO_C" >&6; } if test "${ac_cv_type_int+set}" = set; then @@@@ -27494,6 +27634,8 @@@@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d27 3 a29 3 +#include +#include #include d32 11 @ 1.3 log @Update to 1.8.2.3 -- bug fix release to fix a FAX issue pkgsrc: fix issue with patch for detecting sys/atomic.h The Asterisk Development Team has announced the release of Asterisk 1.8.2.3. The release of Asterisk 1.8.2.3 resolves the following issue: * Reimplemented fax session reservation to reverse the ABI breakage introduced in r297486. (Reported by Jeremy Kister on the asterisk-users mailing list. Patched by mnicholson) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.2.3 @ text @d1 3 a3 1 $NetBSD: patch-aq,v 1.2 2011/01/16 17:52:43 jnemeth Exp $ @ 1.2 log @Update to 1.8.2: The release of Asterisk 1.8.2 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: * 'sip notify clear-mwi' needs terminating CRLF. (Closes issue #18275. Reported, patched by klaus3000) * Patch for deadlock from ordering issue between channel/queue locks in app_queue (set_queue_variables). (Closes issue #18031. Reported by rain. Patched by bbryant) * 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) * Fix reloading of peer when a user is requested. Prevent peer reloading from causing multiple MWI subscriptions to be created when using realtime. (Closes issue #18342. Reported, patched by nivek.) * Fix XMPP PubSub-based distributed device state. Initialize pubsubflags to 0 so res_jabber doesn't think there is already an XMPP connection sending device state. Also clean up CLI commands a bit. (Closes issue #18272. Reported by klaus3000. Patched by Marquis42) * Don't crash after Set(CDR(userfield)=...) in ast_bridge_call. Instead of setting peer->cdr = NULL, set it to not post. (Closes issue #18415. Reported by macbrody. Patched, tested by jsolares) * Fixes issue with outbound google voice calls not working. Thanks to az1234 and nevermind_quack for their input in helping debug the issue. (Closes issue #18412. Reported by nevermind_quack. Patched by dvossel) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.2 @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.1.1.1 2010/12/15 03:22:45 jnemeth Exp $ d142 1 a142 1 +#define HAVE_OS_ATOMIC_H 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-aq,v 1.9 2010/12/12 10:19:44 jnemeth Exp $ d3 1 a3 1 --- configure.orig 2010-11-09 20:33:05.000000000 +0000 d5 1 a5 1 @@@@ -16365,6 +16365,17 @@@@ fi d9 131 a139 2 +ac_fn_c_check_header_mongrel "$LINENO" "sys/atomic.h" "ac_cv_header_sys_atomic_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_atomic_h" = x""yes; then : d142 1 a142 1 +#define HAVE_SYS_ATOMIC_H 1 d149 6 a154 6 # 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]];'. @@@@ -17346,6 +17357,8 @@@@ $as_echo_n "checking if \"struct ifaddrs cat confdefs.h - <<_ACEOF >conftest.$ac_ext d156 3 a158 3 + #include + #include #include @ 1.1.1.1 log @ Import Asterisk 1.8.1: Asterisk is a complete PBX in software. It provides all of the features you would expect from a PBX and more. Asterisk does voice over IP in three protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware. Asterisk 1.8 is a long term support version (i.e. it will be supported for four years with an additional year of security only fixes). See: https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions What's new: Asterisk 1.8 is the next major release series of Asterisk. The release of Asterisk 1.8.0 would not have been possible without the support and contributions of the community. Since Asterisk 1.6.2, we've had over 500 reporters, more than 300 testers and greater than 200 developers contributed to this release. You can find a summary of the work involved with the 1.8.0 release in the sumary: http://svn.asterisk.org/svn/asterisk/tags/1.8.0/asterisk-1.8.0-summary.txt A short list of available features includes: * Secure RTP * IPv6 Support in the SIP channel driver * Connected Party Identification Support * Calendaring Integration * A new call logging system, Channel Event Logging (CEL) * Distributed Device State using Jabber/XMPP PubSub * Call Completion Supplementary Services support * Advice of Charge support * Much, much more! A full list of new features can be found in the CHANGES file. http://svn.digium.com/view/asterisk/branches/1.8/CHANGES?view=markup For a full list of changes in the current release candidate, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.0 ----- The Asterisk Development Team has announced the release of Asterisk 1.8.1. The release of Asterisk 1.8.1 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 issue when using directmedia. Asterisk needs to limit the codecs offered to just the ones that both sides recognize, otherwise they may end up sending audio that the other side doesn't understand. (Closes issue #17403. Reported, patched by one47. Tested by one47, falves11) * Resolve issue where Party A in an analog 3-way call would continue to hear ringback after party C answers. (Patched by rmudgett) * Fix playback failure when using IAX with the timerfd module. (Closes issue #18110. Reported, tested by tpanton. Patched by jpeeler) * Fix problem with qualify option packets for realtime peers never stopping. The option packets not only never stopped, but if a realtime peer was not in the peer list multiple options dialogs could accumulate over time. (Closes issue #16382. Reported by lftsy. Tested by zerohalo. Patched by jpeeler) * Fix issue where it is possible to crash Asterisk by feeding the curl engine invalid data. (Closes issue #18161. Reported by wdoekes. Patched by tilghman) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.1 @ text @@ 1.1.1.1.2.1 log @Pullup ticket #3336 - requested by gls comms/asterisk18: security update Revisions pulled up: - comms/asterisk18/Makefile 1.3-1.4 - comms/asterisk18/distinfo 1.5-1.6 - comms/asterisk18/patches/patch-aq 1.2 --- Module Name: pkgsrc Committed By: jnemeth Date: Sun Jan 16 17:52:43 UTC 2011 Modified Files: pkgsrc/comms/asterisk18: Makefile distinfo pkgsrc/comms/asterisk18/patches: patch-aq Log Message: Update to 1.8.2: The release of Asterisk 1.8.2 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: * 'sip notify clear-mwi' needs terminating CRLF. (Closes issue #18275. Reported, patched by klaus3000) * Patch for deadlock from ordering issue between channel/queue locks in app_queue (set_queue_variables). (Closes issue #18031. Reported by rain. Patched by bbryant) * 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) * Fix reloading of peer when a user is requested. Prevent peer reloading from causing multiple MWI subscriptions to be created when using realtime. (Closes issue #18342. Reported, patched by nivek.) * Fix XMPP PubSub-based distributed device state. Initialize pubsubflags to 0 so res_jabber doesn't think there is already an XMPP connection sending device state. Also clean up CLI commands a bit. (Closes issue #18272. Reported by klaus3000. Patched by Marquis42) * Don't crash after Set(CDR(userfield)=...) in ast_bridge_call. Instead of setting peer->cdr = NULL, set it to not post. (Closes issue #18415. Reported by macbrody. Patched, tested by jsolares) * Fixes issue with outbound google voice calls not working. Thanks to az1234 and nevermind_quack for their input in helping debug the issue. (Closes issue #18412. Reported by nevermind_quack. Patched by dvossel) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.2 --- odule Name: pkgsrc Committed By: jnemeth Date: Fri Jan 21 07:00:44 UTC 2011 Modified Files: pkgsrc/comms/asterisk18: Makefile distinfo Log Message: Update to 1.8.2.2 This is to fix AST-2011-001: Stack buffer overflow in SIP channel driver Asterisk Project Security Advisory - AST-2011-001 Product Asterisk Summary Stack buffer overflow in SIP channel driver Nature of Advisory Exploitable Stack Buffer Overflow Susceptibility Remote Authenticated Sessions Severity Moderate Exploits Known No Reported On January 11, 2011 Reported By Matthew Nicholson Posted On January 18, 2011 Last Updated On January 18, 2011 Advisory Contact Matthew Nicholson CVE Name Description When forming an outgoing SIP request while in pedantic mode, a stack buffer can be made to overflow if supplied with carefully crafted caller ID information. This vulnerability also affects the URIENCODE dialplan function and in some versions of asterisk, the AGI dialplan application as well.. The ast_uri_encode function does not properly respect the size of its output buffer and can write past the end of it when encoding URIs. For full details, see: http://downloads.digium.com/pub/security/AST-2011-001.html @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.orig 2011-01-12 16:52:31.000000000 +0000 d5 1 a5 1 @@@@ -22973,6 +22973,146 @@@@ fi d9 2 a10 131 +if test "${ac_cv_header_sys_atomic_h+set}" = set; then + { echo "$as_me:$LINENO: checking for sys/atomic.h" >&5 +echo $ECHO_N "checking for sys/atomic.h... $ECHO_C" >&6; } +if test "${ac_cv_header_sys_atomic_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_atomic_h" >&5 +echo "${ECHO_T}$ac_cv_header_sys_atomic_h" >&6; } +else + # Is the header compilable? +{ echo "$as_me:$LINENO: checking sys/atomic.h usability" >&5 +echo $ECHO_N "checking sys/atomic.h usability... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include +_ACEOF +rm -f conftest.$ac_objext +if { (ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_compile") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_compiler=no +fi + +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6; } + +# Is the header present? +{ echo "$as_me:$LINENO: checking sys/atomic.h presence" >&5 +echo $ECHO_N "checking sys/atomic.h presence... $ECHO_C" >&6; } +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi + +rm -f conftest.err conftest.$ac_ext +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6; } + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: sys/atomic.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: sys/atomic.h: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: sys/atomic.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: sys/atomic.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: sys/atomic.h: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: sys/atomic.h: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: sys/atomic.h: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: sys/atomic.h: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: sys/atomic.h: in the future, the compiler will take precedence" >&2;} + ( cat <<\_ASBOX +## ------------------------------------------ ## +## Report this to https://issues.asterisk.org ## +## ------------------------------------------ ## +_ASBOX + ) | sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +{ echo "$as_me:$LINENO: checking for sys/atomic.h" >&5 +echo $ECHO_N "checking for sys/atomic.h... $ECHO_C" >&6; } +if test "${ac_cv_header_sys_atomic_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_header_sys_atomic_h=$ac_header_preproc +fi +{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_atomic_h" >&5 +echo "${ECHO_T}$ac_cv_header_sys_atomic_h" >&6; } + +fi +if test $ac_cv_header_sys_atomic_h = yes; then d13 1 a13 1 +#define HAVE_OS_ATOMIC_H 1 d20 6 a25 6 { echo "$as_me:$LINENO: checking for int" >&5 echo $ECHO_N "checking for int... $ECHO_C" >&6; } if test "${ac_cv_type_int+set}" = set; then @@@@ -27494,6 +27634,8 @@@@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF d27 3 a29 3 +#include +#include #include @