pkgsrc-Changes archive

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

CVS commit: pkgsrc/comms/asterisk19



Module Name:    pkgsrc
Committed By:   jnemeth
Date:           Mon Jul  8 05:03:02 UTC 2024

Modified Files:
        pkgsrc/comms/asterisk19: Makefile PLIST distinfo options.mk
        pkgsrc/comms/asterisk19/patches: patch-channels_chan__sip.c
            patch-main_manager.c
Added Files:
        pkgsrc/comms/asterisk19/patches: patch-apps_app__macro.c
            patch-build__tools_make__xml__documentation
            patch-channels_chan__mgcp.c patch-channels_chan__skinny.c
            patch-res_res__format__attr__celt.c
            patch-res_res__format__attr__h263.c
            patch-res_res__format__attr__ilbc.c
            patch-res_res__format__attr__opus.c
            patch-res_res__format__attr__silk.c
            patch-res_res__format__attr__siren14.c
            patch-res_res__format__attr__siren7.c
            patch-res_res__format__attr__vp8.c patch-res_res__monitor.c
            patch-res_res__mwi__external.c patch-res_res__pjsip__diversion.c
            patch-res_res__pjsip_pjsip__configuration.c
            patch-res_res__pktccops.c
            patch-third-party_pjproject_patches_0000-configure-ssl-library-path.patch
Removed Files:
        pkgsrc/comms/asterisk19/patches: patch-include_asterisk_sha1.h
            patch-res_res__calendar__caldav.c
            patch-res_res__calendar__icalendar.c

Log Message:
Update to Asterisk 19.8.1.

Note that the Asterisk 19.* series is EOL and this package will be
scheduled for deletion in one to two quarters.

pkgsrc changes:
- MKPIE_SUPPORTED=NO -- eol, so not worth effort to fix
- various new/obsoleted config files / docs
- new/obsoleted features
  + app_sf
  + func_evalexten
  + func_export
  + func_json
  + res_ari_mailboxes
  + res_geolocation
  + res_mwi_external
  + res_mwi_external_ami
  + res_pjsip_geolocation
  + res_pjsip_rfc3329
  + res_speech_aeap
  + res_stasis_playback

Change Log for Release 19.8.1
========================================

Summary:
----------------------------------------

- apply_patches: Use globbing instead of file/sort.
- bundled_pjproject: Backport 2 SSL patches from upstream
- bundled_pjproject: Backport security fixes from pjproject 2.13.1
- apply_patches: Sort patch list before applying

Closed Issues:
----------------------------------------

  - #188: [improvement]:  pjsip: Upgrade bundled version to pjproject 2.13.1 #187
  - #193: [bug]: third-party/apply-patches doesn't sort the patch file list before applying
  - #194: [bug]: Segfault/double-free in bundled pjproject using TLS transport

Commits By Author:
----------------------------------------

- ### George Joseph (3):
  - apply_patches: Sort patch list before applying
  - bundled_pjproject: Backport security fixes from pjproject 2.13.1
  - bundled_pjproject: Backport 2 SSL patches from upstream

- ### Sean Bright (1):
  - apply_patches: Use globbing instead of file/sort.

-----

------------------------------------------------------------------------------
--- Functionality changes from Asterisk 19.7.0 to Asterisk 19.8.0 ------------
------------------------------------------------------------------------------

cdr
------------------
 * Two new options have been added which allow
   bridging and dial state changes to be ignored
   in CDRs, which can be useful if a single CDR
   is desired for a channel.

res_pjsip
------------------
 * Added options "security_negotiation" and "security_mechanisms" to pjsip
   endpoints and registrations. "security_negotiation" can be set to "no" (default)
   or "mediasec", and "security_mechanisms" can be a list of comma-separated
   security_mechanisms in the form defined by RFC 3329 section 2.2.

 * A new option named "all_codecs_on_empty_reinvite" has been added to the
   global section. When this option is enabled, on reception of a re-INVITE
   without SDP, Asterisk will send an SDP offer in the 200 OK response containing
   all configured codecs on the endpoint, instead of simply those that have
   already been negotiated. RFC 3261 specifies this as a SHOULD requirement.
   The default value is "off".

res_pjsip_logger
------------------
 * SIP messages can now be filtered by SIP request method
   (INVITE, CANCEL, ACK, BYE, REGISTER, OPTION,
   SUBSCRIBE, NOTIFY, PUBLISH, INFO, and MESSAGE),
   allowing for more granular debugging to be done
   in the CLI. This applies to requests but not responses.

res_pjsip_notify
------------------
 * Allows using the config options in pjsip_notify.conf
   from AMI actions as with the existing CLI commands.

res_tonedetect
------------------
 * The TONE_DETECT function now supports
   detection of audible ringback tone
   using the p option.

------------------------------------------------------------------------------
--- Functionality changes from Asterisk 19.6.0 to Asterisk 19.7.0 ------------
------------------------------------------------------------------------------

New EXPORT function
------------------
 * A new function, EXPORT, allows writing variables
   and functions on other channels, the complement
   of the IMPORT function.

app_amd
------------------
 * An audio file to play during AMD processing can
   now be specified to the AMD application or configured
   in the amd.conf configuration file.

app_bridgewait
------------------
 * Adds the n option to not answer the channel when
   the BridgeWait application is called.

features
------------------
 * The Bridge application now has the n "no answer" option
   that can be used to prevent the channel from being
   automatically answered prior to bridging.

func_strings
------------------
 * Three new functions, TRIM, LTRIM, and RTRIM, are
   now available for trimming leading and trailing
   whitespace.

res_pjsip
------------------
 * A new option named "peer_supported" has been added to the endpoint option
   100rel. When set to this option, Asterisk sends provisional responses
   reliably if the peer supports it. If the peer does not support reliable
   provisional responses, Asterisk sends them normally.

------------------------------------------------------------------------------
--- Functionality changes from Asterisk 19.6.0 to Asterisk 19.7.0 ------------
------------------------------------------------------------------------------

Transfer feature
------------------
 * The following capabilities have been added to the
   transfer feature:

   - The transfer initiation announcement prompt can
   now be customized in features.conf.

   - The TRANSFER_EXTEN variable now can be set on the
   transferer's channel in order to allow the transfer
   function to automatically attempt to go to the extension
   contained in this variable, if it exists. The transfer
   context behavior is not changed (TRANSFER_CONTEXT is used
   if it exists; otherwise the default context is used).

app_confbridge
------------------
 * Adds the end_marked_any option which can be used
   to kick users from a conference after any
   marked user leaves (including marked users).

locks
------------------
 * A new AMI event, DeadlockStart, is now available
   when Asterisk is compiled with DETECT_DEADLOCKS,
   and can indicate that a deadlock has occured.

res_geolocation
------------------
 * Added 4 built-in profiles:
     "<prefer_config>"
     "<discard_config>"
     "<prefer_incoming>"
     "<discard_incoming>"
   The profiles are empty except for having their precedence
   set.

   Added profile parameter "suppress_empty_ca_elements" that
   will cause Civic Address elements that are empty to be
   suppressed from the outgoing PIDF-LO document.

   You can now specify the location object's format, location_info,
   method, location_source and confidence parameters directly on
   a profile object for simple scenarios where the location
   information isn't common with any other profiles.  This is
   mutually exclusive with setting location_reference on the
   profile.

   Added an 'a' option to the GEOLOC_PROFILE function to allow
   variable lists like location_info_refinement to be appended
   to instead of replacing the entire list.

   Added an 'r' option to the GEOLOC_PROFILE function to resolve all
   variables before a read operation and after a Set operation.

res_musiconhold_answeredonly
------------------
 * This change adds an option, answeredonly, that will prevent music
   on hold on channels that are not answered.

res_pjsip
------------------
 * TLS transports in res_pjsip can now reload their TLS certificate
   and private key files, provided the filename of them has not
   changed.

------------------------------------------------------------------------------
--- Functionality changes from Asterisk 19.5.0 to Asterisk 19.6.0 ------------
------------------------------------------------------------------------------

res_geolocation
------------------
 * * Added processing for the 'confidence' element.
   * Added documentation to some APIs.
   * removed a lot of complex code related to the very-off-nominal
     case of needing to process multiple location info sources.
   * Create a new 'ast_geoloc_eprofile_to_pidf' API that just takes
     one eprofile instead of a datastore of multiples.
   * Plugged a huge leak in XML processing that arose from
     insufficient documentation by the libxml/libxslt authors.
   * Refactored stylesheets to be more efficient.
   * Renamed 'profile_action' to 'profile_precedence' to better
     reflect it's purpose.
   * Added the config option for 'allow_routing_use' which
     sets the value of the 'Geolocation-Routing' header.
   * Removed the GeolocProfileCreate and GeolocProfileDelete
     dialplan apps.
   * Changed the GEOLOC_PROFILE dialplan function as follows:
     * Removed the 'profile' argument.
     * Automatically create a profile if it doesn't exist.
     * Delete a profile if 'inheritable' is set to no.
   * Fixed various bugs and leaks
   * Updated Asterisk WiKi documentation.

------------------------------------------------------------------------------
--- Functionality changes from Asterisk 19.5.0 to Asterisk 19.6.0 ------------
------------------------------------------------------------------------------

chan_dahdi
------------------
 * A POLARITY function is now available that allows
   getting or setting the polarity on a channel
   from the dialplan.

db
------------------
 * The DBPrefixGet AMI action now allows retrieving
   all of the DB keys beginning with a particular
   prefix.

