grsecurity: 4.8.17-201701151620 -> 4.9.8-201702060653
The first release in the 4.9 branch. I've also migrated my update scripts to SHA-512 so that'll be the hash of choice for grsec packages going forward.
This commit is contained in:
parent
6eb6130e15
commit
0d422c5db5
@ -1,12 +1,12 @@
|
|||||||
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
|
||||||
|
|
||||||
import ./generic.nix (args // rec {
|
import ./generic.nix (args // rec {
|
||||||
version = "4.8.17";
|
version = "4.9.8";
|
||||||
extraMeta.branch = "4.8";
|
extraMeta.branch = "4.9";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||||
sha256 = "1zk0q6bvqgz2pk1axd5z0cx71vqk96314f1zn8apwa4raylf9fpa";
|
sha512 = "39r4hq5f70nc1v8qq4qvnd0fq98h4akm6y6zp7ml6mi5knz7v6zm86ykq87a0ph3zh23msimi4155354qcsmsxp4cbd22cq8s1w86ds";
|
||||||
};
|
};
|
||||||
|
|
||||||
kernelPatches = args.kernelPatches;
|
kernelPatches = args.kernelPatches;
|
||||||
|
@ -18,7 +18,7 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
grsecPatch = { grbranch ? "test", grver ? "3.1", kver, grrev, sha256 }: rec {
|
grsecPatch = { grbranch ? "test", grver ? "3.1", kver, grrev, sha512 }: rec {
|
||||||
name = "grsecurity-${grver}-${kver}-${grrev}";
|
name = "grsecurity-${grver}-${kver}-${grrev}";
|
||||||
|
|
||||||
# Pass these along to allow the caller to determine compatibility
|
# Pass these along to allow the caller to determine compatibility
|
||||||
@ -32,7 +32,7 @@ let
|
|||||||
# source files immediately upon releasing a new version ...
|
# source files immediately upon releasing a new version ...
|
||||||
"https://raw.githubusercontent.com/slashbeast/grsecurity-scrape/master/${grbranch}/${kver}/${name}.patch"
|
"https://raw.githubusercontent.com/slashbeast/grsecurity-scrape/master/${grbranch}/${kver}/${name}.patch"
|
||||||
];
|
];
|
||||||
inherit sha256;
|
inherit sha512;
|
||||||
};
|
};
|
||||||
|
|
||||||
features.grsecurity = true;
|
features.grsecurity = true;
|
||||||
@ -95,9 +95,9 @@ rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
grsecurity_testing = grsecPatch
|
grsecurity_testing = grsecPatch
|
||||||
{ kver = "4.8.17";
|
{ kver = "4.9.8";
|
||||||
grrev = "201701151620";
|
grrev = "201702060653";
|
||||||
sha256 = "10gavcdby8aiylbx8afc1x4j0vzbb16bhlw39a7ibnav45scsr0p";
|
sha512 = "1kammx0q0v37xw9z9zk7ppkixrwlr866dpfykjs4wy3ypcivnvkbk7dimyihna3vrylwgp5gq90ly7dj7d9gdblh83ccnq6n2m7ba43";
|
||||||
};
|
};
|
||||||
|
|
||||||
# This patch relaxes grsec constraints on the location of usermode helpers,
|
# This patch relaxes grsec constraints on the location of usermode helpers,
|
||||||
|
Loading…
Reference in New Issue
Block a user