pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/asterisk16 Update to Asterisk 1.6.1.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f0b0dc663933
branches:  trunk
changeset: 395091:f0b0dc663933
user:      jnemeth <jnemeth%pkgsrc.org@localhost>
date:      Tue Jul 07 08:14:42 2009 +0000

description:
Update to Asterisk 1.6.1.1

------------------------------------------------------------------------------
--- Functionality changes from Asterisk 1.6.0 to Asterisk 1.6.1  -------------
------------------------------------------------------------------------------

Device State Handling
---------------------
 * The event infrastructure in Asterisk got another big update to help support
    distributed events.  It currently supports distributed device state and
    distributed Voicemail MWI (Message Waiting Indication).  A new module has
    been merged, res_ais, which facilitates communicating events between servers.
    It uses the SAForum AIS (Service Availability Forum Application Interface
    Specification) CLM (Cluster Management) and EVT (Event) services to maintain
    a cluster of Asterisk servers, and to share events between them.  For more
    information on setting this up, see doc/distributed_devstate.txt.

Dialplan Functions
------------------
 * Added a new dialplan function, AST_CONFIG(), which allows you to access
   variables from an Asterisk configuration file.
 * The JACK_HOOK function now has a c() option to supply a custom client name.
 * Added two new dialplan functions from libspeex for audio gain control and
   denoise, AGC() and DENOISE(). Both functions can be applied to the tx and
   rx directions of a channel from the dialplan.
 * The SMDI_MSG_RETRIEVE function now has the ability to search for SMDI messages
   based on other parameters.  The default is still to search based on the
   forwarding station ID.  However, there are new options that allow you to search
   based on the message desk terminal ID, or the message desk number.
 * TIMEOUT() has been modified to be accurate down to the millisecond.
 * ENUM*() functions now include the following new options:
     - 'u' returns the full URI and does not strip off the URI-scheme.
     - 's' triggers ISN specific rewriting
     - 'i' looks for branches into an Infrastructure ENUM tree
     - 'd' for a direct DNS lookup without any flipping of digits.
 * TXCIDNAME() has a new zone-suffix parameter (which defaults to 'e164.arpa')
 * CHANNEL() now has options for the maximum, minimum, and standard or normal
   deviation of jitter, rtt, and loss for a call using chan_sip.

DAHDI channel driver (chan_dahdi) Changes
----------------------------------------
 * Channels can now be configured using named sections in chan_dahdi.conf, just
   like other channel drivers, including the use of templates.
 * The default for pridialplan has changed from 'national' to 'unknown'.

PBX Changes
-----------
 * It is now possible to specify a pattern match as a hint. Once a phone subscribes
   to something that matches the pattern a hint will be created using the contents
   and variables evaluated.
 * Dialplan matching has been extended to allow an extension to return to the
   PBX core to wait for more digits.  This is done by using the new dialplan
   application called "Incomplete".  This will permit a whole new level of
   extension control, by giving the administrator more control over early
   matches employing one of the short-circuit pattern match operators.  Note
   that custom applications can trigger this same behavior by returning the
   special value AST_PBX_INCOMPLETE.

The dial() application
----------------------
 * Dial has a new option: F(context^extension^pri), which permits a callee to
   continue in the dialplan, at the specified label, if the caller hangs up.
 * The Dial() application no longer copies the language used by the caller to the callee's
   channel. If you desire for the caller's channel's language to be used for file playback
   to the callee, then the file specified may be prepended with "${CHANNEL(language)}/" .

The chanspy() application
-------------------------
 * ChanSpy and ExtenSpy have a new option, 's' which suppresses speaking the
   technology name (e.g. SIP, IAX, etc) of the channel being spied on.
 * Chanspy has a new option, 'B', which can be used to "barge" on a call. This is
   like the pre-existing whisper mode, except that the spy can also talk to the
   participant on the bridged channel as well.
 * Chanspy has a new option, 'n', which will allow for the spied-on party's name
   to be spoken instead of the channel name or number. For more information on the
   use of this option, issue the command "core show application ChanSpy" from the
   Asterisk CLI.
 * Chanspy has a new option, 'd', which allows the spy to use DTMF to swap between
   spy modes. Use of this feature overrides the typical use of numeric DTMF. In other
   words, if using the 'd' option, it is not possible to enter a number to append to
   the first argument to Chanspy(). Pressing 4 will change to spy mode, pressing 5 will
   change to whisper mode, and pressing 6 will change to barge mode.