res_cliexec
------------------
 * A new CLI command, dialplan exec application, has
   been added which allows dialplan applications to be
   executed at the CLI, useful for some quick testing
   without needing to write dialplan.

res_geolocation
------------------
 * Added res_geolocation which creates the core capabilities
   to manipulate Geolocation information on SIP INVITEs.

res_pjsip
------------------
 * A new transport option 'allow_wildcard_certs' has been added that when it
   and 'verify_server' are both set to 'yes', enables verification against
   wildcards, i.e. '*.' in certs for common, and subject alt names of type DNS
   for TLS transport types. Names must start with the wildcard. Partial wildcards,
   e.g. 'f*.example.com' and 'foo.*.com' are not allowed. As well, names only
   match against a single level meaning '*.example.com' matches 'foo.example.com',
   but not 'foo.bar.example.com'.

res_pjsip_geolocation
------------------
 * Added res_pjsip_geolocation which gives chan_pjsip
   the ability to use the core geolocation capabilities.

res_pjsip_header_funcs
------------------
 * Add function PJSIP_RESPONSE_HEADERS() to get list of header names from 200 response, in the same way as PJSIP_HEADERS() from the request.

   Add function PJSIP_RESPONSE_HEADER() to read header from 200 response, in the same way as PJSIP_HEADER() from the request.

------------------------------------------------------------------------------
--- Functionality changes from Asterisk 19.4.0 to Asterisk 19.5.0 ------------
------------------------------------------------------------------------------

app_confbridge
------------------
 * Added the hear_own_join_sound option to the confbridge user profile to
   control who hears the sound_join audio file. When set to 'yes' the user
   entering the conference and the participants already in the conference
   will hear the sound_join audio file. When set to 'no' the user entering
   the conference will not hear the sound_join audio file, but the
   participants already in the conference will hear the sound_join audio file.

 * Adds the CONFBRIDGE_CHANNELS function which can
   be used to retrieve a list of channels in a ConfBridge,
   optionally filtered by a particular category. This
   list can then be used with functions like SHIFT, POP,
   UNSHIFT, etc.

app_queue
------------------
 * The m option now allows an override music on hold
   class to be specified for the Queue application
   within the dialplan.

app_voicemail
------------------
 * The r option has been added, which prevents deletion
   of messages from VoiceMailMain, which can be
   useful for shared mailboxes.

ari
------------------
 * Expose channel driver's unique id (which is the Call-ID for SIP/PJSIP)
   to ARI channel resources as 'protocol_id'.

   ASTERISK-30027

chan_dahdi
------------------
 * Previously, cadences were appended on dahdi restart,
   rather than reloaded. This prevented cadences from
   being updated and maxed out the available cadences
   if reloaded multiple times. This behavior is fixed
   so that reloading cadences is idempotent and cadences
   can actually be reloaded.

chan_pjsip
------------------
 * added global config option "allow_sending_180_after_183"

   Allow Asterisk to send 180 Ringing to an endpoint
   after 183 Session Progress has been send.
   If disabled Asterisk will instead send only a
   183 Session Progress to the endpoint.

 * Hook flash events can now be sent on a PJSIP channel
   if requested to do so.

chan_sip
------------------
 * Session timers get removed on UPDATE
   Fix if Asterisk receives a SIP REFER with Session-Timers UAC
   that Asterisk maintains Session-Timers when sending UPDATE request

cli
------------------
 * A new CLI command 'dialplan eval function' has been
   added which allows users to test the behavior of
   dialplan function calls directly from the CLI.

func_db
------------------
 * The function DB_KEYCOUNT has been added, which
   returns the cardinality of the keys at a specified
   prefix in AstDB, i.e. the number of keys at a
   given prefix.

func_evalexten
------------------
 * This adds the EVAL_EXTEN function which may be
   used to evaluate data at dialplan extensions.

res_agi
------------------
 * Agi command 'exec' can now be enabled
   to evaluate dialplan functions and variables
   by setting the variable AGIEXECFULL to yes.

res_parking
------------------
 * An m option to Park and ParkAndAnnounce now allows
   specifying a music on hold class override.

stasis_channels
------------------
 * Expose channel driver's unique id (which is the Call-ID for SIP/PJSIP)
   to ARI channel resources as 'protocol_id'.

   ASTERISK-30027

------------------------------------------------------------------------------
--- Functionality changes from Asterisk 19.3.1 to Asterisk 19.3.2 ------------
------------------------------------------------------------------------------

func_odbc
------------------
 * A SQL_ESC_BACKSLASHES dialplan function has been added which
   escapes backslashes. Usage of this is dependent on whether the
   database in use can use backslashes to escape ticks or not. If
   it can, then usage of this prevents a broken SQL query depending
   on how the SQL query is constructed.

------------------------------------------------------------------------------
--- Functionality changes from Asterisk 19.2.0 to Asterisk 19.3.0 ------------
------------------------------------------------------------------------------

ami
------------------
 * AMI events can now be globally disabled using
   the disabledevents [general] setting.

app_mf
------------------
 * Adds an option to ReceiveMF to cap the
   number of digits read at a user-specified
   maximum.

app_queue
------------------
 * Load queues and members from Realtime for
   AMI actions: QueuePause, QueueStatus and QueueSummary,
   Applications: PauseQueueMember and UnpauseQueueMember.

 * Added a new AMI action: QueueWithdrawCaller
   This AMI action makes it possible to withdraw a caller from a queue
   back to the dialplan. The call will be signaled to leave the queue
   whenever it can, hence, it not guaranteed that the call will leave
   the queue.

   Optional custom data can be passed in the request, in the WithdrawInfo
   parameter. If the call successfully withdrawn the queue,
   it can be retrieved using the QUEUE_WITHDRAW_INFO variable.

   This can be useful for certain uses, such as dispatching the call
   to a specific extension.

channel_internal_api
------------------
 * CHANNEL(lastcontext) and CHANNEL(lastexten)
   are now available for use in the dialplan.

res_pjsip_pubsub
------------------
 * A new resource_list option, resource_display_name, indicates
   whether display name of resource or the resource name being
   provided for RLS entries.
   If this option is enabled, the Display Name will be provided.
   This option is disabled by default to remain the previous behavior.
   If the 'event' set to 'presence' or 'dialog' the non-empty HINT name
   will be set as the Display Name.
   The 'message-summary' is not supported yet.

 * The Resource List Subscriptions (RLS) is dynamic now.
   The asterisk now updates current subscriptions to reflect the changes
   to the list on subscription refresh. If list items are added,
   removed, updated or do not exist anymore, the asterisk regenerates
   the resource list.

------------------------------------------------------------------------------
--- Functionality changes from Asterisk 19.1.0 to Asterisk 19.2.0 ------------
------------------------------------------------------------------------------

Applications
------------------
 * added support for Danish syntax, playing the correct plural sound file
   dependen on where you have 1 or multipe messages
   based on the existing SE/NO code

 * added that we set DIALEDPEERNUMBER on the outgoing channels
   so it is avalible in b(content^extension^line)
   this add the same behaviour as Dial

Core
------------------
 * Bundled PJProject Build

   The build process has been updated to make pjproject troubleshooting
   and development easier. See third-party/pjproject/README-hacking.md or
   https://wiki.asterisk.org/wiki/display/AST/Bundled+PJProject
   for more info.

ami
------------------
 * An AMI event now exists for "Wink".

app_mf
------------------
 * Adds MF receiver and sender applications to support
   the R1 MF signaling protocol, including integration
   with the Dial application.

app_queue
------------------
 * added that we set DIALEDPEERNUMBER on the outgoing channels
   so it is avalible in b(content^extension^line)
   this add the same behaviour as Dial

app_queues
------------------
 * adding support for playing the correct en/et for nordic languages

 * Don't play sound_thanks if there is no leading hold_time message
   When the only announcement is hold time, and there is no hold time (0 min, 0 sec), asterisk will say "thank you for your patience"

app_sendtext
------------------
 * A ReceiveText application has been added that can be
   used in conjunction with the SendText application.

app_voicemail
------------------
 * added support for Danish syntax, playing the correct plural sound file
   dependen on where you have 1 or multipe messages
   based on the existing SE/NO code

cdr
------------------
 * A new CDR option, channeldefaultenabled, allows controlling
   whether CDR is enabled or disabled by default on
   newly created channels. The default behavior remains
   unchanged from previous versions of Asterisk (new
   channels will have CDR enabled, as long as CDR is
   enabled globally).

chan_sip.c
------------------
 * resolve issue with pickup on device that uses "183" and not "180"

cli
------------------
 * The "module refresh" command has been added,
   which allows unloading and then loading a
   module with a single command.

func_json
------------------
 * The JSON_DECODE dialplan function can now be used
   to parse JSON strings, such as in conjunction with
   CURL for using API responses.

