Commit Graph

5026 Commits

Author SHA1 Message Date
Vladimír Čunát
e757404555 Merge branch 'master' into staging
Hydra nixpkgs: ?compare=1279790
2016-06-19 12:33:04 +02:00
Vladimír Čunát
97c484a10f treewide: fix #include errors after gcc-5.4
They were mostly missing <cmath> or <math.h>.
2016-06-19 10:18:30 +02:00
Aristid Breitkreuz
6a3dcb70bc Merge pull request #16112 from abuibrahim/master
odp-dpdk: init at 1.8.0.0
2016-06-18 17:09:13 +02:00
Joachim Fasting
875fd5af73
grsecurity: 4.5.7-201606110914 -> 4.5.7-201606142010 2016-06-16 14:29:12 +02:00
Ruslan Babayev
de67e77e3f odp-dpdk: init at 1.8.0.0
Signed-off-by: Ruslan Babayev <ruslan@babayev.com>
2016-06-15 22:17:03 -07:00
Guillaume Maudoux
d73b7d101f linux_mptcp: 0.90 -> 0.90.1 2016-06-15 22:56:11 +02:00
Joachim Fasting
130b06eb0b
grsecurity: 4.5.7-201606080852 -> 4.5.7-201606110914 2016-06-14 14:18:01 +02:00
Joachim Fasting
886c03ad2e Merge pull request #16107 from joachifm/grsec-ng
Rework grsecurity support
2016-06-14 03:52:50 +02:00
Joachim Fasting
75b9a7beac
grsecurity: implement a single NixOS kernel
This patch replaces the old grsecurity kernels with a single NixOS
specific grsecurity kernel.  This kernel is intended as a general
purpose kernel, tuned for casual desktop use.

Providing only a single kernel may seem like a regression compared to
offering a multitude of flavors.  It is impossible, however, to
effectively test and support that many options.  This is amplified by
the reality that very few seem to actually use grsecurity on NixOS,
meaning that bugs go unnoticed for long periods of time, simply because
those code paths end up never being exercised.  More generally, it is
hopeless to anticipate imagined needs.  It is better to start from a
solid foundation and possibly add more flavours on demand.

While the generic kernel is intended to cover a wide range of use cases,
it cannot cover everything.  For some, the configuration will be either
too restrictive or too lenient.  In those cases, the recommended
solution is to build a custom kernel --- this is *strongly* recommended
for security sensitive deployments.

Building a custom grsec kernel should be as simple as
```nix
linux_grsec_nixos.override {
  extraConfig = ''
    GRKERNSEC y
    PAX y
    # and so on ...
  '';
}
```

The generic kernel should be usable both as a KVM guest and host.  When
running as a host, the kernel assumes hardware virtualisation support.
Virtualisation systems other than KVM are *unsupported*: users of
non-KVM systems are better served by compiling a custom kernel.

Unlike previous Grsecurity kernels, this configuration disables `/proc`
restrictions in favor of `security.hideProcessInformation`.

Known incompatibilities:
- ZFS: can't load spl and zfs kernel modules; claims incompatibility
  with KERNEXEC method `or` and RAP; changing to `bts` does not fix the
  problem, which implies we'd have to disable RAP as well for ZFS to
  work
- `kexec()`: likely incompatible with KERNEXEC (unverified)
- Xen: likely incompatible with KERNEXEC and UDEREF (unverified)
- Virtualbox: likely incompatible with UDEREF (unverified)
2016-06-14 00:08:20 +02:00
zimbatm
ae34904ee9 Merge pull request #16160 from vrthra/mupdf
mupdf: 1.8 -> 1.9
2016-06-12 23:26:34 +01:00
zimbatm
e2413ad5a8 shadow: add shellPath passthru
This one is a bit special, it's used to deny users from logging in.
2016-06-12 20:13:32 +01:00
Christoph Hrdinka
473062c9a7 kmod-debian-aliases: 21-1 -> 22-1.1 2016-06-12 20:15:42 +02:00
Rahul Gopinath
b8a525a8b6 jfbview: update mupdf 1.8 -> 1.9 2016-06-12 09:48:34 -07:00
Joachim Fasting
4ae5eb97f1
kernel: set virtualization options regardless of grsec
Per my own testing, the NixOS grsecurity kernel works both as a
KVM-based virtualisation host and guest; there appears to be no good
reason to making these conditional on `features.grsecurity`.

