summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Lass2018-08-14 20:35:38 +0200
committerMichael Lass2018-08-14 20:35:38 +0200
commit8a3e8eb4c3c9b7eddb400466ea34b3f1783f127c (patch)
tree41eafa26f93ce733b1dd0a87017ffffd4fc51a8e
parent84122809dd5791134d24832939a3bbbb5926a464 (diff)
downloadaur-8a3e8eb4c3c9b7eddb400466ea34b3f1783f127c.tar.gz
Add patch for Linux 4.18
Thanks to Bastian Beischer for providing this change.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD15
2 files changed, 13 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c60a49cbe8c..19fe9949521 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = openafs-modules-dkms
pkgdesc = Kernel module for OpenAFS (dkms)
pkgver = 1.8.1
- pkgrel = 1
+ pkgrel = 2
url = http://www.openafs.org
arch = i686
arch = x86_64
@@ -17,8 +17,10 @@ pkgbase = openafs-modules-dkms
options = !emptydirs
source = http://openafs.org/dl/openafs/1.8.1/openafs-1.8.1-src.tar.bz2
source = dkms.conf
+ source = linux_418.patch::http://git.openafs.org/?p=openafs.git;a=patch;h=554176bd236d772d670df9bdd2496facd5a4209a;hp=eb107ed5c6dd3a53b8a0593054cdf5a03e1421d7
sha256sums = 2f3c13710839510bca985deb6344aeeab72aff3c51b0269e578c7b4ccb8a5638
sha256sums = 05f4218290cbbfa419975ce1dd09e34655a182c4973078578f24a0e468d32275
+ sha256sums = 2b990bec6e5141b85c2488e4c92b66c396f874dd63b05dc8516ccdc89eb0023e
pkgname = openafs-modules-dkms
diff --git a/PKGBUILD b/PKGBUILD
index da43afc3da7..3f83e2472ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=openafs-modules-dkms
_srcname=openafs
pkgver=1.8.1
-pkgrel=1
+pkgrel=2
pkgdesc="Kernel module for OpenAFS (dkms)"
arch=('i686' 'x86_64' 'armv7h')
url="http://www.openafs.org"
@@ -16,16 +16,21 @@ depends=('dkms' 'libelf' 'openafs')
provides=("openafs-modules=$pkgver")
conflicts=('openafs-features-libafs' 'openafs-modules' 'openafs<1.6.6-2')
options=(!emptydirs)
-source=(http://openafs.org/dl/openafs/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2
- dkms.conf)
+source=("http://openafs.org/dl/openafs/${pkgver}/${_srcname}-${pkgver}-src.tar.bz2"
+ "dkms.conf"
+ "linux_418.patch::http://git.openafs.org/?p=openafs.git;a=patch;h=554176bd236d772d670df9bdd2496facd5a4209a;hp=eb107ed5c6dd3a53b8a0593054cdf5a03e1421d7")
sha256sums=('2f3c13710839510bca985deb6344aeeab72aff3c51b0269e578c7b4ccb8a5638'
- '05f4218290cbbfa419975ce1dd09e34655a182c4973078578f24a0e468d32275')
+ '05f4218290cbbfa419975ce1dd09e34655a182c4973078578f24a0e468d32275'
+ '2b990bec6e5141b85c2488e4c92b66c396f874dd63b05dc8516ccdc89eb0023e')
prepare() {
cd "${srcdir}/${_srcname}-${pkgver}"
+ # Patch for Linux 4.18 from https://gerrit.openafs.org/#/c/13268
+ patch -p1 < ${srcdir}/linux_418.patch
+
# Only needed when changes to configure were made
- #./regen.sh -q
+ ./regen.sh -q
}
build() {