From 2208c360ac3ed2633b568520803d2887e18d9133 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Mon, 5 Aug 2013 02:29:04 +0000 Subject: [PATCH 1/3] linux: Update to 3.2.50 --- pkgs/os-specific/linux/kernel/linux-3.2.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-3.2.nix b/pkgs/os-specific/linux/kernel/linux-3.2.nix index 9b1d1bcf6c1c..7597a9c695ec 100644 --- a/pkgs/os-specific/linux/kernel/linux-3.2.nix +++ b/pkgs/os-specific/linux/kernel/linux-3.2.nix @@ -1,11 +1,11 @@ { stdenv, fetchurl, ... } @ args: import ./generic.nix (args // rec { - version = "3.2.49"; + version = "3.2.50"; src = fetchurl { url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; - sha256 = "06xiwcgk6hbcp6g1dpmxb95dzx94s29vzmh1pz4lsglcj1yfrkry"; + sha256 = "0yg936syhay9x0qxqxdqrgi6ijdqklhqdrd8zk7l4zvgxaayaj68"; }; features.iwlwifi = true; From 97056a0620f117d793e1a093ba36ec37456bf5e4 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Mon, 5 Aug 2013 17:59:43 +0000 Subject: [PATCH 2/3] linux: properly parse config choice when it's new --- pkgs/os-specific/linux/kernel/generate-config.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/generate-config.pl b/pkgs/os-specific/linux/kernel/generate-config.pl index 05b6867bc553..78663098fb31 100644 --- a/pkgs/os-specific/linux/kernel/generate-config.pl +++ b/pkgs/os-specific/linux/kernel/generate-config.pl @@ -54,8 +54,8 @@ sub runConfig { if ($s eq "\n") { print STDERR "GOT: $line" if $debug; - # Remember choice alternatives ("> 1. bla (FOO)" or " 2. bla (BAR)"). - if ($line =~ /^\s*>?\s*(\d+)\.\s+.*\(([A-Za-z0-9_]+)\)$/) { + # Remember choice alternatives ("> 1. bla (FOO)" or " 2. bla (BAR) (NEW)"). + if ($line =~ /^\s*>?\s*(\d+)\.\s+.*?\(([A-Za-z0-9_]+)\)(?:\s+\(NEW\))?\s*$/) { $choices{$2} = $1; } From 36c2711f8b09ee76b58ed2e6067655776dc981d5 Mon Sep 17 00:00:00 2001 From: "Ricardo M. Correia" Date: Mon, 5 Aug 2013 18:08:48 +0000 Subject: [PATCH 3/3] linux: update grsecurity patch --- pkgs/os-specific/linux/kernel/patches.nix | 8 ++++---- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/patches.nix b/pkgs/os-specific/linux/kernel/patches.nix index c77785167cc1..561cdc8f9576 100644 --- a/pkgs/os-specific/linux/kernel/patches.nix +++ b/pkgs/os-specific/linux/kernel/patches.nix @@ -131,11 +131,11 @@ rec { patch = ./mips-ext3-n32.patch; }; - grsecurity_2_9_1_3_2_48 = - { name = "grsecurity-2.9.1-3.2.48"; + grsecurity_2_9_1_3_2_50 = + { name = "grsecurity-2.9.1-3.2.50"; patch = fetchurl { - url = http://grsecurity.net/stable/grsecurity-2.9.1-3.2.48-201307212241.patch; - sha256 = "1llgrcd7ynxx60dn05bcbysd6a1091wwxkck4d15gvp71s9r6scm"; + url = http://grsecurity.net/stable/grsecurity-2.9.1-3.2.50-201308052151.patch; + sha256 = "178y68bx4h4r9gq1p4izbjah8vhjmb3yvr3sfjglz8blxxahgd6n"; }; }; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index effaf77680c3..6701d2ba1b93 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6388,7 +6388,7 @@ let }; linux_3_2_grsecurity = lowPrio (lib.overrideDerivation (linux_3_2.override (args: { - kernelPatches = args.kernelPatches ++ [ kernelPatches.grsecurity_2_9_1_3_2_48 ]; + kernelPatches = args.kernelPatches ++ [ kernelPatches.grsecurity_2_9_1_3_2_50 ]; })) (args: { makeFlags = "DISABLE_PAX_PLUGINS=y";})); linux_3_2_apparmor = lowPrio (linux_3_2.override {