Commit Graph

44 Commits

Author SHA1 Message Date
Sergei Trofimovich
33b10dce25 criu: 3.17.1 -> 3.19
The main change is the build fix against `gcc-13`. Otherwise build fails
as:

    include/common/list.h:35:19: error: storing the address of local variable 'postpone' in '((struct list_head *)((char *)start + 8))[24].prev' [-Werror=dangling-pointer=]
       35 |         new->prev = prev;
          |         ~~~~~~~~~~^~~~~~

Changes:
- https://github.com/checkpoint-restore/criu/releases/tag/v3.18
- https://github.com/checkpoint-restore/criu/releases/tag/v3.19
2023-12-24 11:26:33 +00:00
Adam Joseph
c7e0f6b905 treewide: s_targetPlatform_hostPlatform_ in non-compiler packages
stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries.  I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
2023-11-17 08:07:34 +00:00
Victor Buttner
5994808448 criu: add gnutar and gzip in PATH
These binaries are used for some tmpfs-related features of criu as seen here:
fbe26923e8/criu/filesystems.c (L420) .
These tmpfs-related features are used by e.g. docker checkpoint, see:
https://github.com/NixOS/nixpkgs/pull/230109 .
2023-06-02 15:35:28 +02:00
Maximilian Bosch
ea13def9b9
criu: fix build w/glibc-2.36
Failing Hydra build: https://hydra.nixos.org/build/193347368
2023-03-29 09:50:27 +02:00
Leon Schuermann
f9a1d83cdb criu: support cross-compile for armv7l and aarch64
This fixes the `criu` package to support cross-compilation to armv7l
and aarch64 architectures (tested on an x86 build host). `criu`
requires some additional flags to be passed to its Makefile
infrastructure to hint at the target architecture. It further requires
a few dependencies to be executed on the build host, hence moving them
to `depsBuildBuild`.

Signed-off-by: Leon Schuermann <leon@is.currently.online>
2023-01-31 13:18:13 +02:00
Franz Pletz
a64f2a79bb
criu: 3.15 -> 3.17.1 2022-08-05 07:48:40 +02:00
Sandro Jäckel
a5f156fde8
criu: remove stale substituteInPlace 2021-02-16 06:56:19 +01:00
adisbladis
924e69072e
criu: Fix build on aarch64 2021-02-14 08:34:04 +01:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Weiss
0421415824
criu: Switch to Python 3
This also fixes "crit -h" and "import pycriu" from within an interactive
Python shell.
2020-11-29 17:17:20 +01:00
R. RyanTM
fb0f4c5652 criu: 3.14 -> 3.15 2020-11-12 20:03:56 +00:00
R. RyanTM
6967ad7185 criu: 3.13 -> 3.14 2020-05-04 20:06:29 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM
42a2b37376 criu: 3.12 -> 3.13
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/criu/versions
2019-09-26 21:14:41 -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
R. RyanTM
25d5dbd3ff criu: 3.11 -> 3.12
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/criu/versions
2019-06-01 10:50:28 -05:00
Nikolay Amiantov
0e61cff58d criu: 3.9 -> 3.11 2019-05-21 11:21:54 +03:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
R. RyanTM
c0e0c7046d criu: 3.8.1 -> 3.9
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/criu/versions.

These checks were done:

- built on NixOS
- Warning: no invocation of /nix/store/31grlhm7igrgi29fhmndki41a8f87cvs-criu-3.9/bin/crit had a zero exit code or showed the expected version
- /nix/store/31grlhm7igrgi29fhmndki41a8f87cvs-criu-3.9/bin/compel passed the binary check.
- /nix/store/31grlhm7igrgi29fhmndki41a8f87cvs-criu-3.9/bin/criu passed the binary check.
- 2 of 3 passed binary check by having a zero exit code.
- 0 of 3 passed binary check by having the new version present in output.
- found 3.9 with grep in /nix/store/31grlhm7igrgi29fhmndki41a8f87cvs-criu-3.9
- directory tree listing: https://gist.github.com/5db13cedfd351a5d1fd8ed3d70ccbac3
- du listing: https://gist.github.com/3a064c8b51705c90c1093a81ab9495ee
2018-05-24 09:00:29 -05:00
R. RyanTM
cd43915ce0 criu: 3.8 -> 3.8.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/criu/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/yqfshz1c0qp2h8vdcswiaknxb6ibxfsl-criu-3.8.1/bin/compel -h` got 0 exit code
- ran `/nix/store/yqfshz1c0qp2h8vdcswiaknxb6ibxfsl-criu-3.8.1/bin/compel --help` got 0 exit code
- ran `/nix/store/yqfshz1c0qp2h8vdcswiaknxb6ibxfsl-criu-3.8.1/bin/criu -h` got 0 exit code
- ran `/nix/store/yqfshz1c0qp2h8vdcswiaknxb6ibxfsl-criu-3.8.1/bin/criu --help` got 0 exit code
- ran `/nix/store/yqfshz1c0qp2h8vdcswiaknxb6ibxfsl-criu-3.8.1/bin/criu -V` and found version 3.8.1
- ran `/nix/store/yqfshz1c0qp2h8vdcswiaknxb6ibxfsl-criu-3.8.1/bin/criu --version` and found version 3.8.1
- found 3.8.1 with grep in /nix/store/yqfshz1c0qp2h8vdcswiaknxb6ibxfsl-criu-3.8.1
- directory tree listing: https://gist.github.com/4324a1815464a7da41c4b8cd5056b1b7
2018-04-02 12:13:32 -07:00
Ryan Mulligan
2f7878ac56 criu: 3.7 -> 3.8
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/rhcppqwmdlwak4ifncamjiqqybwlhvcj-criu-3.8/bin/compel -h` got 0 exit code
- ran `/nix/store/rhcppqwmdlwak4ifncamjiqqybwlhvcj-criu-3.8/bin/compel --help` got 0 exit code
- ran `/nix/store/rhcppqwmdlwak4ifncamjiqqybwlhvcj-criu-3.8/bin/criu -h` got 0 exit code
- ran `/nix/store/rhcppqwmdlwak4ifncamjiqqybwlhvcj-criu-3.8/bin/criu --help` got 0 exit code
- ran `/nix/store/rhcppqwmdlwak4ifncamjiqqybwlhvcj-criu-3.8/bin/criu -V` and found version 3.8
- ran `/nix/store/rhcppqwmdlwak4ifncamjiqqybwlhvcj-criu-3.8/bin/criu --version` and found version 3.8
- found 3.8 with grep in /nix/store/rhcppqwmdlwak4ifncamjiqqybwlhvcj-criu-3.8
- directory tree listing: https://gist.github.com/6bc3ef9b1f4c69a6862043a1158fba16
2018-03-21 13:13:03 -05:00
Herwig Hochleitner
499b3edb30 criu: 2.12.1 -> 3.7
cc @thoughtpolice
2018-01-30 00:03:11 +01:00
Orivej Desh
f8077b7ef1 criu: fix build with glibc 2.26 2017-11-28 08:12:32 +00:00
Richard Marko
22beeeab76
criu: 2.0 -> 2.12.1 2017-11-02 12:45:51 +01:00
Jan Tojnar
08b283b37e
criu: Rely on XML_CATALOG_FILES variable 2017-10-07 23:39:15 +02:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Vladimír Čunát
cbc343e5e7
criu: fixup build with glibc-2.25 2017-02-21 18:21:01 +01:00
Franz Pletz
f2a66d4c16 criu: fix merge fail
d020caa5b2 vs. e3d0fe898b
2016-08-02 17:52:51 +02:00
Robin Gloster
2d382f3d98 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-05-30 19:39:34 +00:00
Tuomas Tynkkynen
603dcd6263 treewide: Make explicit that 'dev' output of libnl is used 2016-05-19 10:00:43 +02:00
Robin Gloster
d020caa5b2 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-04-18 13:49:22 +00:00
Herwig Hochleitner
e3d0fe898b criu: 1.3-rc2 -> 2.0 (#14666) 2016-04-13 19:56:52 +01:00
Robin Gloster
f60c9df0ba Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-03-28 15:16:29 +00:00
Joachim Fasting
3e1ec2b663 criu: fix build
Would fail due to -Werror; see
https://hydra.nixos.org/build/33217086/nixlog/2/raw
2016-03-18 23:39:03 +01:00
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
2275eb6210 criu: turn off stackprotector hardening 2016-02-10 23:27:39 +00:00
Boris Sukholitko
28463543eb criu: upgrade to 1.3-rc2 2014-08-11 21:49:54 +03:00
Luca Bruno
1ee786fc3d criu: fix build for ZHF 2014-08-10 11:50:43 +02:00
Austin Seipp
130cb5d005 criu: upgrade, hopefully fix Hydra build
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-05-07 16:43:48 -05:00
Austin Seipp
9bcc48a4b2 criu: attempt to fix doc building on Hydra
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-03-20 14:01:57 -05:00
Austin Seipp
7dcf9f6907 criu: only supported on 64-bit
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-03-20 13:41:05 -05:00
Austin Seipp
47b35d5e80 criu: version 1.2
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2014-03-16 07:16:34 -05:00