Other Application Changes
-------------------------
 * Directory now permits both first and last names to be matched at the same
   time.  In addition, the number of digits to enter of the name can be set in
   the arguments to Directory; previously, you could enter only 3, regardless
   of how many names are in your company.  For large companies, this should be
   quite helpful.
 * Voicemail now permits a mailbox setting to wrap around from first to last
   messages, if the "messagewrap" option is set to a true value.
 * Voicemail now permits an external script to be run, for password validation.
   The script should output "VALID" or "INVALID" on stdout, depending upon the
   wish to validate or invalidate the password given.  Arguments are:
   "mailbox" "context" "oldpass" "newpass".  See the sample voicemail.conf for
   more details
 * The voicemail externnotify script now accepts an additional (last) parameter
   containing the number of urgent messages in the INBOX.
 * The Jack application now has a c() option to supply a custom client name.
 * ExternalIVR now takes several options that affect the way it performs, as
   well as having several new commands.  Please see doc/externalivr.txt for the
   complete documentation.
 * Added ability to communicate over a TCP socket instead of forking a child process for the
   ExternalIVR application.
 * ChanIsAvail has a new option, 'a', which will return all available channels instead
   of just the first one if you give the function more then one channel to check.
 * PrivacyManager now takes an option where you can specify a context where the
   given number will be matched. This way you have more control over who is allowed
   and it stops the people who blindly enter 10 digits.
 * ForkCDR has new options: 'a' updates the answer time on the new CDR; 'A' locks
   answer times, disposition, on orig CDR against updates; 'D' Copies the disposition
   from the orig CDR to the new CDR after reset; 'e' sets the 'end' time on the
   original CDR; 'R' prevents the new CDR from being reset; 's(var=val)' adds/changes
   the 'var' variable on the original CDR; 'T' forces ast_cdr_end(), ast_cdr_answer(),
   obey the LOCKED flag on cdr's in the chain, and also the ast_cdr_setvar() func.
 * SendImage() no longer hangs up the channel on error; instead, it sets the
   status variable SENDIMAGESTATUS to one of 'SUCCESS', 'FAILURE', or
   'UNSUPPORTED'.  This change makes SendImage() more consistent with other
   applications.
 * Park has a new option, 's', which silences the announcement of the parking space number.
 * A non-numeric, zero, or negative timeout specified to Dial() will now be interpreted as
   invalid input and will be assumed to mean that no timeout is desired.

