net/asterisk22: Update 22.1.1 → 22.2.0

Changelog: https://www.asterisk.org/asterisk-news/asterisk-22-2-0-now-available

PR:		284706
Sponsored by:	FLEX-IT LLC
This commit is contained in:
Oleksandr Kryvulia 2025-02-10 12:46:07 +02:00 committed by Joel Bodenmann
parent 4c397b866b
commit 8a24d190eb
3 changed files with 22 additions and 22 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= asterisk
DISTVERSION= 22.1.1
DISTVERSION= 22.2.0
CATEGORIES= net
MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
MASTER_SITE_SUBDIR= asterisk/ \
@ -212,7 +212,7 @@ ASTERISK_MOH_G729_SOUNDS= asterisk-moh-opsound-g729-2.03.tar.gz
ASTERISK_USER= asterisk
ASTERISK_GROUP= asterisk
PJSIP_VERSION= 2.14.1
PJSIP_VERSION= 2.15.1
.include <bsd.port.options.mk>

View file

@ -1,11 +1,11 @@
TIMESTAMP = 1736765958
SHA256 (asterisk/asterisk-22.1.1.tar.gz) = e697740d91c33bf02d506d4da04635da48bfb0b5bb79bf8863c1a9b8f791264f
SIZE (asterisk/asterisk-22.1.1.tar.gz) = 26220027
TIMESTAMP = 1739179077
SHA256 (asterisk/asterisk-22.2.0.tar.gz) = 1e217bc25fa722964d5ae8745da31e6aa77a7b9430b77d1f3520185308490d90
SIZE (asterisk/asterisk-22.2.0.tar.gz) = 26281301
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
SIZE (asterisk/asterisk-moh-opsound-g729-2.03.tar.gz) = 1103000
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.14.1_GH0.tar.gz) = 6140f7a97e318caa89c17e8d5468599671c6eed12d64a7c160dac879ba004c68
SIZE (asterisk/pjsip-pjproject-2.14.1_GH0.tar.gz) = 10322231
SHA256 (asterisk/pjsip-pjproject-2.15.1_GH0.tar.gz) = 8f3bd99caf003f96ed8038b8a36031eb9d8cd9eaea1eaff7e01c2eef6bd55706
SIZE (asterisk/pjsip-pjproject-2.15.1_GH0.tar.gz) = 10425868

View file

@ -1,6 +1,6 @@
--- configure.orig 2024-07-25 15:24:13 UTC
--- configure.orig 2025-02-06 17:18:25 UTC
+++ configure
@@ -5101,8 +5101,6 @@ case "${host_os}" in
@@ -5174,8 +5174,6 @@ case "${host_os}" in
;;
dragonfly*|freebsd*)
ac_default_prefix=/usr/local
@ -9,16 +9,16 @@
;;
openbsd*)
ac_default_prefix=/usr/local
@@ -21439,8 +21437,6 @@ printf "%s\n" "yes" >&6; }
@@ -32338,8 +32336,6 @@ printf "%s\n" "yes" >&6; }
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
printf "%s\n" "yes" >&6; }
-printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
-
else $as_nop
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
else case e in #(
e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
@@ -23085,6 +23081,8 @@ printf %s "checking for getifaddrs() support... " >&6;
@@ -33982,6 +33978,8 @@ printf %s "checking for getifaddrs() support... " >&6;
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@ -27,7 +27,7 @@
#include <ifaddrs.h>
int
main (void)
@@ -31990,6 +31988,8 @@ for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do
@@ -43641,6 +43639,8 @@ for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do
for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do
@ -36,10 +36,10 @@
if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; then
pbxlibdir=""
# if --with-LUA=DIR has been specified, use it.
@@ -32004,14 +32004,14 @@ if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no";
@@ -43655,14 +43655,14 @@ if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no";
ast_ext_lib_check_save_CFLAGS="${CFLAGS}"
CFLAGS="${CFLAGS} "
as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua${ver}""_luaL_newstate" | $as_tr_sh`
as_ac_Lib=`printf "%s\n" "ac_cv_lib_lua${ver}""_luaL_newstate" | sed "$as_sed_sh"`
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua${ver}" >&5
-printf %s "checking for luaL_newstate in -llua${ver}... " >&6; }
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua-${ver}" >&5
@ -47,14 +47,14 @@
if eval test \${$as_ac_Lib+y}
then :
printf %s "(cached) " >&6
else $as_nop
ac_check_lib_save_LIBS=$LIBS
else case e in #(
e) ac_check_lib_save_LIBS=$LIBS
-LIBS="-llua${ver} ${pbxlibdir} -lm $LIBS"
+LIBS="-llua-${ver} ${pbxlibdir} -lm $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -32052,7 +32052,7 @@ fi
@@ -43712,7 +43712,7 @@ fi
# now check for the header.
if test "${AST_LUA_FOUND}" = "yes"; then
@ -63,18 +63,18 @@
# if --with-LUA=DIR has been specified, use it.
if test "x${LUA_DIR}" != "x"; then
LUA_INCLUDE="-I${LUA_DIR}/include"
@@ -32062,8 +32062,8 @@ fi
@@ -43722,8 +43722,8 @@ fi
# check for the header
ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}"
CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}"
- as_ac_Header=`printf "%s\n" "ac_cv_header_lua${ver}/lua.h" | $as_tr_sh`
- as_ac_Header=`printf "%s\n" "ac_cv_header_lua${ver}/lua.h" | sed "$as_sed_sh"`
-ac_fn_c_check_header_compile "$LINENO" "lua${ver}/lua.h" "$as_ac_Header" "$ac_includes_default"
+ as_ac_Header=`printf "%s\n" "ac_cv_header_lua${vernodot}/lua.h" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "lua${vernodot}/lua.h" "$as_ac_Header" "$ac_includes_default"
if eval test \"x\$"$as_ac_Header"\" = x"yes"
then :
LUA_HEADER_FOUND=1
@@ -32090,9 +32090,9 @@ fi
@@ -43751,9 +43751,9 @@ fi
if test "x${PBX_LUA}" = "x1" ; then
if test x"${LUA_DIR}" = x; then