about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorRicardo M. Correia <rcorreia@wizy.org>2013-11-02 12:43:11 +0100
committerRicardo M. Correia <rcorreia@wizy.org>2013-11-27 01:32:14 +0100
commit36955aa721f0d96d5685d544a173366e5565a639 (patch)
treef53b02109cbc0ed42772ca0cf33af6b6b2b47e55 /pkgs/os-specific
parent139c5b5069acee8f89b0f7b7065baff382b5a337 (diff)
downloadnixlib-36955aa721f0d96d5685d544a173366e5565a639.tar
nixlib-36955aa721f0d96d5685d544a173366e5565a639.tar.gz
nixlib-36955aa721f0d96d5685d544a173366e5565a639.tar.bz2
nixlib-36955aa721f0d96d5685d544a173366e5565a639.tar.lz
nixlib-36955aa721f0d96d5685d544a173366e5565a639.tar.xz
nixlib-36955aa721f0d96d5685d544a173366e5565a639.tar.zst
nixlib-36955aa721f0d96d5685d544a173366e5565a639.zip
grsecurity: Update to 3.0-3.2.52-201311261307 and add patch for 3.12
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/patches.nix21
1 files changed, 16 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/kernel/patches.nix b/pkgs/os-specific/linux/kernel/patches.nix
index 36f3232838c2..3316911d3ede 100644
--- a/pkgs/os-specific/linux/kernel/patches.nix
+++ b/pkgs/os-specific/linux/kernel/patches.nix
@@ -124,14 +124,25 @@ rec {
   };
 
 
-  grsecurity_2_9_1_3_2_52 =
-    { name = "grsecurity-2.9.1-3.2.52";
+  grsecurity_3_0_3_2_52 =
+    { name = "grsecurity-3.0-3.2.52";
       patch = fetchurl {
-        url = http://grsecurity.net/stable/grsecurity-2.9.1-3.2.52-201310271550.patch;
-        sha256 = "08y4y323y2lfvdj67gmg3ca8gaf3snhr3pyrmgvj877avaz0475m";
+        url = https://grsecurity.net/stable/grsecurity-3.0-3.2.52-201311261307.patch;
+        sha256 = "1zmzgjpbq90q2w3yl3dgdc79qan7qkh5w6g3y3nvzr6ww6jl8hqw";
       };
-      # The grsec kernel patch seems to include the apparmor patches as of 2.9.1-3.2.52
+      features.grsecurity = true;
+      # The grsec kernel patch seems to include the apparmor patches as of 3.0-3.2.52
       features.apparmor = true;
     };
 
+  grsecurity_3_0_3_12_1 =
+    { name = "grsecurity-3.0-3.12.1";
+      patch = fetchurl {
+        url = https://grsecurity.net/test/grsecurity-3.0-3.12.1-201311261309.patch;
+        sha256 = "129q740m2iivc4i9a465lvzcph9gxlivxzg2p9dsi7c136p42mdz";
+      };
+      features.grsecurity = true;
+      # The grsec kernel patch seems to include the apparmor patches as of 3.0-3.12.1
+      features.apparmor = true;
+    };
 }