Commit Graph

65 Commits

Author SHA1 Message Date
Matt Melling
2c102088fa
cryptsetup: 2.5.0 -> 2.6.1 2023-02-15 08:22:38 +00:00
Florian Klink
3ff0a8f840
Merge pull request #189676 from zhaofengli/cryptenroll
systemd: Fix systemd-{cryptenroll,cryptsetup} TPM2 and FIDO2 support (attempt #3)
2022-10-12 00:56:04 +02:00
Robert Hensing
e56fb06eef cryptsetup: Add tests.nixos 2022-10-09 08:11:33 +02:00
Robert Hensing
e5b5136429 cryptsetup: Remove ruby build dependency from NixOS
Removing this build dependency makes most NixOS tests completely
independent of the ruby ecosystem.
This helps reduce mass-rebuilds, which is especially useful when
bisecting the staging branch using a NixOS test.
2022-10-09 08:11:33 +02:00
Zhaofeng Li
f42cdfe227 cryptsetup: Allow reading tokens from relative path
Co-authored-by: Janne Heß <janne@hess.ooo>
Co-authored-by: Ilan Joselevich <personal@ilanjoselevich.com>
2022-10-05 08:22:14 -06:00
Yuka
ad0cd6e56a
cryptsetup: 2.4.3 -> 2.5.0 (#186249) 2022-08-14 11:40:43 +02:00
Yureka
53b36c9c5b cryptsetup: skip tests on musl
The test [7] header backup in compat-test fails with a mysterious
"out of memory" error, even though tons of memory is available.
Issue filed upstream: https://gitlab.com/cryptsetup/cryptsetup/-/issues/763
2022-08-14 11:40:02 +02:00
Alyssa Ross
f8be98b2cb cryptsetup: separate binaries from libraries
This reduces closure sizes by making the libraries not depend on the
binaries, which is good for dynamic builds, and (when statically
linked) making the binaries not depend on the libraries, which is good
for static builds.

When static building, we additionally have to disable loading LUKS
plugins from $lib to avoid a reference, which probably wouldn't have
worked anyway.
2022-03-10 11:13:15 +00:00
Alyssa Ross
e28c5cd7ac pkgsStatic.cryptsetup: don't --enable-static-cryptsetup
--enable-static-cryptsetup adds binaries suffixed with .static,
e.g. cryptsetup.static, and those binaries have extra flags set to
enable them to be built statically.  It doesn't change how the main
binaries are built — they're compiled correctly because pkgsStatic
sets up all the necessary compiler flag anyway.  So as far as I can
tell, all --enable-static-cryptsetup gets us is duplicate binaries
that take up disk space unnecessarily.
2022-03-03 13:57:32 +00:00
Bernardo Meurer
83590b1afc
Merge pull request #156539 from alyssais/cryptsetup-debug
cryptsetup: enable debug info
2022-01-25 20:20:40 -08:00
Alyssa Ross
218c163b48
cryptsetup: enable debug info 2022-01-24 15:35:05 +00:00
Alyssa Ross
2f14e11f3a cryptsetup: don't look at targetPlatform
targetPlatform refers to the platform the program being compiled will
produce binaries for, which only makes sense for things like
compilers, not cryptsetup.  The correct platform to look at to check
static support is hostPlatform, which refers to the architecture the
program being compiled will run on.
2022-01-24 15:11:46 +01:00
Dmitry Kalinkin
a56da82f7a
Merge branch 'master' into staging-next
Conflicts:
	pkgs/development/python-modules/restfly/default.nix
2022-01-13 21:39:05 -05:00
Martin Weinelt
99ee04b5d1 cryptsetup: 2.4.2 -> 2.4.3 2022-01-13 18:24:48 +01:00
Yureka
2510939212 cryptsetup: fix static build 2021-12-30 11:13:39 +01:00
R. Ryantm
4ed0620c9a cryptsetup: 2.4.1 -> 2.4.2 2021-12-11 08:37:09 +00:00
Yureka
1d1b097b86 cryptsetup: 2.4.0 -> 2.4.1 2021-10-16 10:15:23 +02:00
Maxine Aubrey
0e6c742620
cryptsetup: 2.3.6 -> 2.4.0
- https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.0-ReleaseNotes
2021-09-01 18:57:13 +02:00
R. RyanTM
6ded8b9cd4 cryptsetup: 2.3.5 -> 2.3.6 2021-05-29 10:29:11 +00:00
R. RyanTM
b98fb48c38 cryptsetup: 2.3.4 -> 2.3.5 2021-03-20 09:19:11 +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
Ben Siraphob
16d91ee628 pkgs/os-specific: stdenv.lib -> lib 2021-01-17 23:26:08 +07:00
R. RyanTM
f509a0f04f cryptsetup: 2.3.3 -> 2.3.4 2020-10-06 10:15:11 +02:00
Martin Milata
6053264d4f cryptsetup: 2.1.0 -> 2.3.3
Changes:
- https://gitlab.com/cryptsetup/cryptsetup/-/blob/master/docs/v2.2.0-ReleaseNotes
- https://gitlab.com/cryptsetup/cryptsetup/-/blob/master/docs/v2.2.1-ReleaseNotes
- https://gitlab.com/cryptsetup/cryptsetup/-/blob/master/docs/v2.2.2-ReleaseNotes
- https://gitlab.com/cryptsetup/cryptsetup/-/blob/master/docs/v2.3.0-ReleaseNotes
- https://gitlab.com/cryptsetup/cryptsetup/-/blob/master/docs/v2.3.1-ReleaseNotes
- https://gitlab.com/cryptsetup/cryptsetup/-/blob/master/docs/v2.3.2-ReleaseNotes
- https://gitlab.com/cryptsetup/cryptsetup/-/blob/master/docs/v2.3.3-ReleaseNotes

The python bindings were removed in 2.1.0.
2020-06-18 15:25:44 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Franz Pletz
2587df7f02
cryptsetup: enable kernel crypto api support again
This is needed for tcrypt and the benchmark subcommand. If enabled,
it is also used to unlock LUKS2 volumes and therefore the kernel modules
providing this feature need to be available in our initrd.

Fixes #42163. #54019.
2019-06-07 22:15:35 +02:00
Andreas Rammhold
f716a7ec32
cryptsetup: 2.0.6 -> 2.1.0
Bump to the latest stable version. Be aware that cryptsetup changed the
default LUKS header format with this version. When porting this to a
stable distribution you should supply the configure flag
`--with-default-luks-format=LUKS1` to preserve the user experience
there.

The full changelog can be seen at [0].
[0] https://gitlab.com/cryptsetup/cryptsetup/blob/master/docs/v2.1.0-ReleaseNotes
2019-03-01 23:01:21 +01:00
Florian Friesdorf
fbef5ab82f Remove myself as maintainer from packages
I'm currently not maintaining any packages.
2019-02-22 16:14:13 +01:00
R. RyanTM
7f61a7814e cryptsetup: 2.0.5 -> 2.0.6
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/cryptsetup/versions
2018-12-16 04:53:29 -08:00
R. RyanTM
f3545ef3c8 cryptsetup: 2.0.4 -> 2.0.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/cryptsetup/versions
2018-11-10 02:23:09 -08:00
Amine Chikhaoui
00064c21cc ZHF 18.09: fix crypsetup build with python enabled. (#46468)
Fixes https://hydra.nixos.org/build/81028247.
2018-09-10 11:53:45 +02:00
xeji
8c6cf3de3d
cryptsetup: enable and fix tests (#46346)
Some tests use O_DIRECT which is filesystem dependent and fails in a
sandbox as well as on some filesystems without sandboxing.
Patch out O_DIRECT and disable the 4 test cases that still fail in a
sandbox. See discussion in #46151.
2018-09-08 21:24:15 +02:00
Dmitriy
b691bf4629
Merge branch 'master' into update-cryptsetup 2018-08-22 10:32:01 +03:00
Markov Dmitry
bf453ad4e5 Split outputs to out, dev and man 2018-08-20 17:43:48 +03:00
Markov Dmitry
0b701f479f cryptsetup: 2.0.3 -> 2.0.4 2018-08-20 17:42:51 +03:00
Jan Malakhovski
0e3ffe430e cryptsetup: fix tests 2018-08-11 09:35:21 +00:00
Lluís Batlle i Rossell
66d7126255 Take me (viric) out of most maintenance
Since years I'm not maintaining anything of the list below other
than some updates when I needed them for some reason. Other people
is doing that maintenance on my behalf so I better take me out but
for very few packages. Finally!
2018-07-22 21:50:19 +02:00
Matthew Bauer
76999cc40e treewide: remove aliases in nixpkgs
This makes the command ‘nix-env -qa -f. --arg config '{skipAliases =
true;}'’ work in Nixpkgs.

Misc...

- qtikz: use libsForQt5.callPackage

  This ensures we get the right poppler.

- rewrites:

  docbook5_xsl -> docbook_xsl_ns
  docbook_xml_xslt -> docbook_xsl

diffpdf: fixup
2018-07-18 23:25:20 -04:00
qoli
8100691b3e Cryptsetup: 2.0.2 -> 2.0.3. Also, add upstream libressl-2.7 patch. 2018-06-18 20:48:11 -07:00
Yegor Timoshenko
397f5c37df
cryptsetup: apply Matías Lang's patch 2018-06-15 23:20:53 +00:00
Yegor Timoshenko
d72f22607a
cryptsetup: 1.7.5 -> 2.0.2 2018-04-03 11:25:13 +00: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
Tuomas Tynkkynen
eacfdc38f4 cryptsetup: 1.7.3 -> 1.7.5 2017-05-14 22:37:06 +03:00
Robin Gloster
3e8bb7237d
cryptsetup: 1.7.1 -> 1.7.3 2016-12-29 02:52:54 +01:00
Franz Pletz
c2a979fbfd
cryptsetup: 1.7.0 -> 1.7.1 2016-12-29 02:52:54 +01:00
Frederik Rietdijk
6a8c708d6d cryptsetup: use python2 2016-11-24 22:28:04 +01:00
Rastus Vernon
77d9966d93 cryptsetup: update project homepage
The project was moved from code.google.com to gitlab.com.
2016-07-03 21:43:52 +02:00
William A. Kennington III
7cd13a21af cryptsetup: 1.6.7 -> 1.7.0 2015-11-05 18:21:43 -08:00
William A. Kennington III
fd588f939c cryptsetup: Use openssl instead of libgcrypt
When libgcrypt added support for libcap, it started dropping
capabilities of the cryptsetup process. This meant that cryptsetup was
unable to communicate with device mapper. This patch fixes that issue by
removing the dependency on libgcrypt and instead uses openssl for the
implementation of low-level cryptographic functions.

Fixes #7859.
2015-05-18 13:12:27 -07:00