SIP Changes
-----------
 * Added DNS manager support to registrations for peers referencing peer entries.
   DNS manager runs in the background which allows DNS lookups to be run asynchronously
   as well as periodically updating the IP address. These properties allow for
   better performance as well as recovery in the event of an IP change.
 * Performance improvements via using hash tables (astobj2) and doubly-linked lists to improve
   load/reload of large numbers of peers/users by ~40x (for large lists of peers.
   Initially, we saw 4x improvement in call setup/destruction, but at the time
   of merging, this gain has disappeared; further research will be done to try
   and restore this performance improvement. Astobj2 refcounting is now used
   for users, peers, and dialogs.  Users are encouraged to assist in regression
   testing and problem reporting!
 * Added ability to specify registration expiry time on a per registration basis in
   the register line.
 * Added support for Realtime Text redundancy - T140 RED - in T.140 to
   prevent text loss due to lost packets.
 * Added t38pt_usertpsource option. See sip.conf.sample for details.
 * Added SIPnotify AMI command, for sending arbitrary SIP notify commands.
 * 'sip show peers' and 'sip show users' display their entries sorted in
   alphabetical order, as opposed to the order they were in, in the config
   file or database.
 * Videosupport now supports an additional option, "always", which always sets
   up video RTP ports, even on clients that don't support it.  This helps with
   callfiles and certain transfers to ensure that if two video phones are
   connected, they will always share video feeds.

IAX Changes
-----------
 * Existing DNS manager lookups extended to check for SRV records.
 * IAX2 encryption support has been improved to support periodic key rotation
   within a call for enhanced security.  The option "keyrotate" has been
   provided to disable this functionality to preserve backwards compatibility
   with older versions of IAX2 that do not support key rotation.

CLI Changes
-----------
  * New CLI command, "config reload <file.conf>" which reloads any module that
    references that particular configuration file.  Also added "config list"
    which shows which configuration files are in use.
  * New CLI commands, "pri show version" and "ss7 show version" that will
    display which version of libpri and libss7 are being used, respectively.
    A new API call was added so trunk will now have to be compiled against
    a versions of libpri and libss7 that have them or it will not know that
    these libraries exist.
  * The commands "core show globals", "core set global" and "core set chanvar" has
    been deprecated in favor of the more semanticly correct "dialplan show globals",
    "dialplan set chanvar" and "dialplan set global".
  * New CLI command "dialplan show chanvar" to list all variables associated
    with a given channel.

DNS manager changes
-------------------
  * Addresses managed by DNS manager now can check to see if there is a DNS
    SRV record for a given domain and will use that hostname/port if present.

AMI - The manager (TCP/TLS/HTTP)
--------------------------------
  * The Status action now takes an optional list of variables to display
    along with channel status.

ODBC Changes
------------
  * res_odbc no longer has a limit of 1023 total possible unshared connections,
    as some people were running into this limit.  This limit has been increased
    to 4.2 billion.

Queue changes
-------------
  * The TRANSFER queue log entry now includes the caller's original position in
    the transferred-from queue.
  * A new configuration option, "timeoutpriority" has been added. Please see the section
    labeled "QUEUE TIMING OPTIONS" in configs/queues.conf.sample for a detailed explanation
    of the option as well as an explanation about timeout options in general

Realtime changes
----------------
  * Several (ODBC, Postgres, MySQL, SQLite) realtime drivers have been given
    adaptive capabilities.  What this means in practical terms is that if your
    realtime table lacks critical fields, Asterisk will now emit warnings to
    that effect.  Also, some of the realtime drivers have the ability (if
    configured) to automatically add those columns to the table with the
    correct type and length.

Miscellaneous
-------------
  * The channel variable ATTENDED_TRANSFER_COMPLETE_SOUND can now be set using
    the 'setvar' option to cause a given audio file to be played upon completion
    of an attended transfer.  Currently it works for DAHDI, IAX2, SIP, and
    Skinny channels only.
  * You can now compile Asterisk against the Hoard Memory Allocator, see doc/hoard.txt
    for more information.
  * Config file variables may now be appended to, by using the '+=' append
    operator.  This is most helpful when working with long SQL queries in
    func_odbc.conf, as the queries no longer need to be specified on a single
    line.

diffstat:

 comms/asterisk16/Makefile         |    4 +-
 comms/asterisk16/PLIST            |   30 ++++++-
 comms/asterisk16/distinfo         |   24 +++---
 comms/asterisk16/patches/patch-aa |   26 +++---
 comms/asterisk16/patches/patch-am |    8 +-
 comms/asterisk16/patches/patch-aq |   15 +++-
 comms/asterisk16/patches/patch-ax |  147 +++++++++++++++++++++++++++++++------
 comms/asterisk16/patches/patch-ay |   92 ++++++++++++++++++++---
 comms/asterisk16/patches/patch-az |   40 +++++++---
 comms/asterisk16/patches/patch-ba |   16 ++--
 comms/asterisk16/patches/patch-bb |   10 +-
 11 files changed, 310 insertions(+), 102 deletions(-)

diffs (truncated from 752 to 300 lines):

diff -r f67e30d93330 -r f0b0dc663933 comms/asterisk16/Makefile
--- a/comms/asterisk16/Makefile Tue Jul 07 05:59:17 2009 +0000
+++ b/comms/asterisk16/Makefile Tue Jul 07 08:14:42 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/06/12 09:04:55 jnemeth Exp $
+# $NetBSD: Makefile,v 1.2 2009/07/07 08:14:42 jnemeth Exp $
 #
 
-DISTNAME=      asterisk-1.6.0.10
+DISTNAME=      asterisk-1.6.1.1
 DIST_SUBDIR=   ${PKGNAME_NOREV}
 EXTRACT_ONLY=  ${DISTNAME}.tar.gz
 CATEGORIES=    comms net audio
diff -r f67e30d93330 -r f0b0dc663933 comms/asterisk16/PLIST
--- a/comms/asterisk16/PLIST    Tue Jul 07 05:59:17 2009 +0000
+++ b/comms/asterisk16/PLIST    Tue Jul 07 08:14:42 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:31:59 joerg Exp $
+@comment $NetBSD: PLIST,v 1.4 2009/07/07 08:14:42 jnemeth Exp $
 include/asterisk.h
 include/asterisk/_private.h
 include/asterisk/abstract_jb.h
@@ -31,8 +31,10 @@
 include/asterisk/compiler.h
 include/asterisk/config.h
 include/asterisk/crypto.h
+include/asterisk/datastore.h
 include/asterisk/devicestate.h
 include/asterisk/dial.h
+include/asterisk/dlinkedlists.h
 include/asterisk/dns.h
 include/asterisk/dnsmgr.h
 include/asterisk/doxyref.h
@@ -51,6 +53,7 @@
 include/asterisk/fskmodem_int.h
 include/asterisk/global_datastores.h
 include/asterisk/hashtab.h
+include/asterisk/heap.h
 include/asterisk/http.h
 include/asterisk/image.h
 include/asterisk/indications.h
@@ -88,11 +91,13 @@
 include/asterisk/srv.h
 include/asterisk/stringfields.h
 include/asterisk/strings.h
+include/asterisk/taskprocessor.h
 include/asterisk/tcptls.h
 include/asterisk/tdd.h
 include/asterisk/term.h
 include/asterisk/threadstorage.h
 include/asterisk/time.h
+include/asterisk/timing.h
 include/asterisk/transcap.h
 include/asterisk/translate.h
 include/asterisk/udptl.h
@@ -133,7 +138,6 @@
 lib/asterisk/modules/app_mp3.so
 lib/asterisk/modules/app_nbscat.so
 lib/asterisk/modules/app_parkandannounce.so
-lib/asterisk/modules/app_pickupchan.so
 lib/asterisk/modules/app_playback.so
 lib/asterisk/modules/app_privacy.so
 lib/asterisk/modules/app_queue.so
@@ -204,6 +208,7 @@
 lib/asterisk/modules/func_callerid.so
 lib/asterisk/modules/func_cdr.so
 lib/asterisk/modules/func_channel.so
+lib/asterisk/modules/func_config.so
 lib/asterisk/modules/func_curl.so
 lib/asterisk/modules/func_cut.so
 lib/asterisk/modules/func_db.so
@@ -249,6 +254,7 @@
 ${PLIST.unixodbc}lib/asterisk/modules/res_config_odbc.so
 lib/asterisk/modules/res_convert.so
 lib/asterisk/modules/res_crypto.so
+lib/asterisk/modules/res_curl.so
 lib/asterisk/modules/res_indications.so
 lib/asterisk/modules/res_limit.so
 lib/asterisk/modules/res_monitor.so
@@ -258,6 +264,7 @@
 lib/asterisk/modules/res_realtime.so
 lib/asterisk/modules/res_smdi.so
 lib/asterisk/modules/res_speech.so
+lib/asterisk/modules/res_timing_pthread.so
 lib/pkgconfig/asterisk.pc
 libdata/asterisk/firmware/iax/iaxy.bin
 libdata/asterisk/images/asterisk-intro.jpg
@@ -274,10 +281,11 @@
 libdata/asterisk/phoneprov/000000000000-phone.cfg
 libdata/asterisk/phoneprov/000000000000.cfg
 libdata/asterisk/phoneprov/polycom.xml
-libdata/asterisk/sounds/.asterisk-core-sounds-en-gsm-1.4.14
-libdata/asterisk/sounds/en/CHANGES-asterisk-core-en-1.4.14
-libdata/asterisk/sounds/en/CREDITS-asterisk-core-en-1.4.14
-libdata/asterisk/sounds/en/LICENSE-asterisk-core-en-1.4.14
+libdata/asterisk/phoneprov/polycom_line.xml
+libdata/asterisk/sounds/.asterisk-core-sounds-en-gsm-1.4.15
+libdata/asterisk/sounds/en/CHANGES-asterisk-core-en-1.4.15
+libdata/asterisk/sounds/en/CREDITS-asterisk-core-en-1.4.15
+libdata/asterisk/sounds/en/LICENSE-asterisk-core-en-1.4.15
 libdata/asterisk/sounds/en/agent-alreadyon.gsm
 libdata/asterisk/sounds/en/agent-incorrect.gsm
 libdata/asterisk/sounds/en/agent-loggedoff.gsm
@@ -726,6 +734,10 @@
 libdata/asterisk/static-http/docs/img3.png
 libdata/asterisk/static-http/docs/img4.png
 libdata/asterisk/static-http/docs/img5.png
+libdata/asterisk/static-http/docs/img6.png
+libdata/asterisk/static-http/docs/img7.png
+libdata/asterisk/static-http/docs/img8.png
+libdata/asterisk/static-http/docs/img9.png
 libdata/asterisk/static-http/docs/index.html
 libdata/asterisk/static-http/docs/internals.pl
 libdata/asterisk/static-http/docs/labels.pl
@@ -1025,12 +1037,14 @@
 sbin/hashtest
 sbin/hashtest2
 sbin/rasterisk
+sbin/refcounter
 sbin/safe_asterisk
 sbin/stereorize
 sbin/streamplayer
 share/examples/asterisk/adsi.conf
 share/examples/asterisk/adtranvofr.conf
 share/examples/asterisk/agents.conf
+share/examples/asterisk/ais.conf
 share/examples/asterisk/alarmreceiver.conf
 share/examples/asterisk/alsa.conf
 share/examples/asterisk/amd.conf
@@ -1048,7 +1062,9 @@
 share/examples/asterisk/cli.conf
 share/examples/asterisk/codecs.conf
 share/examples/asterisk/console.conf
+share/examples/asterisk/dbsep.conf
 share/examples/asterisk/dnsmgr.conf
+share/examples/asterisk/dsp.conf
 share/examples/asterisk/dundi.conf
 share/examples/asterisk/enum.conf
 share/examples/asterisk/extconfig.conf
@@ -1103,3 +1119,5 @@
 share/examples/asterisk/voicemail.conf
 share/examples/asterisk/vpb.conf
 share/examples/rc.d/asterisk
+@pkgdir libdata/asterisk/sounds/fr
+@pkgdir libdata/asterisk/sounds/es
diff -r f67e30d93330 -r f0b0dc663933 comms/asterisk16/distinfo
--- a/comms/asterisk16/distinfo Tue Jul 07 05:59:17 2009 +0000
+++ b/comms/asterisk16/distinfo Tue Jul 07 08:14:42 2009 +0000
@@ -1,27 +1,27 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/06/12 09:04:56 jnemeth Exp $
+$NetBSD: distinfo,v 1.2 2009/07/07 08:14:42 jnemeth Exp $
 
-SHA1 (asterisk-1.6.0.10/asterisk-1.6.0.10.tar.gz) = b1e3a5940add2c3e9a3db3d5a976e91aed2060bd
-RMD160 (asterisk-1.6.0.10/asterisk-1.6.0.10.tar.gz) = 0bfeab2b21bcdb1f53e7c8ea75df2befd2efd303
-Size (asterisk-1.6.0.10/asterisk-1.6.0.10.tar.gz) = 13201068 bytes
-SHA1 (patch-aa) = 7b4d9274385b4f1343311f83048de9593cca4f38
+SHA1 (asterisk-1.6.1.1/asterisk-1.6.1.1.tar.gz) = db9462d1a829625da0149c4952abfa7eee99d0c2
+RMD160 (asterisk-1.6.1.1/asterisk-1.6.1.1.tar.gz) = 2eddf1f8b234480a84ce840323c66b204fea09e1
+Size (asterisk-1.6.1.1/asterisk-1.6.1.1.tar.gz) = 13630484 bytes
+SHA1 (patch-aa) = 67d3622abf2b66a16376a9033b02fb019b5a6e4d
 SHA1 (patch-af) = 09860d714281cb4c65d1a087cf5b16647a16e2fa
 SHA1 (patch-ag) = c71c61350cefbbe53eefa99245ca7712753f22d5
 SHA1 (patch-ai) = e92edab5c1ff323478f41d0b0783102ed527fe39
 SHA1 (patch-ak) = adee75b7716a8794de1b8cb054af7a5a8f0e5ffd
 SHA1 (patch-al) = 76a3132a0e81479c9519b1c976460f837b67f4a3
-SHA1 (patch-am) = 70488cd98c4349d330bfb510d0dfd7e0631c1d8b
+SHA1 (patch-am) = 98aa4648b867d193ec05d8da14434205f369c17b
 SHA1 (patch-an) = 93a5df66fd6459fb76e9191dc3bf37b9ee5483b5
 SHA1 (patch-ao) = 0663a698469550b22bb97ee1b18980bc2bc67495
 SHA1 (patch-ap) = d60274a44e10dc4e70235ac97b7ae21f37ce713e
-SHA1 (patch-aq) = 4be2a89a66578172f227c966833e666255cce14a
+SHA1 (patch-aq) = 9b1820ba112fba4ac27474cc6e2b090d2e095b94
 SHA1 (patch-ar) = 44e46336c0b228ab291e025b8bb5ee505f75345a
 SHA1 (patch-as) = a887d37f0829c22d115ff08721893da49e4bfda4
 SHA1 (patch-at) = 7f366ea0075b16c81bb81ba78becc029b3265151
 SHA1 (patch-au) = 47330b597a484b5d29aeca466243369a121b2b3c
 SHA1 (patch-av) = d90ae8aac1d85471cbf22f3cb62315ebbd22a94a
 SHA1 (patch-aw) = 310153eed541d1a6a0c7859f6c032478cd2ff67a
-SHA1 (patch-ax) = 507f219a7edfb72ff30817b82442bac6dc97e762
-SHA1 (patch-ay) = a19031a9ef394bff517083e5fff13b5ed6312e0a
-SHA1 (patch-az) = aeaca48bcf19c1592361de0c302ce7d004307081
-SHA1 (patch-ba) = 6ee00f323a3109d7c554aa0bfac13679a63846e1
-SHA1 (patch-bb) = 44c00fd3e9e4c66b0df82381181ec538a1899929
+SHA1 (patch-ax) = f71d16a6a5e274c241280ba6808f42617678a680
+SHA1 (patch-ay) = 39a2ae198ff2989c501dd4374e1ea57a3d52dda9
+SHA1 (patch-az) = 917cc8868708ce9c022a0268debd90f51f88bdad
+SHA1 (patch-ba) = 2ea96529e0187a23d0b640c7cae69904d587c269
+SHA1 (patch-bb) = 3b78ed3c8233e2db38d09ca81f1768d018ffd2e2
diff -r f67e30d93330 -r f0b0dc663933 comms/asterisk16/patches/patch-aa
--- a/comms/asterisk16/patches/patch-aa Tue Jul 07 05:59:17 2009 +0000
+++ b/comms/asterisk16/patches/patch-aa Tue Jul 07 08:14:42 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.1.1.1 2009/06/12 09:04:56 jnemeth Exp $
+$NetBSD: patch-aa,v 1.2 2009/07/07 08:14:43 jnemeth Exp $
 
---- Makefile.orig      2008-11-29 10:37:55.000000000 -0800
+--- Makefile.orig      2009-02-24 12:44:50.000000000 -0800
 +++ Makefile
 @@ -122,20 +122,6 @@ DEBUG=-g3
  
@@ -44,7 +44,7 @@
  
  # Asterisk.conf is located in ASTETCDIR or by using the -C flag
  # when starting Asterisk
-@@ -237,11 +216,6 @@ ifeq ($(AST_DEVMODE),yes)
+@@ -243,11 +222,6 @@ ifeq ($(AST_DEVMODE),yes)
    ASTCFLAGS+=-Wformat=2
  endif
  
@@ -53,10 +53,10 @@
 -  ASTLDFLAGS+=-L/usr/local/lib
 -endif
 -
- ifneq ($(PROC),ultrasparc)
-   ASTCFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
- endif
-@@ -457,7 +431,7 @@ distclean: $(SUBDIRS_DIST_CLEAN) _clean
+ ifeq ($(findstring -march,$(ASTCFLAGS)),)
+   ifneq ($(PROC),ultrasparc)
+     ASTCFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
+@@ -465,7 +439,7 @@ distclean: $(SUBDIRS_DIST_CLEAN) _clean
        rm -f build_tools/menuselect-deps
  
  datafiles: _all
@@ -65,7 +65,7 @@
  # Should static HTTP be installed during make samples or even with its own target ala
  # webvoicemail?  There are portions here that *could* be customized but might also be
  # improved a lot.  I'll put it here for now.
-@@ -499,9 +473,10 @@ NEWHEADERS=$(notdir $(wildcard include/a
+@@ -507,9 +481,10 @@ NEWHEADERS=$(notdir $(wildcard include/a
  OLDHEADERS=$(filter-out $(NEWHEADERS),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h)))
  
  installdirs:
@@ -77,7 +77,7 @@
        mkdir -p $(DESTDIR)$(ASTBINDIR)
        mkdir -p $(DESTDIR)$(ASTVARRUNDIR)
        mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/voicemail
-@@ -510,6 +485,7 @@ installdirs:
+@@ -518,6 +493,7 @@ installdirs:
        mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/tmp
        mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/meetme
        mkdir -p $(DESTDIR)$(ASTSPOOLDIR)/monitor
@@ -85,7 +85,7 @@
  
  bininstall: _all installdirs $(SUBDIRS_INSTALL)
        $(INSTALL) -m 755 main/asterisk $(DESTDIR)$(ASTSBINDIR)/
-@@ -605,22 +581,22 @@ upgrade: bininstall
+@@ -613,22 +589,22 @@ upgrade: bininstall
  # XXX why *.adsi is installed first ?
  adsi:
        @echo Installing adsi config files...
@@ -113,7 +113,7 @@
                if [ -f $${dst} ]; then \
                        if [ "$(OVERWRITE)" = "y" ]; then \
                                if cmp -s $${dst} $$x ; then \
-@@ -636,10 +612,10 @@ samples: adsi
+@@ -644,10 +620,10 @@ samples: adsi
                echo "Installing file $$x"; \
                $(INSTALL) -m 644 $$x $${dst} ;\
        done
@@ -126,7 +126,7 @@
                echo "astetcdir => $(ASTETCDIR)" ; \
                echo "astmoddir => $(MODULES_DIR)" ; \
                echo "astvarlibdir => $(ASTVARLIBDIR)" ; \
-@@ -692,7 +668,7 @@ samples: adsi
+@@ -700,7 +676,7 @@ samples: adsi
                echo "pbx_realtime=1.6" ; \
                echo "res_agi=1.6" ; \
                echo "app_set=1.6" ; \
@@ -135,7 +135,7 @@
        else \
                echo "Skipping asterisk.conf creation"; \
        fi
-@@ -826,7 +802,7 @@ uninstall-all: _uninstall
+@@ -834,7 +810,7 @@ uninstall-all: _uninstall
        rm -rf $(DESTDIR)$(ASTVARLIBDIR)
        rm -rf $(DESTDIR)$(ASTDATADIR)
        rm -rf $(DESTDIR)$(ASTSPOOLDIR)
diff -r f67e30d93330 -r f0b0dc663933 comms/asterisk16/patches/patch-am
--- a/comms/asterisk16/patches/patch-am Tue Jul 07 05:59:17 2009 +0000
+++ b/comms/asterisk16/patches/patch-am Tue Jul 07 08:14:42 2009 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-am,v 1.1.1.1 2009/06/12 09:04:56 jnemeth Exp $
+$NetBSD: patch-am,v 1.2 2009/07/07 08:14:43 jnemeth Exp $
 
---- apps/app_sms.c.orig        2008-11-02 16:39:04.000000000 -0800
+--- apps/app_sms.c.orig        2008-11-02 15:56:13.000000000 -0800
 +++ apps/app_sms.c
-@@ -510,7 +510,7 @@ static void packdate(unsigned char *o, t
+@@ -527,7 +527,7 @@ static void packdate(unsigned char *o, t
        int z;
  
-       ast_localtime(&tv, &t, NULL);
+       ast_localtime(&topack, &t, NULL);
 -#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__)
 +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__DragonFly__)
        z = -t.tm_gmtoff / 60 / 15;
diff -r f67e30d93330 -r f0b0dc663933 comms/asterisk16/patches/patch-aq
--- a/comms/asterisk16/patches/patch-aq Tue Jul 07 05:59:17 2009 +0000
+++ b/comms/asterisk16/patches/patch-aq Tue Jul 07 08:14:42 2009 +0000



Home | Main Index | Thread Index | Old Index