res_fax_spandsp
------------------
 * Adds support for spandsp 3.0.0.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/comms/asterisk19/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/comms/asterisk19/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/comms/asterisk19/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/comms/asterisk19/options.mk
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/comms/asterisk19/patches/patch-apps_app__macro.c \
    pkgsrc/comms/asterisk19/patches/patch-build__tools_make__xml__documentation \
    pkgsrc/comms/asterisk19/patches/patch-channels_chan__mgcp.c \
    pkgsrc/comms/asterisk19/patches/patch-channels_chan__skinny.c \
    pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__celt.c \
    pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__h263.c \
    pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__ilbc.c \
    pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__opus.c \
    pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__silk.c \
    pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__siren14.c \
    pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__siren7.c \
    pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__vp8.c \
    pkgsrc/comms/asterisk19/patches/patch-res_res__monitor.c \
    pkgsrc/comms/asterisk19/patches/patch-res_res__mwi__external.c \
    pkgsrc/comms/asterisk19/patches/patch-res_res__pjsip__diversion.c \
    pkgsrc/comms/asterisk19/patches/patch-res_res__pjsip_pjsip__configuration.c \
    pkgsrc/comms/asterisk19/patches/patch-res_res__pktccops.c \
    pkgsrc/comms/asterisk19/patches/patch-third-party_pjproject_patches_0000-configure-ssl-library-path.patch
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/comms/asterisk19/patches/patch-channels_chan__sip.c \
    pkgsrc/comms/asterisk19/patches/patch-main_manager.c
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/comms/asterisk19/patches/patch-include_asterisk_sha1.h \
    pkgsrc/comms/asterisk19/patches/patch-res_res__calendar__caldav.c \
    pkgsrc/comms/asterisk19/patches/patch-res_res__calendar__icalendar.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/asterisk19/Makefile
diff -u pkgsrc/comms/asterisk19/Makefile:1.27 pkgsrc/comms/asterisk19/Makefile:1.28
--- pkgsrc/comms/asterisk19/Makefile:1.27       Sat Jun 22 00:39:23 2024
+++ pkgsrc/comms/asterisk19/Makefile    Mon Jul  8 05:03:01 2024
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.27 2024/06/22 00:39:23 gdt Exp $
+# $NetBSD: Makefile,v 1.28 2024/07/08 05:03:01 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
 #       Also look in ${WRKSRC}/third-party/versions.mak for pjproject
 
-DISTNAME=      asterisk-19.1.0
-PKGREVISION=   18
+DISTNAME=      asterisk-19.8.1
 CATEGORIES=    comms net audio
 MASTER_SITES=  https://downloads.asterisk.org/pub/telephony/asterisk/
 MASTER_SITES+= https://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
@@ -28,6 +27,8 @@ BROKEN_ON_PLATFORM=   NetBSD-*-i386
 
 CONFLICTS+=    asterisk-sounds-extra-[0-9]*
 
+MKPIE_SUPPORTED=       NO
+
 .include "../../mk/bsd.prefs.mk"
 
 USE_TOOLS+=            bison gmake perl:run pkg-config tar bash:run
@@ -191,13 +192,6 @@ SUBST_STAGE.pktinfo=       post-configure
 SUBST_FILES.pktinfo=   include/asterisk/autoconfig.h
 SUBST_SED.pktinfo=     -e "s|^\#define HAVE_PKTINFO 1|\#undef HAVE_PKTINFO|"
 
-# XXX gross hack, gethostbyname_r on NETBSD is for internal use only
-SUBST_CLASSES.NetBSD+=         gethostbyname_r
-SUBST_STAGE.gethostbyname_r=   post-configure
-SUBST_FILES.gethostbyname_r=   include/asterisk/autoconfig.h
-SUBST_SED.gethostbyname_r=     -e "s|^\#define HAVE_GETHOSTBYNAME_R_5 1|\#undef HAVE_GETHOSTBYNAME_R_5|"
-SUBST_SED.gethostbyname_r+=    -e "s|^\#define HAVE_GETHOSTBYNAME_R_6 1|\#undef HAVE_GETHOSTBYNAME_R_6|"
-
 RCD_SCRIPTS=           asterisk
 OWN_DIRS_PERMS+=       ${ASTDBDIR} ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
 OWN_DIRS_PERMS+=       ${ASTSPOOLDIR} ${ASTERISK_USER} ${ASTERISK_GROUP} 0755
@@ -228,9 +222,9 @@ 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 aeap.conf agents.conf alarmreceiver.conf        \
-       alsa.conf amd.conf app_mysql.conf app_skel.conf ari.conf        \
+       alsa.conf amd.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.conf cdr_adaptive_odbc.conf cdr_beanstalkd.conf cdr_custom.conf                     \
        cdr_manager.conf cdr_odbc.conf cdr_pgsql.conf                   \
        cdr_sqlite3_custom.conf cdr_tds.conf cel.conf                   \
        cel_beanstalkd.conf cel_custom.conf cel_odbc.conf               \
