pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/comms/asterisk23
Module Name: pkgsrc
Committed By: jnemeth
Date: Mon Apr 13 03:47:12 UTC 2026
Modified Files:
pkgsrc/comms/asterisk23: Makefile PLIST distinfo
pkgsrc/comms/asterisk23/patches:
patch-build__tools_make__xml__documentation patch-configure
patch-include_asterisk_autoconfig.h.in patch-main_cel.c
patch-main_stdtime_localtime.c patch-res_res__pjproject.c
Log Message:
Update to Asterisk 23.3.0:
## Change Log for Release asterisk-23.3.0
### Links:
- [Full ChangeLog](https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-23.3.0.html)
- [GitHub Diff](https://github.com/asterisk/asterisk/compare/23.2.2...23.3.0)
### Summary:
- Commits: 50
- Commit Authors: 21
- Issues Resolved: 34
- Security Advisories Resolved: 0
### User Notes:
- #### acl: Add ACL support to http and ari
A new section, type=restriction has been added to http.conf
to allow an uri prefix based acl to be configured. See
http.conf.sample for examples and more information.
The user section of ari.conf can now contain an acl configuration
to restrict users access. See ari.conf.sample for examples and more
information
- #### res_rtp_asterisk.c: Fix DTLS packet drop when TURN loopback re-injection occurs before ICE candidate check
WebRTC calls using TURN configured in rtp.conf (turnaddr,
turnusername, turnpassword) will now correctly complete DTLS/SRTP
negotiation. Previously all DTLS packets were silently dropped due to
the loopback re-injection address not being in the ICE active candidate
list.
- #### docs: Add "Provided-by" to doc XML and CLI output.
The CLI help for applications, functions, manager commands and
manager events now shows the module that provides its functionality.
- #### CDR/CEL Custom Performance Improvements
Significant performance improvements have been made to the
cdr_custom, cdr_sqlite3_custom, cel_custom and cel_sqlite3_custom modules.
See the new sample config files for those modules to see how to benefit
from them.
- #### chan_websocket: Add media direction.
WebSocket now supports media direction, allowing for
unidirectional media. This is done from the perspective of the
application and can be set via channel origination, external media, or
commands sent from the application. Check out
https://docs.asterisk.org/Configuration/Channel-Drivers/WebSocket/ for
more.
- #### app_queue: Add 'prio' setting to the 'force_longest_waiting_caller' option
The 'force_longest_waiting_caller' option now supports a 'prio' setting.
When set to 'prio', calls are offered by priority first, then by wait time.
- #### Upgrade bundled pjproject to 2.16.
Bundled pjproject has been upgraded to 2.16. For more
information on what all is included in this change, check out the
pjproject Github page: https://github.com/pjsip/pjproject/releases
- #### res_pjsip_header_funcs: Add new PJSIP_INHERITABLE_HEADER dialplan function
A new PJSIP_HEADER option has been added that allows
inheriting pjsip headers from the inbound to the outbound bridged
channel.
Example- same => n,Set(PJSIP_INHERITABLE_HEADER(add,X-custom-1)=alpha)
will add X-custom-1: alpha to the outbound pjsip channel INVITE
upon Dial.
- #### app_queue: Fix rN raise_penalty ignoring min_penalty in calc_metric
Fixes an issue where QUEUE_RAISE_PENALTY=rN could raise a member’s penalty below QUEUE_MIN_PENALTY during member selection. This could allow members intended to be excluded to be selected. The
queue now consistently respects the minimum penalty when raising penalties, aligning member selection behavior with queue empty checks and documented rN semantics.
## Issue and Commit Detail:
### Closed Issues:
- 449: [bug]: PJSIP confuses media address after INVITE requiring authentication
- 566: [bug]: core: SIGSEGV on DTMF when no timing modules loaded
- 1356: [bug]: MESSAGE requests should not contain a Contact header
- 1524: [bug]: PJSIP if sdp_session is blank the initial INVITE doesn't attach an SDP offer, worked in chan_sip
- 1611: [bug]: asterisk deadlocked on start sometimes
- 1612: [improvement]: pjsip: Upgrade bundled version to pjproject 2.16
- 1637: [improvement]: force_longest_waiting_caller should also consider caller priority
- 1641: [bug]: res_pjsip_config_wizard: Endpoints fail to update when Named ACLs change after reload
- 1651: [bug]: Asterisk crashes with munmap_chunk() when using sorcery realtime for PJSIP registration objects
- 1657: [bug]: Wrong dtmf payload is used when inbound invite contains 8K and 16K, and outgoing leg is using G722 and SRTP
- 1670: [new-feature]: Add new option to PJSIP_HEADER to pass headers from the inbound to outbound channel.
- 1691: [bug]: force_longest_waiting_caller stops offering calls if a call joins at the first position
- 1703: [bug]: res_pjsip_pubsub: ao2 reference leak of subscription tree in ast_sip_subscription
- 1707: [bug]: chan_iax2: Crash when processing video frames with negative length
- 1716: [bug]: Ghost call when UAC didn't respond with 487 for a cancel request from server even after original call hangup.
- 1724: [improvement]: say.c - added language support for pashto and dari
- 1730: [bug]: CPP channel storage get_by_name_prefix does not check prefix match
- 1755: [bug]: app_dial, utils.h: Compilation failure with -Wold-style-declaration and -Wdiscarded-qualifiers
- 1781: [bug]: More discarded-qualifiers errors with gcc 15.2.1
- 1783: [bug]: Several unused-but-set-variable warnings with gcc 16
- 1785: [bug]: chan_websocket doesn’t work with genericplc and transcoding
- 1786: [bug]: chan_dahdi: A few more discarded-qualifiers errors not caught previously
- 1795: [bug]: DTLS packets dropped when TURN configured in rtp.conf due to loopback re-injection occurring before ICE candidate source check
- 1797: [bug]: Potential logic issue in translated frame write loop (main/file.c)
- 1802: [improvement]: app_dial: Channel name should be included in warnings during wait_for_answer
- 1804: [new-feature]: dsp.c: Add support for R2 signaling
- 1814: [bug]: A pjsip transport with an invalid config can cause issues with other transports
- 1816: [bug]: ARI: RTPAUDIO channel vars aren't set if call hung up by ARI.
- 1819: [bug]: When a 302 is received from a UAS, the cause and tech_cause codes set on the channel are incorrect.
- 1831: [bug]:raise_exception() and EXCEPTION() read use channel datastores without holding ast_channel_lock
- 1833: [bug]: Address security vulnerabilities in pjproject
- 1844: [bug]: cdrel_custom isn't respecting the default time format for CEL records
- 1845: [bug]:res_cdrel_custom produces wrong float timestamps
- 1852: [bug]: res_cdrel_custom: connection to the sqlite3 database closes from time to time
### Commit List:
- res_cdrel_custom: do not free config when no new config was loaded
- res_cdrel_custom: Resolve several formatting issues.
- res_pjsip: Address pjproject security vulnerabilities
- pbx: Hold channel lock for exception datastore access
- xmldoc.c: Fix memory leaks in handling of provided_by.
- SECURITY.md: Update with additional instructions.
- res_audiosocket: Fix header read loop to use correct buffer offset
- manager.c : Fix CLI event display
- chan_pjsip: Set correct cause codes for non-2XX responses.
- res_pjsip_config_wizard: Force reload on Named ACL change events
- rtp: Set RTPAUDIOQOS variables when ast_softhangup is called.
- channel: Prevent crash during DTMF emulation when no timing module is loaded
- res_pjsip: Remove temp transport state when a transport fails to load.
- res_pjsip_messaging: Remove Contact header from out-of-dialog MESSAGE as per RFC3428
- acl: Add ACL support to http and ari
- res_rtp_asterisk.c: Fix DTLS packet drop when TURN loopback re-injection occurs before ICE candidate check
- dsp.c: Add support for detecting R2 signaling tones.
- app_dial: Include channel name in warnings during wait_for_answer.
- main/file: fix translated-frame write loop to use current frame
- docs: Add "Provided-by" to doc XML and CLI output.
- chan_websocket_doc.xml: Add d(media_direction) option.
- resource_channels.c: Fix validation response for externalMedia with AudioSockets
- CDR/CEL Custom Performance Improvements
- chan_websocket: Remove silence generation and frame padding.
- chan_websocket: Add media direction.
- fix: Add macOS (Darwin) compatibility for building Asterisk
- astconfigparser.py: Fix regex pattern error by properly escaping string
- res_rtp_asterisk: use correct sample rate lookup to account for g722
- res_pjsip_outbound_registration.c: Prevent crash if load_module() fails
- pjsip_configuration: Ensure s= and o= lines in SDP are never empty
- res_pjsip_session: Make sure NAT hook runs when packet is retransmitted for whatever reason.
- chan_dahdi: Fix discarded-qualifiers errors.
- build: Fix unused-but-set-variable warnings with gcc 16.
- build: Fix another GCC discarded-qualifiers const error.
- chan_iax2: Fix crash due to negative length frame lengths.
- build: Fix GCC discarded-qualifiers const errors.
- endpoints: Allow access to latest snapshot directly.
- app_dial, utils.h: Avoid old style declaration and discarded qualifier.
- app_queue: Add 'prio' setting to the 'force_longest_waiting_caller' option
- Upgrade bundled pjproject to 2.16.
- res_pjsip_header_funcs: Add new PJSIP_INHERITABLE_HEADER dialplan function
- app_queue: Queue Timing Parity with Dial() and Accurate Wait Metrics
- stasis.c: Fix deadlock in stasis_topic_pool_get_topic during module load
- app_queue: Fix rN raise_penalty ignoring min_penalty in calc_metric
- app_queue: Only compare calls at 1st position across queues when forcing longest waiting caller.
- channelstorage_cpp_map_name_id: Fix get_by_name_prefix prefix match
- app_amd: Remove errant space in documentation for totalAnalysisTime.
- say.c: added language support for pashto and dari
- res_pjsip_session.c: Prevent INVITE failover when session is cancelled
- res_pjsip_pubsub: Fix ao2 reference leak of subscription tree in ast_sip_subscription
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/comms/asterisk23/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/comms/asterisk23/PLIST \
pkgsrc/comms/asterisk23/distinfo
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/comms/asterisk23/patches/patch-build__tools_make__xml__documentation \
pkgsrc/comms/asterisk23/patches/patch-main_cel.c \
pkgsrc/comms/asterisk23/patches/patch-main_stdtime_localtime.c \
pkgsrc/comms/asterisk23/patches/patch-res_res__pjproject.c
cvs rdiff -u -r1.2 -r1.3 pkgsrc/comms/asterisk23/patches/patch-configure \
pkgsrc/comms/asterisk23/patches/patch-include_asterisk_autoconfig.h.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/comms/asterisk23/Makefile
diff -u pkgsrc/comms/asterisk23/Makefile:1.6 pkgsrc/comms/asterisk23/Makefile:1.7
--- pkgsrc/comms/asterisk23/Makefile:1.6 Fri Apr 10 08:41:35 2026
+++ pkgsrc/comms/asterisk23/Makefile Mon Apr 13 03:47:11 2026
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.6 2026/04/10 08:41:35 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2026/04/13 03:47:11 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-23.2.2
+DISTNAME= asterisk-23.3.0
CATEGORIES= comms net audio
MASTER_SITES= https://downloads.asterisk.org/pub/telephony/asterisk/
MASTER_SITES+= https://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
@@ -140,7 +140,7 @@ CONFIGURE_ARGS+= --without-timerfd
DISTFILES+= asterisk-extra-sounds-en-gsm-1.5.2.tar.gz
# pjproject
-PJPROJ_VERSION= 2.15.1
+PJPROJ_VERSION= 2.16
SITES.pjproject-${PJPROJ_VERSION}.tar.bz2= \
-https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/${PJPROJ_VERSION}/pjproject-${PJPROJ_VERSION}.tar.bz2
SITES.pjproject-${PJPROJ_VERSION}.md5= \
@@ -264,6 +264,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/ChangeLogs/ChangeLog-23.2.1.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/ChangeLogs/ChangeLog-23.2.2.html ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
${INSTALL_DATA} ${WRKSRC}/ChangeLogs/ChangeLog-23.2.2.md ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLogs/ChangeLog-23.3.0.html ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/ChangeLogs/ChangeLog-23.3.0.md ${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}
Index: pkgsrc/comms/asterisk23/PLIST
diff -u pkgsrc/comms/asterisk23/PLIST:1.3 pkgsrc/comms/asterisk23/PLIST:1.4
--- pkgsrc/comms/asterisk23/PLIST:1.3 Mon Feb 16 04:11:13 2026
+++ pkgsrc/comms/asterisk23/PLIST Mon Apr 13 03:47:11 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2026/02/16 04:11:13 jnemeth Exp $
+@comment $NetBSD: PLIST,v 1.4 2026/04/13 03:47:11 jnemeth Exp $
lib/asterisk/libasteriskpj.so
lib/asterisk/libasteriskpj.so.2
lib/asterisk/modules/app_adsiprog.so
@@ -212,6 +212,7 @@ lib/asterisk/modules/res_ari_recordings.
lib/asterisk/modules/res_ari_sounds.so
lib/asterisk/modules/res_audiosocket.so
lib/asterisk/modules/res_calendar.so
+lib/asterisk/modules/res_cdrel_custom.so
lib/asterisk/modules/res_clialiases.so
lib/asterisk/modules/res_clioriginate.so
lib/asterisk/modules/res_config_curl.so
@@ -2317,11 +2318,13 @@ share/doc/asterisk/ChangeLog-23.1.0.html
share/doc/asterisk/ChangeLog-23.2.0.html
share/doc/asterisk/ChangeLog-23.2.1.html
share/doc/asterisk/ChangeLog-23.2.2.html
+share/doc/asterisk/ChangeLog-23.3.0.html
share/doc/asterisk/ChangeLog-23.0.0.md
share/doc/asterisk/ChangeLog-23.1.0.md
share/doc/asterisk/ChangeLog-23.2.0.md
share/doc/asterisk/ChangeLog-23.2.1.md
share/doc/asterisk/ChangeLog-23.2.2.md
+share/doc/asterisk/ChangeLog-23.3.0.md
share/doc/asterisk/IAX2-security.pdf
share/doc/asterisk/IAX2-security.txt
share/doc/asterisk/LICENSE
Index: pkgsrc/comms/asterisk23/distinfo
diff -u pkgsrc/comms/asterisk23/distinfo:1.3 pkgsrc/comms/asterisk23/distinfo:1.4
--- pkgsrc/comms/asterisk23/distinfo:1.3 Mon Feb 16 04:11:13 2026
+++ pkgsrc/comms/asterisk23/distinfo Mon Apr 13 03:47:11 2026
@@ -1,17 +1,17 @@
-$NetBSD: distinfo,v 1.3 2026/02/16 04:11:13 jnemeth Exp $
+$NetBSD: distinfo,v 1.4 2026/04/13 03:47:11 jnemeth Exp $
-BLAKE2s (asterisk-23.2.2/asterisk-23.2.2.tar.gz) = ebad214227763b4c1bdfad3037e85ee916d015e5af0175567d7e326b62b87a55
-SHA512 (asterisk-23.2.2/asterisk-23.2.2.tar.gz) = f990a51d37c96820bf1709c7fa43cfeb90b2862ddcd2075248c09c538df38ebdc5d1906d6522c2320a49a0179a26b157fa3db3b5f33731d59f0d1b73fd81f88f
-Size (asterisk-23.2.2/asterisk-23.2.2.tar.gz) = 26385116 bytes
-BLAKE2s (asterisk-23.2.2/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f7e5fe212d7e7cdca14c52527a2552311ab7762c3f1464b09ddedc7c66aebde
-SHA512 (asterisk-23.2.2/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f2f7bf3d5bce3544bc013f913c352f0204a3ce96239987403eb9dce8bc87e64a61d437762323a422a87b2fad1f3bf3e7a5f3d0d340f912a1b1dbfea9479d41d
-Size (asterisk-23.2.2/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 4253587 bytes
-BLAKE2s (asterisk-23.2.2/pjproject-2.15.1.md5) = 1bdb00828816aff69f43eaacd084bd7d0a48670af33110bd0cd6325ead45aa48
-SHA512 (asterisk-23.2.2/pjproject-2.15.1.md5) = 75963b64e702a5810fd5b8b574a07396cab1a87543d806135e7a9b9762d35129354f99283252f40ad75a6a94cd1921f164ed8e63174de0c5430e5c6913d21744
-Size (asterisk-23.2.2/pjproject-2.15.1.md5) = 172 bytes
-BLAKE2s (asterisk-23.2.2/pjproject-2.15.1.tar.bz2) = 2bcb38884531f0be966c78b6bac45ac63d8c612c060da91c584d192fe0fdf9cd
-SHA512 (asterisk-23.2.2/pjproject-2.15.1.tar.bz2) = c080eb44b49fccadb1c76ff2b3221935b0d531a1e2087b47c21b4ec2cdd8ee0e62b13c334495c9c759b348a0792204611987089a6aa6264999f0116aec8dbdfd
-Size (asterisk-23.2.2/pjproject-2.15.1.tar.bz2) = 8492214 bytes
+BLAKE2s (asterisk-23.3.0/asterisk-23.3.0.tar.gz) = 6ea1459025e482aaa49fe425c262b0fa93191e03f9459add7601dcc6be8b2621
+SHA512 (asterisk-23.3.0/asterisk-23.3.0.tar.gz) = 90b8d98856bc9654986b9af7e502c6c8cba49cd9a686f437563999d1d262bd57dc0fabd8fc7478370a810af31df3d123dcb5e8ebfb047bb206692f6526dc5f25
+Size (asterisk-23.3.0/asterisk-23.3.0.tar.gz) = 26448744 bytes
+BLAKE2s (asterisk-23.3.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f7e5fe212d7e7cdca14c52527a2552311ab7762c3f1464b09ddedc7c66aebde
+SHA512 (asterisk-23.3.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 3f2f7bf3d5bce3544bc013f913c352f0204a3ce96239987403eb9dce8bc87e64a61d437762323a422a87b2fad1f3bf3e7a5f3d0d340f912a1b1dbfea9479d41d
+Size (asterisk-23.3.0/asterisk-extra-sounds-en-gsm-1.5.2.tar.gz) = 4253587 bytes
+BLAKE2s (asterisk-23.3.0/pjproject-2.16.md5) = 1db3bea58adb58231de14971b28b7de2691da688e928b86eb75aa1828442de7c
+SHA512 (asterisk-23.3.0/pjproject-2.16.md5) = eb099d845b774dcad86a53694a488055c7bf5acb172fdbe904682a780ab46ef9369f9c9dcd462af477359aa1d72e37256be4c92be612ca7b62f03d6d0bd727c7
+Size (asterisk-23.3.0/pjproject-2.16.md5) = 166 bytes
+BLAKE2s (asterisk-23.3.0/pjproject-2.16.tar.bz2) = 7f24150c9b62be590aea7077ad932e0ea6e34ab755fa25a31a5b095b978ed0e8
+SHA512 (asterisk-23.3.0/pjproject-2.16.tar.bz2) = a4c693f95e28d3f917adb7f27519adcd0286b39bd79e8bd39a3f84a550f99f5ad7951081f94a83a6e6fdb3acf7bfe38692b3682852a5921fe52ad134e997e820
+Size (asterisk-23.3.0/pjproject-2.16.tar.bz2) = 8783258 bytes
SHA1 (patch-Makefile) = 5cf3b6937ec23a82e4d056b91e493a36bc1089b9
SHA1 (patch-addons_chan__ooh323.c) = 1775da7ca2129a962ed460bd1e78ba3ce6afa62c
SHA1 (patch-apps_app__adsiprog.c) = 031139e5cd1ef6bb2afb0a74fee3d752eded0a2c
@@ -23,14 +23,14 @@ SHA1 (patch-apps_app__minivm.c) = 22ee6e
SHA1 (patch-apps_app__queue.c) = fdf7cf202b60e24cd9227f7e461bbd541565d602
SHA1 (patch-apps_app__sms.c) = ad65b3cb2a30489551101f7534c691cd1155d18f
SHA1 (patch-apps_app__voicemail.c) = 5276457466fde27494bf43fd6d306397bc4ff97f
-SHA1 (patch-build__tools_make__xml__documentation) = 2c617cfdc96b1ddf51736205b83e1b737c110ad9
+SHA1 (patch-build__tools_make__xml__documentation) = f1d98a6dd2e2d4f1df202e35b2bd0f64c4af3b51
SHA1 (patch-build__tools_mkpkgconfig) = 7fab8fcf46d9f8a3b98455674fec6307ec472b23
SHA1 (patch-cdr_cdr__pgsql.c) = 82b002a1f5ed3b7361a98e2bffb5cea8833949b8
SHA1 (patch-cel_cel__pgsql.c) = b280efab2b035ce60be268bac9bc8824910b2b8f
SHA1 (patch-channels_chan__pjsip.c) = efd4cbb82133fc5ddf7de70d01c99e185c585211
SHA1 (patch-channels_pjsip_cli__commands.c) = 01baa9d242e3af02a1f3540cfb3064ad68c71d67
SHA1 (patch-channels_pjsip_dialplan__functions.c) = 2cf8199c4ec9d4894eb922c2703d49ecc06188ef
-SHA1 (patch-configure) = a9199103edade280e0cf469360ec0d9b9e91ed1a
+SHA1 (patch-configure) = 3a489e0c508cb2a46e8ada6801369756c16d1dea
SHA1 (patch-configure.ac) = 3f03645995f603786b9847baf1b678b02c85757f
SHA1 (patch-contrib_scripts_vmail.cgi) = 827149400de5115eb91bdc563f2319d9bcb04cc8
SHA1 (patch-funcs_func__cdr.c) = 79c743df264948e5ea9e1c292012a1f6362d0c1e
@@ -40,7 +40,7 @@ SHA1 (patch-funcs_func__pjsip__aor.c) =
SHA1 (patch-funcs_func__pjsip__contact.c) = 9b1fa54ee31a549be40d487c650cc79d625c8092
SHA1 (patch-funcs_func__pjsip__endpoint.c) = 263a4bdb6365bcc9f6392d25a5aef5c607e59d04
SHA1 (patch-funcs_func__strings.c) = 08d313add57c5be822a19311fc70a7555bd63877
-SHA1 (patch-include_asterisk_autoconfig.h.in) = 0adedab622e81b7103b61efd2adc0e8af7b4af9f
+SHA1 (patch-include_asterisk_autoconfig.h.in) = fd4260088738c8790721a48f524b7c5d9dd10971
SHA1 (patch-include_asterisk_lock.h) = 85418bcd20f3ed7eb0310f46f3b2d334980bdcef
SHA1 (patch-include_asterisk_strings.h) = 9ace78a13131bcb411eda79a98264b5cfcc7789c
SHA1 (patch-main_Makefile) = e3b5d261fd15ffd23d81060ff3aafba6b0300e7c
@@ -54,7 +54,7 @@ SHA1 (patch-main_bridge__basic.c) = b486
SHA1 (patch-main_bridge__channel.c) = 72dafc04521fa02e8456c09d5c9be4789d8ac918
SHA1 (patch-main_callerid.c) = 0ea1b3df8aaf3969fcd9e06055c8e6184d50d3d3
SHA1 (patch-main_cdr.c) = 540fbdb354aba100fa37392b879b92a85d1d8620
-SHA1 (patch-main_cel.c) = 22fa21db8e0afa0958d34014f52e2c4fe9c73ba2
+SHA1 (patch-main_cel.c) = 61f70a65f78dc21d88d32dbe67966b8f5ffb2323
SHA1 (patch-main_cli.c) = ee72bcaac7dce397354cbc09af4ed7441dbb4650
SHA1 (patch-main_conversions.c) = a516ef4f706fabbd250f66a3159825a2a6085344
SHA1 (patch-main_dns__naptr.c) = 4fa3fe5d2acf7bcd84ca2044280c644e4bd15d7f
@@ -68,7 +68,7 @@ SHA1 (patch-main_pbx.c) = 8e7ced268edb29
SHA1 (patch-main_pbx__builtins.c) = 3e5ede8a62821fda498f2bea94af386aca01798c
SHA1 (patch-main_pbx__timing.c) = a4657330086c5b0e8fd271d5676fb897badea452
SHA1 (patch-main_sched.c) = 4219ac1561e8c4fbc5b1facdf38b3e8b764d5def
-SHA1 (patch-main_stdtime_localtime.c) = 1e3c62d70eab62c46ac29e03e842229cf7587d2b
+SHA1 (patch-main_stdtime_localtime.c) = c44f1f9eb142fe595f1e82167e13c456508f3879
SHA1 (patch-main_taskprocessor.c) = f90805bd78fd4096beb9ee1cf9c794c50b87481a
SHA1 (patch-main_tdd.c) = 9f525971938dd4f222622cb3e78a35822bd08389
SHA1 (patch-main_test.c) = f38b370cdb5788304e02c71ef05d2130ead9de98
@@ -89,7 +89,7 @@ SHA1 (patch-res_res__format__attr__vp8.c
SHA1 (patch-res_res__hep__pjsip.c) = b0c8fed52451ec31a2c77d4abd28640631bb708c
SHA1 (patch-res_res__limit.c) = e80f370fe5b84dcdc2f38e2137d5ed6f75ba35a4
SHA1 (patch-res_res__musiconhold.c) = 31f6ced9a9cfc49cbcfa68e7689a7a16586f24d9
-SHA1 (patch-res_res__pjproject.c) = 0326bf12d9f798c8eae2eff4fad8b86d4bbc0589
+SHA1 (patch-res_res__pjproject.c) = ed681bdf0e88c812fdc7d6c9982e82364a7ccb53
SHA1 (patch-res_res__pjsip__diversion.c) = b7996a43b4af395392161f75319ab499ceda7f09
SHA1 (patch-res_res__pjsip_pjsip__configuration.c) = 7a9f2c293ad5c8d05df5cc9b304473859ee09d6f
SHA1 (patch-res_res__xmpp.c) = 1ef89d9dab56f9c6d37dacbdd18dbd54e654050a
Index: pkgsrc/comms/asterisk23/patches/patch-build__tools_make__xml__documentation
diff -u pkgsrc/comms/asterisk23/patches/patch-build__tools_make__xml__documentation:1.1 pkgsrc/comms/asterisk23/patches/patch-build__tools_make__xml__documentation:1.2
--- pkgsrc/comms/asterisk23/patches/patch-build__tools_make__xml__documentation:1.1 Mon Oct 27 06:58:37 2025
+++ pkgsrc/comms/asterisk23/patches/patch-build__tools_make__xml__documentation Mon Apr 13 03:47:11 2026
@@ -1,13 +1,13 @@
-$NetBSD: patch-build__tools_make__xml__documentation,v 1.1 2025/10/27 06:58:37 jnemeth Exp $
+$NetBSD: patch-build__tools_make__xml__documentation,v 1.2 2026/04/13 03:47:11 jnemeth Exp $
---- build_tools/make_xml_documentation.orig 2022-04-14 22:16:42.000000000 +0000
+--- build_tools/make_xml_documentation.orig 2026-04-09 16:37:03.000000000 +0000
+++ build_tools/make_xml_documentation
-@@ -214,7 +214,7 @@ for subdir in ${mod_subdirs} ; do
+@@ -230,7 +230,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}"
+- ${SED} -r "/^\s*(<[?]xml|<.DOCTYPE|<.?docs)/d" "${i}" > /tmp/xmldoc.tmp.xml
++ ${SED} -r "/^[[:space:]]*(<[?]xml|<.DOCTYPE|<.?docs)/d" "${i}" > /tmp/xmldoc.tmp.xml
+ dirname=${i%/*}
+ if [ "${dirname}" != "${subdir_path}" ] ; then
+ # If we're in a subdirectory like channels/pjsip, we need to check channels/Makefile
Index: pkgsrc/comms/asterisk23/patches/patch-main_cel.c
diff -u pkgsrc/comms/asterisk23/patches/patch-main_cel.c:1.1 pkgsrc/comms/asterisk23/patches/patch-main_cel.c:1.2
--- pkgsrc/comms/asterisk23/patches/patch-main_cel.c:1.1 Mon Oct 27 06:58:39 2025
+++ pkgsrc/comms/asterisk23/patches/patch-main_cel.c Mon Apr 13 03:47:12 2026
@@ -1,13 +1,13 @@
-$NetBSD: patch-main_cel.c,v 1.1 2025/10/27 06:58:39 jnemeth Exp $
+$NetBSD: patch-main_cel.c,v 1.2 2026/04/13 03:47:12 jnemeth Exp $
---- main/cel.c.orig 2015-10-09 21:48:48.000000000 +0000
+--- main/cel.c.orig 2026-04-09 16:37:03.000000000 +0000
+++ main/cel.c
-@@ -790,7 +790,7 @@ struct ast_channel *ast_cel_fabricate_ch
+@@ -680,7 +680,7 @@ static int cel_format_eventtime(struct cel_config *cfg
}
if (ast_strlen_zero(cfg->general->date_format)) {
-- snprintf(timebuf, sizeof(timebuf), "%ld.%06ld", (long) record.event_time.tv_sec,
-+ snprintf(timebuf, sizeof(timebuf), "%jd.%06ld", (intmax_t) record.event_time.tv_sec,
- (long) record.event_time.tv_usec);
+- snprintf(timebuf, len, "%ld.%06ld", (long) eventtime.tv_sec,
++ snprintf(timebuf, len, "%jd.%06ld", (intmax_t) eventtime.tv_sec,
+ (long) eventtime.tv_usec);
} else {
struct ast_tm tm;
Index: pkgsrc/comms/asterisk23/patches/patch-main_stdtime_localtime.c
diff -u pkgsrc/comms/asterisk23/patches/patch-main_stdtime_localtime.c:1.1 pkgsrc/comms/asterisk23/patches/patch-main_stdtime_localtime.c:1.2
--- pkgsrc/comms/asterisk23/patches/patch-main_stdtime_localtime.c:1.1 Mon Oct 27 06:58:39 2025
+++ pkgsrc/comms/asterisk23/patches/patch-main_stdtime_localtime.c Mon Apr 13 03:47:12 2026
@@ -1,6 +1,6 @@
-$NetBSD: patch-main_stdtime_localtime.c,v 1.1 2025/10/27 06:58:39 jnemeth Exp $
+$NetBSD: patch-main_stdtime_localtime.c,v 1.2 2026/04/13 03:47:12 jnemeth Exp $
---- main/stdtime/localtime.c.orig 2018-05-01 20:12:26.000000000 +0000
+--- main/stdtime/localtime.c.orig 2026-04-09 16:37:03.000000000 +0000
+++ main/stdtime/localtime.c
@@ -65,6 +65,10 @@
#include <sys/stat.h>
@@ -21,7 +21,7 @@ $NetBSD: patch-main_stdtime_localtime.c,
#include "asterisk/utils.h"
#include "asterisk/test.h"
-@@ -310,7 +315,7 @@ static struct state * sstate_alloc(void)
+@@ -310,7 +315,7 @@ static AST_LIST_HEAD_STATIC(zonelist, state);
static void sstate_free(struct state *p);
static AST_LIST_HEAD_STATIC(zonelist, state);
@@ -39,7 +39,7 @@ $NetBSD: patch-main_stdtime_localtime.c,
} else
#endif
{
-@@ -2362,7 +2367,8 @@ struct timeval ast_mktime(struct ast_tm
+@@ -2362,7 +2367,8 @@ struct timeval ast_mktime(struct ast_tm *tmp, const ch
return time1(tmp, localsub, 0L, sp);
}
@@ -49,7 +49,7 @@ $NetBSD: patch-main_stdtime_localtime.c,
static struct locale_entry *find_by_locale(locale_t locale)
{
struct locale_entry *cur;
-@@ -2373,6 +2379,7 @@ static struct locale_entry *find_by_loca
+@@ -2373,6 +2379,7 @@ static struct locale_entry *find_by_locale(locale_t lo
}
return NULL;
}
@@ -57,7 +57,7 @@ $NetBSD: patch-main_stdtime_localtime.c,
static struct locale_entry *find_by_name(const char *name)
{
-@@ -2385,6 +2392,23 @@ static struct locale_entry *find_by_name
+@@ -2385,6 +2392,23 @@ static struct locale_entry *find_by_name(const char *n
return NULL;
}
@@ -81,7 +81,7 @@ $NetBSD: patch-main_stdtime_localtime.c,
static const char *store_by_locale(locale_t prevlocale)
{
struct locale_entry *cur;
-@@ -2442,6 +2466,7 @@ const char *ast_setlocale(const char *lo
+@@ -2442,6 +2466,7 @@ const char *ast_setlocale(const char *locale)
AST_LIST_UNLOCK(&localelist);
return store_by_locale(prevlocale);
}
@@ -89,7 +89,7 @@ $NetBSD: patch-main_stdtime_localtime.c,
#else
const char *ast_setlocale(const char *unused)
{
-@@ -2455,7 +2480,9 @@ int ast_strftime_locale(char *buf, size_
+@@ -2455,7 +2480,9 @@ int ast_strftime_locale(char *buf, size_t len, const c
char *format = ast_calloc(1, fmtlen), *fptr = format, *newfmt;
int decimals = -1, i, res;
long fraction;
@@ -99,22 +99,22 @@ $NetBSD: patch-main_stdtime_localtime.c,
buf[0] = '\0';/* Ensure the buffer is initialized. */
if (!format) {
-@@ -2510,6 +2537,14 @@ defcase: *fptr++ = *tmp;
+@@ -2510,13 +2537,22 @@ defcase: *fptr++ = *tmp;
}
*fptr = '\0';
#undef strftime
+#if HAVE_STRFTIME_L
-+ if (locale) {
+ if (locale) {
+ locale_t l = ast_getlocale(locale);
+ res = (int)strftime_l(buf, len, format, (struct tm *)tm, l);
+ } else {
+ res = (int)strftime(buf, len, format, (struct tm *)tm);
+ }
+#else
- if (locale) {
++ if (locale) {
prevlocale = ast_setlocale(locale);
}
-@@ -2517,6 +2552,7 @@ defcase: *fptr++ = *tmp;
+ res = (int)strftime(buf, len, format, (struct tm *)tm);
if (locale) {
ast_setlocale(prevlocale);
}
@@ -122,7 +122,7 @@ $NetBSD: patch-main_stdtime_localtime.c,
ast_free(format);
return res;
}
-@@ -2530,11 +2566,22 @@ char *ast_strptime_locale(const char *s,
+@@ -2530,11 +2566,22 @@ char *ast_strptime_locale(const char *s, const char *f
{
struct tm tm2 = { 0, };
char *res;
Index: pkgsrc/comms/asterisk23/patches/patch-res_res__pjproject.c
diff -u pkgsrc/comms/asterisk23/patches/patch-res_res__pjproject.c:1.1 pkgsrc/comms/asterisk23/patches/patch-res_res__pjproject.c:1.2
--- pkgsrc/comms/asterisk23/patches/patch-res_res__pjproject.c:1.1 Mon Oct 27 06:58:40 2025
+++ pkgsrc/comms/asterisk23/patches/patch-res_res__pjproject.c Mon Apr 13 03:47:12 2026
@@ -1,8 +1,8 @@
-$NetBSD: patch-res_res__pjproject.c,v 1.1 2025/10/27 06:58:40 jnemeth Exp $
+$NetBSD: patch-res_res__pjproject.c,v 1.2 2026/04/13 03:47:12 jnemeth Exp $
---- res/res_pjproject.c.orig 2019-09-05 13:09:20.000000000 +0000
+--- res/res_pjproject.c.orig 2026-04-09 16:37:03.000000000 +0000
+++ res/res_pjproject.c
-@@ -99,20 +99,22 @@
+@@ -131,19 +131,21 @@
#include "asterisk.h"
#include <stdarg.h>
@@ -19,13 +19,12 @@ $NetBSD: patch-res_res__pjproject.c,v 1.
#include "asterisk/sorcery.h"
#include "asterisk/test.h"
#include "asterisk/netsock2.h"
-
++
+#include <pjlib.h>
+#include <pjsip.h>
+#include <pj/log.h>
+
+#include "asterisk/res_pjproject.h"
-+
+
static struct ast_sorcery *pjproject_sorcery;
static pj_log_func *log_cb_orig;
- static unsigned decor_orig;
Index: pkgsrc/comms/asterisk23/patches/patch-configure
diff -u pkgsrc/comms/asterisk23/patches/patch-configure:1.2 pkgsrc/comms/asterisk23/patches/patch-configure:1.3
--- pkgsrc/comms/asterisk23/patches/patch-configure:1.2 Mon Feb 16 04:11:13 2026
+++ pkgsrc/comms/asterisk23/patches/patch-configure Mon Apr 13 03:47:12 2026
@@ -1,8 +1,8 @@
-$NetBSD: patch-configure,v 1.2 2026/02/16 04:11:13 jnemeth Exp $
+$NetBSD: patch-configure,v 1.3 2026/04/13 03:47:12 jnemeth Exp $
---- configure.orig 2026-02-05 16:58:10.000000000 +0000
+--- configure.orig 2026-04-09 16:37:03.000000000 +0000
+++ configure
-@@ -5170,13 +5170,9 @@ esac
+@@ -5170,13 +5170,9 @@ case "${host_os}" in
case "${host_os}" in
netbsd*)
ac_default_prefix=/usr/pkg
@@ -25,7 +25,7 @@ $NetBSD: patch-configure,v 1.2 2026/02/1
;;
darwin*)
ac_default_prefix=/usr/local
-@@ -20951,12 +20945,12 @@ else case e in #(
+@@ -20951,12 +20945,12 @@ printf %s "checking for clang -fblocks... " >&6; }
e)
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clang -fblocks" >&5
printf %s "checking for clang -fblocks... " >&6; }
@@ -40,10 +40,11 @@ $NetBSD: patch-configure,v 1.2 2026/02/1
AST_CLANG_BLOCKS_LIBS="-lBlocksRuntime"
AST_CLANG_BLOCKS="-fblocks"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-@@ -31404,6 +31398,142 @@ if test -z $ax_cv_have_c_atomics$ax_cv_h
+@@ -31403,6 +31397,142 @@ fi
+ if test -z $ax_cv_have_c_atomics$ax_cv_have_gcc_atomics; then
as_fn_error $? "*** Atomic operations are not supported by your compiler." "$LINENO" 5
fi
-
++
+
+if test "${ac_cv_header_sys_atomic_h+set}" = set; then
+ { $as_echo "$as_me:$LINENO: checking for sys/atomic.h" >&5
@@ -179,7 +180,6 @@ $NetBSD: patch-configure,v 1.2 2026/02/1
+
+fi
+
-+
+
# glibc, AFAIK, is the only C library that makes printing a NULL to a string safe.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if your system printf is NULL-safe." >&5
- printf %s "checking if your system printf is NULL-safe.... " >&6; }
Index: pkgsrc/comms/asterisk23/patches/patch-include_asterisk_autoconfig.h.in
diff -u pkgsrc/comms/asterisk23/patches/patch-include_asterisk_autoconfig.h.in:1.2 pkgsrc/comms/asterisk23/patches/patch-include_asterisk_autoconfig.h.in:1.3
--- pkgsrc/comms/asterisk23/patches/patch-include_asterisk_autoconfig.h.in:1.2 Mon Feb 16 04:11:13 2026
+++ pkgsrc/comms/asterisk23/patches/patch-include_asterisk_autoconfig.h.in Mon Apr 13 03:47:12 2026
@@ -1,6 +1,6 @@
-$NetBSD: patch-include_asterisk_autoconfig.h.in,v 1.2 2026/02/16 04:11:13 jnemeth Exp $
+$NetBSD: patch-include_asterisk_autoconfig.h.in,v 1.3 2026/04/13 03:47:12 jnemeth Exp $
---- include/asterisk/autoconfig.h.in.orig 2026-02-16 03:46:19.122105923 +0000
+--- include/asterisk/autoconfig.h.in.orig 2026-04-09 16:37:03.000000000 +0000
+++ include/asterisk/autoconfig.h.in
@@ -1014,6 +1014,9 @@
/* Define to 1 if you have the 'strftime' function. */
@@ -22,13 +22,13 @@ $NetBSD: patch-include_asterisk_autoconf
/* Define to 1 if you have the 'strrchr' function. */
#undef HAVE_STRRCHR
-@@ -1140,6 +1146,9 @@
+@@ -1139,6 +1145,9 @@
+
/* Define if your system has the SYSTEMD libraries. */
#undef HAVE_SYSTEMD
-
++
+/* Define to 1 if sys/atomic.h atomic operations are supported. */
+#undef HAVE_SYS_ATOMIC_H
-+
+
/* Define to 1 if you have the <sys/dir.h> header file, and it defines 'DIR'.
*/
- #undef HAVE_SYS_DIR_H
Home |
Main Index |
Thread Index |
Old Index