mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
net/asterisk18: update to 18.24.3
Announcement (the mailing list is dead): https://community.asterisk.org/t/asterisk-security-release-18-24-3/104293
This commit is contained in:
parent
3a2c76139f
commit
db1c49e2f0
5 changed files with 51 additions and 45 deletions
|
@ -1,5 +1,5 @@
|
||||||
PORTNAME= asterisk
|
PORTNAME= asterisk
|
||||||
PORTVERSION= 18.21.0
|
PORTVERSION= 18.24.3
|
||||||
PORTREVISION= 2
|
PORTREVISION= 2
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
|
MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
|
||||||
|
@ -215,7 +215,7 @@ ASTERISK_MOH_G729_SOUNDS= asterisk-moh-opsound-g729-2.03.tar.gz
|
||||||
ASTERISK_USER?= asterisk
|
ASTERISK_USER?= asterisk
|
||||||
ASTERISK_GROUP?= asterisk
|
ASTERISK_GROUP?= asterisk
|
||||||
|
|
||||||
PJSIP_VERSION= 2.13.1
|
PJSIP_VERSION= 2.14.1
|
||||||
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
TIMESTAMP = 1706216570
|
TIMESTAMP = 1726942894
|
||||||
SHA256 (asterisk/asterisk-18.21.0.tar.gz) = 31e1b544ece2bb75be93621e358e6765fc095f4b65e061d488d517177aeb9208
|
SHA256 (asterisk/asterisk-18.24.3.tar.gz) = 70af95d1067a5afec7acbf98a242d853ae5dc8637c8f20d1f30d0dcf96eadb29
|
||||||
SIZE (asterisk/asterisk-18.21.0.tar.gz) = 28446501
|
SIZE (asterisk/asterisk-18.24.3.tar.gz) = 28531091
|
||||||
SHA256 (asterisk/asterisk-core-sounds-en-g729-1.5.tar.gz) = 8b28a59cfa53b59c76e0a191704f0708e3d83acffab8c5e6f25dfc599f0123f9
|
SHA256 (asterisk/asterisk-core-sounds-en-g729-1.5.tar.gz) = 8b28a59cfa53b59c76e0a191704f0708e3d83acffab8c5e6f25dfc599f0123f9
|
||||||
SIZE (asterisk/asterisk-core-sounds-en-g729-1.5.tar.gz) = 1551123
|
SIZE (asterisk/asterisk-core-sounds-en-g729-1.5.tar.gz) = 1551123
|
||||||
SHA256 (asterisk/asterisk-moh-opsound-g729-2.03.tar.gz) = 0147ca9a97f0c550227aacb7793499057c4d2c64e021c95f93722f27d5549585
|
SHA256 (asterisk/asterisk-moh-opsound-g729-2.03.tar.gz) = 0147ca9a97f0c550227aacb7793499057c4d2c64e021c95f93722f27d5549585
|
||||||
SIZE (asterisk/asterisk-moh-opsound-g729-2.03.tar.gz) = 1103000
|
SIZE (asterisk/asterisk-moh-opsound-g729-2.03.tar.gz) = 1103000
|
||||||
SHA256 (asterisk/traud-asterisk-opus-83e1b458c77e0e287adeca494eeb79edb077b0ff_GH0.tar.gz) = 572a3c956371ed62b44a4bcd973db10eb4c84f3040cf7156e3acfad3b6bf3ded
|
SHA256 (asterisk/traud-asterisk-opus-83e1b458c77e0e287adeca494eeb79edb077b0ff_GH0.tar.gz) = 572a3c956371ed62b44a4bcd973db10eb4c84f3040cf7156e3acfad3b6bf3ded
|
||||||
SIZE (asterisk/traud-asterisk-opus-83e1b458c77e0e287adeca494eeb79edb077b0ff_GH0.tar.gz) = 24044
|
SIZE (asterisk/traud-asterisk-opus-83e1b458c77e0e287adeca494eeb79edb077b0ff_GH0.tar.gz) = 24044
|
||||||
SHA256 (asterisk/pjsip-pjproject-2.13.1_GH0.tar.gz) = 32a5ab5bfbb9752cb6a46627e4c410e61939c8dbbd833ac858473cfbd9fb9d7d
|
SHA256 (asterisk/pjsip-pjproject-2.14.1_GH0.tar.gz) = 6140f7a97e318caa89c17e8d5468599671c6eed12d64a7c160dac879ba004c68
|
||||||
SIZE (asterisk/pjsip-pjproject-2.13.1_GH0.tar.gz) = 9746437
|
SIZE (asterisk/pjsip-pjproject-2.14.1_GH0.tar.gz) = 10322231
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
--- Makefile.orig 2022-08-18 15:18:29 UTC
|
diff --git Makefile Makefile
|
||||||
|
index ca742a94f7..af2655342b 100644
|
||||||
|
--- Makefile
|
||||||
+++ Makefile
|
+++ Makefile
|
||||||
@@ -144,7 +144,7 @@ ASTTOPDIR:=$(subst $(space),\$(space),$(CURDIR))
|
@@ -144,7 +144,7 @@ ASTTOPDIR:=$(subst $(space),\$(space),$(CURDIR))
|
||||||
OVERWRITE=y
|
OVERWRITE=y
|
||||||
|
|
||||||
# Include debug and macro symbols in the executables (-g) and profiling info (-pg)
|
# Include debug and macro symbols in the executables (-g) and profiling info (-pg)
|
||||||
-DEBUG=-g3
|
-DEBUG=-g3
|
||||||
+#DEBUG=-g3
|
+# DEBUG=-g3
|
||||||
|
|
||||||
# Asterisk.conf is located in ASTETCDIR or by using the -C flag
|
# Asterisk.conf is located in ASTETCDIR or by using the -C flag
|
||||||
# when starting Asterisk
|
# when starting Asterisk
|
||||||
|
@ -14,7 +16,7 @@
|
||||||
|
|
||||||
# Default install directory for DAHDI hooks.
|
# Default install directory for DAHDI hooks.
|
||||||
-DAHDI_UDEV_HOOK_DIR = /usr/share/dahdi/span_config.d
|
-DAHDI_UDEV_HOOK_DIR = /usr/share/dahdi/span_config.d
|
||||||
+#DAHDI_UDEV_HOOK_DIR = /usr/share/dahdi/span_config.d
|
+# DAHDI_UDEV_HOOK_DIR = /usr/share/dahdi/span_config.d
|
||||||
|
|
||||||
# If the file .asterisk.makeopts is present in your home directory, you can
|
# If the file .asterisk.makeopts is present in your home directory, you can
|
||||||
# include all of your favorite menuselect options so that every time you download
|
# include all of your favorite menuselect options so that every time you download
|
||||||
|
@ -45,12 +47,12 @@
|
||||||
done
|
done
|
||||||
$(MAKE) -C sounds install
|
$(MAKE) -C sounds install
|
||||||
find rest-api -name "*.json" | while read x; do \
|
find rest-api -name "*.json" | while read x; do \
|
||||||
@@ -545,7 +543,7 @@ INSTALLDIRS="$(ASTLIBDIR)" "$(ASTMODDIR)" "$(ASTSBINDI
|
@@ -545,7 +543,7 @@ INSTALLDIRS="$(ASTLIBDIR)" "$(ASTMODDIR)" "$(ASTSBINDIR)" "$(ASTCACHEDIR)" "$(AS
|
||||||
"$(ASTDATADIR)/firmware/iax" "$(ASTDATADIR)/images" "$(ASTDATADIR)/keys" \
|
"$(ASTDATADIR)/firmware/iax" "$(ASTDATADIR)/images" "$(ASTDATADIR)/keys" \
|
||||||
"$(ASTDATADIR)/phoneprov" "$(ASTDATADIR)/rest-api" "$(ASTDATADIR)/static-http" \
|
"$(ASTDATADIR)/phoneprov" "$(ASTDATADIR)/rest-api" "$(ASTDATADIR)/static-http" \
|
||||||
"$(ASTDATADIR)/sounds" "$(ASTDATADIR)/moh" "$(ASTMANDIR)/man8" "$(AGI_DIR)" "$(ASTDBDIR)" \
|
"$(ASTDATADIR)/sounds" "$(ASTDATADIR)/moh" "$(ASTMANDIR)/man8" "$(AGI_DIR)" "$(ASTDBDIR)" \
|
||||||
- "$(ASTDATADIR)/third-party" "${ASTDATADIR}/keys/stir_shaken"
|
- "$(ASTDATADIR)/third-party" "${ASTDATADIR}/keys/stir_shaken" "${ASTDATADIR}/keys/stir_shaken/cache"
|
||||||
+ "$(ASTDATADIR)/third-party" "${ASTDATADIR}/keys/stir_shaken" "$(ASTSPOOLDIR)/outgoing"
|
+ "$(ASTDATADIR)/third-party" "${ASTDATADIR}/keys/stir_shaken" "${ASTDATADIR}/keys/stir_shaken/cache" "$(ASTSPOOLDIR)/outgoing"
|
||||||
|
|
||||||
installdirs:
|
installdirs:
|
||||||
@for i in $(INSTALLDIRS); do \
|
@for i in $(INSTALLDIRS); do \
|
||||||
|
@ -71,10 +73,10 @@
|
||||||
- $(INSTALL) -d $(DESTDIR)/$(DAHDI_UDEV_HOOK_DIR)
|
- $(INSTALL) -d $(DESTDIR)/$(DAHDI_UDEV_HOOK_DIR)
|
||||||
- $(INSTALL) -m 644 contrib/scripts/dahdi_span_config_hook $(DESTDIR)$(DAHDI_UDEV_HOOK_DIR)/40-asterisk
|
- $(INSTALL) -m 644 contrib/scripts/dahdi_span_config_hook $(DESTDIR)$(DAHDI_UDEV_HOOK_DIR)/40-asterisk
|
||||||
-endif
|
-endif
|
||||||
+#ifeq ($(HAVE_DAHDI),1)
|
+# ifeq ($(HAVE_DAHDI),1)
|
||||||
+# $(INSTALL) -d $(DESTDIR)/$(DAHDI_UDEV_HOOK_DIR)
|
+# $(INSTALL) -d $(DESTDIR)/$(DAHDI_UDEV_HOOK_DIR)
|
||||||
+# $(INSTALL) -m 644 contrib/scripts/dahdi_span_config_hook $(DESTDIR)$(DAHDI_UDEV_HOOK_DIR)/40-asterisk
|
+# $(INSTALL) -m 644 contrib/scripts/dahdi_span_config_hook $(DESTDIR)$(DAHDI_UDEV_HOOK_DIR)/40-asterisk
|
||||||
+#endif
|
+# endif
|
||||||
|
|
||||||
$(SUBDIRS_INSTALL):
|
$(SUBDIRS_INSTALL):
|
||||||
+@DESTDIR="$(DESTDIR)" ASTSBINDIR="$(ASTSBINDIR)" ASTDATADIR="$(ASTDATADIR)" $(SUBMAKE) -C $(@:-install=) install
|
+@DESTDIR="$(DESTDIR)" ASTSBINDIR="$(ASTSBINDIR)" ASTDATADIR="$(ASTDATADIR)" $(SUBMAKE) -C $(@:-install=) install
|
||||||
|
@ -109,7 +111,7 @@
|
||||||
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`.sample ; \
|
+ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`.sample ; \
|
||||||
done ; \
|
done ; \
|
||||||
- if [ "$(OVERWRITE)" = "y" ]; then \
|
- if [ "$(OVERWRITE)" = "y" ]; then \
|
||||||
+ if true; then \
|
+ if true ; then \
|
||||||
echo "Updating asterisk.conf" ; \
|
echo "Updating asterisk.conf" ; \
|
||||||
sed -e 's|^astcachedir.*$$|astcachedir => $(ASTCACHEDIR)|' \
|
sed -e 's|^astcachedir.*$$|astcachedir => $(ASTCACHEDIR)|' \
|
||||||
-e 's|^astetcdir.*$$|astetcdir => $(ASTETCDIR)|' \
|
-e 's|^astetcdir.*$$|astetcdir => $(ASTETCDIR)|' \
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
--- configure.orig 2023-03-09 21:54:03 UTC
|
diff --git configure configure
|
||||||
|
index c498ca7a88..2c3fd551d9 100755
|
||||||
|
--- configure
|
||||||
+++ configure
|
+++ configure
|
||||||
@@ -4790,8 +4790,6 @@
|
@@ -5193,8 +5193,6 @@ case "${host_os}" in
|
||||||
;;
|
;;
|
||||||
dragonfly*|freebsd*)
|
dragonfly*|freebsd*)
|
||||||
ac_default_prefix=/usr/local
|
ac_default_prefix=/usr/local
|
||||||
|
@ -9,16 +11,16 @@
|
||||||
;;
|
;;
|
||||||
openbsd*)
|
openbsd*)
|
||||||
ac_default_prefix=/usr/local
|
ac_default_prefix=/usr/local
|
||||||
@@ -19579,8 +19577,6 @@
|
@@ -21762,8 +21760,6 @@ then :
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
$as_echo "yes" >&6; }
|
printf "%s\n" "yes" >&6; }
|
||||||
|
|
||||||
-$as_echo "#define HAVE_SYSINFO 1" >>confdefs.h
|
-printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
|
||||||
-
|
-
|
||||||
else
|
else $as_nop
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
$as_echo "no" >&6; }
|
printf "%s\n" "no" >&6; }
|
||||||
@@ -21196,6 +21192,8 @@
|
@@ -23408,6 +23404,8 @@ printf %s "checking for getifaddrs() support... " >&6; }
|
||||||
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
|
@ -26,8 +28,8 @@
|
||||||
+ #include <sys/socket.h>
|
+ #include <sys/socket.h>
|
||||||
#include <ifaddrs.h>
|
#include <ifaddrs.h>
|
||||||
int
|
int
|
||||||
main ()
|
main (void)
|
||||||
@@ -30633,6 +30631,8 @@
|
@@ -33024,6 +33022,8 @@ fi
|
||||||
|
|
||||||
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,24 +38,25 @@
|
||||||
if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; then
|
if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; then
|
||||||
pbxlibdir=""
|
pbxlibdir=""
|
||||||
# if --with-LUA=DIR has been specified, use it.
|
# if --with-LUA=DIR has been specified, use it.
|
||||||
@@ -30647,13 +30647,13 @@
|
@@ -33038,14 +33038,14 @@ if test "x${PBX_LUA}" != "x1" -a "${USE_LUA}" != "no"; then
|
||||||
ast_ext_lib_check_save_CFLAGS="${CFLAGS}"
|
ast_ext_lib_check_save_CFLAGS="${CFLAGS}"
|
||||||
CFLAGS="${CFLAGS} "
|
CFLAGS="${CFLAGS} "
|
||||||
as_ac_Lib=`$as_echo "ac_cv_lib_lua${ver}''_luaL_newstate" | $as_tr_sh`
|
as_ac_Lib=`printf "%s\n" "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
|
-{ printf "%s\n" "$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 "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\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 "checking for luaL_newstate in -llua-${ver}... " >&6; }
|
||||||
if eval \${$as_ac_Lib+:} false; then :
|
if eval test \${$as_ac_Lib+y}
|
||||||
$as_echo_n "(cached) " >&6
|
then :
|
||||||
else
|
printf %s "(cached) " >&6
|
||||||
|
else $as_nop
|
||||||
ac_check_lib_save_LIBS=$LIBS
|
ac_check_lib_save_LIBS=$LIBS
|
||||||
-LIBS="-llua${ver} ${pbxlibdir} -lm $LIBS"
|
-LIBS="-llua${ver} ${pbxlibdir} -lm $LIBS"
|
||||||
+LIBS="-llua-${ver} ${pbxlibdir} -lm $LIBS"
|
+LIBS="-llua-${ver} ${pbxlibdir} -lm $LIBS"
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
/* end confdefs.h. */
|
/* end confdefs.h. */
|
||||||
|
|
||||||
@@ -30695,7 +30695,7 @@
|
@@ -33086,7 +33086,7 @@ fi
|
||||||
|
|
||||||
# now check for the header.
|
# now check for the header.
|
||||||
if test "${AST_LUA_FOUND}" = "yes"; then
|
if test "${AST_LUA_FOUND}" = "yes"; then
|
||||||
|
@ -62,18 +65,18 @@
|
||||||
# if --with-LUA=DIR has been specified, use it.
|
# if --with-LUA=DIR has been specified, use it.
|
||||||
if test "x${LUA_DIR}" != "x"; then
|
if test "x${LUA_DIR}" != "x"; then
|
||||||
LUA_INCLUDE="-I${LUA_DIR}/include"
|
LUA_INCLUDE="-I${LUA_DIR}/include"
|
||||||
@@ -30705,8 +30705,8 @@
|
@@ -33096,8 +33096,8 @@ fi
|
||||||
# check for the header
|
# check for the header
|
||||||
ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}"
|
ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}"
|
||||||
CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}"
|
CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}"
|
||||||
- as_ac_Header=`$as_echo "ac_cv_header_lua${ver}/lua.h" | $as_tr_sh`
|
- as_ac_Header=`printf "%s\n" "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"
|
-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=`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"
|
+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
|
LUA_HEADER_FOUND=1
|
||||||
else
|
@@ -33124,9 +33124,9 @@ fi
|
||||||
@@ -30733,9 +30733,9 @@
|
|
||||||
|
|
||||||
if test "x${PBX_LUA}" = "x1" ; then
|
if test "x${PBX_LUA}" = "x1" ; then
|
||||||
if test x"${LUA_DIR}" = x; then
|
if test x"${LUA_DIR}" = x; then
|
||||||
|
|
|
@ -410,6 +410,7 @@ sbin/safe_asterisk
|
||||||
@dir %%DATADIR%%/documentation/thirdparty
|
@dir %%DATADIR%%/documentation/thirdparty
|
||||||
@dir %%DATADIR%%/firmware/iax
|
@dir %%DATADIR%%/firmware/iax
|
||||||
@dir %%DATADIR%%/images
|
@dir %%DATADIR%%/images
|
||||||
|
@dir %%DATADIR%%/keys/stir_shaken/cache
|
||||||
@dir %%DATADIR%%/keys/stir_shaken
|
@dir %%DATADIR%%/keys/stir_shaken
|
||||||
@dir %%DATADIR%%/keys
|
@dir %%DATADIR%%/keys
|
||||||
@dir %%DATADIR%%/moh
|
@dir %%DATADIR%%/moh
|
||||||
|
|
Loading…
Add table
Reference in a new issue