[cryptsetup] Update to cryptsetup 1.6.4.

Milan Broz mbroz at fedoraproject.org
Thu Feb 27 15:26:03 UTC 2014


commit 6b63724e673cc9d4a09127fbc41e5f30460378c5
Author: Milan Broz <gmazyland at gmail.com>
Date:   Thu Feb 27 16:26:16 2014 +0100

    Update to cryptsetup 1.6.4.

 .gitignore                   |    2 +-
 cryptsetup-1.6.3.tar.bz2.asc |   17 -----------------
 cryptsetup-1.6.4.tar.sign    |   17 +++++++++++++++++
 cryptsetup.spec              |   24 ++++++++++++++----------
 sources                      |    2 +-
 5 files changed, 33 insertions(+), 29 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3c83397..0951472 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/cryptsetup-1.6.3.tar.bz2
+/cryptsetup-1.6.4.tar.xz
diff --git a/cryptsetup-1.6.4.tar.sign b/cryptsetup-1.6.4.tar.sign
new file mode 100644
index 0000000..5c5d310
--- /dev/null
+++ b/cryptsetup-1.6.4.tar.sign
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1
+
+iQIcBAABCAAGBQJTD0ctAAoJENmwV3vZPpj8WAkQAKo2flibcxZAR7lW6NfW2SUo
+VysNEylCPRQbPbDOrWRGQMrjNlQWz0YU504P+GwVFOrALW7K2v71oVa+8AE3dukh
+0aogPTzso6HlNFnnjbd2IkCAbhgejn6gshhd2rF64YxLx5QOnX744aS5HgEb3QC4
+rkSGIih/rJz0GEsNb4gpuTceO9BnBINbmbV4172CbyOWvndkgArazkB5f1Qi5d2r
+SUQVZQIzGmW+qVmsGElS4AtCsYz59qfeL6+REVHEY0YV9M1MkWF3ZCsflW6t0Qgb
+MUzNb3MEYYh2NaQoF4Ul1ZbHNgnx6as9B/uCIuV6LPQiJvl7PkBlN56vO6FI2nE5
+x2yXed8Y2OJBGstHsGtMoP8DP96U0IKcEPpSwttKVwl6+qCqu3Wns27eAvrkKnD/
+8/PGrk1F9H+iB4JLez/WyrWEveQQKugkJPf8HUSNW4J5/Q/joD0/2sKfIBTYbEG1
+Hf0jvcfhnsMf4cr06K1VeOVkr596/EEQRyEKAEQHdRdSDXvZeprjA+yBai6v6V+W
+OCm4DK3D6o9jhCLeotFSlOsMfA9gxWJ9uKrEnR7ITh7PmTf8PiZbX+VkexuwP8vT
+PaDjBCRZ2mm1nIfYxohcEMNz/WgRdFKx4vmb13OyY1tEcQYjIk/EoP7EZrGNS1tJ
+5X1fSnePI1PuO+WuyaHy
+=jEBe
+-----END PGP SIGNATURE-----
diff --git a/cryptsetup.spec b/cryptsetup.spec
index a7db36c..e64fa73 100644
--- a/cryptsetup.spec
+++ b/cryptsetup.spec
@@ -1,7 +1,7 @@
 Summary: A utility for setting up encrypted disks
 Name: cryptsetup
-Version: 1.6.3
-Release: 2%{?dist}
+Version: 1.6.4
+Release: 1%{?dist}
 License: GPLv2+ and LGPLv2+
 Group: Applications/System
 URL: http://cryptsetup.googlecode.com/
@@ -16,12 +16,13 @@ Requires: fipscheck-lib%{_isa} >= 1.3.0
 Requires: libpwquality >= 1.2.0
 
 %define upstream_version %{version}
-Source0: http://cryptsetup.googlecode.com/files/cryptsetup-%{upstream_version}.tar.bz2
+Source0: https://www.kernel.org/pub/linux/utils/cryptsetup/v1.6/cryptsetup-%{upstream_version}.tar.xz
 
-%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
-%define configure_cipher --enable-gcrypt-pbkdf2
+# Unpatched PBKDF2 in gcrypt is slow, disable it and use internal one.
+%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7
+%define configure_pbkdf2 --enable-gcrypt-pbkdf2
 %else
-%define configure_cipher --with-luks1-cipher=aes --with-luks1-mode=cbc-essiv:sha256 --with-luks1-keybits=256
+%define configure_pbkdf2 --disable-gcrypt-pbkdf2
 %endif
 
 %description
@@ -47,9 +48,9 @@ Summary: Cryptsetup shared library
 Provides: cryptsetup-luks-libs = %{version}-%{release}
 Obsoletes: cryptsetup-luks-libs < 1.4.0
 Requires: fipscheck-lib%{_isa} >= 1.3.0
-# Need support for empty password in gcrypt PBKDF2
-%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
-Requires: libgcrypt >= 1.5.0-9
+# Need support for empty password in gcrypt PBKDF2 and fixed gcrypt PBKDF2
+%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7
+Requires: libgcrypt >= 1.5.3-3
 %endif
 
 %description libs
@@ -90,7 +91,7 @@ chmod -x python/pycryptsetup-test.py
 chmod -x misc/dracut_90reencrypt/*
 
 %build
-%configure --enable-python --enable-fips --enable-cryptsetup-reencrypt --enable-pwquality %{?configure_cipher}
+%configure --enable-python --enable-fips --enable-cryptsetup-reencrypt --enable-pwquality %{?configure_pbkdf2}
 # remove rpath
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@@ -148,6 +149,9 @@ install -d %{buildroot}/%{_libdir}/fipscheck
 %clean
 
 %changelog
+* Thu Feb 27 2014 Milan Broz <gmazyland at gmail.com> - 1.6.4-1
+- Update to cryptsetup 1.6.4.
+
 * Tue Jan 07 2014 Ondrej Kozina <okozina at redhat.com> - 1.6.3-2
 - remove useless hmac checksum
 
diff --git a/sources b/sources
index 385f669..a86b5b8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a7aeb549a543eeac433eadfb6bc67837  cryptsetup-1.6.3.tar.bz2
+f68ce7b7f4be08449f3c8b114ed5accb  cryptsetup-1.6.4.tar.xz


More information about the scm-commits mailing list