Commit graph

37 commits

Author SHA1 Message Date
Ben Siraphob 66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Arnout Engelen 0fbe559542
libseccomp: make pythonsrc reproducible
makes the pythonsrc reproducible by making the file date and
ordering static.

A more general solution to this problem has been proposed in
https://github.com/NixOS/nixpkgs/issues/106643
2020-12-11 10:27:24 +01:00
Frederik Rietdijk ce9c513856 Merge staging-next into staging 2020-11-27 15:09:41 +01:00
Frederik Rietdijk b2a3891e12 Merge master into staging-next 2020-11-27 15:09:19 +01:00
Mario Rodas 04f86683a6
Merge pull request #104551 from r-ryantm/auto-update/libseccomp
libseccomp: 2.5.0 -> 2.5.1
2020-11-24 22:12:18 -05:00
Graham Christensen bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
R. RyanTM 2214878050 libseccomp: 2.5.0 -> 2.5.1 2020-11-22 02:40:34 +00:00
Austin Seipp 75e683d29d pythonPackages: add new 'seccomp' library
As requested in #99553. Closes #99553.

Libraries that install python modules as part of the build are
problematic, because they either

  - only support a single python version, because the input for
    pythonPackages gets fixed in all-packages.nix, or

  - need to be rebuild the underlying C code for *every* python version
    resulting in libfoo-python37, libfoo-python38, and so on

We would prefer to use the second approach because it works correctly
for all versions of python. However, it creates duplicate copies of
libseccomp.so and that can be expensive. Instead we 'deduplicate' the
copies of libseccomp.so by

  - attaching a new $pythonsrc output to the libseccomp deriv, and
  - exposing a new 'seccomp' package in python-packages.nix using
    libseccomp as input, and
  - having a custom python.nix derivation that builds the cython
    extension using libseccomp to get the python source and the
    package version

This means we build 1 copy of the seccomp python package, one for each
version of python, but all of those packages refer to a single instance
of the libseccomp C library, giving us the best of both worlds.

NOTE: because this requires changing the postInstall of libseccomp, it
requires a mass rebuild.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-11-20 07:57:26 +01:00
Christian Kampka 0730d80e40 libseccomp: move gpref from buildInputs to nativeBuildInputs 2020-08-31 17:56:34 +02:00
Sascha Grunert a3af2bb9ac
libseccomp: disable RISC-V 32bit architecture
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-26 08:35:34 +02:00
Sascha Grunert ae3fe42897
libseccomp: enable RISC-V architecture
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-24 19:15:18 +02:00
Sascha Grunert 33842cacde
libseccomp: 2.4.3 -> 2.5.0
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-24 19:15:18 +02:00
Sascha Grunert 3829a40793
libseccomp: format with nixpkgs-fmt
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-08-24 19:15:17 +02:00
R. RyanTM 051637db09 libseccomp: 2.4.2 -> 2.4.3 2020-03-07 21:36:50 +00:00
R. RyanTM 03be1adb13 libseccomp: 2.4.1 -> 2.4.2 2019-11-30 18:33:21 -05:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Matthew Bauer efd44a3a7a libseccomp: mark bad platforms
taken from https://github.com/seccomp/libseccomp#supported-architectures
2019-05-02 21:29:12 -04:00
Will Dietz ab4b33cdbf libseccomp: 2.4.0 -> 2.4.1
https://github.com/seccomp/libseccomp/releases/tag/v2.4.1
2019-04-18 08:39:29 +02:00
Will Dietz 862ea070aa libseccomp: 2.3.3 -> 2.4.0
https://github.com/seccomp/libseccomp/releases/tag/v2.4.0
2019-03-14 16:27:13 -05:00
Jörg Thalheim b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Jan Malakhovski 0b67d69c13 libseccomp: make tests run, but dependency cycle 2018-08-11 09:35:34 +00:00
Shea Levy 26e8d58cb5
libseccomp: Disable only on RISC-V if Linux.
The isSeccomputable flag treated Linux without seccomp as just a
normal variant, when it really should be treated as a special case
incurring complexity debt to support.
2018-03-27 08:16:24 -04:00
Eelco Dolstra 8d490ca993
libseccomp: Use multiple outputs 2018-02-22 15:15:55 +01:00
Franz Pletz 92c55ab25d
libseccomp: 2.3.2 -> 2.3.3 2018-01-28 18:21:33 +01:00
Eelco Dolstra d46e78ed0f
libseccomp: Fix RPATH
Ensure that bin/scmp_sys_resolver doesn't have $TMPDIR in its RPATH.

I can't reproduce the issue reported in
98edb24368 that required the addition of
a wrapper script. It seems to work fine without.
2017-05-04 20:23:13 +02:00
Renaud 98edb24368 libseccomp: 2.3.1 -> 2.3.2 + fixed scmp_sys_resolver
`libseccomp` is updated to 2.3.2
`scmp_sys_resolver` is fixed (it could not find libseccomp.so.2 shared library before)
2017-03-17 22:10:50 +01:00
Franz Pletz 9de5d8ff0f libseccomp: 2.3.0 -> 2.3.1 2016-08-25 01:55:42 +02:00
Bjørn Forsman bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00
Franz Pletz 7386619538 libseccomp: 2.2.3 -> 2.3.0 2016-05-03 16:15:20 +02:00
Eelco Dolstra 3cc04956f3 libseccomp: Fix hash 2015-09-08 10:48:42 +02:00
Eelco Dolstra 916793cf13 Merge branch 'master' into systemd-219
Conflicts:
	nixos/modules/system/boot/systemd.nix
	pkgs/applications/networking/p2p/transmission/default.nix
	pkgs/development/libraries/libseccomp/default.nix
	pkgs/os-specific/linux/systemd/default.nix
	pkgs/top-level/all-packages.nix
2015-09-07 21:28:33 +02:00
Austin Seipp 6dac59b096 nixpkgs: libseccomp 2.2.1 -> 2.2.3
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2015-07-20 13:52:33 -05:00
Eelco Dolstra 8ab3f88f5c libseccomp: Update to 2.2.1 2015-05-22 15:49:27 +02:00
William A. Kennington III d6c6253be0 libseccomp: 2.2.0 -> 2.2.1 2015-05-20 18:30:22 -07:00
William A. Kennington III 1eeee6c87c libseccomp: 2.1.1 -> 2.2.0 2015-03-26 17:54:08 -07:00
Austin Seipp 036a7708a2 libseccomp: attempt to fix Hydra build
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-04-11 21:37:19 -05:00
Austin Seipp 692ee73af1 libseccomp: version 2.1.1
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-04-08 19:37:47 -05:00