@@ -241,9 +235,9 @@ CONF_FILES_PERMS+=  ${ASTEXAMPLEDIR}/${f:
        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       \
+       geolocation.conf hep.conf http.conf iax.conf iaxprov.conf indications.conf      \
        logger.conf manager.conf meetme.conf mgcp.conf minivm.conf      \
-       modules.conf motif.conf musiconhold.conf muted.conf ooh323.conf \
+       modules.conf motif.conf musiconhold.conf ooh323.conf    \
        osp.conf phoneprov.conf pjproject.conf pjsip.conf               \
        pjsip_notify.conf pjsip_wizard.conf prometheus.conf             \
        queuerules.conf queues.conf res_config_mysql.conf               \
@@ -272,16 +266,16 @@ post-install:
        ${TAR} xzf ${WRKSRC}/sounds/asterisk-moh-opsound-wav-2.03.tar.gz -C ${DESTDIR}${ASTDATADIR}/moh
        ${TAR} xzf ${DISTDIR}/${DIST_SUBDIR}/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz -C ${DESTDIR}${ASTDATADIR}/sounds/en
        ${INSTALL_DATA} ${WRKSRC}/BUGS ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
-       ${INSTALL_DATA} ${WRKSRC}/CHANGES ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/CREDITS ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
-       ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/README-SERIOUSLY.bestpractices.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/UPGRADE.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/Zaptel-to-DAHDI.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
-       ${INSTALL_DATA} ${WRKSRC}/asterisk-19.1.0-summary.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+       ${INSTALL_DATA} ${WRKSRC}/ChangeLogs/ChangeLog-19.8.1.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+       ${INSTALL_DATA} ${WRKSRC}/ChangeLogs/historical/CHANGES ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+       ${INSTALL_DATA} ${WRKSRC}/ChangeLogs/historical/ChangeLog ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/doc/IAX2-security.pdf ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/doc/IAX2-security.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
        ${INSTALL_DATA} ${WRKSRC}/doc/README.txt ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
@@ -299,6 +293,7 @@ LDFLAGS+= -L${PREFIX}/lib
 .include "../../textproc/jansson/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
 .include "../../www/curl/buildlink3.mk"
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"

Index: pkgsrc/comms/asterisk19/PLIST
diff -u pkgsrc/comms/asterisk19/PLIST:1.3 pkgsrc/comms/asterisk19/PLIST:1.4
--- pkgsrc/comms/asterisk19/PLIST:1.3   Tue Nov 14 18:45:28 2023
+++ pkgsrc/comms/asterisk19/PLIST       Mon Jul  8 05:03:01 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2023/11/14 18:45:28 nia Exp $
+@comment $NetBSD: PLIST,v 1.4 2024/07/08 05:03:01 jnemeth Exp $
 lib/asterisk/libasteriskpj.so
 lib/asterisk/libasteriskpj.so.2
 lib/asterisk/modules/app_adsiprog.so
@@ -53,6 +53,7 @@ lib/asterisk/modules/app_reload.so
 lib/asterisk/modules/app_sayunixtime.so
 lib/asterisk/modules/app_senddtmf.so
 lib/asterisk/modules/app_sendtext.so
+lib/asterisk/modules/app_sf.so
 lib/asterisk/modules/app_sms.so
 lib/asterisk/modules/app_softhangup.so
 lib/asterisk/modules/app_speech_utils.so
@@ -143,6 +144,8 @@ lib/asterisk/modules/func_dialgroup.so
 lib/asterisk/modules/func_dialplan.so
 lib/asterisk/modules/func_enum.so
 lib/asterisk/modules/func_env.so
+lib/asterisk/modules/func_evalexten.so
+lib/asterisk/modules/func_export.so
 lib/asterisk/modules/func_extstate.so
 lib/asterisk/modules/func_frame_drop.so
 lib/asterisk/modules/func_frame_trace.so
@@ -152,6 +155,7 @@ lib/asterisk/modules/func_hangupcause.so
 lib/asterisk/modules/func_holdintercept.so
 lib/asterisk/modules/func_iconv.so
 lib/asterisk/modules/func_jitterbuffer.so
+lib/asterisk/modules/func_json.so
 lib/asterisk/modules/func_lock.so
 lib/asterisk/modules/func_logic.so
 lib/asterisk/modules/func_math.so
@@ -200,6 +204,7 @@ lib/asterisk/modules/res_ari_channels.so
 lib/asterisk/modules/res_ari_device_states.so
 lib/asterisk/modules/res_ari_endpoints.so
 lib/asterisk/modules/res_ari_events.so
+lib/asterisk/modules/res_ari_mailboxes.so
 lib/asterisk/modules/res_ari_model.so
 lib/asterisk/modules/res_ari_playbacks.so
 lib/asterisk/modules/res_ari_recordings.so
@@ -228,6 +233,7 @@ lib/asterisk/modules/res_format_attr_sil
 lib/asterisk/modules/res_format_attr_siren14.so
 lib/asterisk/modules/res_format_attr_siren7.so
 lib/asterisk/modules/res_format_attr_vp8.so
+lib/asterisk/modules/res_geolocation.so
 lib/asterisk/modules/res_hep.so
 lib/asterisk/modules/res_hep_pjsip.so
 lib/asterisk/modules/res_hep_rtcp.so
@@ -240,6 +246,8 @@ lib/asterisk/modules/res_monitor.so
 lib/asterisk/modules/res_musiconhold.so
 lib/asterisk/modules/res_mutestream.so
 lib/asterisk/modules/res_mwi_devstate.so
+lib/asterisk/modules/res_mwi_external.so
+lib/asterisk/modules/res_mwi_external_ami.so
 ${PLIST.unixodbc}lib/asterisk/modules/res_odbc.so
 ${PLIST.unixodbc}lib/asterisk/modules/res_odbc_transaction.so
 lib/asterisk/modules/res_parking.so
@@ -259,6 +267,7 @@ lib/asterisk/modules/res_pjsip_endpoint_
 lib/asterisk/modules/res_pjsip_endpoint_identifier_ip.so
 lib/asterisk/modules/res_pjsip_endpoint_identifier_user.so
 lib/asterisk/modules/res_pjsip_exten_state.so
+lib/asterisk/modules/res_pjsip_geolocation.so
 lib/asterisk/modules/res_pjsip_header_funcs.so
 lib/asterisk/modules/res_pjsip_history.so
 lib/asterisk/modules/res_pjsip_logger.so
@@ -281,6 +290,7 @@ lib/asterisk/modules/res_pjsip_pubsub.so
 lib/asterisk/modules/res_pjsip_refer.so
 lib/asterisk/modules/res_pjsip_registrar.so
 lib/asterisk/modules/res_pjsip_rfc3326.so
+lib/asterisk/modules/res_pjsip_rfc3329.so
 lib/asterisk/modules/res_pjsip_sdp_rtp.so
 lib/asterisk/modules/res_pjsip_send_to_voicemail.so
 lib/asterisk/modules/res_pjsip_session.so
@@ -303,10 +313,12 @@ lib/asterisk/modules/res_sorcery_memory.
 lib/asterisk/modules/res_sorcery_memory_cache.so
 lib/asterisk/modules/res_sorcery_realtime.so
 lib/asterisk/modules/res_speech.so
+lib/asterisk/modules/res_speech_aeap.so
 ${PLIST.srtp}lib/asterisk/modules/res_srtp.so
 lib/asterisk/modules/res_stasis.so
 lib/asterisk/modules/res_stasis_answer.so
 lib/asterisk/modules/res_stasis_device_state.so
+lib/asterisk/modules/res_stasis_mailbox.so
 lib/asterisk/modules/res_stasis_playback.so
 lib/asterisk/modules/res_stasis_recording.so
 lib/asterisk/modules/res_stasis_snoop.so
@@ -2312,6 +2324,7 @@ share/doc/asterisk/CHANGES
 share/doc/asterisk/COPYING
 share/doc/asterisk/CREDITS
 share/doc/asterisk/ChangeLog
+share/doc/asterisk/ChangeLog-19.8.1.md
 share/doc/asterisk/IAX2-security.pdf
 share/doc/asterisk/IAX2-security.txt
 share/doc/asterisk/LICENSE
@@ -2320,7 +2333,6 @@ share/doc/asterisk/README.md
 share/doc/asterisk/README.txt
 share/doc/asterisk/UPGRADE.txt
 share/doc/asterisk/Zaptel-to-DAHDI.txt
-share/doc/asterisk/asterisk-19.1.0-summary.txt
 share/examples/asterisk/acl.conf
 share/examples/asterisk/adsi.conf
 share/examples/asterisk/aeap.conf
@@ -2328,7 +2340,6 @@ share/examples/asterisk/agents.conf
 share/examples/asterisk/alarmreceiver.conf
 share/examples/asterisk/alsa.conf
 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
@@ -2375,6 +2386,7 @@ share/examples/asterisk/features.conf
 share/examples/asterisk/festival.conf
 share/examples/asterisk/followme.conf
 share/examples/asterisk/func_odbc.conf
+share/examples/asterisk/geolocation.conf
 share/examples/asterisk/hep.conf
 share/examples/asterisk/http.conf
 share/examples/asterisk/iax.conf
@@ -2388,7 +2400,6 @@ share/examples/asterisk/minivm.conf
 share/examples/asterisk/modules.conf
 share/examples/asterisk/motif.conf
 share/examples/asterisk/musiconhold.conf
-share/examples/asterisk/muted.conf
 share/examples/asterisk/ooh323.conf
 share/examples/asterisk/osp.conf
 share/examples/asterisk/phoneprov.conf

Index: pkgsrc/comms/asterisk19/distinfo
diff -u pkgsrc/comms/asterisk19/distinfo:1.2 pkgsrc/comms/asterisk19/distinfo:1.3
--- pkgsrc/comms/asterisk19/distinfo:1.2        Sun Dec 19 00:39:11 2021
+++ pkgsrc/comms/asterisk19/distinfo    Mon Jul  8 05:03:01 2024
@@ -1,17 +1,17 @@
-$NetBSD: distinfo,v 1.2 2021/12/19 00:39:11 jnemeth Exp $
+$NetBSD: distinfo,v 1.3 2024/07/08 05:03:01 jnemeth Exp $
 
-BLAKE2s (asterisk-19.1.0/asterisk-19.1.0.tar.gz) = 529c086184ff2ffdacfa8d1a671e03baddfa7c9a522fb97b087e20db9309031b
-SHA512 (asterisk-19.1.0/asterisk-19.1.0.tar.gz) = db86eb8df8c1f093b90d90ae7165679b869ed3352c226325b9ffdd098a7352443b00ad7d3407a47a62e101ff9ff263dbd0c79459e6d42e95ccfb4419518b6f80
-Size (asterisk-19.1.0/asterisk-19.1.0.tar.gz) = 27804257 bytes
-BLAKE2s (asterisk-19.1.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f7e5fe212d7e7cdca14c52527a2552311ab7762c3f1464b09ddedc7c66aebde
-SHA512 (asterisk-19.1.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f2f7bf3d5bce3544bc013f913c352f0204a3ce96239987403eb9dce8bc87e64a61d437762323a422a87b2fad1f3bf3e7a5f3d0d340f912a1b1dbfea9479d41d
-Size (asterisk-19.1.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 4253587 bytes
-BLAKE2s (asterisk-19.1.0/pjproject-2.10.md5) = 6739f51daf24d0567304f773bd49648c1be3a7a4a33c0f3353279fb349168e7e
-SHA512 (asterisk-19.1.0/pjproject-2.10.md5) = bd24048c9c2fdaf06468e44bceca92bd02848d759ef98285d20b50174f865b1aec2928f1ce6c092862397ba83dd1a74da4a7e479eca881df1e9f9d1c211a7054
-Size (asterisk-19.1.0/pjproject-2.10.md5) = 110 bytes
-BLAKE2s (asterisk-19.1.0/pjproject-2.10.tar.bz2) = fac6400fa94cde09a848314b754062364c021e8c13d3fe28493634d4415959f7
-SHA512 (asterisk-19.1.0/pjproject-2.10.tar.bz2) = fe29edccc63a8e72323e1b6f955a8c3475e26aba9cb8f5125546da4409fecc19a09a7950eee6b8e4a3c908943bc043d95130f878ad52958c5eccc617e3bcfb4e
-Size (asterisk-19.1.0/pjproject-2.10.tar.bz2) = 7339188 bytes
+BLAKE2s (asterisk-19.8.1/asterisk-19.8.1.tar.gz) = f364feff8ef0d9cc0efe33ff45327c3875e5b6e450ef7e0bdb0b8a98289adcb7
+SHA512 (asterisk-19.8.1/asterisk-19.8.1.tar.gz) = cad372034d6e6e76e223aa641b9068294cc2411a7c63241812954cc8989559d7c78f50eafcdeddf1da7c6f385ae3e5e5398ea547b4f4ffa36718cca5d76120b3
+Size (asterisk-19.8.1/asterisk-19.8.1.tar.gz) = 28103942 bytes
+BLAKE2s (asterisk-19.8.1/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f7e5fe212d7e7cdca14c52527a2552311ab7762c3f1464b09ddedc7c66aebde
+SHA512 (asterisk-19.8.1/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f2f7bf3d5bce3544bc013f913c352f0204a3ce96239987403eb9dce8bc87e64a61d437762323a422a87b2fad1f3bf3e7a5f3d0d340f912a1b1dbfea9479d41d
+Size (asterisk-19.8.1/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 4253587 bytes
+BLAKE2s (asterisk-19.8.1/pjproject-2.10.md5) = 6739f51daf24d0567304f773bd49648c1be3a7a4a33c0f3353279fb349168e7e
+SHA512 (asterisk-19.8.1/pjproject-2.10.md5) = bd24048c9c2fdaf06468e44bceca92bd02848d759ef98285d20b50174f865b1aec2928f1ce6c092862397ba83dd1a74da4a7e479eca881df1e9f9d1c211a7054
+Size (asterisk-19.8.1/pjproject-2.10.md5) = 110 bytes
+BLAKE2s (asterisk-19.8.1/pjproject-2.10.tar.bz2) = fac6400fa94cde09a848314b754062364c021e8c13d3fe28493634d4415959f7
+SHA512 (asterisk-19.8.1/pjproject-2.10.tar.bz2) = fe29edccc63a8e72323e1b6f955a8c3475e26aba9cb8f5125546da4409fecc19a09a7950eee6b8e4a3c908943bc043d95130f878ad52958c5eccc617e3bcfb4e
+Size (asterisk-19.8.1/pjproject-2.10.tar.bz2) = 7339188 bytes
 SHA1 (patch-Makefile) = 5cf3b6937ec23a82e4d056b91e493a36bc1089b9
 SHA1 (patch-addons_chan__ooh323.c) = 1775da7ca2129a962ed460bd1e78ba3ce6afa62c
 SHA1 (patch-apps_app__adsiprog.c) = 031139e5cd1ef6bb2afb0a74fee3d752eded0a2c
@@ -19,15 +19,19 @@ SHA1 (patch-apps_app__chanspy.c) = 29a80
 SHA1 (patch-apps_app__directory.c) = 889a78123033709d28b0b805f2a379242ccd7dcc
 SHA1 (patch-apps_app__dumpchan.c) = 127ac02bdc180ad2334cd095aa6e646feb6fba10
 SHA1 (patch-apps_app__followme.c) = c6a5790b5e9b34d07dbfdd66a58e2854c8c72695
+SHA1 (patch-apps_app__macro.c) = 53cd917a1aca7a82859d17e5b0c3af809549c6d2
 SHA1 (patch-apps_app__minivm.c) = 22ee6ebfbe205baf0acf46ab16c94fea1750f2fb
 SHA1 (patch-apps_app__queue.c) = fdf7cf202b60e24cd9227f7e461bbd541565d602
 SHA1 (patch-apps_app__sms.c) = ad65b3cb2a30489551101f7534c691cd1155d18f
 SHA1 (patch-apps_app__voicemail.c) = bee10453a86039a99db9df644585800f347aaace
+SHA1 (patch-build__tools_make__xml__documentation) = b909cac9a847e8d0a0c30d9ee97d6d8de5f43a12
 SHA1 (patch-build__tools_mkpkgconfig) = 7fab8fcf46d9f8a3b98455674fec6307ec472b23
 SHA1 (patch-cdr_cdr__pgsql.c) = 82b002a1f5ed3b7361a98e2bffb5cea8833949b8
 SHA1 (patch-cel_cel__pgsql.c) = b280efab2b035ce60be268bac9bc8824910b2b8f
+SHA1 (patch-channels_chan__mgcp.c) = aef795e3393dd9878bdb99bac462f9ecb79e211d
 SHA1 (patch-channels_chan__pjsip.c) = efd4cbb82133fc5ddf7de70d01c99e185c585211
-SHA1 (patch-channels_chan__sip.c) = ed285612eae6cbfde19ded87db9360c0bca153c7
+SHA1 (patch-channels_chan__sip.c) = e4dd59b9f93dff1cf415f46bcd16a9822de9a4f7
+SHA1 (patch-channels_chan__skinny.c) = 254c6539c79127706eb84fcd4a80d51962c743aa
 SHA1 (patch-channels_pjsip_cli__commands.c) = 01baa9d242e3af02a1f3540cfb3064ad68c71d67
 SHA1 (patch-channels_pjsip_dialplan__functions.c) = 2cf8199c4ec9d4894eb922c2703d49ecc06188ef
 SHA1 (patch-configure) = 14b4817975a10cded7618e3a493a32088a82283d
@@ -42,7 +46,6 @@ SHA1 (patch-funcs_func__pjsip__endpoint.
 SHA1 (patch-funcs_func__strings.c) = 08d313add57c5be822a19311fc70a7555bd63877
 SHA1 (patch-include_asterisk_autoconfig.h.in) = 23807b08b94f5cf9c2de76c2928f7ae38997d006
 SHA1 (patch-include_asterisk_lock.h) = 85418bcd20f3ed7eb0310f46f3b2d334980bdcef
-SHA1 (patch-include_asterisk_sha1.h) = 9b233ef82b50b8d94177616e1382991656ce1ebf
 SHA1 (patch-include_asterisk_strings.h) = 9ace78a13131bcb411eda79a98264b5cfcc7789c
 SHA1 (patch-main_Makefile) = e3b5d261fd15ffd23d81060ff3aafba6b0300e7c
 SHA1 (patch-main_acl.c) = 06a9d247b19d648e9ff54ac2a234dc8ac8c023bb
@@ -64,7 +67,7 @@ SHA1 (patch-main_features.c) = 6e50ea4c6
 SHA1 (patch-main_http.c) = b36f1f3f0da25456a17888d34ea2bf7b61c1acf4
 SHA1 (patch-main_indications.c) = 511b4c270e4a4a71517109f959121777caf2aa36
 SHA1 (patch-main_logger.c) = 321a52b3015af85ea13055953cec5a5d9da05ec8
-SHA1 (patch-main_manager.c) = cb87e72e630a5f192b614d203a8cd81190ba1424
+SHA1 (patch-main_manager.c) = 9a9911f591e0de4bc9bfc821317655a1f85c5eb6
 SHA1 (patch-main_pbx.c) = 8e7ced268edb29238f96418e8b21456364c4ae1f
 SHA1 (patch-main_pbx__builtins.c) = f53aadc04fd489f6725911537007af4f4076ee56
 SHA1 (patch-main_pbx__timing.c) = a4657330086c5b0e8fd271d5676fb897badea452
@@ -79,16 +82,28 @@ SHA1 (patch-pbx_pbx__config.c) = cc5e6d2
 SHA1 (patch-pbx_pbx__dundi.c) = 1bc28ff2412da569f139f245c5223845a2f6cebe
 SHA1 (patch-res_ael_pval.c) = 8a238c78403d3098bf8be8ae266162bc05e586f3
 SHA1 (patch-res_res__calendar.c) = 45211a3baf8fbd8b201ba0167f8c56fb35728c4a
-SHA1 (patch-res_res__calendar__caldav.c) = afe2f4806dd57148dde11baeefaa7897fce4d485
-SHA1 (patch-res_res__calendar__icalendar.c) = ed34b7147d8834ebadac9b1b8488a4c645f90a5b
+SHA1 (patch-res_res__format__attr__celt.c) = 81d5300b9a2b33e733e30760e2c9858c87b3e554
+SHA1 (patch-res_res__format__attr__h263.c) = 4438d544ee028404e407d5ee3229c8f3536135f5
+SHA1 (patch-res_res__format__attr__ilbc.c) = f7ff1692eae46b7950665f58317f6e39607dcc01
+SHA1 (patch-res_res__format__attr__opus.c) = ba1012f111a7a996f85bbc09fec81569d2179888
+SHA1 (patch-res_res__format__attr__silk.c) = d94370f9b09c917f4d68ebfbcc995c1bef1ed675
+SHA1 (patch-res_res__format__attr__siren14.c) = 41e997886ca9f554e46f3af36e07e3aea984dd47
+SHA1 (patch-res_res__format__attr__siren7.c) = e20e288781d0530049d127731edb8d309049077d
+SHA1 (patch-res_res__format__attr__vp8.c) = 6257e281c0a29dfd3ef2613bfa5be172d399d2e0
 SHA1 (patch-res_res__hep__pjsip.c) = b0c8fed52451ec31a2c77d4abd28640631bb708c
 SHA1 (patch-res_res__limit.c) = e80f370fe5b84dcdc2f38e2137d5ed6f75ba35a4
+SHA1 (patch-res_res__monitor.c) = 932054aeeb0ef267183304d9d9e18553b70deeac
 SHA1 (patch-res_res__musiconhold.c) = 401999cefa3805f63df33424c635ad18a7d00748
+SHA1 (patch-res_res__mwi__external.c) = 6e173db3974eca8b8c47133870aa8c88bae1d84e
 SHA1 (patch-res_res__pjproject.c) = 0326bf12d9f798c8eae2eff4fad8b86d4bbc0589
+SHA1 (patch-res_res__pjsip__diversion.c) = b7996a43b4af395392161f75319ab499ceda7f09
+SHA1 (patch-res_res__pjsip_pjsip__configuration.c) = 7a9f2c293ad5c8d05df5cc9b304473859ee09d6f
+SHA1 (patch-res_res__pktccops.c) = 3da6b1c3e16d0b03a21a3071b3985bbcd6d7f4f8
 SHA1 (patch-res_res__xmpp.c) = 390376180d1fb11a41c16f59dd44f506006a8e5d
 SHA1 (patch-sounds_Makefile) = acc15088ae2545f2822246466bfe783b5215fc54
 SHA1 (patch-tests_test__locale.c) = f3f1edc86356f2a7b4d3493433c772e164c77f66
 SHA1 (patch-tests_test__voicemail__api.c) = c600f726136581e47cf34da2c0bb485b8a5912eb
+SHA1 (patch-third-party_pjproject_patches_0000-configure-ssl-library-path.patch) = 101c7ed835a4c7e465d80cb914420318cacc0567
 SHA1 (patch-utils_Makefile) = 30e22c5d5d740c5531d657f91f7b51fa477d8a74
 SHA1 (patch-utils_db1-ast_include_db.h) = 03b43353b7967f999ace3eb160828c530e2e8fae
 SHA1 (patch-utils_extconf.c) = f35d079c4801fe20132ff52d63d951d9e1658902

Index: pkgsrc/comms/asterisk19/options.mk
diff -u pkgsrc/comms/asterisk19/options.mk:1.1 pkgsrc/comms/asterisk19/options.mk:1.2
--- pkgsrc/comms/asterisk19/options.mk:1.1      Sun Nov 14 02:30:21 2021
+++ pkgsrc/comms/asterisk19/options.mk  Mon Jul  8 05:03:01 2024
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2021/11/14 02:30:21 jnemeth Exp $
+# $NetBSD: options.mk,v 1.2 2024/07/08 05:03:01 jnemeth Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.asterisk
 PKG_SUPPORTED_OPTIONS=         x11 unixodbc ilbc webvmail ldap spandsp
@@ -62,15 +62,8 @@ post-configure:
 .if !empty(PKG_OPTIONS:Munixodbc)
        ${ECHO} "MENUSELECT_APPS=app_voicemail_odbc" >> ${WRKSRC}/pkgsrc.makeopts
 .endif
-.if defined(PLIST.mgcp)
-       ${ECHO} "MENUSELECT_RES=-res_pktccops" >> ${WRKSRC}/pkgsrc.makeopts
-       ${ECHO} "MENUSELECT_CHANNELS=-chan_mgcp" >> ${WRKSRC}/pkgsrc.makeopts
-.endif
        ${ECHO} "MENUSELECT_AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi" >> ${WRKSRC}/pkgsrc.makeopts
-       ${ECHO} "MENUSELECT_APPS=-app_macro" >> ${WRKSRC}/pkgsrc.makeopts
-       ${ECHO} "MENUSELECT_RES=-res_monitor" >> ${WRKSRC}/pkgsrc.makeopts
        ${ECHO} "MENUSELECT_CFLAGS=-BUILD_NATIVE" >> ${WRKSRC}/pkgsrc.makeopts
-       ${ECHO} "MENUSELECT_CHANNELS=-chan_sip -chan_skinny" >> ${WRKSRC}/pkgsrc.makeopts
        # this is a hack to work around a bug in menuselect
        cd ${WRKSRC} && make menuselect.makeopts
 

Index: pkgsrc/comms/asterisk19/patches/patch-channels_chan__sip.c
diff -u pkgsrc/comms/asterisk19/patches/patch-channels_chan__sip.c:1.1 pkgsrc/comms/asterisk19/patches/patch-channels_chan__sip.c:1.2
--- pkgsrc/comms/asterisk19/patches/patch-channels_chan__sip.c:1.1      Sun Nov 14 02:30:21 2021
+++ pkgsrc/comms/asterisk19/patches/patch-channels_chan__sip.c  Mon Jul  8 05:03:01 2024
@@ -1,8 +1,16 @@
-$NetBSD: patch-channels_chan__sip.c,v 1.1 2021/11/14 02:30:21 jnemeth Exp $
+$NetBSD: patch-channels_chan__sip.c,v 1.2 2024/07/08 05:03:01 jnemeth Exp $
 
---- channels/chan_sip.c.orig   2018-05-01 20:12:26.000000000 +0000
+--- channels/chan_sip.c.orig   2023-07-07 19:07:43.000000000 +0000
 +++ channels/chan_sip.c
-@@ -2411,7 +2411,7 @@ static int sip_is_token(const char *str)
+@@ -176,7 +176,6 @@
+ /*** MODULEINFO
+       <use type="module">res_crypto</use>
+       <use type="module">res_http_websocket</use>
+-      <defaultenabled>no</defaultenabled>
+       <support_level>deprecated</support_level>
+       <replacement>chan_pjsip</replacement>
+       <deprecated_in>17</deprecated_in>
+@@ -2464,7 +2463,7 @@ static int sip_is_token(const char *str)
  
        is_token = 1;
        do {
@@ -11,7 +19,7 @@ $NetBSD: patch-channels_chan__sip.c,v 1.
                        && !strchr("-.!%*_+`'~", *str)) {
                        /* The character is not allowed in a token. */
                        is_token = 0;
-@@ -11624,7 +11624,7 @@ static int process_sdp_a_image(const cha
+@@ -11768,7 +11767,7 @@ static int process_sdp_a_image(const cha
         * code reviews).
         */
        for (pos = attrib; *pos; ++pos) {
@@ -20,7 +28,7 @@ $NetBSD: patch-channels_chan__sip.c,v 1.
        }
  
        if ((sscanf(attrib, "t38faxmaxbuffer:%30u", &x) == 1)) {
-@@ -20014,7 +20014,7 @@ static int manager_show_registry(struct 
+@@ -20216,7 +20215,7 @@ static int manager_show_registry(struct 
                        "DomainPort: %d\r\n"
                        "Refresh: %d\r\n"
                        "State: %s\r\n"
@@ -29,7 +37,7 @@ $NetBSD: patch-channels_chan__sip.c,v 1.
                        "\r\n",
                        idtext,
                        iterator->hostname,
-@@ -20024,7 +20024,7 @@ static int manager_show_registry(struct 
+@@ -20226,7 +20225,7 @@ static int manager_show_registry(struct 
                        iterator->regdomainport ? iterator->regdomainport : STANDARD_SIP_PORT,
                        iterator->refresh,
                        regstate2str(iterator->regstate),
Index: pkgsrc/comms/asterisk19/patches/patch-main_manager.c
diff -u pkgsrc/comms/asterisk19/patches/patch-main_manager.c:1.1 pkgsrc/comms/asterisk19/patches/patch-main_manager.c:1.2
--- pkgsrc/comms/asterisk19/patches/patch-main_manager.c:1.1    Sun Nov 14 02:30:21 2021
+++ pkgsrc/comms/asterisk19/patches/patch-main_manager.c        Mon Jul  8 05:03:01 2024
@@ -1,8 +1,8 @@
-$NetBSD: patch-main_manager.c,v 1.1 2021/11/14 02:30:21 jnemeth Exp $
+$NetBSD: patch-main_manager.c,v 1.2 2024/07/08 05:03:01 jnemeth Exp $
 
---- main/manager.c.orig        2018-05-01 20:12:26.000000000 +0000
+--- main/manager.c.orig        2022-04-14 22:16:42.000000000 +0000
 +++ main/manager.c
-@@ -2639,7 +2639,7 @@ static char *handle_showmanconn(struct a
+@@ -2659,7 +2659,7 @@ static char *handle_showmanconn(struct a
        struct mansession_session *session;
        time_t now = time(NULL);
  #define HSMCONN_FORMAT1 "  %-15.15s  %-55.55s  %-10.10s  %-10.10s  %-8.8s  %-8.8s  %-5.5s  %-5.5s\n"
@@ -11,7 +11,7 @@ $NetBSD: patch-main_manager.c,v 1.1 2021
        int count = 0;
        struct ao2_iterator i;
  
-@@ -2665,8 +2665,8 @@ static char *handle_showmanconn(struct a
+@@ -2685,8 +2685,8 @@ static char *handle_showmanconn(struct a
                        ao2_lock(session);
                        ast_cli(a->fd, HSMCONN_FORMAT2, session->username,
                                ast_sockaddr_stringify_addr(&session->addr),
@@ -22,7 +22,7 @@ $NetBSD: patch-main_manager.c,v 1.1 2021
                                session->stream ? ast_iostream_get_fd(session->stream) : -1,
                                session->inuse,
                                session->readperm,
-@@ -3510,9 +3510,9 @@ static int action_ping(struct mansession
+@@ -3612,9 +3612,9 @@ static int action_ping(struct mansession
        astman_append(
                s,
                "Ping: Pong\r\n"
@@ -34,7 +34,7 @@ $NetBSD: patch-main_manager.c,v 1.1 2021
        return 0;
  }
  
-@@ -4621,7 +4621,7 @@ static void generate_status(struct manse
+@@ -4733,7 +4733,7 @@ static void generate_status(struct manse
                "DNID: %s\r\n"
                "EffectiveConnectedLineNum: %s\r\n"
                "EffectiveConnectedLineName: %s\r\n"
@@ -43,7 +43,7 @@ $NetBSD: patch-main_manager.c,v 1.1 2021
                "BridgeID: %s\r\n"
                "Application: %s\r\n"
                "Data: %s\r\n"
-@@ -4641,7 +4641,7 @@ static void generate_status(struct manse
+@@ -4753,7 +4753,7 @@ static void generate_status(struct manse
                S_OR(ast_channel_dialed(chan)->number.str, ""),
                S_COR(effective_id.number.valid, effective_id.number.str, "<unknown>"),
                S_COR(effective_id.name.valid, effective_id.name.str, "<unknown>"),
@@ -52,7 +52,7 @@ $NetBSD: patch-main_manager.c,v 1.1 2021
                bridge ? bridge->uniqueid : "",
                ast_channel_appl(chan),
                ast_channel_data(chan),
-@@ -6920,8 +6920,8 @@ static int __attribute__((format(printf,
+@@ -7136,8 +7136,8 @@ static int __attribute__((format(printf,
        if (timestampevents) {
                now = ast_tvnow();
                ast_str_append(&buf, 0,
@@ -63,16 +63,23 @@ $NetBSD: patch-main_manager.c,v 1.1 2021
        }
        if (manager_debug) {
                static int seq;
-@@ -7433,7 +7433,7 @@ static void xml_copy_escape(struct ast_s
-                       }
+@@ -7658,13 +7658,13 @@ static void xml_copy_escape(struct ast_s
                }
  
--              if ( (mode & 2) && !isalnum(*src)) {
-+              if ( (mode & 2) && !isalnum((unsigned char)*src)) {
-                       *dst++ = '_';
-                       space--;
-                       continue;
-@@ -7466,7 +7466,7 @@ static void xml_copy_escape(struct ast_s
+               if (mode & 2) {
+-                      if (save == src && isdigit(*src)) {
++                      if (save == src && isdigit((unsigned char)*src)) {
+                               /* The first character of an XML attribute cannot be a digit */
+                               *dst++ = '_';
+                               *dst++ = *src;
+                               space -= 2;
+                               continue;
+-                      } else if (!isalnum(*src)) {
++                      } else if (!isalnum((unsigned char)*src)) {
+                               /* Replace non-alphanumeric with an underscore */
+                               *dst++ = '_';
+                               space--;
+@@ -7699,7 +7699,7 @@ static void xml_copy_escape(struct ast_s
                        break;
  
                default:

Added files:

Index: pkgsrc/comms/asterisk19/patches/patch-apps_app__macro.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-apps_app__macro.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-apps_app__macro.c     Mon Jul  8 05:03:01 2024
@@ -0,0 +1,12 @@
+$NetBSD: patch-apps_app__macro.c,v 1.1 2024/07/08 05:03:01 jnemeth Exp $
+
+--- apps/app_macro.c.orig      2024-06-24 04:57:51.676510464 +0000
++++ apps/app_macro.c
+@@ -26,7 +26,6 @@
+  */
+ 
+ /*** MODULEINFO
+-      <defaultenabled>no</defaultenabled>
+       <support_level>deprecated</support_level>
+       <replacement>app_stack (GoSub)</replacement>
+       <deprecated_in>16</deprecated_in>
Index: pkgsrc/comms/asterisk19/patches/patch-build__tools_make__xml__documentation
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-build__tools_make__xml__documentation:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-build__tools_make__xml__documentation Mon Jul  8 05:03:01 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-build__tools_make__xml__documentation,v 1.1 2024/07/08 05:03:01 jnemeth Exp $
+
+--- build_tools/make_xml_documentation.orig    2022-04-14 22:16:42.000000000 +0000
++++ build_tools/make_xml_documentation
+@@ -214,7 +214,7 @@ for subdir in ${mod_subdirs} ; do
+                                       ${XMLSTARLET} val -e -d "${source_tree}/doc/appdocsxml.dtd" "${i}" || { echo "" ; exit 1 ; }
+                       fi
+               fi
+-              ${SED} -r "/^\s*(<[?]xml|<.DOCTYPE|<.?docs)/d" "${i}" >> "${output_file}"
++              ${SED} -r "/^\[[:space:]](<[?]xml|<.DOCTYPE|<.?docs)/d" "${i}" >> "${output_file}"
+       done
+ done
+ echo "</docs>" >> "${output_file}"
Index: pkgsrc/comms/asterisk19/patches/patch-channels_chan__mgcp.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-channels_chan__mgcp.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-channels_chan__mgcp.c Mon Jul  8 05:03:01 2024
@@ -0,0 +1,12 @@
+$NetBSD: patch-channels_chan__mgcp.c,v 1.1 2024/07/08 05:03:01 jnemeth Exp $
+
+--- channels/chan_mgcp.c.orig  2024-06-24 04:59:20.335176364 +0000
++++ channels/chan_mgcp.c
+@@ -35,7 +35,6 @@
+ 
+ /*** MODULEINFO
+         <use type="module">res_pktccops</use>
+-      <defaultenabled>no</defaultenabled>
+       <support_level>deprecated</support_level>
+       <deprecated_in>19</deprecated_in>
+       <removed_in>21</removed_in>
Index: pkgsrc/comms/asterisk19/patches/patch-channels_chan__skinny.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-channels_chan__skinny.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-channels_chan__skinny.c       Mon Jul  8 05:03:01 2024
@@ -0,0 +1,12 @@
+$NetBSD: patch-channels_chan__skinny.c,v 1.1 2024/07/08 05:03:01 jnemeth Exp $
+
+--- channels/chan_skinny.c.orig        2024-06-24 05:00:21.935786725 +0000
++++ channels/chan_skinny.c
+@@ -34,7 +34,6 @@
+  */
+ 
+ /*** MODULEINFO
+-      <defaultenabled>no</defaultenabled>
+       <support_level>deprecated</support_level>
+       <deprecated_in>19</deprecated_in>
+       <removed_in>21</removed_in>
Index: pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__celt.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__celt.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__celt.c Mon Jul  8 05:03:01 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-res_res__format__attr__celt.c,v 1.1 2024/07/08 05:03:01 jnemeth Exp $
+
+--- res/res_format_attr_celt.c.orig    2022-04-14 22:16:42.000000000 +0000
++++ res/res_format_attr_celt.c
+@@ -89,7 +89,7 @@ static struct ast_format *celt_parse_sdp
+ 
+       /* lower-case everything, so we are case-insensitive */
+       for (attrib = attribs; *attrib; ++attrib) {
+-              *attrib = tolower(*attrib);
++              *attrib = tolower((unsigned char)*attrib);
+       } /* based on channels/chan_sip.c:process_a_sdp_image() */
+ 
+       if (sscanf(attribs, "framesize=%30u", &val) == 1) {
Index: pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__h263.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__h263.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__h263.c Mon Jul  8 05:03:01 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-res_res__format__attr__h263.c,v 1.1 2024/07/08 05:03:01 jnemeth Exp $
+
+--- res/res_format_attr_h263.c.orig    2022-04-14 22:16:42.000000000 +0000
++++ res/res_format_attr_h263.c
+@@ -180,7 +180,7 @@ static struct ast_format *h263_parse_sdp
+ 
+       /* upper-case everything, so we are case-insensitive */
+       for (attrib = attribs; *attrib; ++attrib) {
+-              *attrib = toupper(*attrib);
++              *attrib = toupper((unsigned char)*attrib);
+       } /* based on channels/chan_sip.c:process_a_sdp_image() */
+ 
+       attr->BPP = H263_ATTR_KEY_UNSET;
Index: pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__ilbc.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__ilbc.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__ilbc.c Mon Jul  8 05:03:01 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-res_res__format__attr__ilbc.c,v 1.1 2024/07/08 05:03:01 jnemeth Exp $
+
+--- res/res_format_attr_ilbc.c.orig    2022-04-14 22:16:42.000000000 +0000
++++ res/res_format_attr_ilbc.c
+@@ -87,7 +87,7 @@ static struct ast_format *ilbc_parse_sdp
+ 
+       /* lower-case everything, so we are case-insensitive */
+       for (attrib = attribs; *attrib; ++attrib) {
+-              *attrib = tolower(*attrib);
++              *attrib = tolower((unsigned char)*attrib);
+       } /* based on channels/chan_sip.c:process_a_sdp_image() */
+ 
+       if ((kvp = strstr(attribs, "mode")) && sscanf(kvp, "mode=%30u", &val) == 1) {
Index: pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__opus.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__opus.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__opus.c Mon Jul  8 05:03:02 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-res_res__format__attr__opus.c,v 1.1 2024/07/08 05:03:02 jnemeth Exp $
+
+--- res/res_format_attr_opus.c.orig    2022-04-14 22:16:42.000000000 +0000
++++ res/res_format_attr_opus.c
+@@ -151,7 +151,7 @@ static struct ast_format *opus_parse_sdp
+ 
+       /* lower-case everything, so we are case-insensitive */
+       for (attrib = attribs; *attrib; ++attrib) {
+-              *attrib = tolower(*attrib);
++              *attrib = tolower((unsigned char)*attrib);
+       } /* based on channels/chan_sip.c:process_a_sdp_image() */
+ 
+       sdp_fmtp_get(attribs, CODEC_OPUS_ATTR_MAX_PLAYBACK_RATE, &attr->maxplayrate);
Index: pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__silk.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__silk.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__silk.c Mon Jul  8 05:03:02 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-res_res__format__attr__silk.c,v 1.1 2024/07/08 05:03:02 jnemeth Exp $
+
+--- res/res_format_attr_silk.c.orig    2022-04-14 22:16:42.000000000 +0000
++++ res/res_format_attr_silk.c
+@@ -96,7 +96,7 @@ static struct ast_format *silk_parse_sdp
+ 
+       /* lower-case everything, so we are case-insensitive */
+       for (attrib = attribs; *attrib; ++attrib) {
+-              *attrib = tolower(*attrib);
++              *attrib = tolower((unsigned char)*attrib);
+       } /* based on channels/chan_sip.c:process_a_sdp_image() */
+ 
+       if (sscanf(attribs, "maxaveragebitrate=%30u", &val) == 1) {
Index: pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__siren14.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__siren14.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__siren14.c      Mon Jul  8 05:03:02 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-res_res__format__attr__siren14.c,v 1.1 2024/07/08 05:03:02 jnemeth Exp $
+
+--- res/res_format_attr_siren14.c.orig 2022-04-14 22:16:42.000000000 +0000
++++ res/res_format_attr_siren14.c
+@@ -55,7 +55,7 @@ static struct ast_format *siren14_parse_
+ 
+       /* lower-case everything, so we are case-insensitive */
+       for (attrib = attribs; *attrib; ++attrib) {
+-              *attrib = tolower(*attrib);
++              *attrib = tolower((unsigned char)*attrib);
+       } /* based on channels/chan_sip.c:process_a_sdp_image() */
+ 
+       if (sscanf(attribs, "bitrate=%30u", &val) == 1) {
Index: pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__siren7.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__siren7.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__siren7.c       Mon Jul  8 05:03:02 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-res_res__format__attr__siren7.c,v 1.1 2024/07/08 05:03:02 jnemeth Exp $
+
+--- res/res_format_attr_siren7.c.orig  2022-04-14 22:16:42.000000000 +0000
++++ res/res_format_attr_siren7.c
+@@ -55,7 +55,7 @@ static struct ast_format *siren7_parse_s
+ 
+       /* lower-case everything, so we are case-insensitive */
+       for (attrib = attribs; *attrib; ++attrib) {
+-              *attrib = tolower(*attrib);
++              *attrib = tolower((unsigned char)*attrib);
+       } /* based on channels/chan_sip.c:process_a_sdp_image() */
+ 
+       if (sscanf(attribs, "bitrate=%30u", &val) == 1) {
Index: pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__vp8.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__vp8.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-res_res__format__attr__vp8.c  Mon Jul  8 05:03:02 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-res_res__format__attr__vp8.c,v 1.1 2024/07/08 05:03:02 jnemeth Exp $
+
+--- res/res_format_attr_vp8.c.orig     2022-04-14 22:16:42.000000000 +0000
++++ res/res_format_attr_vp8.c
+@@ -92,7 +92,7 @@ static struct ast_format *vp8_parse_sdp_
+ 
+       /* lower-case everything, so we are case-insensitive */
+       for (attrib = attribs; *attrib; ++attrib) {
+-              *attrib = tolower(*attrib);
++              *attrib = tolower((unsigned char)*attrib);
+       } /* based on channels/chan_sip.c:process_a_sdp_image() */
+ 
+       if ((kvp = strstr(attribs, "max-fr")) && sscanf(kvp, "max-fr=%30u", &val) == 1) {
Index: pkgsrc/comms/asterisk19/patches/patch-res_res__monitor.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-res_res__monitor.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-res_res__monitor.c    Mon Jul  8 05:03:02 2024
@@ -0,0 +1,12 @@
+$NetBSD: patch-res_res__monitor.c,v 1.1 2024/07/08 05:03:02 jnemeth Exp $
+
+--- res/res_monitor.c.orig     2024-06-24 05:01:06.426851320 +0000
++++ res/res_monitor.c
+@@ -25,7 +25,6 @@
+ 
+ /*** MODULEINFO
+       <use type="module">func_periodic_hook</use>
+-      <defaultenabled>no</defaultenabled>
+       <support_level>deprecated</support_level>
+       <replacement>app_mixmonitor</replacement>
+       <deprecated_in>16</deprecated_in>
Index: pkgsrc/comms/asterisk19/patches/patch-res_res__mwi__external.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-res_res__mwi__external.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-res_res__mwi__external.c      Mon Jul  8 05:03:02 2024
@@ -0,0 +1,12 @@
+$NetBSD: patch-res_res__mwi__external.c,v 1.1 2024/07/08 05:03:02 jnemeth Exp $
+
+--- res/res_mwi_external.c.orig        2024-06-24 04:00:14.731887316 +0000
++++ res/res_mwi_external.c
+@@ -32,7 +32,6 @@
+  */
+ 
+ /*** MODULEINFO
+-      <defaultenabled>no</defaultenabled>
+       <support_level>core</support_level>
+  ***/
+ 
Index: pkgsrc/comms/asterisk19/patches/patch-res_res__pjsip__diversion.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-res_res__pjsip__diversion.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-res_res__pjsip__diversion.c   Mon Jul  8 05:03:02 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-res_res__pjsip__diversion.c,v 1.1 2024/07/08 05:03:02 jnemeth Exp $
+
+--- res/res_pjsip_diversion.c.orig     2022-04-14 22:16:42.000000000 +0000
++++ res/res_pjsip_diversion.c
+@@ -61,7 +61,7 @@ static int sip_is_token(const char *str)
+ 
+       is_token = 1;
+       do {
+-              if (!isalnum(*str)
++              if (!isalnum((unsigned char)*str)
+                       && !strchr("-.!%*_+`'~", *str)) {
+                       /* The character is not allowed in a token. */
+                       is_token = 0;
Index: pkgsrc/comms/asterisk19/patches/patch-res_res__pjsip_pjsip__configuration.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-res_res__pjsip_pjsip__configuration.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-res_res__pjsip_pjsip__configuration.c Mon Jul  8 05:03:02 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-res_res__pjsip_pjsip__configuration.c,v 1.1 2024/07/08 05:03:02 jnemeth Exp $
+
+--- res/res_pjsip/pjsip_configuration.c.orig   2022-04-14 22:16:42.000000000 +0000
++++ res/res_pjsip/pjsip_configuration.c
+@@ -1039,7 +1039,7 @@ static int from_user_handler(const struc
+       const char *val;
+ 
+       for (val = var->value; *val; val++) {
+-              if (!isalpha(*val) && !isdigit(*val) && !strchr(valid_uri_marks, *val)) {
++              if (!isalpha((unsigned char)*val) && !isdigit((unsigned char)*val) && !strchr(valid_uri_marks, *val)) {
+                       ast_log(LOG_ERROR, "Error configuring endpoint '%s' - '%s' field "
+                       "contains invalid character '%c'\n",
+                       ast_sorcery_object_get_id(endpoint), var->name, *val);
Index: pkgsrc/comms/asterisk19/patches/patch-res_res__pktccops.c
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-res_res__pktccops.c:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-res_res__pktccops.c   Mon Jul  8 05:03:02 2024
@@ -0,0 +1,12 @@
+$NetBSD: patch-res_res__pktccops.c,v 1.1 2024/07/08 05:03:02 jnemeth Exp $
+
+--- res/res_pktccops.c.orig    2024-06-24 05:01:44.902431891 +0000
++++ res/res_pktccops.c
+@@ -31,7 +31,6 @@
+  */
+ 
+ /*** MODULEINFO
+-        <defaultenabled>no</defaultenabled>
+       <support_level>deprecated</support_level>
+       <deprecated_in>19</deprecated_in>
+       <removed_in>21</removed_in>
Index: pkgsrc/comms/asterisk19/patches/patch-third-party_pjproject_patches_0000-configure-ssl-library-path.patch
diff -u /dev/null pkgsrc/comms/asterisk19/patches/patch-third-party_pjproject_patches_0000-configure-ssl-library-path.patch:1.1
--- /dev/null   Mon Jul  8 05:03:02 2024
+++ pkgsrc/comms/asterisk19/patches/patch-third-party_pjproject_patches_0000-configure-ssl-library-path.patch   Mon Jul  8 05:03:02 2024
@@ -0,0 +1,40 @@
+$NetBSD: patch-third-party_pjproject_patches_0000-configure-ssl-library-path.patch,v 1.1 2024/07/08 05:03:02 jnemeth Exp $
+
+Remove unnessecary bashism.
+
+--- third-party/pjproject/patches/0000-configure-ssl-library-path.patch.orig   2024-02-26 06:21:32.792130110 +0000
++++ third-party/pjproject/patches/0000-configure-ssl-library-path.patch
+@@ -2,7 +2,15 @@ diff --git a/aconfigure b/aconfigure
+ index d6f0e8809..9dcd46398 100755
+ --- a/aconfigure
+ +++ b/aconfigure
+-@@ -8986,7 +8986,11 @@ else $as_nop
++@@ -7839,7 +7839,6 @@ printf "%s\n" "not found" >&6; }
++                      ac_sdl_cflags=`$SDL_CONFIG --cflags`
++                      ac_sdl_cflags="-DPJMEDIA_VIDEO_DEV_HAS_SDL=1 $ac_sdl_cflags"
++                      ac_sdl_ldflags=`$SDL_CONFIG --libs`
++-                     ac_sdl_ldflags=${ac_sdl_ldflags//-mwindows/}
++                      LIBS="$LIBS $ac_sdl_ldflags"
++                else
++                      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Unsupported SDL version" >&5
++@@ -8986,7 +8985,11 @@ else $as_nop
+               if test "x$with_ssl" != "xno" -a "x$with_ssl" != "x"; then
+                      CFLAGS="$CFLAGS -I$with_ssl/include"
+                      CPPFLAGS="$CPPFLAGS -I$with_ssl/include"
+@@ -19,7 +27,15 @@ diff --git a/aconfigure.ac b/aconfigure.
+ index 16b311045..849da81ab 100644
+ --- a/aconfigure.ac
+ +++ b/aconfigure.ac
+-@@ -1838,7 +1838,11 @@ AC_ARG_ENABLE(ssl,
++@@ -1202,7 +1202,6 @@ AC_ARG_ENABLE(sdl,
++                      ac_sdl_cflags=`$SDL_CONFIG --cflags`
++                      ac_sdl_cflags="-DPJMEDIA_VIDEO_DEV_HAS_SDL=1 $ac_sdl_cflags"
++                      ac_sdl_ldflags=`$SDL_CONFIG --libs`
++-                     ac_sdl_ldflags=${ac_sdl_ldflags//-mwindows/}
++                      LIBS="$LIBS $ac_sdl_ldflags"
++                else
++                      AC_MSG_RESULT([Unsupported SDL version])
++@@ -1838,7 +1837,11 @@ AC_ARG_ENABLE(ssl,
+               if test "x$with_ssl" != "xno" -a "x$with_ssl" != "x"; then
+                      CFLAGS="$CFLAGS -I$with_ssl/include"
+                      CPPFLAGS="$CPPFLAGS -I$with_ssl/include"



Home | Main Index | Thread Index | Old Index