mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-21 19:14:34 +04:00
This bumps asterisk to version 16.25.2 to address the following security concerns: https://downloads.asterisk.org/pub/security/AST-2022-001.html https://downloads.asterisk.org/pub/security/AST-2022-002.html https://downloads.asterisk.org/pub/security/AST-2022-003.html Other changes: - add two new modules (app_sf and func_json) - update 100-build-reproducibly.patch as upstream refactored some of the code - refresh patches - "--disable-xmldoc" does no longer prevent the linking to libxslt, if available. If that's the case one is greeted with the following error: Package asterisk is missing dependencies for the following libraries: libxslt.so.1 This commit explicitly disables the use of libxslt, to avoid the dependency. - backport 160-AST_EXT_TOOL_CHECK.patch from master for issue #672 - backport 180_build-fix-bininstall-launchd-issue-on-cross-platfrom.patch from master to fix a build issue on MacOS (patch from Sergey V. Lobanov <sergey@lobanov.in>) Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
34 lines
1.1 KiB
Diff
34 lines
1.1 KiB
Diff
From 9b4070944578336506cd0a76de6f733c72d0ca74 Mon Sep 17 00:00:00 2001
|
|
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
|
|
Date: Sat, 13 Oct 2018 11:11:15 +0200
|
|
Subject: [PATCH] configure: fix detection of re-entrant resolver functions
|
|
|
|
Fixes https://issues.asterisk.org/jira/browse/ASTERISK-21795
|
|
|
|
uClibc does not provide res_nsearch:
|
|
asterisk-16.0.0/main/dns.c:506: undefined reference to `res_nsearch'
|
|
|
|
Patch coded by Yann E. MORIN:
|
|
http://lists.busybox.net/pipermail/buildroot/2018-October/232630.html
|
|
|
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
|
---
|
|
configure.ac | 6 +++++-
|
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -1482,7 +1482,11 @@ AC_LINK_IFELSE(
|
|
#include <arpa/nameser.h>
|
|
#endif
|
|
#include <resolv.h>],
|
|
- [int foo = res_ninit(NULL);])],
|
|
+ [
|
|
+ int foo;
|
|
+ foo = res_ninit(NULL);
|
|
+ foo = res_nsearch(NULL, NULL, 0, 0, NULL, 0);
|
|
+ ])],
|
|
AC_MSG_RESULT(yes)
|
|
AC_DEFINE([HAVE_RES_NINIT], 1, [Define to 1 if your system has the re-entrant resolver functions.])
|
|
AC_SEARCH_LIBS(res_9_ndestroy, resolv)
|