From 6b63724e673cc9d4a09127fbc41e5f30460378c5 Mon Sep 17 00:00:00 2001 From: Milan Broz Date: Feb 27 2014 15:26:16 +0000 Subject: Update to cryptsetup 1.6.4. --- 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.3.tar.bz2.asc b/cryptsetup-1.6.3.tar.bz2.asc deleted file mode 100644 index 0e03ed0..0000000 --- a/cryptsetup-1.6.3.tar.bz2.asc +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.15 (GNU/Linux) - -iQIcBAABCAAGBQJSq3HPAAoJENmwV3vZPpj8LakP/A/pql88cfCp5wYdK64Wz57I -GLvWaf8xXR+y1swdDyaTx92ntOi1lYk8UK8qXRrjuNf4+xbNsGm/aEKBuUq2NqzR -jMbyA68OUTaz8KN103Znt533r5lzm0L7CZXFonFDcriTbWTxSPegHpyy22JdWaZi -f18Fer6IpJbGBBlJBagDecr1xT+fbwUsKrTtkD4RVWie7aMgIJJVZrRchOykrF04 -hMxQs4oYtwLspOHPgpIsoTKPvx56CUadC3vvDYLSs2duVFZKmvW0XjI6EG7zn+de -bGF8u9Wsdrl9T+dIIup+U2Az+hZhkc52USYrww/D0+p7SM9N7/6y+TRVNy7vbNr1 -e0eXrdGdsAxD9HCF4oy5482fet5mltKLCN//yfg3LMOdqMWBypXV2gq8ZL36xi/l -E5zzujicoOQ/MUR1eRzZYj6PrXa5WxEwWEXpKVYz6b8g4C+PEQiv6Q3bLesYOxht -fy5jMZnWzHcTefKcIgd+I8ef7cmSq4qyX7XkFhndM++ugPFU+bPb5Oqa6Tg4Ju/N -QBBSp7uuoAsmdin8aFAd/F3wAgJS4uytsdJfaB7wOTFO9g0CQA/WnzHsc6VW6DYE -8wF1cL4k6ypRBTFES8cxQNQV+CNanb/1M8sOotCYAbP11fHtTvp0CJzrSHn4Cuwo -rz5bOCCIROqx/HgD0zCE -=uOtC ------END PGP SIGNATURE----- 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 - 1.6.4-1 +- Update to cryptsetup 1.6.4. + * Tue Jan 07 2014 Ondrej Kozina - 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