git.iko.soy/typeable/nixpkgs
on master help sign in
grsecurity: Update stable and test patches
1d44322Ricardo M. Correia
nixos/modules/security/grsecurity.nix+2−2
@@ -38,7 +38,7 @@ in
38 type = types.bool;
38 type = types.bool;
39 default = false;
39 default = false;
40 description = ''
40 description = ''
41− Enable the testing grsecurity patch, based on Linux 3.17.
41+ Enable the testing grsecurity patch, based on Linux 3.18.
42 '';
42 '';
43 };
43 };
44
44
@@ -227,7 +227,7 @@ in
227 message = ''
227 message = ''
228 If grsecurity is enabled, you must select either the
228 If grsecurity is enabled, you must select either the
229 stable patch (with kernel 3.14), or the testing patch (with
229 stable patch (with kernel 3.14), or the testing patch (with
230− kernel 3.17) to continue.
230+ kernel 3.18) to continue.
231 '';
231 '';
232 }
232 }
233 { assertion = (cfg.stable -> !cfg.testing) || (cfg.testing -> !cfg.stable);
233 { assertion = (cfg.stable -> !cfg.testing) || (cfg.testing -> !cfg.stable);
pkgs/build-support/grsecurity/default.nix+1−1
@@ -32,7 +32,7 @@ let
32
32
33 grKernel = if cfg.stable
33 grKernel = if cfg.stable
34 then mkKernel pkgs.linux_3_14 stable-patch
34 then mkKernel pkgs.linux_3_14 stable-patch
35− else mkKernel pkgs.linux_3_17 test-patch;
35+ else mkKernel pkgs.linux_3_18 test-patch;
36
36
37 ## -- grsecurity configuration ---------------------------------------------
37 ## -- grsecurity configuration ---------------------------------------------
38
38
pkgs/os-specific/linux/kernel/linux-3.17.nix−1
@@ -2,7 +2,6 @@
2
2
3import ./generic.nix (args // rec {
3import ./generic.nix (args // rec {
4 version = "3.17.7";
4 version = "3.17.7";
5− # Remember to update grsecurity!
6 extraMeta.branch = "3.17";
5 extraMeta.branch = "3.17";
7
6
8 src = fetchurl {
7 src = fetchurl {
pkgs/os-specific/linux/kernel/linux-3.18.nix+1
@@ -2,6 +2,7 @@
2
2
3import ./generic.nix (args // rec {
3import ./generic.nix (args // rec {
4 version = "3.18.1";
4 version = "3.18.1";
5+ # Remember to update grsecurity!
5 extraMeta.branch = "3.18";
6 extraMeta.branch = "3.18";
6
7
7 src = fetchurl {
8 src = fetchurl {
pkgs/os-specific/linux/kernel/patches.nix+5−5
@@ -61,16 +61,16 @@ rec {
61
61
62 grsecurity_stable = grsecPatch
62 grsecurity_stable = grsecPatch
63 { kversion = "3.14.27";
63 { kversion = "3.14.27";
64− revision = "201412211908";
64+ revision = "201412280859";
65 branch = "stable";
65 branch = "stable";
66− sha256 = "1xs34v1k970sv4i0a9qjcgk7i4cihl2xlgp1q7v320idpxrcym3a";
66+ sha256 = "185sq4bsgwmpq9g0g5fhm69ba875xhxha2rs0cn6n647v90rxrjk";
67 };
67 };
68
68
69 grsecurity_unstable = grsecPatch
69 grsecurity_unstable = grsecPatch
70− { kversion = "3.17.7";
70+ { kversion = "3.18.1";
71− revision = "201412211910";
71+ revision = "201412281149";
72 branch = "test";
72 branch = "test";
73− sha256 = "1s3ksf44mah398ix4ar49m6d8xwkk991pl1m8m441yhpm8h1ss3w";
73+ sha256 = "10pq6lslfn6ck7pm1651s6pd5mqmjxvqv3iv70qrpwwb2gdhpdin";
74 };
74 };
75
75
76 grsec_fix_path =
76 grsec_fix_path =