pkgsrc-Changes archive

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

CVS commit: pkgsrc/comms/asterisk14



Module Name:    pkgsrc
Committed By:   jnemeth
Date:           Wed Jun 21 13:33:48 UTC 2017

Modified Files:
        pkgsrc/comms/asterisk14: Makefile PLIST distinfo
        pkgsrc/comms/asterisk14/patches: patch-Makefile patch-apps_app__queue.c
            patch-include_asterisk_strings.h patch-main_Makefile
Removed Files:
        pkgsrc/comms/asterisk14/patches: patch-codecs_codec__dahdi.c

Log Message:
Update to Asterisk 14.5.0: this is mostly a bug fix releases with
patches for a number of security issues, several of which do not
apply to this package because they relate to PJSIP:  AST-2016-009,
AST-2016-010, AST-2017-001, AST-2017-002, AST-2017-003, and
AST-2017-004.

----- 14.5.0

The Asterisk Development Team would like to announce the release
of Asterisk 14.5.0.

The release of Asterisk 14.5.0 resolves several issues reported by the
community and would have not been possible without your participation.

Thank you!

The following issues are resolved in this release:

Bugs fixed in this release:
-----------------------------------
 * ASTERISK-26982 - chan_sip: rtcp_mux setting may cause ice
      completion failure/delay if client offers rtcp-mux as
      negotiable
      (Reported by Stefan Engström)
 * ASTERISK-26979 - res_rtp_asterisk: SRTP unprotect failed with
      authentication failure 10 or 110
      (Reported by Javier Riveros)
 * ASTERISK-25665 - Duplicate logging in queue log for EXITEMPTY
      events
      (Reported by Ove Aursand)
 * ASTERISK-26998 - res_pjsip_session: INVITE retransmissions
      could still setup the same call again.
      (Reported by Richard Mudgett)
 * ASTERISK-26143 - res_rtp_asterisk: One way audio when
      transcoding
      (Reported by Henning Holtschneider)
 * ASTERISK-26606 - tcptls: Incorrect OpenSSL function call
      leads to misleading error report
      (Reported by Bob Ham)
 * ASTERISK-26983 - Crash in Manager Reload when TLS Config Changes
      (Reported by Joshua Elson)
 * ASTERISK-25032 - [patch]cel_odbc sometimes inserts CEL with
      wrong eventtime
      (Reported by Etienne Lessard)
 * ASTERISK-26173 - func_cdr: CDR function does not permit empty
      values to be assigned
      (Reported by gkloepfer)
 * ASTERISK-25506 - [patch]CONFBRIDGE failure after an
      app_confbrige.so module reload results in segfault or
      error/warning messages.
      (Reported by Frederic LE FOLL)
 * ASTERISK-24529 - Using AMI Action Bridge to on an already
      bridged channel causes the incorrect return priority to be used
      (Reported by Corey Farrell)
 * ASTERISK-26860 - Upon RTCP reception, netsock2.c:210
      ast_sockaddr_split_hostport: Port missing in (null)
      (Reported by Evers Lab)
 * ASTERISK-26922 - chan_sip: tcpbind uses wrong source address
      (Reported by Ksenia)
 * ASTERISK-26974 - res_pjsip: Deadlock in T.38 framehook
      (Reported by Richard Mudgett)
 * ASTERISK-26908 - res_pjsip: The ChanIsAvail causes a
      res_pjsip session to be leaked.
      (Reported by Richard Mudgett)
 * ASTERISK-25823 - SIGSEGV, Segmentation fault. -
      ../sysdeps/x86_64/strlen.S: No such file or directory.
      (Reported by Andreas Krüger)
 * ASTERISK-26926 - func_speex: Crash caused by frame with no datalen
      (Reported by Richard Kenner)
 * ASTERISK-26951 - chan_sip: ACK with SDP does not update a
      direct media bridge
      (Reported by Jean Aunis - Prescom)
 * ASTERISK-26930 - pjproject/Makefile.rules for pjsip 2.6 build
      fails for non-SSE2 instrunction Linux
      (Reported by abelbeck)
 * ASTERISK-26929 - pjsip: Add database tables for RLS
      (Reported by Joshua Colp)
 * ASTERISK-26953 - Asterisk crash if hep.conf have some missing parameters
      (Reported by Joel Vandal)
 * ASTERISK-26890 - STUN server with non-default-route transport
      causes INVITE delay
      (Reported by George Joseph)
 * ASTERISK-26692 - res_rtp_asterisk: Crash in
      dtls_srtp_handle_timeout at res_rtp_asterisk (using chan_sip)
      (Reported by scgm11)
 * ASTERISK-26835 - res_rtp_asterisk: Crash when freeing RTCP
      address string
      (Reported by Niklas Larsson)
 * ASTERISK-26853 - res_rtp_asterisk: Crash in pjnath when
      receiving packet
      (Reported by Adagio)
 * ASTERISK-26613 - format_wav: wav16 format read file only by
      320 - half of frame
      (Reported by Vitaly K)
 * ASTERISK-26169 - format_ogg_vorbis: Memory leak using OGG in
      MixMonitor
      (Reported by Ivan Myalkin)
 * ASTERISK-21856 - STUN never works when asterisk started
      without internet access
      (Reported by Jeremy Kister)
 * ASTERISK-20984 - Audible clicks when playing sox encoded au
      file with STREAM FILE AGI command
      (Reported by Roman S.)
 * ASTERISK-26528 - [UBSAN] strings.h:signed integer overflow in
      ast_str_case_hash
      (Reported by Badalian Vyacheslav)
 * ASTERISK-26851 - res_pjsip_sdp_rtp: RTP instance does not use
      same IP as explicit transport
      (Reported by Richard Begg)
 * ASTERISK-26903 - Listening TCP/TLS sockets stop when
      temporarily out of open files
      (Reported by Walter Doekes)
 * ASTERISK-26928 - pjsip: Add database tables for PUBLISH support
      (Reported by Joshua Colp)
 * ASTERISK-26927 - pjproject_bundled: Crash on
      pj_ssl_get_info() while ioqueue_on_read_complete().
      (Reported by Alexander Traud)
 * ASTERISK-26905 - pjproject_bundled:  Merge 3 upstream
      deadlock patches into bundled
      (Reported by Ross Beer)
 * ASTERISK-26897 - chan_sip: Security vulnerability with client
      code header
      (Reported by Alex Villacís Lasso)
 * ASTERISK-25974 - Unused realtime MOH classes not purged on
      'moh reload'
      (Reported by Sébastien Couture)
 * ASTERISK-26916 - res_pjsip: Excessive refcount reached on
      transport ao2 object
      (Reported by Ross Beer)
 * ASTERISK-21721 - SIP Failed to parse multiple Supported:
      headers
      (Reported by Olle Johansson)
 * ASTERISK-26915 - chan_sip: Session Timers required but
      refused wrongly.
      (Reported by Alexander Traud)
 * ASTERISK-26363 - res_pjsip: Bye sent to sip trunk is not
      authenticated even after receiving a 407 error code
      (Reported by Yaacov Akiba Slama)
 * ASTERISK-26896 - Overflow of buffer to PQEscapeStringConn
      with large app_args causes ABRT
      (Reported by twisted)
 * ASTERISK-26705 - libasteriskssl.so not found when asterisk is
      installed for the 1st time
      (Reported by George Joseph)
 * ASTERISK-21009 - xmpp_pubsub_unsubscribe: Could not create IQ
      when creating pubsub unsubscription on client
      (Reported by Marcello Ceschia)
 * ASTERISK-25490 - [patch]SDP crypto tag is validated
      incorrectly
      (Reported by Joerg Sonnenberger)
 * ASTERISK-26086 - res_musiconhold: format option is not
      documented adequately
      (Reported by Jens Bürger)
 * ASTERISK-23996 - No core dumps because of res_musiconhold chdir.
      (Reported by Walter Doekes)
 * ASTERISK-24712 - xmpp: starttls problem causes connection spew
      (Reported by Matthias Urlichs)
 * ASTERISK-26814 - pjproject_bundled build fails to download
      pjproject source when using cURL
      (Reported by Gergely Dömsödi)
 * ASTERISK-23510 - JABBER_STATUS fails with improper code 7 for
      unavailable clients
      (Reported by Anthony Critelli)
 * ASTERISK-21855 - Asterisk crashes when XMPP message is sent
      (JabberSend) and no internet connection is available
 * ASTERISK-25622 - WARNING for "JABBER: socket read error"
      should be more specific
      (Reported by Sean Darcy)
 * ASTERISK-26515 - rtp_engine: Allocate RTP payloads on a
      per-session basis
      (Reported by Joshua Colp)
 * ASTERISK-26818 - cdr: Problem setting variables in h exten
      (Reported by scgm11)
 * ASTERISK-26875 - app_mixmonitor: Recording out of sync when
      183 but no RTP
      (Reported by Aaron An)

