summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMichael Lass2016-03-21 23:55:37 +0100
committerMichael Lass2016-03-21 23:55:37 +0100
commit6c9b47688853b428fa49668ebe2160058a281cc2 (patch)
tree05a2901286a5763ea117b1886bfccde26fbbadc5 /PKGBUILD
parent734defdbdc7d48c14407e2f9c05a972eeb6a589d (diff)
downloadaur-6c9b47688853b428fa49668ebe2160058a281cc2.tar.gz
Update to 1.6.17 and add patches for Linux 4.4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 16 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 38dbeab2a6a..b10bae5a7e7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=openafs-modules-dkms
_srcname=openafs
-pkgver=1.6.16
+pkgver=1.6.17
pkgrel=1
pkgdesc="Kernel module for OpenAFS (dkms)"
arch=('i686' 'x86_64' 'armv7h')
@@ -16,15 +16,26 @@ provides=("openafs-modules=$pkgver")
conflicts=('openafs-features-libafs' 'openafs-modules' 'openafs<1.6.6-2')
options=(!emptydirs)
source=(http://openafs.org/dl/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2
- dkms.conf)
-sha256sums=('3431702bdcbd1b27833060c50869e618a192495877ebb0a66e4610de0b48eb81'
- 'ea7d1e6dfb5006016e25738be722c8793765f52ad55c0bbf588dd7fdf2bdd2bf')
+ dkms.conf
+ 0001-Linux-4.4-key_payload-has-no-member-value.patch
+ 0002-Linux-4.4-Use-locks_lock_file_wait.patch
+ 0003-Linux-4.4-Do-not-use-splice.patch)
+sha256sums=('96413a2dbffdc9170cc5dde6aa5ad0ae2383c6106994285ed8f186928813a398'
+ 'ea7d1e6dfb5006016e25738be722c8793765f52ad55c0bbf588dd7fdf2bdd2bf'
+ 'f498b60b99f75a2cfbe01cc91c5de0585c225231b4850816c8b080edd7402a98'
+ 'ff962b1bcfeedaed0f74570e8d248b4e42a3391654bf49b4bb25e19d80b6c4ac'
+ '2c2c14f2f1f88eb43a7160f3112cd63e4ea74884322b76b71308b88b32caafdb')
prepare() {
cd ${srcdir}/${_srcname}-${pkgver}
+ # Patches required to build against Linux 4.4
+ patch -p1 < ${srcdir}/0001-Linux-4.4-key_payload-has-no-member-value.patch
+ patch -p1 < ${srcdir}/0002-Linux-4.4-Use-locks_lock_file_wait.patch
+ patch -p1 < ${srcdir}/0003-Linux-4.4-Do-not-use-splice.patch
+
# Only needed when changes to configure were made
- #./regen.sh -q
+ ./regen.sh -q
}
build() {