linuxPackages_5_3.openafs_1_8: fix build

This update cherry-picks patches necessary to build the OpenAFS kernel
module from the OpenAFS master branch. This commit does not fix OpenAFS
1.6.
This commit is contained in:
Artemis Tosini 2019-09-20 17:29:06 +00:00
parent 457e349423
commit 5acd6681f2
No known key found for this signature in database
GPG key ID: EE5227935FE3FF18

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, which, autoconf, automake, flex, yacc
, kernel, glibc, perl, libtool_2, kerberos }:
, kernel, glibc, perl, libtool_2, kerberos, fetchpatch }:
with (import ./srcs.nix { inherit fetchurl; });
@ -11,6 +11,20 @@ in stdenv.mkDerivation {
name = "openafs-${version}-${kernel.modDirVersion}";
inherit version src;
patches = [
# Linux 5.3
(fetchpatch {
name = "openafs_1_8-recurse-keyring_search.patch";
url = "http://git.openafs.org/?p=openafs.git;a=patch;h=02d82275c17284d04629282aa374bb39f511c989";
sha256 = "03pkldwf6i67yf6i1705qp18rx5b0b342ryda8vfjw9lnvpinygs";
})
(fetchpatch {
name = "openafs_1_8-send-sig.patch";
url = "http://git.openafs.org/?p=openafs.git;a=patch;h=2b7af1243f46496c0b5973b3fa2a6396243f7613";
sha256 = "13gyh5ncpp15dl7056gdzl5xhp2bmafc557bd2a4bwx9nyj53bag";
})
];
nativeBuildInputs = [ autoconf automake flex libtool_2 perl which yacc ]
++ kernel.moduleBuildDependencies;