]> git.pld-linux.org Git - packages/cryptsetup.git/commitdiff
- updated to 1.5.1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 27 Oct 2012 08:59:25 +0000 (10:59 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 27 Oct 2012 08:59:25 +0000 (10:59 +0200)
- updated diet patch

cryptsetup.spec
diet.patch

index 3bf6e606d59dd55de33a0cf25be8df8861f75d26..0fa3c08d61b18f067a1e312a4f5a50b00946d525 100644 (file)
@@ -7,13 +7,13 @@
 Summary:       LUKS for dm-crypt implemented in cryptsetup
 Summary(pl.UTF-8):     LUKS dla dm-crypta zaimplementowany w cryptsetup
 Name:          cryptsetup
-Version:       1.5.0
-Release:       2
+Version:       1.5.1
+Release:       1
 License:       GPL v2
 Group:         Base
 # Source0Download: http://code.google.com/p/cryptsetup/downloads/list
 Source0:       http://cryptsetup.googlecode.com/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 0fa7ba8923b0ce8eed2aa65f2cb9950c
+# Source0-md5: 87cc018c0c65f36043f38ceb8ffd4d81
 Patch0:                diet.patch
 URL:           http://code.google.com/p/cryptsetup/
 BuildRequires: autoconf >= 2.67
@@ -33,13 +33,13 @@ BuildRequires:      rpm-pythonprov
 %if %{with initrd}
 BuildRequires: libgpg-error-static
        %if %{with dietlibc}
-BuildRequires: device-mapper-dietlibc
+BuildRequires: device-mapper-dietlibc >= 1.02.27
 BuildRequires: dietlibc-static
 BuildRequires: libgcrypt-dietlibc
 BuildRequires: libuuid-dietlibc
 BuildRequires: popt-dietlibc
        %else
-BuildRequires: device-mapper-static >= 1.02.07
+BuildRequires: device-mapper-static >= 1.02.27
 BuildRequires: libgcrypt-static >= 1.1.42
 BuildRequires: libselinux-static
 BuildRequires: libsepol-static
@@ -85,7 +85,7 @@ Summary:      Header files for cryptsetup library
 Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki cryptsetup
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      device-mapper-devel
+Requires:      device-mapper-devel >= 1.02.03
 Requires:      libgcrypt-devel >= 1.1.42
 Provides:      cryptsetup-luks-devel = %{version}-%{release}
 Obsoletes:     cryptsetup-luks-devel < 1.4.1-2
index 1cc27e79dce9b6e9717213bf28dd38ef720f23e6..33c7bcafe8f76c1c55ca121b96dbe37ab6813105 100644 (file)
@@ -27,9 +27,9 @@
        }
        rc = 0;
  out:
---- cryptsetup-1.4.0/lib/luks1/keymanage.c.orig        2011-10-08 23:57:01.000000000 +0200
-+++ cryptsetup-1.4.0/lib/luks1/keymanage.c     2011-10-30 07:53:26.817195403 +0100
-@@ -19,6 +19,7 @@
+--- cryptsetup-1.5.1/lib/luks1/keymanage.c.orig        2012-09-19 13:55:25.000000000 +0200
++++ cryptsetup-1.5.1/lib/luks1/keymanage.c     2012-10-27 10:40:19.872153257 +0200
+@@ -20,6 +20,7 @@
  
  #include <sys/types.h>
  #include <sys/stat.h>
@@ -37,7 +37,7 @@
  #include <netinet/in.h>
  #include <fcntl.h>
  #include <errno.h>
-@@ -35,6 +36,10 @@
+@@ -36,6 +37,10 @@
  #include "pbkdf.h"
  #include "internal.h"
  
@@ -45,6 +45,6 @@
 +#define UINT32_MAX UINT_MAX
 +#endif
 +
- #define div_round_up(a,b) ({           \
-       typeof(a) __a = (a);          \
-       typeof(b) __b = (b);          \
+ /* Get size of struct luks_phdr with all keyslots material space */
+ static size_t LUKS_device_sectors(size_t keyLen)
+ {
This page took 0.132209 seconds and 4 git commands to generate.