git: ad5dfdfb10ff - main - net/asterisk16: update to 16.30.1

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Sat, 08 Jul 2023 20:46:37 UTC
The branch main has been updated by cmt:

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

commit ad5dfdfb10ffca3197ed744c45bb36d5d11c3a33
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2023-07-08 20:46:02 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2023-07-08 20:46:02 +0000

    net/asterisk16: update to 16.30.1
    
    Announcement:
      http://lists.digium.com/pipermail/asterisk-announce/2023-July/000884.html
---
 net/asterisk16/Makefile              |  3 +-
 net/asterisk16/distinfo              |  6 ++--
 net/asterisk16/files/patch-configure | 64 ++++++++++++++++++------------------
 3 files changed, 36 insertions(+), 37 deletions(-)

diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile
index 67f413434bd5..987d5c5488c6 100644
--- a/net/asterisk16/Makefile
+++ b/net/asterisk16/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	asterisk
-PORTVERSION=	16.30.0
-PORTREVISION=	1
+PORTVERSION=	16.30.1
 CATEGORIES=	net
 MASTER_SITES=	https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
 MASTER_SITE_SUBDIR=	asterisk/ \
diff --git a/net/asterisk16/distinfo b/net/asterisk16/distinfo
index 1eb56ba98925..f952d03d80c2 100644
--- a/net/asterisk16/distinfo
+++ b/net/asterisk16/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1678399461
-SHA256 (asterisk/asterisk-16.30.0.tar.gz) = f8448e8784df7fac019e459bf7c82529d80afe64ae97d73d40e6aa0e4fb39724
-SIZE (asterisk/asterisk-16.30.0.tar.gz) = 28131110
+TIMESTAMP = 1688844053
+SHA256 (asterisk/asterisk-16.30.1.tar.gz) = 8a91b0f8412d8e3dbd7172c118c52ba4ed4e016696f2778a466db094ec4b8b22
+SIZE (asterisk/asterisk-16.30.1.tar.gz) = 28234979
 SHA256 (asterisk/asterisk-core-sounds-en-g729-1.5.tar.gz) = 8b28a59cfa53b59c76e0a191704f0708e3d83acffab8c5e6f25dfc599f0123f9
 SIZE (asterisk/asterisk-core-sounds-en-g729-1.5.tar.gz) = 1551123
 SHA256 (asterisk/asterisk-moh-opsound-g729-2.03.tar.gz) = 0147ca9a97f0c550227aacb7793499057c4d2c64e021c95f93722f27d5549585
diff --git a/net/asterisk16/files/patch-configure b/net/asterisk16/files/patch-configure
index 5435e3fd970e..eed529d4a530 100644
--- a/net/asterisk16/files/patch-configure
+++ b/net/asterisk16/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig	2022-06-23 15:21:01 UTC
-+++ configure
-@@ -5148,8 +5148,6 @@ case "${host_os}" in
+--- configure.orig	2023-07-08 22:22:44.676661000 +0200
++++ configure	2023-07-08 22:33:11.658421000 +0200
+@@ -4778,8 +4778,6 @@
       ;;
       dragonfly*|freebsd*)
       ac_default_prefix=/usr/local
@@ -9,15 +9,16 @@
       ;;
       openbsd*)
       ac_default_prefix=/usr/local
-@@ -21309,7 +21307,6 @@ then :
-   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- printf "%s\n" "yes" >&6; }
+@@ -19524,8 +19522,6 @@
+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ $as_echo "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
-@@ -22951,6 +22948,8 @@ printf %s "checking for getifaddrs() support... " >&6;
+-$as_echo "#define HAVE_SYSINFO 1" >>confdefs.h
+-
+ else
+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+ $as_echo "no" >&6; }
+@@ -21141,6 +21137,8 @@
  
  	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  /* end confdefs.h.  */
@@ -25,8 +26,8 @@
 + #include <sys/socket.h>
   #include <ifaddrs.h>
  int
- main (void)
-@@ -32266,6 +32265,8 @@ fi
+ main ()
+@@ -30484,6 +30482,8 @@
  
  for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do
  
@@ -35,25 +36,24 @@
  if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; then
     pbxlibdir=""
     # if --with-LUA=DIR has been specified, use it.
-@@ -32280,14 +32281,14 @@ if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no";
+@@ -30498,13 +30498,13 @@
        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`
--{ 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
-+printf %s "checking for luaL_newstate in -llua-${ver}... " >&6; }
- if eval test \${$as_ac_Lib+y}
- then :
-   printf %s "(cached) " >&6
- else $as_nop
+       as_ac_Lib=`$as_echo "ac_cv_lib_lua${ver}''_luaL_newstate" | $as_tr_sh`
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua${ver}" >&5
+-$as_echo_n "checking for luaL_newstate in -llua${ver}... " >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for luaL_newstate in -llua-${ver}" >&5
++$as_echo_n "checking for luaL_newstate in -llua-${ver}... " >&6; }
+ if eval \${$as_ac_Lib+:} false; then :
+   $as_echo_n "(cached) " >&6
+ else
    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.  */
  
-@@ -32328,7 +32329,7 @@ fi
+@@ -30546,7 +30546,7 @@
  
     # now check for the header.
     if test "${AST_LUA_FOUND}" = "yes"; then
@@ -62,18 +62,18 @@
        # if --with-LUA=DIR has been specified, use it.
        if test "x${LUA_DIR}" != "x"; then
           LUA_INCLUDE="-I${LUA_DIR}/include"
-@@ -32338,8 +32339,8 @@ fi
+@@ -30556,8 +30556,8 @@
           # 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`
--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 :
+-         as_ac_Header=`$as_echo "ac_cv_header_lua${ver}/lua.h" | $as_tr_sh`
+-ac_fn_c_check_header_mongrel "$LINENO" "lua${ver}/lua.h" "$as_ac_Header" "$ac_includes_default"
++         as_ac_Header=`$as_echo "ac_cv_header_lua${vernodot}/lua.h" | $as_tr_sh`
++ac_fn_c_check_header_mongrel "$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
-@@ -32366,9 +32367,9 @@ fi
+ else
+@@ -30584,9 +30584,9 @@
  
  	if test "x${PBX_LUA}" = "x1" ; then
  		if test x"${LUA_DIR}" = x; then