From 90a8f084cf866bb5cc6bae022c806fdccb64d7aa Mon Sep 17 00:00:00 2001 From: Jiri Slachta Date: Wed, 12 May 2021 18:42:06 +0200 Subject: [PATCH] asterisk: update to 18.4.0 Patches updated/refreshed: 100-build-reproducibly.patch 130-eventfd.patch 140-use-default-lua.patch Signed-off-by: Jiri Slachta --- net/asterisk/Makefile | 4 ++-- net/asterisk/patches/100-build-reproducibly.patch | 6 +++--- net/asterisk/patches/130-eventfd.patch | 2 +- net/asterisk/patches/140-use-default-lua.patch | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile index 38e2082..b0c2b8a 100644 --- a/net/asterisk/Makefile +++ b/net/asterisk/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=asterisk -PKG_VERSION:=18.2.2 +PKG_VERSION:=18.4.0 PKG_RELEASE:=1 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/asterisk/releases -PKG_HASH:=c7a3da64e30d1ac428ae2cf4723d3a2b799ae88768341084ce8a2e3e424ae163 +PKG_HASH:=91c0c35a0c53097647ab3e7b29d34dd0861fed0a8d52e3617408e9eced404db1 PKG_BUILD_DEPENDS:=libxml2/host diff --git a/net/asterisk/patches/100-build-reproducibly.patch b/net/asterisk/patches/100-build-reproducibly.patch index 7ffa74a..b4f017c 100644 --- a/net/asterisk/patches/100-build-reproducibly.patch +++ b/net/asterisk/patches/100-build-reproducibly.patch @@ -23,6 +23,6 @@ printf "$$x " ; \ - for i in `find $$x -name '*.c'`; do \ + for i in `find $$x -name '*.c' | LC_ALL=C sort`; do \ - $(AWK) -f build_tools/get_documentation $$i >> $@ ; \ - done ; \ - done + MODULEINFO=$$($(AWK) -f build_tools/get_moduleinfo $$i) ; \ + if [ -n "$$MODULEINFO" ] ; \ + then \ diff --git a/net/asterisk/patches/130-eventfd.patch b/net/asterisk/patches/130-eventfd.patch index 1fb986e..c783a52 100644 --- a/net/asterisk/patches/130-eventfd.patch +++ b/net/asterisk/patches/130-eventfd.patch @@ -1,6 +1,6 @@ --- a/configure.ac +++ b/configure.ac -@@ -1213,7 +1213,7 @@ if test "${ac_cv_have_variable_fdset}x" +@@ -1205,7 +1205,7 @@ if test "${ac_cv_have_variable_fdset}x" fi AC_MSG_CHECKING([if we have usable eventfd support]) diff --git a/net/asterisk/patches/140-use-default-lua.patch b/net/asterisk/patches/140-use-default-lua.patch index f50af3e..bd7041f 100644 --- a/net/asterisk/patches/140-use-default-lua.patch +++ b/net/asterisk/patches/140-use-default-lua.patch @@ -1,6 +1,6 @@ --- a/configure.ac +++ b/configure.ac -@@ -2567,7 +2567,7 @@ if test -z "$__opus_include" -o x"$__opu +@@ -2555,7 +2555,7 @@ if test -z "$__opus_include" -o x"$__opu fi AST_EXT_LIB_CHECK([OPUSFILE], [opusfile], [op_open_callbacks], [opus/opusfile.h], [], [$__opus_include]) -- 2.30.2