Skip to content

Commit

Permalink
net/asterisk18: update to 18.7.0
Browse files Browse the repository at this point in the history
also update embedded pjsip to 2.13

Announcement:
  https://www.asterisk.org/asterisk-news/asterisk-18-17-0-now-available/
  • Loading branch information
moench-tegeder committed Mar 9, 2023
1 parent 191db1b commit 5e81847
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
4 changes: 2 additions & 2 deletions 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/ \
Expand Down Expand Up @@ -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 \
Expand Down
10 changes: 5 additions & 5 deletions 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
56 changes: 28 additions & 28 deletions 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
Expand All @@ -9,24 +9,25 @@
;;
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. */
+ #include <sys/types.h>
+ #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

Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5e81847

Please sign in to comment.