summaryrefslogtreecommitdiff
path: root/comms/asterisk/patches/patch-configure
diff options
context:
space:
mode:
authorjnemeth <jnemeth@pkgsrc.org>2012-12-11 08:22:48 +0000
committerjnemeth <jnemeth@pkgsrc.org>2012-12-11 08:22:48 +0000
commitb64ab705cb6c895d32bca5704a2d677e89c3750e (patch)
tree9cf1fa82a78e55c677efd65b1691c8657123e72b /comms/asterisk/patches/patch-configure
parentb90ea49f524760b8b4569e5236bb5bdc8fa9cdfc (diff)
downloadpkgsrc-b64ab705cb6c895d32bca5704a2d677e89c3750e.tar.gz
Update to Asterisk 11.1.0: this is a major new long term support release.
As this is a major release, you should read the information about updating: https://wiki.asterisk.org/wiki/display/AST/Upgrading+to+Asterisk+11 You can also find documentation in: /usr/pkg/share/doc/asterisk ----- 11.1.0: The Asterisk Development Team has announced the release of Asterisk 11.1.0. The release of Asterisk 11.1.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 execution of 'i' extension due to uninitialized variable. * --- Prevent resetting of NATted realtime peer address on reload. * --- Fix ConfBridge crash if no timing module loaded. * --- Fix the Park 'r' option when a channel parks itself. * --- Fix an issue where outgoing calls would fail to establish audio due to ICE negotiation failures. For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-11.1.0 ----- 11.0.1: The Asterisk Development Team has announced the release of Asterisk 11.0.1. The release of Asterisk 11.0.1 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: * --- chan_sip: Fix a bug causing SIP reloads to remove all entries from the registry * --- confbridge: Fix a bug which made conferences not record with AMI/CLI commands * --- Fix an issue with res_http_websocket where the chan_sip WebSocket handler could not be registered. For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-11.0.1 Thank you for your continued support of Asterisk! ----- 11.0.0: The Asterisk Development Team is pleased to announce the release of Asterisk 11.0.0. Asterisk 11 is the next major release series of Asterisk. It is a Long Term Support (LTS) release, similar to Asterisk 1.8. For more information about support time lines for Asterisk releases, see the Asterisk versions page: https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions For important information regarding upgrading to Asterisk 11, please see the Asterisk wiki: https://wiki.asterisk.org/wiki/display/AST/Upgrading+to+Asterisk+11 A short list of new features includes: * A new channel driver named chan_motif has been added which provides support for Google Talk and Jingle in a single channel driver. This new channel driver includes support for both audio and video, RFC2833 DTMF, all codecs supported by Asterisk, hold, unhold, and ringing notification. It is also compliant with the current Jingle specification, current Google Jingle specification, and the original Google Talk protocol. * Support for the WebSocket transport for chan_sip. * SIP peers can now be configured to support negotiation of ICE candidates. * The app_page application now no longer depends on DAHDI or app_meetme. It has been re-architected to use app_confbridge internally. * Hangup handlers can be attached to channels using the CHANNEL() function. Hangup handlers will run when the channel is hung up similar to the h extension; however, unlike an h extension, a hangup handler is associated with the actual channel and will execute anytime that channel is hung up, regardless of where it is in the dialplan. * Added pre-dial handlers for the Dial and Follow-Me applications. Pre-dial allows you to execute a dialplan subroutine on a channel before a call is placed but after the application performing a dial action is invoked. This means that the handlers are executed after the creation of the callee channels, but before any actions have been taken to actually dial the callee channels. * Log messages can now be easily associated with a certain call by looking at a new unique identifier, "Call Id". Call ids are attached to log messages for just about any case where it can be determined that the message is related to a particular call. * Introduced Named ACLs as a new way to define Access Control Lists (ACLs) in Asterisk. Unlike traditional ACLs defined in specific module configuration files, Named ACLs can be shared across multiple modules. * The Hangup Cause family of functions and dialplan applications allow for inspection of the hangup cause codes for each channel involved in a call. This allows a dialplan writer to determine, for each channel, who hung up and for what reason(s). * Two new functions have been added: FEATURE() and FEATUREMAP(). FEATURE() lets you set some of the configuration options from the general section of features.conf on a per-channel basis. FEATUREMAP() lets you customize the key sequence used to activate built-in features, such as blindxfer, and automon. * Support for DTLS-SRTP in chan_sip. * Support for named pickupgroups/callgroups, allowing any number of pickupgroups and callgroups to be defined for several channel drivers. * IPv6 Support for AMI, AGI, ExternalIVR, and the SIP Security Event Framework. More information about the new features can be found on the Asterisk wiki: https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+Documentation A full list of all new features can also be found in the CHANGES file. http://svnview.digium.com/svn/asterisk/branches/11/CHANGES For a full list of changes in the current release, please see the ChangeLog. http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-11.0.0 Thank you for your continued support of Asterisk!
Diffstat (limited to 'comms/asterisk/patches/patch-configure')
-rw-r--r--comms/asterisk/patches/patch-configure194
1 files changed, 194 insertions, 0 deletions
diff --git a/comms/asterisk/patches/patch-configure b/comms/asterisk/patches/patch-configure
new file mode 100644
index 00000000000..442765f823c
--- /dev/null
+++ b/comms/asterisk/patches/patch-configure
@@ -0,0 +1,194 @@
+$NetBSD: patch-configure,v 1.1 2012/12/11 08:22:49 jnemeth Exp $
+
+--- configure.orig 2012-10-18 20:02:02.000000000 +0000
++++ configure
+@@ -23783,16 +23783,16 @@ if $(${CC} -march=native -S -o /dev/null
+ if test "${CONFIG_CFLAGS}" = ""; then
+ { $as_echo "$as_me:$LINENO: result: yes" >&5
+ $as_echo "yes" >&6; }
+- AST_NATIVE_ARCH=1
++ AST_NATIVE_ARCH=0
+ else
+ { $as_echo "$as_me:$LINENO: result: user CFLAGS present" >&5
+ $as_echo "user CFLAGS present" >&6; }
+- AST_NATIVE_ARCH=
++ AST_NATIVE_ARCH=0
+ fi
+ else
+ { $as_echo "$as_me:$LINENO: result: no" >&5
+ $as_echo "no" >&6; }
+- AST_NATIVE_ARCH=
++ AST_NATIVE_ARCH=0
+ fi
+
+
+@@ -24732,6 +24732,148 @@ fi
+
+
+
++if test "${ac_cv_header_sys_atomic_h+set}" = set; then
++ { $as_echo "$as_me:$LINENO: checking for sys/atomic.h" >&5
++$as_echo_n "checking for sys/atomic.h... " >&6; }
++if test "${ac_cv_header_sys_atomic_h+set}" = set; then
++ $as_echo_n "(cached) " >&6
++fi
++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_atomic_h" >&5
++$as_echo "$ac_cv_header_sys_atomic_h" >&6; }
++else
++ # Is the header compilable?
++{ $as_echo "$as_me:$LINENO: checking sys/atomic.h usability" >&5
++$as_echo_n "checking sys/atomic.h usability... " >&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 <sys/atomic.h>
++_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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
++$as_echo "$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
++ $as_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
++ $as_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
++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
++$as_echo "$ac_header_compiler" >&6; }
++
++# Is the header present?
++{ $as_echo "$as_me:$LINENO: checking sys/atomic.h presence" >&5
++$as_echo_n "checking sys/atomic.h presence... " >&6; }
++cat >conftest.$ac_ext <<_ACEOF
++/* confdefs.h. */
++_ACEOF
++cat confdefs.h >>conftest.$ac_ext
++cat >>conftest.$ac_ext <<_ACEOF
++/* end confdefs.h. */
++#include <sys/atomic.h>
++_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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
++$as_echo "$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
++ $as_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
++ $as_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
++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
++$as_echo "$ac_header_preproc" >&6; }
++
++# So? What about this header?
++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
++ yes:no: )
++ { $as_echo "$as_me:$LINENO: WARNING: sys/atomic.h: accepted by the compiler, rejected by the preprocessor!" >&5
++$as_echo "$as_me: WARNING: sys/atomic.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
++ { $as_echo "$as_me:$LINENO: WARNING: sys/atomic.h: proceeding with the compiler's result" >&5
++$as_echo "$as_me: WARNING: sys/atomic.h: proceeding with the compiler's result" >&2;}
++ ac_header_preproc=yes
++ ;;
++ no:yes:* )
++ { $as_echo "$as_me:$LINENO: WARNING: sys/atomic.h: present but cannot be compiled" >&5
++$as_echo "$as_me: WARNING: sys/atomic.h: present but cannot be compiled" >&2;}
++ { $as_echo "$as_me:$LINENO: WARNING: sys/atomic.h: check for missing prerequisite headers?" >&5
++$as_echo "$as_me: WARNING: sys/atomic.h: check for missing prerequisite headers?" >&2;}
++ { $as_echo "$as_me:$LINENO: WARNING: sys/atomic.h: see the Autoconf documentation" >&5
++$as_echo "$as_me: WARNING: sys/atomic.h: see the Autoconf documentation" >&2;}
++ { $as_echo "$as_me:$LINENO: WARNING: sys/atomic.h: section \"Present But Cannot Be Compiled\"" >&5
++$as_echo "$as_me: WARNING: sys/atomic.h: section \"Present But Cannot Be Compiled\"" >&2;}
++ { $as_echo "$as_me:$LINENO: WARNING: sys/atomic.h: proceeding with the preprocessor's result" >&5
++$as_echo "$as_me: WARNING: sys/atomic.h: proceeding with the preprocessor's result" >&2;}
++ { $as_echo "$as_me:$LINENO: WARNING: sys/atomic.h: in the future, the compiler will take precedence" >&5
++$as_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
++{ $as_echo "$as_me:$LINENO: checking for sys/atomic.h" >&5
++$as_echo_n "checking for sys/atomic.h... " >&6; }
++if test "${ac_cv_header_sys_atomic_h+set}" = set; then
++ $as_echo_n "(cached) " >&6
++else
++ ac_cv_header_sys_atomic_h=$ac_header_preproc
++fi
++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_atomic_h" >&5
++$as_echo "$ac_cv_header_sys_atomic_h" >&6; }
++
++fi
++if test "x$ac_cv_header_sys_atomic_h" = x""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]];'.
+@@ -29331,6 +29473,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>
+ int
+ main ()
+@@ -56711,10 +56855,10 @@ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_SBIN_LAUNCHD 1
+ _ACEOF
+
+-fi
+
+ PBX_LAUNCHD=1
+ fi
++fi
+
+
+