Date: Sun, 12 Apr 2026 16:34:43 +0000 From: Vladimir Druzenko <vvd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua> Subject: git: a02bd2eb52ac - main - net/asterisk20: Update 20.18.2=?utf-8?Q? =E2=86=92 20.?=19.0 Message-ID: <69dbc9a3.25b98.5ee7d956@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=a02bd2eb52acae96f4e13ff07d5974eb61db1252 commit a02bd2eb52acae96f4e13ff07d5974eb61db1252 Author: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua> AuthorDate: 2026-04-12 16:24:35 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-04-12 16:31:05 +0000 net/asterisk20: Update 20.18.2 → 20.19.0 Changelog: https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.19.0.html PR: 294411 Sponsored by: FLEX-IT LLC Sponsored by: UNIS Labs --- net/asterisk20/Makefile | 5 +-- net/asterisk20/distinfo | 10 ++--- .../patch-build__tools_make__xml__documentation | 44 +++++++++++++++++++--- net/asterisk20/pkg-plist | 1 + 4 files changed, 47 insertions(+), 13 deletions(-) diff --git a/net/asterisk20/Makefile b/net/asterisk20/Makefile index 558a0e972ce1..1fc5603255ac 100644 --- a/net/asterisk20/Makefile +++ b/net/asterisk20/Makefile @@ -1,6 +1,5 @@ PORTNAME= asterisk -DISTVERSION= 20.18.2 -PORTREVISION= 1 +DISTVERSION= 20.19.0 CATEGORIES= net MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729 MASTER_SITE_SUBDIR= asterisk/ \ @@ -224,7 +223,7 @@ ASTERISK_MOH_G729_SOUNDS= asterisk-moh-opsound-g729-2.03.tar.gz ASTERISK_USER= asterisk ASTERISK_GROUP= asterisk -PJSIP_VERSION= 2.15.1 +PJSIP_VERSION= 2.16 .include <bsd.port.options.mk> diff --git a/net/asterisk20/distinfo b/net/asterisk20/distinfo index 8aadd4d8d08a..8d71e91a880b 100644 --- a/net/asterisk20/distinfo +++ b/net/asterisk20/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1771771771 -SHA256 (asterisk/asterisk-20.18.2.tar.gz) = 247e47727856b113ad520f3142225b3b7e526e1ba471fb7d546bc0fa4a734592 -SIZE (asterisk/asterisk-20.18.2.tar.gz) = 28633144 +TIMESTAMP = 1775799466 +SHA256 (asterisk/asterisk-20.19.0.tar.gz) = 10fbc070f9aaec50b788962dbcddf694fcc61d49c1f1bb158bf04a2e7e46aba0 +SIZE (asterisk/asterisk-20.19.0.tar.gz) = 28701436 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.15.1_GH0.tar.gz) = 8f3bd99caf003f96ed8038b8a36031eb9d8cd9eaea1eaff7e01c2eef6bd55706 -SIZE (asterisk/pjsip-pjproject-2.15.1_GH0.tar.gz) = 10425868 +SHA256 (asterisk/pjsip-pjproject-2.16_GH0.tar.gz) = 3af2e481d51aaa095897820fa2ee26c30e530590c6ca56d23e4133bbdad369eb +SIZE (asterisk/pjsip-pjproject-2.16_GH0.tar.gz) = 10794360 diff --git a/net/asterisk20/files/patch-build__tools_make__xml__documentation b/net/asterisk20/files/patch-build__tools_make__xml__documentation index af57b9e6dc2c..4597f65926e8 100644 --- a/net/asterisk20/files/patch-build__tools_make__xml__documentation +++ b/net/asterisk20/files/patch-build__tools_make__xml__documentation @@ -1,11 +1,45 @@ ---- build_tools/make_xml_documentation.orig 2024-10-17 16:00:41 UTC +--- build_tools/make_xml_documentation.orig 2026-04-10 06:10:07 UTC +++ build_tools/make_xml_documentation -@@ -220,7 +220,7 @@ for subdir in ${mod_subdirs} ; do +@@ -218,7 +218,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}" + 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 ${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}" +- ${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 + # to see which module xml files in this directory belong to. + bn=${dirname##*/} +- mn=$(${SED} -n -r -e "s/^[$]\(call MOD_ADD_C,([^,]+),[$]\(wildcard\s+${bn}\/.*/\1/gp" "${subdir_path}/Makefile") ++ mn=$(${SED} -n -r -e "s/^[$]\(call MOD_ADD_C,([^,]+),[$]\(wildcard[[:space:]]+${bn}\/.*/\1/gp" "${subdir_path}/Makefile") + 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 + 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}" done done - echo "</docs>" >> "${output_file}" + +@@ -258,7 +258,7 @@ cp "${output_file}" /tmp/xmldoc.tmp.xml + # 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}" + + + if [ "${for_wiki}" -eq "1" ] ; then diff --git a/net/asterisk20/pkg-plist b/net/asterisk20/pkg-plist index b530e129b1bd..16e31caa8163 100644 --- a/net/asterisk20/pkg-plist +++ b/net/asterisk20/pkg-plist @@ -258,6 +258,7 @@ include/asterisk/refer.h include/asterisk/res_aeap.h include/asterisk/res_aeap_message.h include/asterisk/res_audiosocket.h +include/asterisk/res_cdrel_custom.h include/asterisk/res_fax.h include/asterisk/res_geolocation.h include/asterisk/res_hep.hhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69dbc9a3.25b98.5ee7d956>
