git: 5e8184796946 - main - net/asterisk18: update to 18.7.0

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Thu, 09 Mar 2023 22:45:21 UTC
The branch main has been updated by cmt:

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

commit 5e818479694657e606bd2f73ccd4e1bb0939366d
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2023-03-09 22:44:15 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2023-03-09 22:44:15 +0000

    net/asterisk18: update to 18.7.0
    
    also update embedded pjsip to 2.13
    
    Announcement:
      https://www.asterisk.org/asterisk-news/asterisk-18-17-0-now-available/
---
 net/asterisk18/Makefile              |  4 +--
 net/asterisk18/distinfo              | 10 +++----
 net/asterisk18/files/patch-configure | 56 ++++++++++++++++++------------------
 3 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/net/asterisk18/Makefile b/net/asterisk18/Makefile
index 1bc09b5c0505..6a36aac0a2fc 100644
--- a/net/asterisk18/Makefile
+++ b/net/asterisk18/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	asterisk
-PORTVERSION=	18.16.0
+PORTVERSION=	18.17.0
 CATEGORIES=	net
 MASTER_SITES=	https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
 MASTER_SITE_SUBDIR=	asterisk/ \
@@ -28,7 +28,7 @@ USE_GITHUB=	nodefault
 
 EXTRACT_ONLY:=	${DISTNAME}${EXTRACT_SUFX}
 
-PJSIP_VERSION=	2.12.1
+PJSIP_VERSION=	2.13
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--datarootdir=${DATADIR} \
 		--with-ilbc=internal \
diff --git a/net/asterisk18/distinfo b/net/asterisk18/distinfo
index 6f2a9e8a5323..6b1740894b2d 100644
--- a/net/asterisk18/distinfo
+++ b/net/asterisk18/distinfo
@@ -1,11 +1,11 @@
-TIMESTAMP = 1675362424
-SHA256 (asterisk/asterisk-18.16.0.tar.gz) = 2d280794ae7505ed3dfc58b3190774cb491aa74c339fbde1a11740e6be79b466
-SIZE (asterisk/asterisk-18.16.0.tar.gz) = 28278347
+TIMESTAMP = 1678399539
+SHA256 (asterisk/asterisk-18.17.0.tar.gz) = e14158f32c304bb00ebcc4b8a83d9659aad2d5b1cdb2f2cf853d62d6ddc5fbc2
+SIZE (asterisk/asterisk-18.17.0.tar.gz) = 28293243
 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
 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.12.1_GH0.tar.gz) = d0feef6963b07934e821ba4328aecb4c36358515c1b3e507da5874555d713533
-SIZE (asterisk/pjsip-pjproject-2.12.1_GH0.tar.gz) = 9660659
+SHA256 (asterisk/pjsip-pjproject-2.13_GH0.tar.gz) = 4178bb9f586299111463fc16ea04e461adca4a73e646f8ddef61ea53dafa92d9
+SIZE (asterisk/pjsip-pjproject-2.13_GH0.tar.gz) = 9744716
diff --git a/net/asterisk18/files/patch-configure b/net/asterisk18/files/patch-configure
index d8a559d1d32d..755ab0f298ff 100644
--- a/net/asterisk18/files/patch-configure
+++ b/net/asterisk18/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig	2022-06-23 15:26:13 UTC
+--- configure.orig	2023-03-09 21:54:03 UTC
 +++ configure
-@@ -5156,8 +5156,6 @@ case "${host_os}" in
+@@ -4790,8 +4790,6 @@
       ;;
       dragonfly*|freebsd*)
       ac_default_prefix=/usr/local
@@ -9,15 +9,16 @@
       ;;
       openbsd*)
       ac_default_prefix=/usr/local
-@@ -21341,7 +21339,6 @@ then :
-   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- printf "%s\n" "yes" >&6; }
+@@ -19579,8 +19577,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
-@@ -22983,6 +22980,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; }
+@@ -21196,6 +21192,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)
-@@ -32380,6 +32379,8 @@ fi
+ main ()
+@@ -30633,6 +30631,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.
-@@ -32394,14 +32395,14 @@ if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no";
+@@ -30647,13 +30647,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; }
+       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; }
 +{ 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
+ 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.  */
  
-@@ -32442,7 +32443,7 @@ fi
+@@ -30695,7 +30695,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"
-@@ -32452,8 +32453,8 @@ fi
+@@ -30705,8 +30705,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`
+-         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=`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 :
+ if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    LUA_HEADER_FOUND=1
-@@ -32480,9 +32481,9 @@ fi
+ else
+@@ -30733,9 +30733,9 @@
  
  	if test "x${PBX_LUA}" = "x1" ; then
  		if test x"${LUA_DIR}" = x; then