Improvements made in this release:
-----------------------------------
 * ASTERISK-26088 - Investigate heavy memory utilization by
      res_pjsip_pubsub
      (Reported by Richard Mudgett)
 * ASTERISK-26427 - res_hep_rtcp: Asterisk Master will report
      channel name with res_hep_rtcp when using chan_sip
      (Reported by Nir Simionovich (GreenfieldTech - Israel))

For a full list of changes in this release, please see the ChangeLog:
http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-14.5.0

Thank you for your continued support of Asterisk!

----- 14.4.0

The Asterisk Development Team would like to announce the release of
Asterisk 14.4.0.

The release of Asterisk 14.4.0 resolves several issues reported by the
community and would have not been possible without your participation.

*Thank you!*

The following issues are resolved in this release:

*New Features made in this release:*
-----------------------------------
- [ASTERISK-26878 <https://issues.asterisk.org/jira/browse/ASTERISK-26878>]
- func_channel: Add ability to get the callid so dialplan has access to it.
(Reported by Richard Mudgett)
- [ASTERISK-26863 <https://issues.asterisk.org/jira/browse/ASTERISK-26863>]
- res_pjsip: Add endpoint identification scheme based on a configured SIP
header/value
(Reported by Matt Jordan)
- [ASTERISK-17428 <https://issues.asterisk.org/jira/browse/ASTERISK-17428>]
- [patch] Allow "Comedian Mail" branding to be removed
(Reported by John Covert)

*Bugs fixed in this release:*
-----------------------------------
- [ASTERISK-26851 <https://issues.asterisk.org/jira/browse/ASTERISK-26851>]
- res_pjsip_sdp_rtp: RTP instance does not use same IP as explicit transport
(Reported by Richard Begg)
- [ASTERISK-26897 <https://issues.asterisk.org/jira/browse/ASTERISK-26897>]
- chan_sip: Security vulnerability with client code header
(Reported by Alex Villac�s Lasso)
- [ASTERISK-26916 <https://issues.asterisk.org/jira/browse/ASTERISK-26916>]
- res_pjsip: Excessive refcount reached on transport ao2 object
(Reported by Ross Beer)
- [ASTERISK-26705 <https://issues.asterisk.org/jira/browse/ASTERISK-26705>]
- libasteriskssl.so not found when asterisk is installed for the 1st time
(Reported by George Joseph)
- [ASTERISK-26850 <https://issues.asterisk.org/jira/browse/ASTERISK-26850>]
- res_hep_pjsip: Asterisk insert wrong protocol name in "Protocol ID" field
in HEP packets
(Reported by Max Norba)
- [ASTERISK-26484 <https://issues.asterisk.org/jira/browse/ASTERISK-26484>]
- res_pjsip_messaging: Crash when using invalid URI in MessageSend 'from'
argument.
(Reported by Vinod Dharashive)
- [ASTERISK-26776 <https://issues.asterisk.org/jira/browse/ASTERISK-26776>]
- res_pjsip_pubsub: Crash when generating xpidf content
(Reported by Andrew Green)
- [ASTERISK-26880 <https://issues.asterisk.org/jira/browse/ASTERISK-26880>]
- Asterisk crashes when multiple speex users join confbridge with pp_vad
and dtx enabled
(Reported by Kirsty Tyerman)
- [ASTERISK-26862 <https://issues.asterisk.org/jira/browse/ASTERISK-26862>]
- app_queue: Queue stops calling members with local interface after
forwarding in previous call
(Reported by Robert Mordec)
- [ASTERISK-26732 <https://issues.asterisk.org/jira/browse/ASTERISK-26732>]
- res_rtp_asterisk: Implement RTCP Multiplexing - breaking WebRTC in Chrome
(Reported by Dan Jenkins)
- [ASTERISK-26879 <https://issues.asterisk.org/jira/browse/ASTERISK-26879>]
- PJSIP external_media_address ignored if no local_net options are provided
(Reported by Matt Jordan)
- [ASTERISK-26867 <https://issues.asterisk.org/jira/browse/ASTERISK-26867>]
- autochan: Locking in a function ast_autochan_destroy() on destroyed
channel (after masquerade).
(Reported by Krzysztof Trempala)
- [ASTERISK-26869 <https://issues.asterisk.org/jira/browse/ASTERISK-26869>]
- res_pjsip_refer: blind call transfer w/o a user name doesn't go to the s
extension
(Reported by Torrey Searle)
- [ASTERISK-26668 <https://issues.asterisk.org/jira/browse/ASTERISK-26668>]
- core: Malformed pattern matching extension (various factors) results in
crash
(Reported by xrobau)
- [ASTERISK-26865 <https://issues.asterisk.org/jira/browse/ASTERISK-26865>]
- chan_iax2: Reload of iax peer results in loss of host address/port
(Reported by Richard Begg)
- [ASTERISK-26872 <https://issues.asterisk.org/jira/browse/ASTERISK-26872>]
- Bundled pjproject fails to build when tarball downloaded with curl due to
md5 verification failure in Docker containers (or when there is no terminal)
(Reported by Matt Jordan)
- [ASTERISK-26717 <https://issues.asterisk.org/jira/browse/ASTERISK-26717>]
- Document the fact that Asterisk HEP support only works with the PJSIP
channel driver
(Reported by Olivier Krief)
- [ASTERISK-26643 <https://issues.asterisk.org/jira/browse/ASTERISK-26643>]
- Extra new line in Device field of DeviceStateChange AMI Event after
restart of Asterisk
(Reported by Roman Bedros)
- [ASTERISK-25237 <https://issues.asterisk.org/jira/browse/ASTERISK-25237>]
- stasis_cache.c:845 caching_topic_exec: - misleading ERROR message
(Reported by Smirnov Aleksey)
- [ASTERISK-26857 <https://issues.asterisk.org/jira/browse/ASTERISK-26857>]
- chan_pjsip: Dialplan function race condition
(Reported by Joshua Colp)
- [ASTERISK-26841 <https://issues.asterisk.org/jira/browse/ASTERISK-26841>]
- chan_sip: Call not cancelled after receiving a 422 response
(Reported by Jean Aunis - Prescom)
- [ASTERISK-26822 <https://issues.asterisk.org/jira/browse/ASTERISK-26822>]
- pjsip/cli_commands: pjsip show channelstats shows wrong codec
(Reported by Kevin Harwell)
- [ASTERISK-26353 <https://issues.asterisk.org/jira/browse/ASTERISK-26353>]
- res_musiconhold: musiconhold seems to think that the general section is a
class and issues warning
(Reported by Jonathan Harris)
- [ASTERISK-26685 <https://issues.asterisk.org/jira/browse/ASTERISK-26685>]
- res_pjsip: Crash when using IPv6 and Transport ws,wss
(Reported by Michael Balen)
- [ASTERISK-24562 <https://issues.asterisk.org/jira/browse/ASTERISK-24562>]
- app_voicemail: Cannot set fromstring on a per-mailbox basis
(Reported by Mark Scholten)
- [ASTERISK-26598 <https://issues.asterisk.org/jira/browse/ASTERISK-26598>]
- Saynumber is trying to get "and" from "digits/" subfolder
(Reported by Jonathan Harris)
- [ASTERISK-17067 <https://issues.asterisk.org/jira/browse/ASTERISK-17067>]
- Long lines in call files cause spurious syntax error
(Reported by Dave Olszewski)
- [ASTERISK-26796 <https://issues.asterisk.org/jira/browse/ASTERISK-26796>]
- res_pjsip_transport_websocket: Via header is 'WS' when it should be 'WSS'
(Reported by J�rgen H)
- [ASTERISK-25628 <https://issues.asterisk.org/jira/browse/ASTERISK-25628>]
- res_config_pgsql: should match the behavior of other drivers so that
queue_log can disable adaptive logging
(Reported by Dmitry Wagin)
- [ASTERISK-26774 <https://issues.asterisk.org/jira/browse/ASTERISK-26774>]
- core: Playback URL fails after some time
(Reported by Igor Gamayunov)
- [ASTERISK-26825 <https://issues.asterisk.org/jira/browse/ASTERISK-26825>]
- pjsip.conf.sample: user_agent: still refers to branch 12
(Reported by Tzafrir Cohen)
- [ASTERISK-26823 <https://issues.asterisk.org/jira/browse/ASTERISK-26823>]
- PJSIP: Persistent subscriptions can cause FRACKs if endpoint does not
exist
(Reported by Mark Michelson)
- [ASTERISK-26623 <https://issues.asterisk.org/jira/browse/ASTERISK-26623>]
- res_pjsip: Crash when calling PJSIPShowEndpoint
(Reported by J�rgen H)
- [ASTERISK-26808 <https://issues.asterisk.org/jira/browse/ASTERISK-26808>]
- res_pjsip_outbound_registration doesn't know about network change events
(Reported by George Joseph)
- [ASTERISK-26781 <https://issues.asterisk.org/jira/browse/ASTERISK-26781>]
- bridge: Passing the 'p' (play tone) flag to Bridge() application results
in garbled audio
(Reported by Sean Bright)
- [ASTERISK-26782 <https://issues.asterisk.org/jira/browse/ASTERISK-26782>]
- res_pjsip: URI requirement for fields is not consistently documented and
error does not provide indication
(Reported by Peter Sokolov)
- [ASTERISK-26812 <https://issues.asterisk.org/jira/browse/ASTERISK-26812>]
- [patch] Fix download_externals To Allow The Use Of curl Or wget
(Reported by Michael L. Young)
- [ASTERISK-18271 <https://issues.asterisk.org/jira/browse/ASTERISK-18271>]
- Pattern matching with res_config_mysql extensions does not behave as
expected
(Reported by Charlie Smurthwaite)
- [ASTERISK-26669 <https://issues.asterisk.org/jira/browse/ASTERISK-26669>]
- PJSIP Segfault 13.13.1 (Bundled PJSIP)
(Reported by Nic Colledge)
- [ASTERISK-18731 <https://issues.asterisk.org/jira/browse/ASTERISK-18731>]
- [patch] DUNDi weight parameter not processed correctly
(Reported by Peter Racz)
- [ASTERISK-26799 <https://issues.asterisk.org/jira/browse/ASTERISK-26799>]
- res_pjsip: Using an auth object for inbound and outbound authentication
fails.
(Reported by Richard Mudgett)
- [ASTERISK-26738 <https://issues.asterisk.org/jira/browse/ASTERISK-26738>]
- Frequent segfaults since activation of DNS SRV, in
pjsip_auth_clt_reinit_req at /pjsip/sip_auth_client.c, and
pj_atomic_inc_and_get at pj/os_core_unix.c
(Reported by Michael Maier)
- [ASTERISK-25893 <https://issues.asterisk.org/jira/browse/ASTERISK-25893>]
- Function vmauthenticate accesses uninitialized memory
(Reported by Filip Jenicek)
- [ASTERISK-26580 <https://issues.asterisk.org/jira/browse/ASTERISK-26580>]
- [patch] Error during LDAP modify action when user unregisters
(Reported by Nicholas John Koch)
- [ASTERISK-26802 <https://issues.asterisk.org/jira/browse/ASTERISK-26802>]
- [patch] Integrity Check Of PJSIP Download Fails
(Reported by Michael L. Young)
- [ASTERISK-15858 <https://issues.asterisk.org/jira/browse/ASTERISK-15858>]
- [patch] Fix query with double backslash in string literals and stop log
warnings
(Reported by Humberto Figuera)
- [ASTERISK-26057 <https://issues.asterisk.org/jira/browse/ASTERISK-26057>]
- res_config_sqlite3 uses incorrect query - unnecessary escape
(Reported by Stepan)
- [ASTERISK-23457 <https://issues.asterisk.org/jira/browse/ASTERISK-23457>]
- SQlite3: Realtime queue loading fails after PRAGMA query result
(Reported by Scott Griepentrog)
- [ASTERISK-26794 <https://issues.asterisk.org/jira/browse/ASTERISK-26794>]
- http: Crash on Reload Only in ast_tcptls_server_start
(Reported by Joshua Elson)
- [ASTERISK-26714 <https://issues.asterisk.org/jira/browse/ASTERISK-26714>]
- Phone default have not ringing on ARM
(Reported by Igor Goncharovsky)
- [ASTERISK-26696 <https://issues.asterisk.org/jira/browse/ASTERISK-26696>]
- pjsip_pubsub: PJSIP Subscription Persistence in AstDB Does not update on
subscription refresh
(Reported by Zach R)
- [ASTERISK-26756 <https://issues.asterisk.org/jira/browse/ASTERISK-26756>]
- res_pjsip_mwi: Asterisk does not terminate MWI subscription
(Reported by Carl Fortin)
- [ASTERISK-26109 <https://issues.asterisk.org/jira/browse/ASTERISK-26109>]
- Asterisk fails building with OpenSSL 1.1.0
(Reported by Tzafrir Cohen)
- [ASTERISK-26723 <https://issues.asterisk.org/jira/browse/ASTERISK-26723>]
- VoiceMailPlayMsg not playing messages via realtime
(Reported by Ryan Rittgarn)
- [ASTERISK-18286 <https://issues.asterisk.org/jira/browse/ASTERISK-18286>]
- [patch] 'Silence' is truncated in Record()
(Reported by var)
- [ASTERISK-26248 <https://issues.asterisk.org/jira/browse/ASTERISK-26248>]
- chan_pjsip: Error when calling PJSIP client with domain specified
(Reported by Norbert Varga)
- [ASTERISK-26788 <https://issues.asterisk.org/jira/browse/ASTERISK-26788>]
- core: Protect flags during ast_waitfor
(Reported by Joshua Colp)
- [ASTERISK-26115 <https://issues.asterisk.org/jira/browse/ASTERISK-26115>]
- pbx: AMI Originate ignore "failed" extension on call failure
(Reported by Nasir Iqbal)
- [ASTERISK-26785 <https://issues.asterisk.org/jira/browse/ASTERISK-26785>]
- configs/samples: The 'identify' entry is in the wrong section in
sorcery.conf.sample
(Reported by Torrey Searle)
- [ASTERISK-26772 <https://issues.asterisk.org/jira/browse/ASTERISK-26772>]
- Crash in srv.c on startup with pjsip
(Reported by nappsoft)
- [ASTERISK-26770 <https://issues.asterisk.org/jira/browse/ASTERISK-26770>]
- res_stasis_device_state: Duplicate subscriptions when multiple received
at same time
(Reported by Joshua Colp)

*Improvements made in this release:*
-----------------------------------
- [ASTERISK-26864 <https://issues.asterisk.org/jira/browse/ASTERISK-26864>]
- res_pjsip_session: Add support for overlap dialling
(Reported by Richard Begg)
- [ASTERISK-26846 <https://issues.asterisk.org/jira/browse/ASTERISK-26846>]
- chan_sip: Add rtcp-mux support
(Reported by Sean Bright)

*Thank you for your continued support of Asterisk!*

----- 14.3.0

The Asterisk Development Team has announced the release of Asterisk 14.3.0.

The release of Asterisk 14.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:

New Features made in this release:
-----------------------------------
 * ASTERISK-26630 - Make logging PJPROJECT messages a bit easier
      (Reported by Richard Mudgett)

Bugs fixed in this release:
-----------------------------------
 * ASTERISK-26772 - Crash in srv.c on startup with pjsip (Reported
      by nappsoft)
 * ASTERISK-26767 - ARI channelvars cause memory leak (Reported by
      Sébastien Duthil)
 * ASTERISK-26716 - ari: Channels with pre-dial handlers cannot be
      hung up via ARI (Reported by Tom Pawelek)
 * ASTERISK-26632 - core: Possibility of a frame "imbalance"
      leading to stuck channels. (Reported by Mark Michelson)
 * ASTERISK-25951 - res_agi:  run_agi eats frames it shouldn't
      (Reported by George Joseph)
 * ASTERISK-26343 - ASTERISK-25951 causes issues for callerid
      manipulation through agi (Reported by Morten Tryfoss)
 * ASTERISK-26704 - res_odbc.conf contains deprecated
      configuration: 'pooling', 'shared_connections', 'limit', and
      'idlecheck' options were replaced by 'max_connections'.
      (Reported by Anthony Messina)
 * ASTERISK-26765 - res_resolver_unbound: FRACK! Excessive ref
      count trap tripped. (Reported by Richard Mudgett)
 * ASTERISK-21094 - MixMonitorMute mutes through stream if already
      slinear (e.g. Originate) (Reported by David Woolley)
 * ASTERISK-26679 - Crash on invalid contact domain (pjsip aor)
      (Reported by Dmitriy)
 * ASTERISK-26699 - res_pjsip: Assertion when sending OPTIONS
      request  to endpoint (Reported by Ross Beer)
 * ASTERISK-24858 - [patch]Asterisk 13 PJSIP sends RTP packets in
      wrong byte order on Intel platform when using slin codec
      (Reported by Frankie Chin)
 * ASTERISK-26754 - build_tools: make_build_h does not handle \ in
      user name  (Reported by Kirill Katsnelson)
 * ASTERISK-26753 - AMI disconnect causes "ast_careful_fwrite:
      fwrite() returned error: Broken pipe" (Reported by Kirill
      Katsnelson)
 * ASTERISK-26755 - app_queue: Random queues disappear on "core
      reload queue all" (Reported by Kirill Katsnelson)
 * ASTERISK-26735 - res_pjsip_endpoint_identifier_ip: "srv_lookups"
      after match in .conf has no effect (Reported by Michael Maier)
 * ASTERISK-26693 - res_pjsip_endpoint_identifier_ip: Add support
      for SRV (Reported by Joshua Colp)
 * ASTERISK-26743 - PJPROJECT: Detecting compiled max log level
      does not work. (Reported by Richard Mudgett)
 * ASTERISK-26740 - voicemail API test: uses varlibdir instead of
      datadir for a sound file (Reported by Tzafrir Cohen)
 * ASTERISK-26739 - voicemail API test: confuses expected and
      actual values (Reported by Tzafrir Cohen)
 * ASTERISK-26731 - res_sorcery_memory_cache: memory leak on every
      sorcery memory cache populate (Reported by Ustinov Artem)
 * ASTERISK-26710 - [patch] res_rtp_asterisk: CHANNEL arguments,
      (rtcp,all_rtt),(rtcp,all_loss),(rtcp,all_jitter) always return 0
      (Reported by Aaron An)
 * ASTERISK-26670 - [patch] Outgoing SIP-URI Dialing via PJSIP
      (Reported by Alexander Traud)
 * ASTERISK-26691 - Remember SDP negotiation on SIP_CODEC_INBOUND.
      (Reported by Alexander Traud)
 * ASTERISK-26673 - chan_pjsip: Crash when using CHANNEL dialplan
      function around masquerade (Reported by Joshua Colp)
 * ASTERISK-26684 - res_pjsip: Various issues with compact SIP
      headers (Reported by Joshua Elson)
 * ASTERISK-26655 - [patch]pjsip: Transfers Broken with Compact
      Headers Enabled (Reported by JoshE)
 * ASTERISK-26672 - Crash when setting remote address on RTP
      instance (Reported by Richard Mudgett)
 * ASTERISK-26621 - app_queue: Queue application does not ring
      members with Local interface (Reported by Jonas Kellens)
 * ASTERISK-26586 - chan_sip: Segfaults upon reload if client with
      MWI wasn't registered (Reported by Michael Kuron)
 * ASTERISK-25494 - build:  GCC 5.1.x catches some new const, array
      bounds and missing paren issues (Reported by George Joseph)
 * ASTERISK-24499 - Need more explicit debug when PJSIP dialstring
      is invalid (Reported by Rusty Newton)
 * ASTERISK-25083 - Message.c: Message channel becomes saturated
      with frames leading to spammy log messages (Reported by Jonathan
      Rose)
 * ASTERISK-26653 - pjproject_bundled doesn't verify already
      downloaded tarballs (Reported by George Joseph)
 * ASTERISK-26433 - chan_sip: Allows To-tag checks to be bypassed,
      setting up new calls (Reported by Walter Doekes)
 * ASTERISK-26579 - codec_opus: Recursiveness when parsing fmtp
      line (Reported by Jørgen H)
 * ASTERISK-26644 - PJSIPShowRegistrationsInbound just dumps all
      aors (Reported by George Joseph)
 * ASTERISK-26647 - Support older DNS style for OpenBSD (Reported
      by snuffy)
 * ASTERISK-26490 - res_pjsip: sends 481 Call/Transaction Does Not
      Exist when transaction branch parameter contains "_" (Reported
      by Juris Breicis)
 * ASTERISK-26617 - res_rtp_asterisk: Can't bind on systems without
      IPv6 (Reported by Guido Falsi)
 * ASTERISK-26603 - [patch] chan_pjsip: not switching sending codec
      to receiving codec when asymmetric_rtp_codec=no (Reported by
      Alexei Gradinari)
 * ASTERISK-24330 - Requirement for 'wss' value in Contact header
      transport parameter on inbound traffic violates RFC7118
      (Reported by Marek Cervenka)
 * ASTERISK-26546 - mips64el and x32 - undefined reference to
      symbol 'dlopen@@GLIBC_2.2' (Reported by Tzafrir Cohen)
 * ASTERISK-26566 - res_rtp_asterisk: RTT miscalculation in RTCP
      (Reported by Hector Royo Concepcion)
 * ASTERISK-26604 - chan_sip: sip reload doesn't apply changes to
      tlscertfile, tlsciphers, etc. (Reported by Michael Kuron)
 * ASTERISK-26608 - Compile and link failures on OpenBSD (Reported
      by snuffy)

Improvements made in this release:
-----------------------------------
 * ASTERISK-23828 - pjsip - Need a command to list active SIP
      subscriptions (Reported by Rusty Newton)
 * ASTERISK-26527 - Testsuite: increase timeout to check "core
      fullybooted wait" up to 30 sec (Reported by Badalian Vyacheslav)
 * ASTERISK-26624 - res_calendar_caldav: Add support for gmail
      (Reported by Eduardo Scudeller Libardi)
 * ASTERISK-26562 - app_controlplayback: Transmit Silence on
      ControlPlayback pause (Reported by Mikheili Dautashvili)

For a full list of changes in this release, please see the ChangeLog:

http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-14.3.0

Thank you for your continued support of Asterisk!


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/comms/asterisk14/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/comms/asterisk14/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/comms/asterisk14/distinfo
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/comms/asterisk14/patches/patch-Makefile \
    pkgsrc/comms/asterisk14/patches/patch-apps_app__queue.c \
    pkgsrc/comms/asterisk14/patches/patch-include_asterisk_strings.h \
    pkgsrc/comms/asterisk14/patches/patch-main_Makefile
cvs rdiff -u -r1.1.1.1 -r0 \
    pkgsrc/comms/asterisk14/patches/patch-codecs_codec__dahdi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/comms/asterisk14/Makefile
diff -u pkgsrc/comms/asterisk14/Makefile:1.12 pkgsrc/comms/asterisk14/Makefile:1.13
--- pkgsrc/comms/asterisk14/Makefile:1.12       Sun Apr 30 01:21:30 2017
+++ pkgsrc/comms/asterisk14/Makefile    Wed Jun 21 13:33:47 2017
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.12 2017/04/30 01:21:30 ryoon Exp $
+# $NetBSD: Makefile,v 1.13 2017/06/21 13:33:47 jnemeth Exp $
 #
 # NOTE: when updating this package, there are two places that sound
 #       tarballs need to be checked; look in ${WRKSRC}/sounds/Makefile
 #       to find out the current sound file versions
 
-DISTNAME=      asterisk-14.2.0
-PKGREVISION=   6
+DISTNAME=      asterisk-14.5.0
+#PKGREVISION=  6
 CATEGORIES=    comms net audio
 MASTER_SITES=  http://downloads.asterisk.org/pub/telephony/asterisk/
 MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
@@ -32,6 +32,9 @@ CONFLICTS+=   asterisk-sounds-extra-[0-9]*
 USE_TOOLS+=            bison gmake perl:run pkg-config tar bash:run
 USE_LANGUAGES=         c c++
 REPLACE_BASH+=         contrib/scripts/astversion
+REPLACE_BASH+=         contrib/scripts/ast_coredumper
+REPLACE_BASH+=         contrib/scripts/ast_logescalator
+REPLACE_BASH+=         contrib/scripts/ast_loggrabber
 REPLACE_PERL+=         agi/DialAnMp3.agi agi/agi-test.agi
 REPLACE_PERL+=         agi/fastagi-test agi/jukebox.agi agi/numeralize
 REPLACE_PERL+=         contrib/scripts/vmail.cgi
@@ -209,30 +212,30 @@ CONF_FILES_PERMS+=        ${ASTEXAMPLEDIR}/${f:
 .if !empty(PKG_OPTIONS:Masterisk-config)
 # if we put all the files in $CONF_FILES, the message is _way_ too long.
 .  for f in acl.conf adsi.conf agents.conf alarmreceiver.conf alsa.conf        \
-       amd.conf app_mysql.conf app_skel.conf ari.conf asterisk.adsi    \
-       calendar.conf ccss.conf cdr.conf cdr_adaptive_odbc.conf         \
-       cdr_custom.conf cdr_manager.conf cdr_mysql.conf cdr_odbc.conf   \
-       cdr_pgsql.conf cdr_sqlite3_custom.conf cdr_syslog.conf          \
-       cdr_tds.conf cel.conf cel_custom.conf cel_odbc.conf             \
-       cel_pgsql.conf cel_sqlite3_custom.conf cel_tds.conf             \
-       chan_dahdi.conf chan_mobile.conf cli.conf cli_aliases.conf      \
-       cli_permissions.conf codecs.conf confbridge.conf console.conf   \
-       dbsep.conf dnsmgr.conf dsp.conf dundi.conf enum.conf            \
-       extconfig.conf extensions.ael extensions.conf extensions.lua    \
-       extensions_minivm.conf features.conf festival.conf              \
-       followme.conf func_odbc.conf hep.conf http.conf iax.conf        \
-       iaxprov.conf indications.conf logger.conf manager.conf          \
-       meetme.conf mgcp.conf minivm.conf misdn.conf modules.conf       \
-       motif.conf musiconhold.conf muted.conf ooh323.conf osp.conf     \
-       oss.conf phone.conf phoneprov.conf pjproject.conf pjsip.conf    \
-       pjsip_notify.conf pjsip_wizard.conf queuerules.conf queues.conf \
-       res_config_mysql.conf res_config_sqlite.conf                    \
-       res_config_sqlite3.conf res_corosync.conf res_curl.conf         \
-       res_fax.conf res_ldap.conf res_odbc.conf res_parking.conf       \
-       res_pgsql.conf res_pktccops.conf res_snmp.conf                  \
-       res_stun_monitor.conf resolver_unbound.conf rtp.conf say.conf   \
-       sip.conf sip_notify.conf skinny.conf sla.conf smdi.conf         \
-       sorcery.conf ss7.timers stasis.conf statsd.conf                 \
+       amd.conf app_mysql.conf app_skel.conf ari.conf                  \
+       ast_debug_tools.conf asterisk.adsi calendar.conf ccss.conf      \
+       cdr.conf cdr_adaptive_odbc.conf cdr_custom.conf                 \
+       cdr_manager.conf cdr_mysql.conf cdr_odbc.conf cdr_pgsql.conf    \
+       cdr_sqlite3_custom.conf cdr_syslog.conf cdr_tds.conf cel.conf   \
+       cel_custom.conf cel_odbc.conf cel_pgsql.conf                    \
+       cel_sqlite3_custom.conf cel_tds.conf chan_dahdi.conf            \
+       chan_mobile.conf cli.conf cli_aliases.conf cli_permissions.conf \
+       codecs.conf confbridge.conf console.conf dbsep.conf dnsmgr.conf \
+       dsp.conf dundi.conf enum.conf extconfig.conf extensions.ael     \
+       extensions.conf extensions.lua  extensions_minivm.conf          \
+       features.conf festival.conf followme.conf func_odbc.conf        \
+       hep.conf http.conf iax.conf iaxprov.conf indications.conf       \
+       logger.conf manager.conf meetme.conf mgcp.conf minivm.conf      \
+       misdn.conf modules.conf motif.conf musiconhold.conf muted.conf  \
+       ooh323.conf osp.conf oss.conf phone.conf phoneprov.conf         \
+       pjproject.conf pjsip.conf pjsip_notify.conf pjsip_wizard.conf   \
+       queuerules.conf queues.conf res_config_mysql.conf               \
+       res_config_sqlite.conf res_config_sqlite3.conf                  \
+       res_corosync.conf res_curl.conf  res_fax.conf res_ldap.conf     \
+       res_odbc.conf res_parking.conf res_pgsql.conf res_pktccops.conf \
+       res_snmp.conf res_stun_monitor.conf resolver_unbound.conf       \
+       rtp.conf say.conf sip.conf sip_notify.conf skinny.conf sla.conf \
+       smdi.conf sorcery.conf ss7.timers stasis.conf statsd.conf       \
        telcordia-1.adsi udptl.conf unistim.conf users.conf             \
        voicemail.conf vpb.conf xmpp.conf
 CONF_FILES_PERMS+=             ${ASTEXAMPLEDIR}/${f:Q} ${PKG_SYSCONFDIR}/${f:Q} ${ASTERISK_USER} ${ASTERISK_GROUP} 0644

Index: pkgsrc/comms/asterisk14/PLIST
diff -u pkgsrc/comms/asterisk14/PLIST:1.3 pkgsrc/comms/asterisk14/PLIST:1.4
--- pkgsrc/comms/asterisk14/PLIST:1.3   Sun Nov 27 22:55:51 2016
+++ pkgsrc/comms/asterisk14/PLIST       Wed Jun 21 13:33:47 2017
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2016/11/27 22:55:51 jnemeth Exp $
+@comment $NetBSD: PLIST,v 1.4 2017/06/21 13:33:47 jnemeth Exp $
 include/asterisk.h
 include/asterisk/_private.h
 include/asterisk/abstract_jb.h
@@ -7,6 +7,7 @@ include/asterisk/adsi.h
 include/asterisk/ael_structs.h
 include/asterisk/agi.h
 include/asterisk/alaw.h
+include/asterisk/alertpipe.h
 include/asterisk/aoc.h
 include/asterisk/app.h
 include/asterisk/ari.h
@@ -512,6 +513,9 @@ libdata/asterisk/rest-api/playbacks.json
 libdata/asterisk/rest-api/recordings.json
 libdata/asterisk/rest-api/resources.json
 libdata/asterisk/rest-api/sounds.json
+libdata/asterisk/scripts/ast_coredumper
+libdata/asterisk/scripts/ast_logescalator
+libdata/asterisk/scripts/ast_loggrabber
 libdata/asterisk/scripts/refcounter.py
 libdata/asterisk/sounds/en/.asterisk-core-sounds-en-gsm-1.5
 libdata/asterisk/sounds/en/1-for-am-2-for-pm.gsm
@@ -3969,6 +3973,7 @@ share/examples/asterisk/amd.conf
 share/examples/asterisk/app_mysql.conf
 share/examples/asterisk/app_skel.conf
 share/examples/asterisk/ari.conf
+share/examples/asterisk/ast_debug_tools.conf
 share/examples/asterisk/asterisk.adsi
 share/examples/asterisk/asterisk.conf
 share/examples/asterisk/calendar.conf

Index: pkgsrc/comms/asterisk14/distinfo
diff -u pkgsrc/comms/asterisk14/distinfo:1.5 pkgsrc/comms/asterisk14/distinfo:1.6
--- pkgsrc/comms/asterisk14/distinfo:1.5        Sun Nov 27 22:55:51 2016
+++ pkgsrc/comms/asterisk14/distinfo    Wed Jun 21 13:33:47 2017
@@ -1,18 +1,18 @@
-$NetBSD: distinfo,v 1.5 2016/11/27 22:55:51 jnemeth Exp $
+$NetBSD: distinfo,v 1.6 2017/06/21 13:33:47 jnemeth Exp $
 
-SHA1 (asterisk-14.2.0/asterisk-14.2.0.tar.gz) = 7d76ae41f663709c231694599740ee3c9bc70db7
-RMD160 (asterisk-14.2.0/asterisk-14.2.0.tar.gz) = 76a8122a22082678df5f2f74d35d2aefbe35aaa6
-SHA512 (asterisk-14.2.0/asterisk-14.2.0.tar.gz) = e61746971b3b8d849b14fc0a90956b51a8f8ba42c1736eff70b7e06abc4a1bc93bf7264bc0a9650b289716456fdbb42d04f31f00cc518c0ddce57b102075ef36
-Size (asterisk-14.2.0/asterisk-14.2.0.tar.gz) = 40604023 bytes
-SHA1 (asterisk-14.2.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 831ae6442e23cbef1e7d1c84798778ad0b0524d1
-RMD160 (asterisk-14.2.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = d52df795201c53fc4cd7d99ed41516e312f6f0f3
-SHA512 (asterisk-14.2.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = c7d3c3fd2c854e6776801312d34bf69bbed78a443c16121637f508c5275f18b1d415cbb6e4f6f8c5aa3769cbbfa1a11485b9972053777f3ac39256c2c81729f1
-Size (asterisk-14.2.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 4256538 bytes
-SHA1 (patch-Makefile) = 48f9452deea9572b96261208441b10967433e5c1
+SHA1 (asterisk-14.5.0/asterisk-14.5.0.tar.gz) = 9cba1c356293db67bcc3685bb8f1f9fd21e321f0
+RMD160 (asterisk-14.5.0/asterisk-14.5.0.tar.gz) = 59b19305f1c64d55a91ec25d893a02e99c48fdfe
+SHA512 (asterisk-14.5.0/asterisk-14.5.0.tar.gz) = 04dbea932900ecd3218629b2f19d20ad544cd7c02014fb4bd659e638e4a068ba179e6a4400bed788316fd337102ed8290c95823304567f378f9626361fd18c5e
+Size (asterisk-14.5.0/asterisk-14.5.0.tar.gz) = 40730634 bytes
+SHA1 (asterisk-14.5.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 831ae6442e23cbef1e7d1c84798778ad0b0524d1
+RMD160 (asterisk-14.5.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = d52df795201c53fc4cd7d99ed41516e312f6f0f3
+SHA512 (asterisk-14.5.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = c7d3c3fd2c854e6776801312d34bf69bbed78a443c16121637f508c5275f18b1d415cbb6e4f6f8c5aa3769cbbfa1a11485b9972053777f3ac39256c2c81729f1
+Size (asterisk-14.5.0/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 4256538 bytes
+SHA1 (patch-Makefile) = 8e6c47cabfc2dffcfd8c5a5d2eb0c76e864a5519
 SHA1 (patch-addons_chan__ooh323.c) = 9cba619ced6a4449604faebeac33d91a23519c48
 SHA1 (patch-apps_app__dumpchan.c) = 127ac02bdc180ad2334cd095aa6e646feb6fba10
 SHA1 (patch-apps_app__followme.c) = c6a5790b5e9b34d07dbfdd66a58e2854c8c72695
-SHA1 (patch-apps_app__queue.c) = c90dcacf1b18dba977b6a18505b9c1401a6c8e82
+SHA1 (patch-apps_app__queue.c) = ac673bf85469a26d72317b05ffaaa63f15e96987
 SHA1 (patch-apps_app__sms.c) = ae81daf6ccf8c8fdf2251dba305e137bb9ab6b05
 SHA1 (patch-apps_app__voicemail.c) = ee46ffd64a15ef79fc568edd3d5eb68cd86865f7
 SHA1 (patch-build__tools_mkpkgconfig) = 7fab8fcf46d9f8a3b98455674fec6307ec472b23
@@ -20,7 +20,6 @@ SHA1 (patch-cdr_cdr__pgsql.c) = 82b002a1
 SHA1 (patch-cel_cel__pgsql.c) = b280efab2b035ce60be268bac9bc8824910b2b8f
 SHA1 (patch-channels_chan__oss.c) = 8a1c32462097f4a58f48a1a994aff5a8ab4c9fb2
 SHA1 (patch-channels_chan__sip.c) = a4abe1dcdec3db719a7fd0e5dbefb9c12f6a37db
-SHA1 (patch-codecs_codec__dahdi.c) = 77d43907df17b0c1eeb0a1e9e95811c7ef7ae624
 SHA1 (patch-configure) = 53e5ea06ba9796eb6621193364b1131e895944a1
 SHA1 (patch-configure.ac) = fa68fb905ceb8d1ee399d01f60ae70c4b11e77e0
 SHA1 (patch-contrib_scripts_vmail.cgi) = 672827eedf315a82a289c82d1ae8b935166e9319
@@ -29,8 +28,8 @@ SHA1 (patch-include_asterisk_autoconfig.
 SHA1 (patch-include_asterisk_endian.h) = 1fc20d750da7d0a0407c1e1694b8bb21753acdcd
 SHA1 (patch-include_asterisk_lock.h) = ce636ef6102a2a95600cfc8215305507e08fe8f9
 SHA1 (patch-include_asterisk_sha1.h) = 9b233ef82b50b8d94177616e1382991656ce1ebf
-SHA1 (patch-include_asterisk_strings.h) = d204488d681e39af6fadf9f054c9e402f4cb8657
-SHA1 (patch-main_Makefile) = 7a4449ca3d8a33adc640436fade268285c7e2191
+SHA1 (patch-include_asterisk_strings.h) = 52bba7d1871ff8629feed79422a098959b87711b
+SHA1 (patch-main_Makefile) = f2666165e98e137e5d897d5cb751e5d7be301575
 SHA1 (patch-main_acl.c) = 06a9d247b19d648e9ff54ac2a234dc8ac8c023bb
 SHA1 (patch-main_asterisk.c) = 93ae4e31b4ae279e42b5c3661bb5fdb76d9ea161
 SHA1 (patch-main_astmm.c) = 26a98d6fbb567ae619041ebd01a31349a847deab

Index: pkgsrc/comms/asterisk14/patches/patch-Makefile
diff -u pkgsrc/comms/asterisk14/patches/patch-Makefile:1.1.1.1 pkgsrc/comms/asterisk14/patches/patch-Makefile:1.2
--- pkgsrc/comms/asterisk14/patches/patch-Makefile:1.1.1.1      Tue Oct 25 08:17:07 2016
+++ pkgsrc/comms/asterisk14/patches/patch-Makefile      Wed Jun 21 13:33:48 2017
@@ -1,8 +1,8 @@
-$NetBSD: patch-Makefile,v 1.1.1.1 2016/10/25 08:17:07 jnemeth Exp $
+$NetBSD: patch-Makefile,v 1.2 2017/06/21 13:33:48 jnemeth Exp $
 
---- Makefile.orig      2016-09-30 20:36:17.000000000 +0000
+--- Makefile.orig      2017-05-30 17:50:46.000000000 +0000
 +++ Makefile
-@@ -135,7 +135,7 @@ DEBUG=-g3
+@@ -139,7 +139,7 @@ DEBUG=-g3
  
  # Asterisk.conf is located in ASTETCDIR or by using the -C flag
  # when starting Asterisk
@@ -11,7 +11,7 @@ $NetBSD: patch-Makefile,v 1.1.1.1 2016/1
  AGI_DIR=$(ASTDATADIR)/agi-bin
  
  # If you use Apache, you may determine by a grep 'DocumentRoot' of your httpd.conf file
-@@ -210,10 +210,6 @@ ifeq ($(AST_DEVMODE),yes)
+@@ -209,10 +209,6 @@ ifeq ($(AST_DEVMODE),yes)
    ADDL_TARGETS+=validate-docs
  endif
  
@@ -22,15 +22,15 @@ $NetBSD: patch-Makefile,v 1.1.1.1 2016/1
  ifeq ($(OSARCH),FreeBSD)
    # -V is understood by BSD Make, not by GNU make.
    BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk)
-@@ -444,7 +440,6 @@ dist-clean: distclean
+@@ -411,7 +407,6 @@ dist-clean: distclean
  
  distclean: $(SUBDIRS_DIST_CLEAN) _clean
        @$(MAKE) -C menuselect dist-clean
 -      @$(MAKE) -C sounds dist-clean
        rm -f menuselect.makeopts makeopts menuselect-tree menuselect.makedeps
-       rm -f makeopts.embed_rules
        rm -f config.log config.status config.cache
-@@ -560,7 +555,7 @@ update:
+       rm -rf autom4te.cache
+@@ -526,7 +521,7 @@ update:
  
  NEWHEADERS=$(notdir $(wildcard include/asterisk/*.h))
  OLDHEADERS=$(filter-out $(NEWHEADERS) $(notdir $(DESTDIR)$(ASTHEADERDIR)),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h)))
@@ -39,7 +39,7 @@ $NetBSD: patch-Makefile,v 1.1.1.1 2016/1
        "$(ASTSPOOLDIR)" "$(ASTSPOOLDIR)/dictate" "$(ASTSPOOLDIR)/meetme" \
        "$(ASTSPOOLDIR)/monitor" "$(ASTSPOOLDIR)/system" "$(ASTSPOOLDIR)/tmp" \
        "$(ASTSPOOLDIR)/voicemail" "$(ASTSPOOLDIR)/recording" \
-@@ -688,7 +683,7 @@ upgrade: bininstall
+@@ -730,7 +725,7 @@ upgrade: bininstall
  #  (2) the extension to strip off
  define INSTALL_CONFIGS
        @for x in configs/$(1)/*$(2); do \
@@ -48,7 +48,7 @@ $NetBSD: patch-Makefile,v 1.1.1.1 2016/1
                if [ -f "$${dst}" ]; then \
                        if [ "$(OVERWRITE)" = "y" ]; then \
                                if cmp -s "$${dst}" "$$x" ; then \
-@@ -717,24 +712,24 @@ define INSTALL_CONFIGS
+@@ -759,24 +754,24 @@ define INSTALL_CONFIGS
                        -e 's|^astrundir.*$$|astrundir => $(ASTVARRUNDIR)|' \
                        -e 's|^astlogdir.*$$|astlogdir => $(ASTLOGDIR)|' \
                        -e 's|^astsbindir.*$$|astsbindir => $(ASTSBINDIR)|' \
@@ -79,7 +79,7 @@ $NetBSD: patch-Makefile,v 1.1.1.1 2016/1
        done
  
  samples: adsi
-@@ -767,7 +762,7 @@ basic-pbx:
+@@ -809,7 +804,7 @@ basic-pbx:
  webvmail:
        @[ -d "$(DESTDIR)$(HTTP_DOCSDIR)/" ] || ( printf "http docs directory not found.\nUpdate assignment of variable HTTP_DOCSDIR in Makefile!\n" && exit 1 )
        @[ -d "$(DESTDIR)$(HTTP_CGIDIR)" ] || ( printf "cgi-bin directory not found.\nUpdate assignment of variable HTTP_CGIDIR in Makefile!\n" && exit 1 )
@@ -88,7 +88,7 @@ $NetBSD: patch-Makefile,v 1.1.1.1 2016/1
        $(INSTALL) -d "$(DESTDIR)$(HTTP_DOCSDIR)/_asterisk"
        for x in images/*.gif; do \
                $(INSTALL) -m 644 $$x "$(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/"; \
-@@ -817,11 +812,11 @@ endif
+@@ -859,11 +854,11 @@ endif
  endif
  
  install-logrotate:
@@ -103,7 +103,7 @@ $NetBSD: patch-Makefile,v 1.1.1.1 2016/1
        rm -f contrib/scripts/asterisk.logrotate.tmp
  
  config:
-@@ -928,7 +923,7 @@ uninstall-all: _uninstall
+@@ -975,7 +970,7 @@ uninstall-all: _uninstall
        rm -rf "$(DESTDIR)$(ASTVARLIBDIR)"
        rm -rf "$(DESTDIR)$(ASTDATADIR)"
        rm -rf "$(DESTDIR)$(ASTSPOOLDIR)"
@@ -112,7 +112,7 @@ $NetBSD: patch-Makefile,v 1.1.1.1 2016/1
        rm -rf "$(DESTDIR)$(ASTLOGDIR)"
  
  menuconfig: menuselect
-@@ -1017,6 +1012,7 @@ check-alembic: makeopts
+@@ -1063,6 +1058,7 @@ check-alembic: makeopts
        @ALEMBIC=$(ALEMBIC) build_tools/make_check_alembic config cdr voicemail >&2
  
  .PHONY: menuselect
Index: pkgsrc/comms/asterisk14/patches/patch-apps_app__queue.c
diff -u pkgsrc/comms/asterisk14/patches/patch-apps_app__queue.c:1.1.1.1 pkgsrc/comms/asterisk14/patches/patch-apps_app__queue.c:1.2
--- pkgsrc/comms/asterisk14/patches/patch-apps_app__queue.c:1.1.1.1     Tue Oct 25 08:17:07 2016
+++ pkgsrc/comms/asterisk14/patches/patch-apps_app__queue.c     Wed Jun 21 13:33:48 2017
@@ -1,17 +1,17 @@
-$NetBSD: patch-apps_app__queue.c,v 1.1.1.1 2016/10/25 08:17:07 jnemeth Exp $
+$NetBSD: patch-apps_app__queue.c,v 1.2 2017/06/21 13:33:48 jnemeth Exp $
 
---- apps/app_queue.c.orig      2015-10-09 21:48:48.000000000 +0000
+--- apps/app_queue.c.orig      2017-05-30 17:50:46.000000000 +0000
 +++ apps/app_queue.c
-@@ -5286,7 +5286,7 @@ static int wait_our_turn(struct queue_en
+@@ -5447,7 +5447,7 @@ static int wait_our_turn(struct queue_en
  
                        if ((status = get_member_status(qe->parent, qe->max_penalty, qe->min_penalty, qe->parent->leavewhenempty, 0))) {
                                *reason = QUEUE_LEAVEEMPTY;
 -                              ast_queue_log(qe->parent->name, ast_channel_uniqueid(qe->chan), "NONE", "EXITEMPTY", "%d|%d|%ld", qe->pos, qe->opos, (long) (time(NULL) - qe->start));
 +                              ast_queue_log(qe->parent->name, ast_channel_uniqueid(qe->chan), "NONE", "EXITEMPTY", "%d|%d|%jd", qe->pos, qe->opos, (intmax_t) (time(NULL) - qe->start));
-                               leave_queue(qe);
+                               res = -1;
+                               qe->handled = -1;
                                break;
-                       }
-@@ -6638,8 +6638,8 @@ static int try_calling(struct queue_ent 
+@@ -6824,8 +6824,8 @@ static int try_calling(struct queue_ent 
                /* if setinterfacevar is defined, make member variables available to the channel */
                /* use  pbx_builtin_setvar to set a load of variables with one call */
                if (qe->parent->setinterfacevar) {
@@ -22,7 +22,7 @@ $NetBSD: patch-apps_app__queue.c,v 1.1.1
                        pbx_builtin_setvar_multiple(qe->chan, interfacevar);
                        pbx_builtin_setvar_multiple(peer, interfacevar);
                }
-@@ -6647,8 +6647,8 @@ static int try_calling(struct queue_ent 
+@@ -6833,8 +6833,8 @@ static int try_calling(struct queue_ent 
                /* if setqueueentryvar is defined, make queue entry (i.e. the caller) variables available to the channel */
                /* use  pbx_builtin_setvar to set a load of variables with one call */
                if (qe->parent->setqueueentryvar) {
@@ -33,7 +33,7 @@ $NetBSD: patch-apps_app__queue.c,v 1.1.1
                        pbx_builtin_setvar_multiple(qe->chan, interfacevar);
                        pbx_builtin_setvar_multiple(peer, interfacevar);
                }
-@@ -7838,8 +7838,8 @@ static int queue_exec(struct ast_channel
+@@ -8063,8 +8063,8 @@ static int queue_exec(struct ast_channel
                }
        }
  
@@ -44,7 +44,7 @@ $NetBSD: patch-apps_app__queue.c,v 1.1.1
  
        qe.chan = chan;
        qe.prio = prio;
-@@ -7889,8 +7889,8 @@ check_turns:
+@@ -8114,8 +8114,8 @@ check_turns:
                        record_abandoned(&qe);
                        reason = QUEUE_TIMEOUT;
                        res = 0;
@@ -55,7 +55,7 @@ $NetBSD: patch-apps_app__queue.c,v 1.1.1
                        break;
                }
  
-@@ -7935,7 +7935,7 @@ check_turns:
+@@ -8160,7 +8160,7 @@ check_turns:
                        if ((status = get_member_status(qe.parent, qe.max_penalty, qe.min_penalty, qe.parent->leavewhenempty, 0))) {
                                record_abandoned(&qe);
                                reason = QUEUE_LEAVEEMPTY;
@@ -64,7 +64,7 @@ $NetBSD: patch-apps_app__queue.c,v 1.1.1
                                res = 0;
                                break;
                        }
-@@ -7958,7 +7958,7 @@ check_turns:
+@@ -8183,7 +8183,7 @@ check_turns:
                        record_abandoned(&qe);
                        reason = QUEUE_TIMEOUT;
                        res = 0;
@@ -73,7 +73,7 @@ $NetBSD: patch-apps_app__queue.c,v 1.1.1
                        break;
                }
  
-@@ -7986,8 +7986,8 @@ stop:
+@@ -8211,8 +8211,8 @@ stop:
                        if (!qe.handled) {
                                record_abandoned(&qe);
                                ast_queue_log(args.queuename, ast_channel_uniqueid(chan), "NONE", "ABANDON",
@@ -84,7 +84,7 @@ $NetBSD: patch-apps_app__queue.c,v 1.1.1
                                res = -1;
                        } else if (qcontinue) {
                                reason = QUEUE_CONTINUE;
-@@ -7995,7 +7995,7 @@ stop:
+@@ -8220,7 +8220,7 @@ stop:
                        }
                } else if (qe.valid_digits) {
                        ast_queue_log(args.queuename, ast_channel_uniqueid(chan), "NONE", "EXITWITHKEY",
@@ -93,7 +93,7 @@ $NetBSD: patch-apps_app__queue.c,v 1.1.1
                }
        }
  
-@@ -9163,9 +9163,9 @@ static char *__queues_show(struct manses
+@@ -9465,9 +9465,9 @@ static char *__queues_show(struct manses
  
                        do_print(s, fd, "   Callers: ");
                        for (qe = q->head; qe; qe = qe->next) {
@@ -106,7 +106,7 @@ $NetBSD: patch-apps_app__queue.c,v 1.1.1
                                do_print(s, fd, ast_str_buffer(out));
                        }
                }
-@@ -9531,7 +9531,7 @@ static int manager_queues_status(struct 
+@@ -9837,7 +9837,7 @@ static int manager_queues_status(struct 
                                        "CallerIDName: %s\r\n"
                                        "ConnectedLineNum: %s\r\n"
                                        "ConnectedLineName: %s\r\n"
Index: pkgsrc/comms/asterisk14/patches/patch-include_asterisk_strings.h
diff -u pkgsrc/comms/asterisk14/patches/patch-include_asterisk_strings.h:1.1.1.1 pkgsrc/comms/asterisk14/patches/patch-include_asterisk_strings.h:1.2
--- pkgsrc/comms/asterisk14/patches/patch-include_asterisk_strings.h:1.1.1.1    Tue Oct 25 08:17:08 2016
+++ pkgsrc/comms/asterisk14/patches/patch-include_asterisk_strings.h    Wed Jun 21 13:33:48 2017
@@ -1,8 +1,8 @@
-$NetBSD: patch-include_asterisk_strings.h,v 1.1.1.1 2016/10/25 08:17:08 jnemeth Exp $
+$NetBSD: patch-include_asterisk_strings.h,v 1.2 2017/06/21 13:33:48 jnemeth Exp $
 
---- include/asterisk/strings.h.orig    2015-10-09 21:48:48.000000000 +0000
+--- include/asterisk/strings.h.orig    2017-05-30 17:50:46.000000000 +0000
 +++ include/asterisk/strings.h
-@@ -1159,7 +1159,7 @@ char *ast_tech_to_upper(char *dev_str),
+@@ -1168,7 +1168,7 @@ char *ast_tech_to_upper(char *dev_str),
        }
  
        for (pos = dev_str; *pos && *pos != '/'; pos++) {
@@ -11,12 +11,12 @@ $NetBSD: patch-include_asterisk_strings.
        }
        return dev_str;
  }
-@@ -1218,7 +1218,7 @@ static force_inline int attribute_pure a
-       int hash = 5381;
+@@ -1244,7 +1244,7 @@ static force_inline int attribute_pure a
+       unsigned int hash = 5381;
  
        while (*str) {
--              hash = hash * 33 ^ tolower(*str++);
+-              hash = hash * 33 ^ (unsigned char) tolower(*str++);
 +              hash = hash * 33 ^ tolower((unsigned char)*str++);
        }
  
-       return abs(hash);
+       return ast_str_hash_restrict(hash);
Index: pkgsrc/comms/asterisk14/patches/patch-main_Makefile
diff -u pkgsrc/comms/asterisk14/patches/patch-main_Makefile:1.1.1.1 pkgsrc/comms/asterisk14/patches/patch-main_Makefile:1.2
--- pkgsrc/comms/asterisk14/patches/patch-main_Makefile:1.1.1.1 Tue Oct 25 08:17:08 2016
+++ pkgsrc/comms/asterisk14/patches/patch-main_Makefile Wed Jun 21 13:33:48 2017
@@ -1,8 +1,8 @@
-$NetBSD: patch-main_Makefile,v 1.1.1.1 2016/10/25 08:17:08 jnemeth Exp $
+$NetBSD: patch-main_Makefile,v 1.2 2017/06/21 13:33:48 jnemeth Exp $
 
---- main/Makefile.orig 2016-07-21 14:54:02.000000000 +0000
+--- main/Makefile.orig 2017-05-30 17:50:46.000000000 +0000
 +++ main/Makefile
-@@ -96,6 +96,10 @@ ifeq ($(OSARCH),OpenBSD)
+@@ -92,6 +92,10 @@ ifeq ($(OSARCH),OpenBSD)
    AST_LIBS+=-lcrypto -lpthread -lm $(EDITLINE_LIB)
  endif
  
@@ -13,7 +13,7 @@ $NetBSD: patch-main_Makefile,v 1.1.1.1 2
  ifeq ($(OSARCH),SunOS)
    AST_LIBS+=-lpthread -ldl -lrt -lnsl -lsocket -lresolv
    ASTSSL_LIBS+=-L/opt/ssl/lib -L/usr/local/ssl/lib
-@@ -337,10 +341,10 @@ bininstall:
+@@ -331,10 +335,10 @@ bininstall:
        $(INSTALL) -m 755 $(MAIN_TGT) "$(DESTDIR)$(ASTSBINDIR)/"
  ifeq ($(AST_ASTERISKSSL),yes)
  ifeq ($(findstring darwin,$(OSARCH)),) # not Darwin
@@ -27,14 +27,3 @@ $NetBSD: patch-main_Makefile,v 1.1.1.1 2
  endif
  endif
  ifeq ($(PJPROJECT_BUNDLED),yes)
-@@ -365,9 +369,7 @@ endif
- ifneq ($(ASTPJ_LIB).$(ASTPJ_SO_VERSION),.)
-       rm -f "$(DESTDIR)$(ASTLIBDIR)/$(ASTPJ_LIB).$(ASTPJ_SO_VERSION)"
- endif
--ifneq ($(LDCONFIG),)
--      $(LDCONFIG) $(LDCONFIG_FLAGS) "$(DESTDIR)$(ASTLIBDIR)/"
--endif
-+      rm -f "$(DESTDIR)$(PREFIX)/lib/$(ASTSSL_LIB).$(ASTSSL_SO_VERSION)"
- 
- clean::
-       rm -f asterisk libasteriskssl.o



Home | Main Index | Thread Index | Old Index