---- cryptsetup-1.1.2/luks/pbkdf.c~ 2009-09-11 16:11:50.000000000 +0200
-+++ cryptsetup-1.1.2/luks/pbkdf.c 2010-06-21 11:16:57.353421474 +0200
+--- cryptsetup-1.2.0/lib/luks1/pbkdf.c~ 2009-09-11 16:11:50.000000000 +0200
++++ cryptsetup-1.2.0/lib/luks1/pbkdf.c 2010-06-21 11:16:57.353421474 +0200
@@ -174,7 +174,7 @@
if (gcry_md_setkey(prf, P, Plen))
goto out;
}
rc = 0;
out:
---- cryptsetup-1.1.2/luks/keymanage.c.org 2010-06-21 11:25:41.010034880 +0200
-+++ cryptsetup-1.1.2/luks/keymanage.c 2010-06-21 11:25:47.149697130 +0200
+--- cryptsetup-1.2.0/lib/luks1/keymanage.c.org 2010-06-21 11:25:41.010034880 +0200
++++ cryptsetup-1.2.0/lib/luks1/keymanage.c 2010-06-21 11:25:47.149697130 +0200
@@ -20,6 +20,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+++ /dev/null
---- cryptsetup-luks-1.0.3/configure.in.orig 2006-08-22 22:59:13.083565000 +0200
-+++ cryptsetup-luks-1.0.3/configure.in 2006-08-22 23:11:52.943053250 +0200
-@@ -110,8 +110,12 @@
-
- dnl ==========================================================================
-
--AM_CONDITIONAL(STATIC_CRYPTSETUP, test x$enable_static = xyes)
--AM_CONDITIONAL(DYNAMIC_CRYPTSETUP, test x$enable_static = xno)
-+AC_ARG_ENABLE(static-cryptsetup,
-+[ --enable-static-cryptsetup link cryptsetup statically [[default=no]]],
-+[enable_static_cryptsetup=$enableval],[enable_static_cryptsetup=no])
-+
-+AM_CONDITIONAL(STATIC_CRYPTSETUP, test x$enable_static_cryptsetup = xyes)
-+AM_CONDITIONAL(DYNAMIC_CRYPTSETUP, test x$enable_static_cryptsetup = xno)
-
- dnl ==========================================================================
-
Summary: LUKS for dm-crypt implemented in cryptsetup
Summary(pl.UTF-8): LUKS dla dm-crypta zaimplementowany w cryptsetup
Name: cryptsetup-luks
-Version: 1.1.3
+Version: 1.2.0
Release: 1
License: GPL v2
Group: Base
+#Source0Download: http://code.google.com/p/cryptsetup/downloads/list
Source0: http://cryptsetup.googlecode.com/files/%{realname}-%{version}.tar.bz2
-# Source0-md5: 318a64470861ea5b92a52f2014f1e7c1
+# Source0-md5: b4ac29d3d8b4771a457a8ceaa8c6aa13
Source1: %{name}-initramfs-root-conf
Source2: %{name}-initramfs-root-hook
Source3: %{name}-initramfs-root-local-top
Source4: %{name}-initramfs-passdev-hook
Source5: %{name}-initramfs-README
-Patch0: %{name}-nostatic.patch
-Patch1: %{name}-diet.patch
+Patch0: %{name}-diet.patch
URL: http://code.google.com/p/cryptsetup/
-BuildRequires: autoconf >= 2.57
+BuildRequires: autoconf >= 2.67
BuildRequires: automake
BuildRequires: device-mapper-devel >= 1.02.03
BuildRequires: gettext-devel >= 0.15
BuildRequires: libgcrypt-devel >= 1.1.42
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
-BuildRequires: libtool
+BuildRequires: libtool >= 2:2.0
BuildRequires: libuuid-devel
BuildRequires: popt-devel >= 1.7
%if %{with initrd}
%prep
%setup -q -n %{realname}-%{version}
%patch0 -p1
-%patch1 -p1
cp -a %{SOURCE5} README.initramfs