update to asterisk-18.3.0

This commit is contained in:
sthen 2021-03-27 15:20:38 +00:00
parent 63071ce003
commit f5ca73ac23
5 changed files with 12 additions and 12 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.343 2021/03/05 15:00:20 sthen Exp $
# $OpenBSD: Makefile,v 1.344 2021/03/27 15:20:38 sthen Exp $
COMMENT-main= open source multi-protocol PBX and telephony toolkit
VER= 18.2.2
VER= 18.3.0
PJ_V= 2.10
DISTNAME= asterisk-${VER:S/beta/-beta/:S/rc/-rc/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} pjproject-${PJ_V}.tar.bz2:0

View File

@ -1,4 +1,4 @@
SHA256 (asterisk-18.2.2.tar.gz) = x6PaZOMNGsQoriz0cj06K3ma6IdoNBCEzoouPkJK4WM=
SHA256 (asterisk-18.3.0.tar.gz) = y5Vmu+DynAGvj1KB8LZmV9teWivxR7Qb2wJ5leIoafU=
SHA256 (pjproject-2.10.tar.bz2) = LooaSgBWLKiO6IvbaNoqnZg8RiiPc0BzKHuRamNrFZM=
SIZE (asterisk-18.2.2.tar.gz) = 27888521
SIZE (asterisk-18.3.0.tar.gz) = 27917957
SIZE (pjproject-2.10.tar.bz2) = 7339188

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-configure_ac,v 1.58 2021/02/04 22:16:54 sthen Exp $
$OpenBSD: patch-configure_ac,v 1.59 2021/03/27 15:20:38 sthen Exp $
test for alpine-2.22's c-client and cope with API change.
parts borrowed from slackware patch for PHP with alpine-2.22.
@ -8,7 +8,7 @@ last hunk: adapt to openbsd's lua directory naming
Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -2124,6 +2124,67 @@ if test "${USE_IMAP_TK}" != "no"; then
@@ -2119,6 +2119,67 @@ if test "${USE_IMAP_TK}" != "no"; then
[ac_cv_imap_tk="no"]
)
if test "${ac_cv_imap_tk}" = "no"; then
@ -76,7 +76,7 @@ Index: configure.ac
imap_libs="-lcrypto -lssl -lc-client4"
LIBS="${saved_libs} ${imap_libs} "`echo ${imap_ldflags}`
AC_LINK_IFELSE(
@@ -2252,6 +2313,9 @@ if test "${USE_IMAP_TK}" != "no"; then
@@ -2247,6 +2308,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
@ -86,7 +86,7 @@ Index: configure.ac
else
AC_MSG_RESULT(no)
fi
@@ -2561,10 +2625,10 @@ fi
@@ -2556,10 +2620,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,9 +1,9 @@
$OpenBSD: patch-res_res_pjsip_registrar_c,v 1.9 2020/09/04 21:22:41 sthen Exp $
$OpenBSD: patch-res_res_pjsip_registrar_c,v 1.10 2021/03/27 15:20:38 sthen Exp $
Index: res/res_pjsip_registrar.c
--- res/res_pjsip_registrar.c.orig
+++ res/res_pjsip_registrar.c
@@ -1280,7 +1280,7 @@ static void *check_expiration_thread(void *data)
@@ -1285,7 +1285,7 @@ static void *check_expiration_thread(void *data)
while (check_interval) {
sleep(check_interval);

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-res_res_rtp_asterisk_c,v 1.7 2021/02/18 21:28:02 sthen Exp $
$OpenBSD: patch-res_res_rtp_asterisk_c,v 1.8 2021/03/27 15:20:38 sthen Exp $
Index: res/res_rtp_asterisk.c
--- res/res_rtp_asterisk.c.orig
+++ res/res_rtp_asterisk.c
@@ -1815,7 +1815,7 @@ static int dtls_setup_rtcp(struct ast_rtp_instance *in
@@ -1832,7 +1832,7 @@ static int dtls_setup_rtcp(struct ast_rtp_instance *in
static const SSL_METHOD *get_dtls_method(void)
{