git: 4c397b866b92 - main - net/asterisk20: Update 20.11.1 → 20.12.0

From: Joel Bodenmann <jbo_at_FreeBSD.org>
Date: Mon, 10 Feb 2025 19:07:00 UTC
The branch main has been updated by jbo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4c397b866b92cb0ed69110099246e4694cd7dfca

commit 4c397b866b92cb0ed69110099246e4694cd7dfca
Author:     Oleksandr Kryvulia <o.kryvulia@flex-it.com.ua>
AuthorDate: 2025-02-10 08:47:41 +0000
Commit:     Joel Bodenmann <jbo@FreeBSD.org>
CommitDate: 2025-02-10 18:59:43 +0000

    net/asterisk20: Update 20.11.1 → 20.12.0
    
    Changelog: https://www.asterisk.org/asterisk-news/asterisk-20-12-0-now-available
    
    PR:             284705
    Sponsored by:   FLEX-IT LLC
---
 net/asterisk20/Makefile              |  4 ++--
 net/asterisk20/distinfo              | 10 +++++-----
 net/asterisk20/files/patch-configure | 30 +++++++++++++++---------------
 3 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/net/asterisk20/Makefile b/net/asterisk20/Makefile
index d6c362391263..a60e60725aa9 100644
--- a/net/asterisk20/Makefile
+++ b/net/asterisk20/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	asterisk
-DISTVERSION=	20.11.1
+DISTVERSION=	20.12.0
 CATEGORIES=	net
 MASTER_SITES=	https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
 MASTER_SITE_SUBDIR=	asterisk/ \
@@ -214,7 +214,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>
 
diff --git a/net/asterisk20/distinfo b/net/asterisk20/distinfo
index 93b522f0dfdb..5c6f432a6a12 100644
--- a/net/asterisk20/distinfo
+++ b/net/asterisk20/distinfo
@@ -1,11 +1,11 @@
-TIMESTAMP = 1736503325
-SHA256 (asterisk/asterisk-20.11.1.tar.gz) = 5ad25c136c7772f0ad10ae02d59f19b32c0cf64027278e3de6a6314ee24d5ff9
-SIZE (asterisk/asterisk-20.11.1.tar.gz) = 28332999
+TIMESTAMP = 1739091446
+SHA256 (asterisk/asterisk-20.12.0.tar.gz) = a5e40e6282947c2ec6e61de6af910e94ce5b06fd3dae4e6a42c783fa4eaa4b49
+SIZE (asterisk/asterisk-20.12.0.tar.gz) = 28395184
 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
diff --git a/net/asterisk20/files/patch-configure b/net/asterisk20/files/patch-configure
index 2a0a4e4648eb..c4944e79fd51 100644
--- a/net/asterisk20/files/patch-configure
+++ b/net/asterisk20/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig	2024-07-25 15:24:13 UTC
+--- configure.orig	2025-02-06 16:40:51 UTC
 +++ configure
-@@ -5101,8 +5101,6 @@ case "${host_os}" in
+@@ -5188,8 +5188,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; }
+@@ -32418,8 +32416,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;
+@@ -34169,6 +34165,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
+@@ -43828,6 +43826,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";
+@@ -43842,14 +43842,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
+@@ -43899,7 +43899,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
+@@ -43909,8 +43909,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
+@@ -43938,9 +43938,9 @@ fi
  
  	if test "x${PBX_LUA}" = "x1" ; then
  		if test x"${LUA_DIR}" = x; then