mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
grsecurity: Update stable and test patches
stable: 3.0-3.14.27-201412211908 -> 3.0-3.14.27-201412280859 test: 3.0-3.17.7-201412211910 -> 3.0-3.18.1-201412281149
This commit is contained in:
parent
3c96afe0b1
commit
0a97acdc0f
5 changed files with 9 additions and 9 deletions
|
@ -38,7 +38,7 @@ in
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = ''
|
description = ''
|
||||||
Enable the testing grsecurity patch, based on Linux 3.17.
|
Enable the testing grsecurity patch, based on Linux 3.18.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -227,7 +227,7 @@ in
|
||||||
message = ''
|
message = ''
|
||||||
If grsecurity is enabled, you must select either the
|
If grsecurity is enabled, you must select either the
|
||||||
stable patch (with kernel 3.14), or the testing patch (with
|
stable patch (with kernel 3.14), or the testing patch (with
|
||||||
kernel 3.17) to continue.
|
kernel 3.18) to continue.
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
{ assertion = (cfg.stable -> !cfg.testing) || (cfg.testing -> !cfg.stable);
|
{ assertion = (cfg.stable -> !cfg.testing) || (cfg.testing -> !cfg.stable);
|
||||||
|
|
|
@ -32,7 +32,7 @@ let
|
||||||
|
|
||||||
grKernel = if cfg.stable
|
grKernel = if cfg.stable
|
||||||
then mkKernel pkgs.linux_3_14 stable-patch
|
then mkKernel pkgs.linux_3_14 stable-patch
|
||||||
else mkKernel pkgs.linux_3_17 test-patch;
|
else mkKernel pkgs.linux_3_18 test-patch;
|
||||||
|
|
||||||
## -- grsecurity configuration ---------------------------------------------
|
## -- grsecurity configuration ---------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "3.17.7";
|
version = "3.17.7";
|
||||||
# Remember to update grsecurity!
|
|
||||||
extraMeta.branch = "3.17";
|
extraMeta.branch = "3.17";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "3.18.1";
|
version = "3.18.1";
|
||||||
|
# Remember to update grsecurity!
|
||||||
extraMeta.branch = "3.18";
|
extraMeta.branch = "3.18";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
|
|
|
@ -61,16 +61,16 @@ rec {
|
||||||
|
|
||||||
grsecurity_stable = grsecPatch
|
grsecurity_stable = grsecPatch
|
||||||
{ kversion = "3.14.27";
|
{ kversion = "3.14.27";
|
||||||
revision = "201412211908";
|
revision = "201412280859";
|
||||||
branch = "stable";
|
branch = "stable";
|
||||||
sha256 = "1xs34v1k970sv4i0a9qjcgk7i4cihl2xlgp1q7v320idpxrcym3a";
|
sha256 = "185sq4bsgwmpq9g0g5fhm69ba875xhxha2rs0cn6n647v90rxrjk";
|
||||||
};
|
};
|
||||||
|
|
||||||
grsecurity_unstable = grsecPatch
|
grsecurity_unstable = grsecPatch
|
||||||
{ kversion = "3.17.7";
|
{ kversion = "3.18.1";
|
||||||
revision = "201412211910";
|
revision = "201412281149";
|
||||||
branch = "test";
|
branch = "test";
|
||||||
sha256 = "1s3ksf44mah398ix4ar49m6d8xwkk991pl1m8m441yhpm8h1ss3w";
|
sha256 = "10pq6lslfn6ck7pm1651s6pd5mqmjxvqv3iv70qrpwwb2gdhpdin";
|
||||||
};
|
};
|
||||||
|
|
||||||
grsec_fix_path =
|
grsec_fix_path =
|
||||||
|
|
Loading…
Reference in a new issue