Date: Sun, 12 Apr 2026 16:34:44 +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: 78346040cff8 - main - net/asterisk22: Update 22=?utf-8?Q?=2E8.2 =E2=86=92?= 22.9.0 Message-ID: <69dbc9a4.24b5f.484da635@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=78346040cff80bc386bbcdc0cbb7dc61414c1c12 commit 78346040cff80bc386bbcdc0cbb7dc61414c1c12 Author: Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua> AuthorDate: 2026-04-12 16:29:13 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-04-12 16:31:06 +0000 net/asterisk22: Update 22.8.2 → 22.9.0 Changelog: https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-22.9.0.html PR: 294412 Sponsored by: FLEX-IT LLC Sponsored by: UNIS Labs --- net/asterisk22/Makefile | 5 +-- net/asterisk22/distinfo | 10 ++--- .../patch-build__tools_make__xml__documentation | 44 +++++++++++++++++++--- net/asterisk22/pkg-plist | 1 + 4 files changed, 47 insertions(+), 13 deletions(-) diff --git a/net/asterisk22/Makefile b/net/asterisk22/Makefile index 2fa31f2ac613..d759c38f8e1c 100644 --- a/net/asterisk22/Makefile +++ b/net/asterisk22/Makefile @@ -1,6 +1,5 @@ PORTNAME= asterisk -DISTVERSION= 22.8.2 -PORTREVISION= 1 +DISTVERSION= 22.9.0 CATEGORIES= net MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729 MASTER_SITE_SUBDIR= asterisk/ \ @@ -222,7 +221,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/asterisk22/distinfo b/net/asterisk22/distinfo index 76f7679bba68..bbd843216338 100644 --- a/net/asterisk22/distinfo +++ b/net/asterisk22/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1771771771 -SHA256 (asterisk/asterisk-22.8.2.tar.gz) = 8dd373ce0771a9ed40bb54a72a889ccdd14c0cee458ed68da9ce913a668e4b22 -SIZE (asterisk/asterisk-22.8.2.tar.gz) = 26523526 +TIMESTAMP = 1775806049 +SHA256 (asterisk/asterisk-22.9.0.tar.gz) = 5fd0e623d7415faa5999c1d5797721a3ab8992cbe33d49faac7d948635df94cc +SIZE (asterisk/asterisk-22.9.0.tar.gz) = 26585391 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/asterisk22/files/patch-build__tools_make__xml__documentation b/net/asterisk22/files/patch-build__tools_make__xml__documentation index af57b9e6dc2c..6d5abd6e6494 100644 --- a/net/asterisk22/files/patch-build__tools_make__xml__documentation +++ b/net/asterisk22/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 07:28:12 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/asterisk22/pkg-plist b/net/asterisk22/pkg-plist index 94ded22c96dc..4a5487e0a088 100644 --- a/net/asterisk22/pkg-plist +++ b/net/asterisk22/pkg-plist @@ -249,6 +249,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?69dbc9a4.24b5f.484da635>
