2013-07-31 22:56:48 +01:00
|
|
|
{ stdenv, fetchurl, ... } @ args:
|
2011-11-08 16:58:20 +00:00
|
|
|
|
2013-07-31 22:56:48 +01:00
|
|
|
import ./generic.nix (args // rec {
|
2014-05-13 13:07:58 +01:00
|
|
|
version = "3.2.58";
|
2014-02-14 08:45:36 +00:00
|
|
|
extraMeta.branch = "3.2";
|
2011-11-08 16:58:20 +00:00
|
|
|
|
2013-07-31 22:56:48 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
|
2014-05-13 13:07:58 +01:00
|
|
|
sha256 = "1mszzixiv4k61m241dl2n5s8rca26l6hc40v23lha814nrahjkn1";
|
2013-07-31 22:56:48 +01:00
|
|
|
};
|
2011-11-08 16:58:20 +00:00
|
|
|
|
2014-05-07 23:59:29 +01:00
|
|
|
# We don't provide these patches if grsecurity is enabled, because
|
|
|
|
# the grsec 3.2 -stable patchset already includes them.
|
|
|
|
kernelPatches = args.kernelPatches ++ (
|
|
|
|
stdenv.lib.optional (!(args.features.grsecurity or false))
|
|
|
|
[ { name = "0001-AppArmor-compatibility-patch-for-v5-network-controll";
|
|
|
|
patch = ./apparmor-patches/3.2/0001-AppArmor-compatibility-patch-for-v5-network-controll.patch;
|
|
|
|
}
|
|
|
|
{ name = "0002-AppArmor-compatibility-patch-for-v5-interface";
|
|
|
|
patch = ./apparmor-patches/3.2/0002-AppArmor-compatibility-patch-for-v5-interface.patch;
|
|
|
|
}
|
|
|
|
{ name = "0003-AppArmor-Allow-dfa-backward-compatibility-with-broke";
|
|
|
|
patch = ./apparmor-patches/3.2/0003-AppArmor-Allow-dfa-backward-compatibility-with-broke.patch;
|
|
|
|
}]);
|
|
|
|
|
|
|
|
features.iwlwifi = true;
|
2014-01-29 18:06:45 +00:00
|
|
|
} // (args.argsOverride or {}))
|