aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-03-18 15:07:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-03-21 16:17:02 +0000
commit3c999e30bb8037f723017b30250cc8722b9d6a87 (patch)
tree61b34fb4b8b92bb41ae5c9a9f5ac1956b544de28
parentecd1bcac69f2448a7e88784835a79ba494ab8184 (diff)
downloadaports-3c999e30bb8037f723017b30250cc8722b9d6a87.tar.bz2
aports-3c999e30bb8037f723017b30250cc8722b9d6a87.tar.xz
main/dahdi-linux-grsec: rebuild against 4.4.6 kernel
-rw-r--r--main/dahdi-linux-grsec/APKBUILD12
-rw-r--r--main/dahdi-linux-grsec/linux-4.4.patch10
2 files changed, 18 insertions, 4 deletions
diff --git a/main/dahdi-linux-grsec/APKBUILD b/main/dahdi-linux-grsec/APKBUILD
index 12fb10c426..84af36bb18 100644
--- a/main/dahdi-linux-grsec/APKBUILD
+++ b/main/dahdi-linux-grsec/APKBUILD
@@ -3,7 +3,7 @@
_flavor=grsec
_kpkg=linux-$_flavor
-_kver=4.1.20
+_kver=4.4.6
_kpkgrel=0
_mypkgrel=0
@@ -44,6 +44,7 @@ source="http://downloads.digium.com/pub/telephony/dahdi-linux/releases/${_realna
zaphfc-dahdi-2.7.0.patch
constify.patch
linux-3.13.patch
+ linux-4.4.patch
"
prepare() {
@@ -94,7 +95,8 @@ c56e31450dc10601e7d41f66bcae4072 zaphfc-dahdi-flortz.diff
6273db53267e1f322d91bf1c8b97ba19 zaphfc-dahdi-2.6.0.patch
72c1481a6dd59e6c84d7ee3e925052aa zaphfc-dahdi-2.7.0.patch
15fd0337d9e592f2f1829770c2e69c86 constify.patch
-11ba2d68bc6028f47cfb34138df5e196 linux-3.13.patch"
+11ba2d68bc6028f47cfb34138df5e196 linux-3.13.patch
+b64be8f33f66261ecbbc4b0f24d647b2 linux-4.4.patch"
sha256sums="f59f382365118205e77d2874f1c0e1546e936247bcc45f07a43bc21778bee9df dahdi-linux-2.11.1.tar.gz
dea96284bc80184326fb5167d17bbfb9adbfc6bd00076a7b3fa295b424f30fe9 dahdi-depmod.patch
d1472df8e32f858f363f6fa733f9260f245bcd6d55ab4aa4b0352a446b1ec7f7 dahdi-bri_dchan.patch
@@ -105,7 +107,8 @@ b57979edbeeb957c48cdef3c1bc83034dcec64734e1ca239d1fcca04128b5917 zaphfc-dahdi-2
3a8d90cfb745ac5caaa704c1507b3f7b63ee365735ade7e0544739e33469477d zaphfc-dahdi-2.6.0.patch
71eb5dab7f81454b4e10cf1dc50e058dac2448b0e28cf21037bd99e39d9ce1da zaphfc-dahdi-2.7.0.patch
56729122b99df3e674f3b7269103c1e56b87e2f319ed5067365c3ba357e8449b constify.patch
-02fcc0467b4a2f8f827620de8ab833ebc7a99d9029b3af57a5a903b847292992 linux-3.13.patch"
+02fcc0467b4a2f8f827620de8ab833ebc7a99d9029b3af57a5a903b847292992 linux-3.13.patch
+a14c30277abccd8edc482608019133df3e53768a3b6414f0b0a60f0ce6201c83 linux-4.4.patch"
sha512sums="db15d9237f157b5349de8f4cdb45573ed42e1dd25c83f900835c7e15637a19e1e95c7c990dc786c1e3f37f32419f3d009e179d27b5d16421789ff9bc76f54224 dahdi-linux-2.11.1.tar.gz
aba01eb90d9db1c595ff22078c76aadb20900486b5794d38b7ee61fa30d2fb51be318a4d059246017640447aee03fb09bb5514c818e3caa1cd98e331ec065173 dahdi-depmod.patch
fa2fa9e96eefc0f31a1a4a8f8f44e77936f6da0d7b74fe3c3d1f0de085621744ae4367932ac97a10b7f96b7d0954843b0bfe07a251b85434079cc6da29e243ba dahdi-bri_dchan.patch
@@ -116,4 +119,5 @@ f18043fd18a05be7e49daa9d8c96c8a8c45936b14e82e30523e4d88b1620a73147f765d24d2038c4
7533c640817f71789c922bb9a5a3b6132b5b47958770929b1c9a50a1e2e6de914e278f466a85ef99759e291e5907c56d60926c74075f4e731a9910a46c1be3ea zaphfc-dahdi-2.6.0.patch
daca74da31c655265164a854987d45ca5ee3af1defbe2d49a9f1a70a48a43dc2bc3ceba724781ae29e3a9078b827f641d2e29809fb25101986f2f69c767d1382 zaphfc-dahdi-2.7.0.patch
c247ce53dd0c9f069d4881c89bd0dc1a816562761874731924af482c40736d6604b360b26642ba5d5d86208c8231de703aa0d858e40911cb0dda46c8fabfd19e constify.patch
-dfc2b0357dc3d2a37c45f1fcc503009cf35e99c8b174d0dd7c91ac4c2c9bb3428f9a19a3f264446069fd751441833f43e11b3b55a060865c6daca9bef74008be linux-3.13.patch"
+dfc2b0357dc3d2a37c45f1fcc503009cf35e99c8b174d0dd7c91ac4c2c9bb3428f9a19a3f264446069fd751441833f43e11b3b55a060865c6daca9bef74008be linux-3.13.patch
+18cc299c9b9ab05b93769c0aa68595d3b3b640b97c6ee546b9cbe551f08679557c7e2a5a8255577ab6ae7036c2210550b45066b03d04ebbe7adad1a59aba5866 linux-4.4.patch"
diff --git a/main/dahdi-linux-grsec/linux-4.4.patch b/main/dahdi-linux-grsec/linux-4.4.patch
new file mode 100644
index 0000000000..fe6105319d
--- /dev/null
+++ b/main/dahdi-linux-grsec/linux-4.4.patch
@@ -0,0 +1,10 @@
+--- ./drivers/dahdi/zaphfc.c.orig
++++ ./drivers/dahdi/zaphfc.c
+@@ -27,6 +27,7 @@
+ #include <linux/interrupt.h>
+ #include <linux/delay.h>
+ #include <linux/sched.h>
++#include <linux/vmalloc.h>
+ #include <dahdi/kernel.h>
+ #include "zaphfc.h"
+