More generally, it's unclear what `features.grsecurity` *means*. If
someone configures a grsecurity kernel in such a fashion that it breaks
KVM support, they should know to disable KVM themselves.
2016-06-10 19:27:59 +02:00
Joachim Fasting
d8e4432fe2
kernel: unconditionally disable /dev/kmem
This was presumably set for grsecurity compatibility, but now appears
redundant.  Grsecurity does not expect nor require /dev/kmem to be
present and so it makes little sense to continue making its inclusion in
the standard kernel dependent on grsecurity.

More generally, given the large number of possible grsecurity
configurations, it is unclear what `features.grsecurity` even
*means* and its use should be discouraged.
2016-06-10 19:27:41 +02:00
Shea Levy
4fbafb2395 linux 4.6.1 -> 4.6.2 2016-06-10 09:30:11 -04:00
Joachim Fasting
edc36a0091
grsecurity: 4.5.6-201606051644 -> 4.5.7-201606080852 2016-06-09 15:40:06 +02:00
Vladimír Čunát
20c2ce4954 Merge #16045: kernel: 4.6.0 -> 4.6.1 2016-06-09 14:37:32 +02:00
Vladimír Čunát
c0895be3ee Merge #16044: kernel: 4.1.20 -> 4.1.25 2016-06-09 14:36:31 +02:00
Vladimír Čunát
f9310c2eee Merge #16043: kernel: 4.4.11 -> 4.4.12 2016-06-09 14:34:50 +02:00
Joachim Fasting
7a29c403fd Merge pull request #16046 from NeQuissimus/kernel456
kernel: 4.5.5 -> 4.5.6
2016-06-09 13:56:13 +02:00
Ruslan Babayev
ff8362aeb4 pktgen: build with the same CFLAGS as dpdk 2016-06-07 20:11:50 -07:00
Tuomas Tynkkynen
f2e6c25dc9 fusionio: Use makeLibraryPath 2016-06-07 21:18:10 +03:00
Tim Steinbach
269b7d30a7 kernel: 4.6.0 -> 4.6.1 2016-06-07 09:59:19 -04:00
Tim Steinbach
8f4755a0ae kernel: 4.5.5 -> 4.5.6 2016-06-07 09:58:24 -04:00
Tim Steinbach
a57cbf6546 kernel: 4.4.11 -> 4.4.12 2016-06-07 09:57:47 -04:00
Tim Steinbach
f3ebf13762 kernel: 4.1.20 -> 4.1.25 2016-06-07 09:57:07 -04:00
Joachim Fasting
72899d92d0
grsecurity: 4.5.5-201605291201 -> 4.5.6-201606051644 2016-06-07 15:04:24 +02:00
Tobias Geerinckx-Rice
0264d34058
mcelog: 137 -> 138 2016-06-07 12:49:26 +02:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Alexander Kjeldaas
4c99d22f19 kernel: set nx bit on module ro segments
Fixes #4757.
2016-06-03 15:41:47 +02:00
Joachim Fasting
45c6dee427 Merge pull request #15884 from grahamc/nvidia-x11
nvidia-x11: 361.42 -> 361.45.11
2016-06-02 23:26:39 +02:00
Domen Kožar
55b8868baf Merge pull request #15919 from abuibrahim/master
dpdk: refactor to allow building extapps
2016-06-02 17:25:53 +01:00
Tuomas Tynkkynen
06c0209d53 systemd: Disable systemd-boot on ARM
Temporary workaround for the EFI stuff not working.
2016-06-02 14:54:44 +03:00
Ruslan Babayev
6d3fcd33d7 pktgen: init at 3.0.00 2016-06-02 02:12:06 -07:00
Ruslan Babayev
49b985b241 dpdk: make primary output usable as RTE_SDK 2016-06-02 02:12:06 -07:00
Ruslan Babayev
7334e925b4 dpdk: separate kernel modules 2016-06-02 02:12:06 -07:00
Ruslan Babayev
9f3c0f9716 dpdk: move apps to examples output 2016-06-02 02:12:06 -07:00
Ruslan Babayev
6a7f257e88 dpdk: install examples to bin 2016-06-02 02:12:06 -07:00
Ruslan Babayev
e54ef8bb16 dpdk: add dependencies for vm_power_mgr example 2016-06-02 02:12:06 -07:00
Graham Christensen
180417f385
nvidia-x11: 361.42 -> 361.45.11 2016-05-31 22:23:54 -05:00
Franz Pletz
d3e0849785 batman-adv: 2016.0 -> 2016.1 2016-05-31 20:10:26 +02:00
Eelco Dolstra
66d5ca6f42 systemd: Build EFI image 2016-05-31 17:02:33 +02:00
Bjørn Forsman
2661511cdb bluez: 5.39 -> 5.40
A bugfix release:
http://www.bluez.org/release-of-bluez-5-40/

