Commit graph

16 commits

Author SHA1 Message Date
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
William A. Kennington III 8ca8b0868c cryptsetup: 1.6.3 -> 1.6.7 2015-03-26 11:42:32 -07:00
Mateusz Kowalczyk 7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Nixpkgs Monitor a5882db800 cryptsetup: update from 1.6.2 to 1.6.3 2014-01-08 18:49:49 +01:00
William A. Kennington III 9ce566e9a4 Upgrade cryptsetup from 1.5.1 -> 1.6.2 2013-11-28 00:52:11 -06:00
aszlig b785a7192e
cryptsetup: Allow to build with Python support.
This again is only optional to avoid too much dependencies when bootstrapping
small systems or when constrained to RAM disks of lower size. It is needed for
blivet as well, which will override the option in its dependency list.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2013-06-24 10:33:18 +02:00
Eelco Dolstra 5391395e68 cryptsetup: Update to 1.5.1 2013-01-08 17:06:08 +01:00
Eelco Dolstra 36e604ed1a cryptsetup: Update to 1.5.0 2012-08-10 18:54:10 -04:00
Eelco Dolstra 7a6887fc8a * Cryptsetup updated to 1.4.2.
svn path=/nixpkgs/trunk/; revision=34090
2012-05-14 20:27:55 +00:00
Florian Friesdorf d5709cfb64 cryptsetup-1.4.1
Thanks to Mathijs Kwik and Peter Simons for preparing this.
Make sure you have nixos r31132.

svn path=/nixpkgs/trunk/; revision=31134
2011-12-28 21:48:58 +00:00
Peter Simons 8d2d9449f7 Revert cryptsetup update to version 1.4.1.
The patch committed in revision 30839 causes nixos-rebuild to fail:

 | building Nix...
 | building the system configuration...
 | these derivations will be built:
 |   /nix/store/0agbr6bgn6mgy8fy9miyc4p856x33qyg-system.drv
 |   /nix/store/csagx61sw5mzd4hb9lajx65ds5212331-udev-initrd.conf.drv
 |   /nix/store/jgm3l6ylmc8ncsirdi5hjh0mlk3m043g-initrd.drv
 |   /nix/store/k40r1l30amnbxqidbdl480xq46rqr0pa-udev-rules.drv
 |   /nix/store/ndphs01sgzw14aqpzzg3i6s6nlp6bwwc-stage-1-init.sh.drv
 |   /nix/store/wqhdw86v24z0x7fhp8xrqvw6g12lphij-extra-utils.drv
 | building path(s) `/nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils'
 | building /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils
 | `/nix/store/vxycd107wjbhcj720hzkw2px7s7kr724-glibc-2.12.2/lib/ld-linux-x86-64.so.2' -> `/nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/lib/ld-linux-x86-64.so.2'
 | `/nix/store/vxycd107wjbhcj720hzkw2px7s7kr724-glibc-2.12.2/lib/libc.so.6' -> `/nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/lib/libc.so.6'
 | [...]
 | `/nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/sh' -> `bash'
 | `/nix/store/pmsabjn87gxlmkqlnj3hj502l687hw0f-module-init-tools-3.16/sbin/modprobe' -> `/nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/modprobe.real'
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/ata_id...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/basename...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/bash...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/blkid...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/cat...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/cdrom_id...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/chmod...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/chroot...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/cryptsetup...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/dmsetup...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/e2fsck...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/edd_id...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/fsck...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/input_id...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/ln...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/lvm...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/mdadm...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/mkdir...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/mknod...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/modprobe.real...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/mount...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/path_id...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/reiserfsck...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/scsi_id...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/sleep...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/switch_root...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/tune2fs...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/udevadm...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/udevd...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/umount...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/usb_id...
 | patching /nix/store/dap930kk3f3s1p6if1c2la6fyx3p1ri3-extra-utils/bin/v4l_id...
 | testing patched programs...
 | GNU bash, version 4.1.2(1)-release (x86_64-unknown-linux-gnu)
 | mount from util-linux-ng 2.18 (with libblkid support)
 | umount (util-linux-ng 2.18)
 | e2fsck 1.41.14 (22-Dec-2010)
 | tune2fs 1.41.14 (22-Dec-2010)
 | 173
 | blkid from util-linux-ng 2.18 (libblkid 2.18.0, 30-Jun-2010)
 | Library version:   1.02.66 (2011-08-12)
 |   LVM version:     2.02.87(2) (2011-08-12)
 | reiserfsck 3.6.21 (2009 www.namesys.com)
 |
 | mdadm - v3.1.2 - 10th March 2010
 | basename (GNU coreutils) 8.7
 | Copyright (C) 2010 Free Software Foundation, Inc.
 | License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
 | This is free software: you are free to change and redistribute it.
 | There is NO WARRANTY, to the extent permitted by law.
 |
 | Written by David MacKenzie.
 | module-init-tools version 3.16
 | output is not allowed to refer to path `/nix/store/qccjhn063cfv171rcaxvxh0yk96zf7l2-cryptsetup-1.4.1'
 | cannot build derivation `/nix/store/ndphs01sgzw14aqpzzg3i6s6nlp6bwwc-stage-1-init.sh.drv': 1 dependencies couldn't be built
 | cannot build derivation `/nix/store/jgm3l6ylmc8ncsirdi5hjh0mlk3m043g-initrd.drv': 1 dependencies couldn't be built
 | cannot build derivation `/nix/store/0agbr6bgn6mgy8fy9miyc4p856x33qyg-system.drv': 1 dependencies couldn't be built
 | error: build of `/nix/store/0agbr6bgn6mgy8fy9miyc4p856x33qyg-system.drv' failed

svn path=/nixpkgs/trunk/; revision=30885
2011-12-14 10:42:49 +00:00
Peter Simons ba935dcbc0 upgraded cryptsetup
svn path=/nixpkgs/trunk/; revision=30839
2011-12-11 19:39:12 +00:00
Nicolas Pierron ab1eec6a60 * Replace usage of 'udevsettle' by 'udevadm settle' in cryptsetup.
svn path=/nixpkgs/trunk/; revision=19178
2010-01-03 11:01:58 +00:00
Lluís Batlle i Rossell 8515a7fa68 Adding me as a maintainer, with a pair of packages.
svn path=/nixpkgs/trunk/; revision=17295
2009-09-20 09:37:55 +00:00
Lluís Batlle i Rossell b1a7cd1692 Fixing cryptsetup build.
svn path=/nixpkgs/trunk/; revision=17293
2009-09-20 09:22:02 +00:00
Lluís Batlle i Rossell 247ad8bfcf Adding LUKS cryptsetup for the devicemapper.
svn path=/nixpkgs/trunk/; revision=14289
2009-03-01 11:11:21 +00:00