update to asterisk-18.15.1

This commit is contained in:
sthen 2022-12-02 08:49:17 +00:00
parent 7da52a205b
commit 03dc4d1e94
5 changed files with 9 additions and 19 deletions

View File

@ -1,9 +1,9 @@
VER= 18.15.0
VER= 18.15.1
PJ_V= 2.12.1
SHLIB_V= 0.0
OLD_SAMPLECONF= Yes
VERSION_SPEC= >=18.0,<19.0
PORTROACH= limit:^18\.
REVISION-main= 0
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
SHA256 (asterisk-18.15.0.tar.gz) = qWPa/roOfhBRoaxWlkmZwRHbzbJaRwELwfdyv47b7XU=
SHA256 (asterisk-18.15.1.tar.gz) = dZSwReGXmm6A8H7P/2NCBIMJF/0qdoaxYc9ISUVPRTE=
SHA256 (pjproject-2.12.1.tar.gz) = 0P7vaWOweTToIbpDKK7LTDY1hRXBs+UH2lh0VV1xNTM=
SIZE (asterisk-18.15.0.tar.gz) = 28219845
SIZE (asterisk-18.15.1.tar.gz) = 28216621
SIZE (pjproject-2.12.1.tar.gz) = 9660659

View File

@ -12,17 +12,7 @@ Index: configs/samples/asterisk.conf.sample
;lightbackground = yes ; If your terminal is set for a light-colored
; background.
;forceblackbackground = yes ; Force the background of the terminal to be
@@ -94,7 +94,8 @@ documentation_language = en_US ; Set the language you
; gosub - Invoke the stdexten using a gosub as
; documented in extensions.conf.sample.
; Default gosub.
-;live_dangerously = no ; Enable the execution of 'dangerous' dialplan
+live_dangerously = no
+;live_dangerously = yes ; Enable the execution of 'dangerous' dialplan
; functions from external sources (AMI,
; etc.) These functions (such as SHELL) are
; considered dangerous because they can allow
@@ -127,8 +128,8 @@ documentation_language = en_US ; Set the language you
@@ -130,8 +130,8 @@ documentation_language = en_US ; Set the language you
; when the Digium Phone Module for Asterisk is in use.
; Changing the following lines may compromise your security.

View File

@ -6,7 +6,7 @@ last hunk: adapt to openbsd's lua directory naming
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -2176,6 +2176,67 @@ if test "${USE_IMAP_TK}" != "no"; then
@@ -2187,6 +2187,67 @@ if test "${USE_IMAP_TK}" != "no"; then
[ac_cv_imap_tk="no"]
)
if test "${ac_cv_imap_tk}" = "no"; then
@ -74,7 +74,7 @@ Index: configure.ac
imap_libs="-lcrypto -lssl -lc-client4"
LIBS="${saved_libs} ${imap_libs} "`echo ${imap_ldflags}`
AC_LINK_IFELSE(
@@ -2304,6 +2365,9 @@ if test "${USE_IMAP_TK}" != "no"; then
@@ -2315,6 +2376,9 @@ if test "${USE_IMAP_TK}" != "no"; then
if test "${ac_cv_imap_tk2006}" = "yes"; then
AC_DEFINE([HAVE_IMAP_TK2006], 1, [Define if your system has the UW IMAP Toolkit c-client library version 2006 or greater.])
fi
@ -84,7 +84,7 @@ Index: configure.ac
else
AC_MSG_RESULT(no)
fi
@@ -2614,10 +2678,10 @@ fi
@@ -2626,10 +2690,10 @@ fi
AST_EXT_LIB_CHECK([OPUSFILE], [opusfile], [op_open_callbacks], [opus/opusfile.h], [], [$__opus_include])
for ver in ${LUA_VERSIONS:-5.4 5.3 5.2 5.1}; do

View File

@ -1,7 +1,7 @@
Index: main/utils.c
--- main/utils.c.orig
+++ main/utils.c
@@ -2722,6 +2722,8 @@ int ast_get_tid(void)
@@ -2728,6 +2728,8 @@ int ast_get_tid(void)
long lwpid;
thr_self(&lwpid); /* available since sys/thr.h creation 2003 */
ret = lwpid;