(I've tested this with nox-review; no new breakage.)
2016-05-30 20:56:59 +02:00
Joachim Fasting
bfefc54bc5
grsecurity: 4.5.5-201605211442 -> 4.5.5-201605291201 2016-05-29 20:34:24 +02:00
Marius Bakke
4561a649f4 openvswitch: 2.3.1 -> 2.5.0 (#15729) 2016-05-28 16:02:04 +02:00
rnhmjoj
862ccab89c
btfs: 2.8 -> 2.9 2016-05-28 15:21:15 +02:00
Thomas Tuegel
fe57d54992 Merge pull request #15733 from mbakke/bluez-5.39
bluez5: 5.37 -> 5.39
2016-05-28 07:24:44 -05:00
Vladimír Čunát
e4832c7541 Merge branch 'staging'
Includes a security update of libxml2.
2016-05-27 15:58:40 +02:00
Luca Bruno
663beaa79f Revert "Revert "systemd: 229 -> 230""
This reverts commit 11894782ed.

cc @edolstra, re-reverting. Looks like it's an intended systemd change.
2016-05-27 11:07:29 +02:00
Luca Bruno
11894782ed Revert "systemd: 229 -> 230"
This reverts commit a2f21a54a1.

cc @edolstra the new version does not install many .pc files
like login, journal, daemon, ...
2016-05-27 11:06:21 +02:00
Joachim Fasting
1c07183dc1 Merge pull request #15728 from grahamc/facetimehd-firmware
Facetimehd-Firmware: Update,  add update documentation, add myself as maintainer
2016-05-27 00:21:21 +02:00
Graham Christensen
f993e6543a
facetimehd, facetimehd-firmware: Add grahamc as a maintainer 2016-05-26 14:10:03 -05:00
Graham Christensen
24a87685e2
facetimehd: Document updating the facetimehd-firmware 2016-05-26 14:10:01 -05:00
aszlig
6f8d2d6917
kmscon: Fix build against systemd 230
From the changelog:

  The compatibility libraries libsystemd-daemon.so,
  libsystemd-journal.so, libsystemd-id128.so, and libsystemd-login.so
  which have been deprecated since systemd-209 have been removed along
  with the corresponding pkg-config files. All symbols provided by those
  libraries are provided by libsystemd.so.

So let's just replace the use of libsystemd-daemon and libsystemd-login
with libsystemd in the configure script until a new version of kmscon
comes along.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-05-26 21:05:55 +02:00
Graham Christensen
27bf0d203d
facetimehd-firmware: 1.43 -> 1.43_4 2016-05-26 14:05:45 -05:00
Vladimír Čunát
81039713fa Merge branch 'master' into staging
... to get the systemd update (rebuilding ~7k jobs).
2016-05-26 16:50:22 +02:00
Eelco Dolstra
a2f21a54a1 systemd: 229 -> 230
See https://github.com/systemd/systemd/blob/v230/NEWS for details.

The main incompatible change is that processes are now killed by
default when you exit a session. Thus, for example, using nohup in an
SSH session no longer works. You have to use "loginctl enable-linger"
and "systemd-run --user" to create a process that survives logout.
2016-05-26 16:20:00 +02:00
Marius Bakke
8af730b0a9 bluez5: 5.37 -> 5.39 2016-05-25 20:30:28 +01:00
Tobias Geerinckx-Rice
9efd3d444e
cifs_utils: 6.4 -> 6.5; maintain 2016-05-25 02:06:47 +02:00
Nahum Shalman
5420f7f6e0 spl: 0.6.5.6 -> 0.6.5.7 (#15669) 2016-05-24 16:24:17 +02:00
Joachim Fasting
1badc60338
paxtest: refactoring
- Use standard phase hooks
- Install test helpers into $out/lib/paxtest instead of dumping
  them into PATH
- Set PAXBIN=paxctl so that the appropriate pax flags are set
2016-05-24 16:14:41 +02:00
Rok Garbas
66dc2d50dd tp-smapi: 0.41 -> 0.42 2016-05-24 13:26:47 +02:00
Rok Garbas
81eceb14be zfs: 0.6.5.6 -> 0.6.5.7 2016-05-24 12:36:08 +02:00
Franz Pletz
075f36aeda lxc: 2.0.0 -> 2.0.1 2016-05-23 19:30:45 +02:00
Vladimír Čunát
0b192a0976 Merge branch 'master' into staging
That's to get mesa rebuild from master, as it's nontrivial.
2016-05-23 09:02:10 +02:00
Eelco Dolstra
3ee6b22dc3 linux: 4.4.10 -> 4.4.11 2016-05-22 23:05:10 +02:00
Vladimír Čunát
c4661e9643 Merge: make dev output references explicit
This is a rebase of most commits from #14766,
resolving conflicts and a few other evaluation problems.
2016-05-22 12:09:23 +02:00
Joachim Fasting
5a357d9731
grsecurity: 4.5.5-201605202102 -> 4.5.5-201605211442 2016-05-21 22:28:36 +02:00
Kranium Gikos Mendoza
bc93957bb5 facetimehd: git-20160127 -> git-20160503
Fixes issues with kernels newer than 4.4.
2016-05-21 21:19:54 +02:00
Joachim Fasting
79481bd68f
linux: 4.5.4 -> 4.5.5 2016-05-21 07:37:41 +02:00
Joachim Fasting
cdf2ffda9d
grsecurity: 4.5.4-201605131918 -> 4.5.5-201605202102 2016-05-21 07:37:41 +02:00
Edward Tjörnhammar
f7aed7a00d
ati-drivers: migrate some patches from gentoo ati-drivers
https://anaongit.gentoo.org/git/repo/gentoo.git @ 52dac7bdbb16f2353b15137165b69056034d7ad0
and parents for further source information.
2016-05-20 13:14:31 +02:00
Nikolay Amiantov
74cba61eb0 linuxPackages.dpdk: force deterministic arch yet again 2016-05-19 13:53:24 +03:00
Vladimír Čunát
c02f0ade90 fix evaluation on darwin, fixing tarball job fully 2016-05-19 10:04:43 +02:00
Tuomas Tynkkynen
1819181726 treewide: Make explicit that 'dev' output of xorgserver is used 2016-05-19 10:04:41 +02:00
Tuomas Tynkkynen
51ca347278 treewide: Make explicit that 'dev' output of libXxf86vm is used 2016-05-19 10:04:40 +02:00
Tuomas Tynkkynen
603dcd6263 treewide: Make explicit that 'dev' output of libnl is used 2016-05-19 10:00:43 +02:00
Tuomas Tynkkynen
e6e1e69b4f Merge pull request #14479 from ragnard/bcc
bcc: init at git-2016-05-18
2016-05-19 05:05:18 +03:00
Domen Kožar
a7ca56428a dpdk: set NIX_ENFORCE_NO_NATIVE = 0 to fix build
Since 0c6db0ca48 the build would fail
since it relies on sse instructions.

cc @abbradar to be sure this is correct fix
2016-05-18 16:25:57 +01:00
Tobias Geerinckx-Rice
b71463128c
lm_sensors: add Fedora mirror
Upstream's down, causing build failures on machines not mine.
Verified against cached upstream tarball in my store.
2016-05-18 15:58:01 +02:00
Tobias Geerinckx-Rice
311b56b764
lm_sensors: 3.3.5 -> 3.4.0 2016-05-18 15:55:22 +02:00
Ragnar Dahlén
897df5b6a7 bcc: init at git-2016-05-18 2016-05-18 11:09:18 +01:00
Domen Kožar
b49bf121b8 rename iElectric to domenkozar to match GitHub 2016-05-17 13:00:47 +01:00
Tobias Geerinckx-Rice
806ce6323e
mcelog: 136 -> 137 2016-05-17 00:49:57 +02:00
Franz Pletz
e98a0bc9e0 Merge pull request #15476 from matthiasbeyer/update-unmaintained
Update unmaintained packages
2016-05-16 23:45:11 +02:00
Peter Simons
8e462995ba Bring my stdenv.lib.maintainers user name in line with my github nick. 2016-05-16 22:49:55 +02:00
Shea Levy
1ea263ef03 linux-4.6: Fix copy-paste error.
Thanks to @NeQuissimus for the spot
2016-05-16 13:53:23 -04:00
Shea Levy
0373eb86f1 Linux 4.6 2016-05-16 11:56:39 -04:00
Matthias Beyer
d0abe9fb35 lsscsi: 0.27 -> 0.28 2016-05-16 16:12:22 +02:00
Vladimír Čunát
e5d40c6fa3 Merge branch 'staging'
Hydra is only half-finished, but we'd better get secure glibc fast.
2016-05-16 10:15:28 +02:00
Joachim Fasting
f99c86eec1
grsecurity: remove expressions for unsupported versions
Retain top-level attributes for now but consolidate compatibility
attributes.

Part of ongoing cleanup, doing it all at once is infeasible.
2016-05-16 09:10:27 +02:00
Joachim Fasting
4cf524e588
udev182: fix build against linux 4.4 headers
Fix from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=libudev0
2016-05-16 01:35:57 +02:00
Vladimír Čunát
024d44dd61 Merge #15449: update default Linux headers
...to those of the default NixOS kernel
2016-05-14 22:25:04 +02:00
Vladimír Čunát
26e8e3e654 util-linux: use sha256 instead of sha512 again
/cc #15048. I believe the usage of sha512 here at this point
brings very little gain and can be quite painful to some users.
2016-05-14 22:19:28 +02:00
Tuomas Tynkkynen
b7437eb012 tcp_wrappers: Remove separate builder.sh and use standard stdenv phases
For instance, this means that the binaries get stripped properly
(previously this package retained a reference to glibc headers).
2016-05-14 21:05:58 +03:00
Joachim Fasting
c9750f5382
linuxHeaders_4_4: init at 4.4.10 2016-05-14 09:14:00 +02:00
Joachim Fasting
77022120f7 Merge pull request #15347 from joachifm/kernel-headers-cleanup
linuxHeaders cleanup
2016-05-14 08:53:48 +02:00
Joachim Fasting
6194e9d801
kernelPatches.grsecurity: 4.5.4-201605122039 -> 4.5.4-201605131918
Also revert to using the grsecurity-scrape mirror; relying on upstream
just isn't viable. Lately, updates have been so frequent that a new
version is released before Hydra even gets around to building the
previous one.
2016-05-14 05:15:35 +02:00
Joachim Fasting
7fdce2feb0
kernelPatches.grsecurity_4_5: 4.5.4-201605112030 -> 4.5.4-201605122039 2016-05-13 23:11:07 +02:00