SHA256
1
0
forked from pool/cryptsetup

Accepting request 19101 from security

Copy from security/cryptsetup based on submit request 19101 from user lnussel

OBS-URL: https://build.opensuse.org/request/show/19101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cryptsetup?expand=0&rev=30
This commit is contained in:
OBS User autobuild 2009-08-28 18:33:22 +00:00 committed by Git OBS Bridge
commit 90f2d2b3b9
6 changed files with 43 additions and 23 deletions

View File

@ -1,13 +0,0 @@
Index: cryptsetup-1.0.5_SVNr46/lib/libdevmapper.c
===================================================================
--- cryptsetup-1.0.5_SVNr46.orig/lib/libdevmapper.c 2007-10-24 22:47:53.000000000 +0200
+++ cryptsetup-1.0.5_SVNr46/lib/libdevmapper.c 2008-07-23 11:42:29.000000000 +0200
@@ -18,7 +18,7 @@
#define CRYPT_TARGET "crypt"
-#define UDEVSETTLE "/sbin/udevsettle"
+#define UDEVSETTLE "/sbin/udevadm settle"
static void run_udevsettle(void)
{

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ef8319f3d60b956f4cdfc45589d9e73cc3359ca0a3bb2fe072a49b5ba4bee956
size 246372

3
cryptsetup-1.0.7.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:829af59ab5bb47e4ff384a927458b4ffbb86380825de5f9ac751a89df599ed99
size 417339

View File

@ -1,7 +1,7 @@
#!/bin/sh #!/bin/sh
# repo is at http://luks.endorphin.org/svn/cryptsetup # repo is at http://cryptsetup.googlecode.com/svn/trunk
set -e -x set -e -x
SVN_VERSION="1.0.5_SVNr`svnversion .`" SVN_VERSION="1.0.7_SVNr`svnversion .`"
rm -rf cryptsetup-${SVN_VERSION} rm -rf cryptsetup-${SVN_VERSION}
svn export . cryptsetup-${SVN_VERSION} svn export . cryptsetup-${SVN_VERSION}
tar --owner=root --group=root --force-local -cjf cryptsetup-${SVN_VERSION}.tar.bz2 cryptsetup-${SVN_VERSION} tar --owner=root --group=root --force-local -cjf cryptsetup-${SVN_VERSION}.tar.bz2 cryptsetup-${SVN_VERSION}

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Thu Aug 27 06:59:55 UTC 2009 - lnussel@suse.de
- new cryptsetup version 1.0.7
* Allow removal of last slot in luksRemoveKey and luksKillSlot.
* Reject unsupported --offset and --skip options for luksFormat and update man page.
* Various man page fixes.
* Set UUID in device-mapper for LUKS devices.
* Retain readahead of underlying device.
* Display device name when asking for password.
* Check device size when loading LUKS header. Remove misleading error message later.
* Add error hint if dm-crypt mapping failed.
* Use better error messages if device doesn't exist or is already used by other mapping.
* Fix make distcheck.
* Check if all slots are full during luksAddKey.
* Fix segfault in set_error.
* Code cleanups, remove precompiled pot files, remove unnecessary files from po directory
* Fix uninitialized return value variable in setup.c.
* Code cleanups. (thanks to Ivan Stankovic)
* Fix wrong output for remaining key at key deletion.
* Allow deletion of key slot while other keys have the same key information.
* Add missing AM_PROG_CC_C_O to configure.in
* Remove duplicate sentence in man page.
* Wipe start of device (possible fs signature) before LUKS-formatting.
* Do not process configure.in in hidden directories.
* Return more descriptive error in case of IO or header format error.
* Use remapping to error target instead of calling udevsettle for temporary crypt device.
* Check device mapper communication and warn user if device-mapper support missing in kernel.
* Fix signal handler to properly close device.
* write_lseek_blockwise: declare innerCount outside the if block.
* add -Wall to the default CFLAGS. fix some signedness issues.
* Error handling improvement.
* Add non-exclusive override to interface definition.
* Refactor key slot selection into keyslot_from_option.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 19 14:08:40 CEST 2009 - lnussel@suse.de Wed Aug 19 14:08:40 CEST 2009 - lnussel@suse.de

View File

@ -1,5 +1,5 @@
# #
# spec file for package cryptsetup (Version 1.0.5_SVNr46) # spec file for package cryptsetup (Version 1.0.7)
# #
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -29,8 +29,8 @@ BuildRequires: libselinux-devel
License: BSD 3-clause (or similar) ; GPL v2 only ; GPL v2 or later License: BSD 3-clause (or similar) ; GPL v2 only ; GPL v2 or later
Group: System/Base Group: System/Base
AutoReqProv: on AutoReqProv: on
Version: 1.0.5_SVNr46 Version: 1.0.7
Release: 67 Release: 1
Summary: Set Up dm-crypt Based Encrypted Block Devices Summary: Set Up dm-crypt Based Encrypted Block Devices
Source: cryptsetup-%{version}.tar.bz2 Source: cryptsetup-%{version}.tar.bz2
Source1: hashalot-%haver.tar.bz2 Source1: hashalot-%haver.tar.bz2
@ -38,7 +38,6 @@ Source1: hashalot-%haver.tar.bz2
Source2: boot.crypto-%{bcver}.tar.bz2 Source2: boot.crypto-%{bcver}.tar.bz2
# use this to create the tarball from svn # use this to create the tarball from svn
Source99: cryptsetup-mktar Source99: cryptsetup-mktar
Patch1: cryptsetup-1.0.5-udevadm.patch
Patch10: hashalot-fixes.diff Patch10: hashalot-fixes.diff
Patch11: hashalot-libgcrypt.diff Patch11: hashalot-libgcrypt.diff
Patch12: hashalot-ctrl-d.diff Patch12: hashalot-ctrl-d.diff
@ -115,7 +114,6 @@ Authors:
%prep %prep
%setup -q -b 1 -b 2 %setup -q -b 1 -b 2
%patch1 -p1
pushd ../hashalot-%haver pushd ../hashalot-%haver
%patch10 -p1 %patch10 -p1
%patch11 -p1 %patch11 -p1