update to asterisk-16.29.1

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

View File

@ -1,9 +1,9 @@
VER= 16.29.0
VER= 16.29.1
PJ_V= 2.12.1
SHLIB_V= 0.0
OLD_SAMPLECONF= Yes
VERSION_SPEC= >=16.0,<17.0
PORTROACH= limit:^16\.
REVISION-main= 0
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
SHA256 (asterisk-16.29.0.tar.gz) = QGqRKQ4Y0lpvwjrmucVrH7K9cCFuM2x0z5wmuQjInD0=
SHA256 (asterisk-16.29.1.tar.gz) = G3wViinybB9INxkifabyF5ow2wToCq1g4D0rHMJWDfU=
SHA256 (pjproject-2.12.1.tar.gz) = 0P7vaWOweTToIbpDKK7LTDY1hRXBs+UH2lh0VV1xNTM=
SIZE (asterisk-16.29.0.tar.gz) = 28105953
SIZE (asterisk-16.29.1.tar.gz) = 28104161
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
@@ -2174,6 +2174,67 @@ if test "${USE_IMAP_TK}" != "no"; then
@@ -2185,6 +2185,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(
@@ -2302,6 +2363,9 @@ if test "${USE_IMAP_TK}" != "no"; then
@@ -2313,6 +2374,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
@@ -2610,10 +2674,10 @@ fi
@@ -2622,10 +2686,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;