git: abd04c0a4891 - 2026Q2 - net/asterisk20: Update 20.19.0 => 20.20.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Jun 2026 23:26:04 UTC
The branch 2026Q2 has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=abd04c0a489156346728f50c55150870b8f82cf4
commit abd04c0a489156346728f50c55150870b8f82cf4
Author: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua>
AuthorDate: 2026-06-29 23:14:43 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-06-29 23:25:21 +0000
net/asterisk20: Update 20.19.0 => 20.20.1
Changelogs:
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.20.0.html
https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.20.1.html
PR: 296366
Security: GHSA-3g56-cgrh-95p5
Security: GHSA-3rhj-hhw7-m6fw
Security: GHSA-4pgv-j3mr-3rcp
Security: GHSA-589g-qgf8-m6mx
Security: GHSA-746q-794h-cc7f
Security: GHSA-8jhw-m2hg-vp3h
Security: GHSA-8jw3-ccr9-xrmf
Security: GHSA-g8q2-p36q-94f6
Security: GHSA-j2mm-57pq-jh94
Security: GHSA-mxgm-8c6f-5p8f
Security: GHSA-ph27-3m5q-mj5m
Security: GHSA-q9fr-m7g8-6ph5
Security: GHSA-qf8j-jp7h-c5hx
Security: GHSA-r6c2-hwc2-j4mp
Security: GHSA-vfhr-r9x9-c687
Security: GHSA-vrfp-mg3q-3959
Security: GHSA-wcvv-g26m-wx5c
Security: GHSA-x348-j6c9-77f3
Security: GHSA-xgj6-2gc5-5x9c
Sponsored by: FLEX-IT LLC
Sponsored by: UNIS Labs
MFH: 2026Q2
(cherry picked from commit b61744b7348d9a771fd73e4aaebed900f7ceb91e)
---
net/asterisk20/Makefile | 4 ++--
net/asterisk20/distinfo | 10 ++++----
.../patch-build__tools_make__xml__documentation | 28 +++++++++++-----------
net/asterisk20/pkg-plist | 1 +
4 files changed, 22 insertions(+), 21 deletions(-)
diff --git a/net/asterisk20/Makefile b/net/asterisk20/Makefile
index 1fc5603255ac..ec8225c45851 100644
--- a/net/asterisk20/Makefile
+++ b/net/asterisk20/Makefile
@@ -1,5 +1,5 @@
PORTNAME= asterisk
-DISTVERSION= 20.19.0
+DISTVERSION= 20.20.1
CATEGORIES= net
MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
MASTER_SITE_SUBDIR= asterisk/ \
@@ -223,7 +223,7 @@ ASTERISK_MOH_G729_SOUNDS= asterisk-moh-opsound-g729-2.03.tar.gz
ASTERISK_USER= asterisk
ASTERISK_GROUP= asterisk
-PJSIP_VERSION= 2.16
+PJSIP_VERSION= 2.17
.include <bsd.port.options.mk>
diff --git a/net/asterisk20/distinfo b/net/asterisk20/distinfo
index 8d71e91a880b..21a8aca40851 100644
--- a/net/asterisk20/distinfo
+++ b/net/asterisk20/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1775799466
-SHA256 (asterisk/asterisk-20.19.0.tar.gz) = 10fbc070f9aaec50b788962dbcddf694fcc61d49c1f1bb158bf04a2e7e46aba0
-SIZE (asterisk/asterisk-20.19.0.tar.gz) = 28701436
+TIMESTAMP = 1782709795
+SHA256 (asterisk/asterisk-20.20.1.tar.gz) = 32ef7db8e449629128eb5f7e42d3d704f03daacb91d76ee694a9acf7f1fd53e2
+SIZE (asterisk/asterisk-20.20.1.tar.gz) = 28781305
SHA256 (asterisk/asterisk-core-sounds-en-g729-1.6.tar.gz) = b49dec15e07bb9bff6af0da3a07180651a38ef54d3ea54a3f20c35f081ed8714
SIZE (asterisk/asterisk-core-sounds-en-g729-1.6.tar.gz) = 1557798
SHA256 (asterisk/asterisk-moh-opsound-g729-2.03.tar.gz) = 0147ca9a97f0c550227aacb7793499057c4d2c64e021c95f93722f27d5549585
@@ -9,5 +9,5 @@ SHA256 (asterisk/asterisk-mp3-204.tar.gz) = 721a6745e5f4bce8bbf5e3caca44ad1da22d
SIZE (asterisk/asterisk-mp3-204.tar.gz) = 26529
SHA256 (asterisk/traud-asterisk-opus-83e1b458c77e0e287adeca494eeb79edb077b0ff_GH0.tar.gz) = 572a3c956371ed62b44a4bcd973db10eb4c84f3040cf7156e3acfad3b6bf3ded
SIZE (asterisk/traud-asterisk-opus-83e1b458c77e0e287adeca494eeb79edb077b0ff_GH0.tar.gz) = 24044
-SHA256 (asterisk/pjsip-pjproject-2.16_GH0.tar.gz) = 3af2e481d51aaa095897820fa2ee26c30e530590c6ca56d23e4133bbdad369eb
-SIZE (asterisk/pjsip-pjproject-2.16_GH0.tar.gz) = 10794360
+SHA256 (asterisk/pjsip-pjproject-2.17_GH0.tar.gz) = 065fe06c06788d97c35f563796d59f00ce52fe9558a52d7b490a042a966facce
+SIZE (asterisk/pjsip-pjproject-2.17_GH0.tar.gz) = 10996639
diff --git a/net/asterisk20/files/patch-build__tools_make__xml__documentation b/net/asterisk20/files/patch-build__tools_make__xml__documentation
index 4597f65926e8..61948ff0afde 100644
--- a/net/asterisk20/files/patch-build__tools_make__xml__documentation
+++ b/net/asterisk20/files/patch-build__tools_make__xml__documentation
@@ -1,20 +1,20 @@
---- build_tools/make_xml_documentation.orig 2026-04-10 06:10:07 UTC
+--- build_tools/make_xml_documentation.orig 2026-06-29 05:19:08 UTC
+++ build_tools/make_xml_documentation
-@@ -218,7 +218,7 @@ for subdir in ${mod_subdirs} ; do
+@@ -226,7 +226,7 @@ for subdir in ${mod_subdirs} ; do
mn=${bn%%.*}
fi
# Set the module name on specific elements
-- ${SED} -r -e "s/<(manager|managerEvent|managerEventInstance|function|application|info)\s+([^>]+)>/<\1 \2 module=\"${mn}\">/g" /tmp/xmldoc.tmp.xml >> "${output_file}"
-+ ${SED} -r -e "s/<(manager|managerEvent|managerEventInstance|function|application|info)[[:space:]]+([^>]+)>/<\1 \2 module=\"${mn}\">/g" /tmp/xmldoc.tmp.xml >> "${output_file}"
+- ${SED} -r -e "s/<(manager|managerEvent|managerEventInstance|function|application|info)\s+([^>]+)>/<\1 \2 module=\"${mn}\">/g" "${tmp_output_file}" >> "${output_file}"
++ ${SED} -r -e "s/<(manager|managerEvent|managerEventInstance|function|application|info)[[:space:]]+([^>]+)>/<\1 \2 module=\"${mn}\">/g" "${tmp_output_file}" >> "${output_file}"
done
for i in $(${FIND} "${subdir_path}" -name '*.xml') ; do
${GREP} -q "appdocsxml.dtd" "${i}" || continue
-@@ -230,13 +230,13 @@ for subdir in ${mod_subdirs} ; do
+@@ -238,13 +238,13 @@ 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}" > /tmp/xmldoc.tmp.xml
-+ ${SED} -r "/^[[:space:]]*(<[?]xml|<.DOCTYPE|<.?docs)/d" "${i}" > /tmp/xmldoc.tmp.xml
+- ${SED} -r "/^\s*(<[?]xml|<.DOCTYPE|<.?docs)/d" "${i}" > "${tmp_output_file}"
++ ${SED} -r "/^[[:space:]]*(<[?]xml|<.DOCTYPE|<.?docs)/d" "${i}" > "${tmp_output_file}"
dirname=${i%/*}
if [ "${dirname}" != "${subdir_path}" ] ; then
# If we're in a subdirectory like channels/pjsip, we need to check channels/Makefile
@@ -25,21 +25,21 @@
else
if [ "${subdir}" = "main" ] ; then
# Force the module to be "builtin" if the XML is in the main directory.
-@@ -249,7 +249,7 @@ for subdir in ${mod_subdirs} ; do
+@@ -257,7 +257,7 @@ for subdir in ${mod_subdirs} ; do
fi
fi
# Set the module name on specific elements
-- ${SED} -r -e "s/<(manager|managerEvent|managerEventInstance|function|application|info)\s+([^>]+)>/<\1 \2 module=\"${mn}\">/g" /tmp/xmldoc.tmp.xml >> "${output_file}"
-+ ${SED} -r -e "s/<(manager|managerEvent|managerEventInstance|function|application|info)[[:space:]]+([^>]+)>/<\1 \2 module=\"${mn}\">/g" /tmp/xmldoc.tmp.xml >> "${output_file}"
+- ${SED} -r -e "s/<(manager|managerEvent|managerEventInstance|function|application|info)\s+([^>]+)>/<\1 \2 module=\"${mn}\">/g" "${tmp_output_file}" >> "${output_file}"
++ ${SED} -r -e "s/<(manager|managerEvent|managerEventInstance|function|application|info)[[:space:]]+([^>]+)>/<\1 \2 module=\"${mn}\">/g" "${tmp_output_file}" >> "${output_file}"
done
done
-@@ -258,7 +258,7 @@ cp "${output_file}" /tmp/xmldoc.tmp.xml
+@@ -266,7 +266,7 @@ cp "${output_file}" "${tmp_output_file}"
# Some entries may already have a module attribute so remove the dup.
# It's easier to do this once on the entire file rather on a source-by-source basis.
- cp "${output_file}" /tmp/xmldoc.tmp.xml
--${SED} -r -e 's/module="([^"]+)"\s+module="([^"]+)">/module="\1">/g' /tmp/xmldoc.tmp.xml > "${output_file}"
-+${SED} -r -e 's/module="([^"]+)"[[:space:]]+module="([^"]+)">/module="\1">/g' /tmp/xmldoc.tmp.xml > "${output_file}"
+ cp "${output_file}" "${tmp_output_file}"
+-${SED} -r -e 's/module="([^"]+)"\s+module="([^"]+)">/module="\1">/g' "${tmp_output_file}" > "${output_file}"
++${SED} -r -e 's/module="([^"]+)"[[:space:]]+module="([^"]+)">/module="\1">/g' "${tmp_output_file}" > "${output_file}"
if [ "${for_wiki}" -eq "1" ] ; then
diff --git a/net/asterisk20/pkg-plist b/net/asterisk20/pkg-plist
index 16e31caa8163..0915b026e7bc 100644
--- a/net/asterisk20/pkg-plist
+++ b/net/asterisk20/pkg-plist
@@ -302,6 +302,7 @@ include/asterisk/spinlock.h
include/asterisk/srv.h
include/asterisk/stasis.h
include/asterisk/stasis_app.h
+include/asterisk/stasis_app_broadcast.h
include/asterisk/stasis_app_device_state.h
include/asterisk/stasis_app_impl.h
include/asterisk/stasis_app_mailbox.h