Commit graph

27 commits

Author SHA1 Message Date
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
322e086e4d linuxPackages.blcr: turn off pic hardening 2016-02-12 03:55:41 +00:00
Domen Kožar
54e430a689 blcr: drop support for kernel 3.12 2015-09-12 13:17:01 +02:00
Marco Maggesi
30f621944b Bumb BLCR 2014-12-27 14:56:21 +01:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Shea Levy
a589bfae17 Update and fix kernel packages to new kernel build
In most cases, this just meant changing kernelDev (now removed from
linuxPackagesFor) to kernel.dev. Some packages needed more work (though
whether that was because of my changes or because they were already
broken, I'm not sure). Specifics:

* psmouse-alps builds on 3.4 but not 3.10, as noted in the comments that
  were already there
* blcr builds on 3.4 but not 3.10, as noted in comments that were
  already there
* open-iscsi, ati-drivers, wis-go7007, and openafsClient don't build on
  3.4 or 3.10 on this branch or on master, so they're marked broken
* A version-specific kernelHeaders package was added

The following packages were removed:

* atheros/madwifi is superceded by official ath*k modules
* aufs is no longer used by any of our kernels
* broadcom-sta v6 (which was already packaged) replaces broadcom-sta
* exmap has not been updated since 2011 and doesn't build
* iscis-target has not been updated since 2010 and doesn't build
* iwlwifi is part of mainline now and doesn't build
* nivida-x11-legacy-96 hasn't been updated since 2008 and doesn't build

Everything not specifically mentioned above builds successfully on 3.10.
I haven't yet tested on 3.4, but will before opening a pull request.

Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-04 21:17:04 -05:00
Shea Levy
4fa4ab3a6e Partially revert my recent kernelPackages changes
First, pass in `self' again so that overriding works properly (thanks
for pointing that out, @edolstra)

Second, instead of having linuxPackages*.kernel mean something different
inside the set and out, add a new attribute linuxPackages*.kernelDev,
which for the generic kernel is simply linuxPackages*.kernel but for the
manual-config kernel is the `dev' output (which has the build tree,
source tree, etc.)

The second change required trivial modifications in a bunch of
expressions, I verified that all of the linuxPackages* sets defined in
all-packages.nix have the same drv paths before and after the change.

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-24 07:45:00 -04:00
Marco Maggesi
03bf520849 Update BLCR to version 0.8.5 2013-02-08 12:42:31 +01:00
Marco Maggesi
4c1e931cd4 Update BLCR to version 0.8.5 Beta 3.
This version extends support to kernels up to version 3.7.1.
According to the authors, despite the "beta" in the version name, this
version should be considered "stable" on non exotic architecture.
2013-01-09 14:56:58 +01:00
Marco Maggesi
d61fb6e4ca BLCR fix arsert to include kernel versions 2.6.38.x
svn path=/nixpkgs/trunk/; revision=34134
2012-05-16 08:44:20 +00:00
Marco Maggesi
ebb486baf8 Typo
svn path=/nixpkgs/trunk/; revision=34100
2012-05-15 06:52:38 +00:00
Marco Maggesi
4d90c6b835 Add assertion: BLCR do not build on recent kernels
svn path=/nixpkgs/trunk/; revision=34098
2012-05-15 06:28:14 +00:00
Marco Maggesi
f8dfbd4a43 BLCR: Add myself as mantainer. Add platforms.
svn path=/nixpkgs/trunk/; revision=29779
2011-10-12 12:10:26 +00:00
Marco Maggesi
70b8d1e683 Update BLCR to version 0.8.4.
svn path=/nixpkgs/trunk/; revision=29778
2011-10-12 09:44:20 +00:00
Shea Levy
7593d8fdb8 blcr: Use the modDirVersion attribute to access the module dir
svn path=/nixpkgs/trunk/; revision=28648
2011-08-17 22:06:59 +00:00
Marco Maggesi
8db5491040 Ooops, over-simplified
svn path=/nixpkgs/trunk/; revision=28647
2011-08-17 16:52:38 +00:00
Marco Maggesi
6c7f80ad83 Simplify expression for BLCR (again)
svn path=/nixpkgs/trunk/; revision=28646
2011-08-17 16:32:20 +00:00
Marco Maggesi
b7b6d4e480 Symplify expression for BLCR
svn path=/nixpkgs/trunk/; revision=28645
2011-08-17 16:22:20 +00:00
Marco Maggesi
93829bfe47 Update BLCR to version 0.8.3
svn path=/nixpkgs/trunk/; revision=28642
2011-08-17 14:25:56 +00:00
Marco Maggesi
d2c9926e4d os-specific/linux/blcr: Fix url and hash
svn path=/nixpkgs/trunk/; revision=27249
2011-05-13 15:37:13 +00:00
Marco Maggesi
4b4ab6551c Improve os-specific/linux/blcr. Fix a problem with shared objects
svn path=/nixpkgs/trunk/; revision=23213
2010-08-17 16:53:34 +00:00
Eelco Dolstra
20db67154c * bclr: shrink fixes.patch from 3.6 MB (!) to 11 KB by not
including Autoconf/Automake generated code.

svn path=/nixpkgs/trunk/; revision=22815
2010-07-29 19:56:16 +00:00
Marco Maggesi
5d94294dd5 pkgs/os-specific/linux/blcr: update to version 0.8.2
svn path=/nixpkgs/trunk/; revision=21091
2010-04-15 12:08:08 +00:00
Marc Weber
52647ea3b0 FullDepEntry -> fullDepEntry, PackEntry -> packEntry
svn path=/nixpkgs/trunk/; revision=15662
2009-05-19 23:25:58 +00:00
Michael Raskin
65ce0411d8 Make all-packages.nix instantiatable again (problem was with *Base packages that were only supposed as .meta.function carriers, so some critical arguments were omitted)
svn path=/nixpkgs/trunk/; revision=12628
2008-08-14 22:18:44 +00:00
Michael Raskin
65bf14f91b Minor updates
svn path=/nixpkgs/trunk/; revision=11708
2008-04-24 17:00:28 +00:00
Michael Raskin
784d94c258 Adding Berkeley Labs Checkpointing/Restarting kernel module.. Work in progress - does not work with my 2.6.25-rc5-mm1. Maybe works on 2.6.23.. Added just not to comment out from all-packages.nix
svn path=/nixpkgs/trunk/; revision=11563
2008-04-11 09:30:46 +00:00