aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2020-11-12 19:44:02 +0100
committerTimo Teräs <timo.teras@iki.fi>2020-12-08 08:41:11 +0000
commit28248c561e380fe5303b7153d86a742941cdbba0 (patch)
tree1bf76cba9efc7e8b2d57e8441d9d42ebb1989ccf
parent8ca0a357ed1c061121c2f5ba6d8ba534ee05c0d3 (diff)
downloadaports-28248c561e380fe5303b7153d86a742941cdbba0.tar.gz
aports-28248c561e380fe5303b7153d86a742941cdbba0.tar.bz2
aports-28248c561e380fe5303b7153d86a742941cdbba0.tar.xz
main/asterisk: stable upgrade to 16.14.1
Bump to latest stable version of asterisk 16 - LTS Patch from Alpine edge
-rw-r--r--main/asterisk/APKBUILD6
-rw-r--r--main/asterisk/asterisk-cdefs.patch24
2 files changed, 28 insertions, 2 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD
index 0a44a4af68..37e30a6709 100644
--- a/main/asterisk/APKBUILD
+++ b/main/asterisk/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Timo Teras <timo.teras@iki.fi>
# Maintainer: Timo Teras <timo.teras@iki.fi>
pkgname=asterisk
-pkgver=16.7.0
+pkgver=16.14.1
pkgrel=0
pkgdesc="Asterisk: A Module Open Source PBX System"
pkgusers="asterisk"
@@ -32,6 +32,7 @@ source="$_download/asterisk-$pkgver.tar.gz
musl-mutex-init.patch
musl-astmm-fix.patch
asterisk-mariadb.patch
+ asterisk-cdefs.patch
asterisk.initd
asterisk.confd
@@ -238,11 +239,12 @@ sound_en() {
chown -R asterisk:asterisk "$subpkgdir"/var/*/asterisk
}
-sha512sums="4b06b7879031abf072d8db5e5be32870be65e726d2e02ef38cce48fa4fd006fe8885c95c649ee6f79280c00dc8b0c2252894cb86cfe3011fcc92e2165f3d0213 asterisk-16.7.0.tar.gz
+sha512sums="a0a0fcda2d6a54ba4b73f0d9c91e0985fcc3b948e607b520dfc14518ffb88c480057931fd2a64d1ea08faa1a1f4560219343ec68cba94863a028394de953d19f asterisk-16.14.1.tar.gz
aacef3f4796fb1abd33266998b53909cb4b36e7cc5ad2f7bac68bdc43e9a9072d9a4e2e7e681bddfa31f3d04575eb248afe6ea95da780c67e4829c1e22adfe1b asterisk-addon-mp3-r201.patch.gz
f72c2e04de80d3ed9ce841308101383a1655e6da7a3c888ad31fffe63d1280993e08aefcf8e638316d439c68b38ee05362c87503fca1f36343976a01af9d6eb1 musl-mutex-init.patch
fdac3868ed2ba566397e3a71314568787e4a84d37738f210a6e288c4285215879756c576e2fd064be9cf5169a7e08dbbfd341f50a87e4e6dbfae20e19bcc4d71 musl-astmm-fix.patch
c76a882588194372d0c45a2bd1a9a946543f2dc07fde9240b3e600682e9737337c7602da35bfaeddb4d9fe568daa668016237c6f7986e7c44cf5a8dbba291e1f asterisk-mariadb.patch
+05b8fc2e585fbd00c18fa6f13f4ecb1a1226777d1f9d66abd9ffd496c14741fb19abaec5c2c83f50da04f41957392344454154315f5826d9eb469b66dac4b95b asterisk-cdefs.patch
0044c5db468ec8f2385d18d476f89976f6d036448583a4ef8017ce7a6f8f72105337e6b20037ffe47f561d2877fc9c86720aef23ab037df89b36dc140a5924c4 asterisk.initd
ab6b6f08ff43268cbb1abb7ed7d678949991ba495682a644bbaeb017d6adbff0a43297905fd73ae8db1786a28d5b5904f1bc253209a0e388c8a27f26c6ce14ed asterisk.confd
7591d2faf539d05d9ee4e431c78a5e20686721fd79221ad94dffeeaff9282220b09cb9aec214bd7a8d12affaec0276c9c91e6e21af8b6712c0a9502b60b02f2b asterisk.logrotate"
diff --git a/main/asterisk/asterisk-cdefs.patch b/main/asterisk/asterisk-cdefs.patch
new file mode 100644
index 0000000000..e6a43d3d7e
--- /dev/null
+++ b/main/asterisk/asterisk-cdefs.patch
@@ -0,0 +1,24 @@
+include depreciated cdefs.h as needed for compilation with alpine
+
+--- a/main/ast_expr2.c
++++ b/main/ast_expr2.c
+@@ -95,6 +95,7 @@
+ #include "asterisk.h"
+
+ #include <sys/types.h>
++#include <sys/cdefs.h>
+ #include <stdio.h>
+
+ #if defined(STANDALONE) || defined(STANDALONE2)
+diff --git a/utils/db1-ast/include/db.h b/utils/db1-ast/include/db.h
+index 30f73e2..23b9b95 100644
+--- a/utils/db1-ast/include/db.h
++++ b/utils/db1-ast/include/db.h
+@@ -37,6 +37,7 @@
+ #define _DB_H 1
+
+ #include <sys/types.h>
++#include <sys/cdefs.h>
+
+ #include <limits.h>
+