diff options
author | Jesus Alvarez | 2017-12-03 16:05:06 -0800 |
---|---|---|
committer | Jesus Alvarez | 2017-12-03 16:05:06 -0800 |
commit | e72cf258d6ce143674d04a456710eb26d16b19e7 (patch) | |
tree | 8b216988ab2ad5a1f50978ec214da62c87b54924 /PKGBUILD | |
parent | 4564c567141b22fb14be67e45327d25fa01ffb31 (diff) | |
download | aur-e72cf258d6ce143674d04a456710eb26d16b19e7.tar.gz |
Semi-automated update for 4.14.3.a.1-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -18,22 +18,26 @@ pkgbase="spl-linux-hardened" pkgname=("spl-linux-hardened" "spl-linux-hardened-headers") -pkgver=0.7.3_4.13.16.a.1 +pkgver=0.7.3_4.14.3.a.1 pkgrel=1 -makedepends=("linux-hardened-headers=4.13.16.a-1") +makedepends=("linux-hardened-headers=4.14.3.a-1") arch=("x86_64") url="http://zfsonlinux.org/" -source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.3/spl-0.7.3.tar.gz") -sha256sums=("cd8b8624163577bdec1d1d214c942c5771f183432a04d35c00fc6e7f12fa836b") +source=("https://github.com/zfsonlinux/zfs/releases/download/zfs-0.7.3/spl-0.7.3.tar.gz" '0001-Linux-4.14-compat-vfs_read-vfs_write.patch') +sha256sums=("cd8b8624163577bdec1d1d214c942c5771f183432a04d35c00fc6e7f12fa836b" 'd20506fbe6e9ee928005e8a73c03e4b4d207268348f684b9c7a33301067793b8') license=("GPL") -depends=("spl-utils-common>=0.7.3" "kmod" "linux-hardened=4.13.16.a-1") +depends=("spl-utils-common=0.7.3" "kmod" "linux-hardened=4.14.3.a-1") +prepare() { + cd "${srcdir}/spl-0.7.3" + patch -Np1 -i ${srcdir}/0001-Linux-4.14-compat-vfs_read-vfs_write.patch +} build() { cd "${srcdir}/spl-0.7.3" ./autogen.sh ./configure --prefix=/usr --libdir=/usr/lib --sbindir=/usr/bin \ - --with-linux=/usr/lib/modules/4.13.16-1-hardened/build \ - --with-linux-obj=/usr/lib/modules/4.13.16-1-hardened/build \ + --with-linux=/usr/lib/modules/4.14.3-1-hardened/build \ + --with-linux-obj=/usr/lib/modules/4.14.3-1-hardened/build \ --with-config=kernel make } @@ -58,5 +62,5 @@ package_spl-linux-hardened-headers() { make DESTDIR="${pkgdir}" install rm -r "${pkgdir}/lib" # Remove reference to ${srcdir} - sed -i "s+${srcdir}++" ${pkgdir}/usr/src/spl-*/4.13.16-1-hardened/Module.symvers + sed -i "s+${srcdir}++" ${pkgdir}/usr/src/spl-*/4.14.3-1-hardened/Module.symvers } |