aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-26 15:40:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-27 07:47:08 +0000
commit4665941f1b3ce0f14dec7445039982cd2abb1cbd (patch)
treea2b6d38408206b97a254155c1d231410a913670c /main
parent3a8462cfd2107712a5e433743def9a729868c4c9 (diff)
downloadaports-4665941f1b3ce0f14dec7445039982cd2abb1cbd.tar.bz2
aports-4665941f1b3ce0f14dec7445039982cd2abb1cbd.tar.xz
main/dahdi-linux-grsec: upgrade to 2.9.0 and build for 3.13.7 kernel
Diffstat (limited to 'main')
-rw-r--r--main/dahdi-linux-grsec/APKBUILD22
-rw-r--r--main/dahdi-linux-grsec/linux-3.13.patch12
2 files changed, 25 insertions, 9 deletions
diff --git a/main/dahdi-linux-grsec/APKBUILD b/main/dahdi-linux-grsec/APKBUILD
index b3d770fa1e..0ca61623f1 100644
--- a/main/dahdi-linux-grsec/APKBUILD
+++ b/main/dahdi-linux-grsec/APKBUILD
@@ -3,8 +3,8 @@
_flavor=grsec
_kpkg=linux-$_flavor
-_kver=3.12.8
-_kpkgrel=1
+_kver=3.13.7
+_kpkgrel=0
_mypkgrel=0
# verify the kernel version before entering chroot
@@ -21,7 +21,7 @@ _realname=dahdi-linux
pkgname=${_realname}-${_flavor}
pkgver=$_kver
# when chaning _dahdiver we *must* bump _mypkgrel
-_dahdiver=2.8.0.1
+_dahdiver=2.9.0
pkgrel=$(( $_kpkgrel + $_mypkgrel ))
pkgdesc="Digium Asterisk Hardware Device Interface drivers $_dahdiver"
url="http://www.asterisk.org"
@@ -43,6 +43,7 @@ source="http://downloads.digium.com/pub/telephony/dahdi-linux/releases/${_realna
zaphfc-dahdi-2.6.0.patch
zaphfc-dahdi-2.7.0.patch
constify.patch
+ linux-3.13.patch
"
prepare() {
@@ -83,7 +84,7 @@ dev() {
ln -s /usr/include "$dir"/include
}
-md5sums="fedb006fbf01219519184cce0302e34a dahdi-linux-2.8.0.1.tar.gz
+md5sums="8050688193b2a41d6d5dbc6755b1e76d dahdi-linux-2.9.0.tar.gz
c78fb8d80f9efdffd950297c88ff9273 dahdi-depmod.patch
3bb419ac598534cd4ad5248f23656001 dahdi-bri_dchan.patch
c6308ea8aaafba0a9d7f9825d7c9dcf8 dahdi-zaphfc.patch
@@ -92,8 +93,9 @@ c6308ea8aaafba0a9d7f9825d7c9dcf8 dahdi-zaphfc.patch
9ed23321512274c6c5c5b76af0411e38 zaphfc-dahdi-2.5.0.patch
6273db53267e1f322d91bf1c8b97ba19 zaphfc-dahdi-2.6.0.patch
72c1481a6dd59e6c84d7ee3e925052aa zaphfc-dahdi-2.7.0.patch
-15fd0337d9e592f2f1829770c2e69c86 constify.patch"
-sha256sums="7e726f065bc5564b66dc0a7249f996354ecb66f0a03154f5ab75b7cabefad682 dahdi-linux-2.8.0.1.tar.gz
+15fd0337d9e592f2f1829770c2e69c86 constify.patch
+11ba2d68bc6028f47cfb34138df5e196 linux-3.13.patch"
+sha256sums="0041377aafdfb81be82c6b2478007cd4cd742817895ff9b9d232b96601e26a4d dahdi-linux-2.9.0.tar.gz
dea96284bc80184326fb5167d17bbfb9adbfc6bd00076a7b3fa295b424f30fe9 dahdi-depmod.patch
d1472df8e32f858f363f6fa733f9260f245bcd6d55ab4aa4b0352a446b1ec7f7 dahdi-bri_dchan.patch
3bc70c81cbf4d7bcafd326a00562066905e425cdebc12b5fc8c69be2af4a557d dahdi-zaphfc.patch
@@ -102,8 +104,9 @@ d1472df8e32f858f363f6fa733f9260f245bcd6d55ab4aa4b0352a446b1ec7f7 dahdi-bri_dcha
b57979edbeeb957c48cdef3c1bc83034dcec64734e1ca239d1fcca04128b5917 zaphfc-dahdi-2.5.0.patch
3a8d90cfb745ac5caaa704c1507b3f7b63ee365735ade7e0544739e33469477d zaphfc-dahdi-2.6.0.patch
71eb5dab7f81454b4e10cf1dc50e058dac2448b0e28cf21037bd99e39d9ce1da zaphfc-dahdi-2.7.0.patch
-56729122b99df3e674f3b7269103c1e56b87e2f319ed5067365c3ba357e8449b constify.patch"
-sha512sums="d8282d5ebbd091075abfc4cde2c9f3011ebb75202d0d3095d14d245d07e55381bfb03ada48d5bc57f3e1ad3edb8161810676379adf5ab42483a4265b78f3a205 dahdi-linux-2.8.0.1.tar.gz
+56729122b99df3e674f3b7269103c1e56b87e2f319ed5067365c3ba357e8449b constify.patch
+02fcc0467b4a2f8f827620de8ab833ebc7a99d9029b3af57a5a903b847292992 linux-3.13.patch"
+sha512sums="a4554169b8b18f0fb345a5c73362df3b983172a5dab1f06072f4eb7327416fff0f7bfa5a64621f4b250b4a620c5a34728a174fdc9090c8353d460152eefde1dc dahdi-linux-2.9.0.tar.gz
aba01eb90d9db1c595ff22078c76aadb20900486b5794d38b7ee61fa30d2fb51be318a4d059246017640447aee03fb09bb5514c818e3caa1cd98e331ec065173 dahdi-depmod.patch
fa2fa9e96eefc0f31a1a4a8f8f44e77936f6da0d7b74fe3c3d1f0de085621744ae4367932ac97a10b7f96b7d0954843b0bfe07a251b85434079cc6da29e243ba dahdi-bri_dchan.patch
c6eaaf9119656a55820f44eca5d568eef241be185fa2e89779c1beee0004c81d642365e639c99e7c74a4a9ebd88468f5db20586ef8d65da15a6037607fc48e3f dahdi-zaphfc.patch
@@ -112,4 +115,5 @@ c6eaaf9119656a55820f44eca5d568eef241be185fa2e89779c1beee0004c81d642365e639c99e7c
95811d56f5567bbab1e6fac89fdc7a4d78252a54a416e884903ae2709f8922f5cd02c492de0bad5c35fdfd52250ec231ed11457e36ba33f8747c3226491882de zaphfc-dahdi-2.5.0.patch
7533c640817f71789c922bb9a5a3b6132b5b47958770929b1c9a50a1e2e6de914e278f466a85ef99759e291e5907c56d60926c74075f4e731a9910a46c1be3ea zaphfc-dahdi-2.6.0.patch
daca74da31c655265164a854987d45ca5ee3af1defbe2d49a9f1a70a48a43dc2bc3ceba724781ae29e3a9078b827f641d2e29809fb25101986f2f69c767d1382 zaphfc-dahdi-2.7.0.patch
-c247ce53dd0c9f069d4881c89bd0dc1a816562761874731924af482c40736d6604b360b26642ba5d5d86208c8231de703aa0d858e40911cb0dda46c8fabfd19e constify.patch"
+c247ce53dd0c9f069d4881c89bd0dc1a816562761874731924af482c40736d6604b360b26642ba5d5d86208c8231de703aa0d858e40911cb0dda46c8fabfd19e constify.patch
+dfc2b0357dc3d2a37c45f1fcc503009cf35e99c8b174d0dd7c91ac4c2c9bb3428f9a19a3f264446069fd751441833f43e11b3b55a060865c6daca9bef74008be linux-3.13.patch"
diff --git a/main/dahdi-linux-grsec/linux-3.13.patch b/main/dahdi-linux-grsec/linux-3.13.patch
new file mode 100644
index 0000000000..220568995f
--- /dev/null
+++ b/main/dahdi-linux-grsec/linux-3.13.patch
@@ -0,0 +1,12 @@
+diff --git a/drivers/dahdi/zaphfc.c b/drivers/dahdi/zaphfc.c
+index 0402b90..eb56f88 100644
+--- a/drivers/dahdi/zaphfc.c
++++ b/drivers/dahdi/zaphfc.c
+@@ -26,6 +26,7 @@
+ #include <linux/init.h>
+ #include <linux/interrupt.h>
+ #include <linux/delay.h>
++#include <linux/sched.h>
+ #include <dahdi/kernel.h>
+ #include "zaphfc.h"
+