Blame SPECS/cryptsetup.spec

82b9cf
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
82b9cf
ac737d
%if 0%{?fedora}
ac737d
%if 0%{?fedora} >= 29
ac737d
Obsoletes: python2-cryptsetup
ac737d
Obsoletes: cryptsetup-python3
ac737d
%global python2_enable 0
ac737d
%global python3_enable 0
ac737d
%else
ac737d
%global python2_enable 1
ac737d
%global python3_enable 1
ac737d
%endif
ac737d
%else
ac737d
Obsoletes: cryptsetup-python3
ac737d
%global python3_enable 0
ac737d
%if 0%{?rhel} == 7
ac737d
%global python2_enable 1
ac737d
# Change to 1 when argon2 lands
ac737d
%global libargon2_enable 0
ac737d
# Change to 1 when dm-integrity gets backported
ac737d
%global integritysetup_enable 0
ac737d
%else
ac737d
Obsoletes: cryptsetup-python
ac737d
Obsoletes: python2-cryptsetup
ac737d
%global python2_enable 0
ac737d
%endif
ac737d
%endif
ac737d
82b9cf
82b9cf
Summary: A utility for setting up encrypted disks
82b9cf
Name: cryptsetup
ac737d
Version: 2.0.3
ac737d
Release: 3%{?dist}
82b9cf
License: GPLv2+ and LGPLv2+
82b9cf
Group: Applications/System
82b9cf
URL: https://gitlab.com/cryptsetup/cryptsetup
82b9cf
BuildRequires: libgcrypt-devel, popt-devel, device-mapper-devel
82b9cf
BuildRequires: libgpg-error-devel, libuuid-devel, libsepol-devel
ac737d
BuildRequires: libselinux-devel, gcc, libblkid-devel
ac737d
%if %{python2_enable}
ac737d
BuildRequires: python-devel
ac737d
%endif
82b9cf
%if %{python3_enable}
82b9cf
BuildRequires: python3-devel
82b9cf
%endif
ac737d
BuildRequires: libpwquality-devel, json-c-devel
ac737d
%if 0%{?libargon2_enable}
ac737d
BuildRequires: libargon2-devel
ac737d
%endif
82b9cf
Provides: cryptsetup-luks = %{version}-%{release}
82b9cf
Obsoletes: cryptsetup-luks < 1.4.0
82b9cf
Requires: cryptsetup-libs%{?_isa} = %{version}-%{release}
82b9cf
Requires: libpwquality >= 1.2.0
82b9cf
82b9cf
%define dracutmodulesdir %{_prefix}/lib/dracut/modules.d
82b9cf
%define upstream_version %{version}
ac737d
%define upstream_version_old 1.7.4
ac737d
Source0: https://www.kernel.org/pub/linux/utils/cryptsetup/v2.0/cryptsetup-%{upstream_version}.tar.xz
ac737d
Source1: https://www.kernel.org/pub/linux/utils/cryptsetup/v1.7/cryptsetup-%{upstream_version_old}.tar.xz
ac737d
# version 1.7.4 only (all of it, up to next comment)
82b9cf
Patch0: %{name}-avoid-rh-kernel-bug.patch
82b9cf
Patch1: %{name}-1.7.5-fix-unaligned-access-to-hidden-truecrypt.patch
82b9cf
Patch2: %{name}-1.7.5-fix-luksformat-in-fips-mode.patch
82b9cf
Patch3: %{name}-1.7.6-fix-blockwise-access-functions-for-64k-page-size.patch
d616ce
Patch4: %{name}-1.7.6-crypt_deactivate-fail-earlier-when-holders-detected.patch
ac737d
# 2.0.x only
ac737d
Patch5: %{name}-2.0.4-dracut-reencrypt.patch
ac737d
Patch6: %{name}-new-avoid-rh-kernel-bug.patch
ac737d
Patch7: %{name}-sector-size-detection.patch
ac737d
Patch8: %{name}-tests-device-test.patch
ac737d
Patch9: %{name}-argon2-fips.patch
ac737d
Patch10: %{name}-2.0.4-zero-length-lseek-blockwise-i-o-should-return-zero.patch
ac737d
Patch11: %{name}-2.0.4-fix-write_lseek_blockwise-for-in-the-middle-of-secto.patch
ac737d
Patch12: %{name}-2.0.4-fix-write_blockwise-on-short-files.patch
ac737d
Patch13: %{name}-2.0.4-add-blkid-utilities-for-fast-detection-of-device-sig.patch
ac737d
Patch14: %{name}-2.0.4-make-LUKS2-auto-recovery-aware-of-device-signatures.patch
ac737d
Patch15: %{name}-2.0.4-allow-LUKS2-repair-to-override-blkid-checks.patch
ac737d
Patch16: %{name}-2.0.4-allow-explicit-LUKS2-repair.patch
ac737d
Patch17: %{name}-2.0.4-update-crypt_repair-API-documentation-for-LUKS2.patch
ac737d
Patch18: %{name}-2.0.4-allow-LUKS2-repair-with-disabled-locks.patch
ac737d
# the configure patch must be applied last
ac737d
Patch19: %{name}-2.0.4-configure.patch
ac737d
Patch20: %{name}-2.0.4-update-cryptsetup-man-page-for-type-option-usage.patch
ac737d
Patch21: %{name}-2.0.4-rephrase-error-message-for-invalid-type-param-in-con.patch
82b9cf
82b9cf
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
82b9cf
%define configure_cipher --enable-gcrypt-pbkdf2
82b9cf
%else
82b9cf
%define configure_cipher --with-luks1-cipher=aes --with-luks1-mode=cbc-essiv:sha256 --with-luks1-keybits=256
82b9cf
%endif
82b9cf
ac737d
%if 0%{?libargon2_enable}
ac737d
%define configure_libargon2 --enable-libargon2
ac737d
%endif
ac737d
%if 0%{?integritysetup_enable}
ac737d
%define configure_integritysetup --enable-integritysetup
ac737d
%else
ac737d
%define configure_integritysetup --disable-integritysetup
ac737d
%endif
ac737d
82b9cf
%description
82b9cf
The cryptsetup package contains a utility for setting up
82b9cf
disk encryption using dm-crypt kernel module.
82b9cf
82b9cf
%package devel
82b9cf
Group: Development/Libraries
82b9cf
Requires: %{name} = %{version}-%{release}
82b9cf
Requires: libgcrypt-devel > 1.1.42, device-mapper-devel, libuuid-devel
82b9cf
Requires: pkgconfig
82b9cf
Summary: Headers and libraries for using encrypted file systems
82b9cf
Provides: cryptsetup-luks-devel = %{version}-%{release}
82b9cf
Obsoletes: cryptsetup-luks-devel < 1.4.0
82b9cf
82b9cf
%description devel
82b9cf
The cryptsetup-devel package contains libraries and header files
82b9cf
used for writing code that makes use of disk encryption.
82b9cf
82b9cf
%package libs
82b9cf
Group: System Environment/Libraries
82b9cf
Summary: Cryptsetup shared library
82b9cf
Provides: cryptsetup-luks-libs = %{version}-%{release}
82b9cf
Obsoletes: cryptsetup-luks-libs < 1.4.0
82b9cf
Obsoletes: cryptsetup-reencrypt-libs < 1.6.5
82b9cf
# Need support for empty password in gcrypt PBKDF2
82b9cf
%if 0%{?fedora} >= 19 || 0%{?rhel} >= 7
82b9cf
Requires: libgcrypt >= 1.5.3-3
82b9cf
%endif
82b9cf
82b9cf
%description libs
82b9cf
This package contains the cryptsetup shared library, libcryptsetup.
82b9cf
82b9cf
%package -n veritysetup
82b9cf
Group: Applications/System
82b9cf
Summary: A utility for setting up dm-verity volumes
82b9cf
Requires: cryptsetup-libs = %{version}-%{release}
82b9cf
82b9cf
%description -n veritysetup
82b9cf
The veritysetup package contains a utility for setting up
82b9cf
disk verification using dm-verity kernel module.
82b9cf
82b9cf
%package reencrypt
82b9cf
Group: Applications/System
82b9cf
Summary: A utility for offline reencryption of LUKS encrypted disks.
82b9cf
Provides: cryptsetup-reencrypt = %{version}-%{release}
82b9cf
Obsoletes: cryptsetup-reencrypt < 1.6.5
82b9cf
Requires: cryptsetup-libs = %{version}-%{release}
82b9cf
82b9cf
%description reencrypt
82b9cf
This package contains cryptsetup-reencrypt utility which
82b9cf
can be used for offline reencryption of disk in situ.
82b9cf
Also includes dracut module required to perform reencryption
82b9cf
of device containing a root filesystem.
82b9cf
82b9cf
%package python
82b9cf
Group: System Environment/Libraries
82b9cf
Summary: Python bindings for libcryptsetup
82b9cf
Requires: %{name}-libs = %{version}-%{release}
82b9cf
Provides: python-cryptsetup = %{version}-%{release}
82b9cf
Obsoletes: python-cryptsetup < 1.4.0
82b9cf
82b9cf
%description python
82b9cf
This package provides Python bindings for libcryptsetup, a library
82b9cf
for setting up disk encryption using dm-crypt kernel module.
82b9cf
82b9cf
%if %{python3_enable}
82b9cf
%package python3
82b9cf
Group: System Environment/Libraries
82b9cf
Summary: Python3 bindings for libcryptsetup
82b9cf
Requires: %{name}-libs = %{version}-%{release}
82b9cf
Provides: python3-cryptsetup = %{version}-%{release}
82b9cf
82b9cf
%description python3
82b9cf
This package provides Python bindings for libcryptsetup, a library
82b9cf
for setting up disk encryption using dm-crypt kernel module.
82b9cf
%endif
82b9cf
82b9cf
%prep
82b9cf
%setup -q -n cryptsetup-%{upstream_version}
d616ce
%patch5 -p1
d616ce
%patch6 -p1
ac737d
%patch7 -p1
ac737d
%patch8 -p1
ac737d
%patch9 -p1
ac737d
%patch10 -p1
ac737d
%patch11 -p1
ac737d
%patch12 -p1
ac737d
%patch13 -p1
ac737d
%patch14 -p1
ac737d
%patch15 -p1
ac737d
%patch16 -p1
ac737d
%patch17 -p1
ac737d
%patch18 -p1
ac737d
%patch20 -p1
ac737d
%patch21 -p1
ac737d
# the configure patch (always last)
ac737d
%patch19 -p1
82b9cf
chmod -x python/pycryptsetup-test.py
ac737d
chmod -x misc/dracut_90reencrypt/*
82b9cf
82b9cf
%if %{python3_enable}
82b9cf
# copy the whole directory for the python3 build
82b9cf
cp -a . %{py3dir}
82b9cf
%endif
82b9cf
ac737d
%setup -T -a 1 -D -n cryptsetup-%{upstream_version}
ac737d
pushd cryptsetup-1.7.4
ac737d
%patch0 -p1
ac737d
%patch1 -p1
ac737d
%patch2 -p1
ac737d
%patch3 -p1
ac737d
%patch4 -p1
ac737d
82b9cf
%build
ac737d
%configure --enable-fips --enable-pwquality --with-default-luks-format=LUKS1 %{?configure_cipher} %{?configure_libargon2} %{?configure_integritysetup}
ac737d
pushd cryptsetup-1.7.4
ac737d
%configure --enable-python --enable-fips --enable-pwquality --disable-cryptsetup-reencrypt --disable-veritysetup %{?configure_cipher}
ac737d
# remove rpath
ac737d
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
ac737d
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
ac737d
make %{?_smp_mflags}
ac737d
popd
82b9cf
# remove rpath
82b9cf
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
82b9cf
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
82b9cf
make %{?_smp_mflags}
82b9cf
82b9cf
%if %{python3_enable}
82b9cf
pushd %{py3dir}
82b9cf
%configure --enable-python --with-python_version=3
82b9cf
make %{?_smp_mflags}
82b9cf
popd
82b9cf
%endif
82b9cf
82b9cf
%install
ac737d
pushd cryptsetup-1.7.4
ac737d
make install DESTDIR=%{buildroot}
ac737d
popd
82b9cf
make install DESTDIR=%{buildroot}
82b9cf
rm -rf %{buildroot}/%{_libdir}/*.la
82b9cf
82b9cf
%if %{python3_enable}
82b9cf
pushd %{py3dir}
82b9cf
make install DESTDIR=%{buildroot}
82b9cf
rm -rf %{buildroot}/%{_libdir}/*.la
82b9cf
popd
82b9cf
%endif
82b9cf
82b9cf
%find_lang cryptsetup
82b9cf
82b9cf
install -d -m755 %{buildroot}/%{dracutmodulesdir}/90reencrypt
82b9cf
install -m755 misc/dracut_90reencrypt/module-setup.sh %{buildroot}/%{dracutmodulesdir}/90reencrypt
82b9cf
install -m755 misc/dracut_90reencrypt/parse-reencrypt.sh %{buildroot}/%{dracutmodulesdir}/90reencrypt
82b9cf
install -m755 misc/dracut_90reencrypt/reencrypt.sh %{buildroot}/%{dracutmodulesdir}/90reencrypt
ac737d
install -m755 misc/dracut_90reencrypt/reencrypt-verbose.sh %{buildroot}/%{dracutmodulesdir}/90reencrypt
82b9cf
82b9cf
%post -n cryptsetup-libs -p /sbin/ldconfig
82b9cf
82b9cf
%postun -n cryptsetup-libs -p /sbin/ldconfig
82b9cf
82b9cf
%files
82b9cf
%{!?_licensedir:%global license %%doc}
82b9cf
%license COPYING
82b9cf
%doc AUTHORS FAQ docs/*ReleaseNotes
82b9cf
%{_mandir}/man8/cryptsetup.8.gz
82b9cf
%{_sbindir}/cryptsetup
82b9cf
82b9cf
%files -n veritysetup
82b9cf
%{!?_licensedir:%global license %%doc}
82b9cf
%license COPYING
82b9cf
%{_mandir}/man8/veritysetup.8.gz
82b9cf
%{_sbindir}/veritysetup
82b9cf
ac737d
%if %{integritysetup_enable}
ac737d
%files -n integritysetup
ac737d
%{!?_licensedir:%global license %%doc}
ac737d
%license COPYING
ac737d
%{_mandir}/man8/integritysetup.8.gz
ac737d
%{_sbindir}/integritysetup
ac737d
%endif
ac737d
82b9cf
%files reencrypt
82b9cf
%{!?_licensedir:%global license %%doc}
82b9cf
%license COPYING
82b9cf
%doc misc/dracut_90reencrypt/README
82b9cf
%{_mandir}/man8/cryptsetup-reencrypt.8.gz
82b9cf
%{_sbindir}/cryptsetup-reencrypt
82b9cf
%{dracutmodulesdir}/90reencrypt
82b9cf
%{dracutmodulesdir}/90reencrypt/*
82b9cf
82b9cf
%files devel
82b9cf
%doc docs/examples/*
82b9cf
%{_includedir}/libcryptsetup.h
82b9cf
%{_libdir}/libcryptsetup.so
82b9cf
%{_libdir}/pkgconfig/libcryptsetup.pc
82b9cf
82b9cf
%files libs -f cryptsetup.lang
82b9cf
%{!?_licensedir:%global license %%doc}
82b9cf
%license COPYING COPYING.LGPL
82b9cf
%{_libdir}/libcryptsetup.so.*
ac737d
%{_tmpfilesdir}/cryptsetup.conf
ac737d
%ghost %attr(700, -, -) %dir /run/cryptsetup
82b9cf
82b9cf
%files python
82b9cf
%{!?_licensedir:%global license %%doc}
82b9cf
%license COPYING.LGPL
82b9cf
%doc python/pycryptsetup-test.py
82b9cf
%exclude %{python_sitearch}/pycryptsetup.la
82b9cf
%{python_sitearch}/pycryptsetup.so
82b9cf
82b9cf
%if %{python3_enable}
82b9cf
%files python3
82b9cf
%{!?_licensedir:%global license %%doc}
82b9cf
%license COPYING.LGPL
82b9cf
%doc python/pycryptsetup-test.py
82b9cf
%exclude %{python3_sitearch}/pycryptsetup.la
82b9cf
%{python3_sitearch}/pycryptsetup.so
82b9cf
%endif
82b9cf
82b9cf
%clean
82b9cf
82b9cf
%changelog
ac737d
* Tue Jul 31 2018 Ondrej Kozina <okozina@redhat.com> - 2.0.3-3
ac737d
- Add expected permissions explicitly for locking directory.
ac737d
- Reinstate sed script removing library rpath from libtool
ac737d
  script due to bug in upstream sources distribution.
ac737d
- Resolves: #1609847 #1610379
ac737d
ac737d
* Mon Jul 16 2018 Ondrej Kozina <okozina@redhat.com> - 2.0.3-2
ac737d
- patch: stop LUKS2 auto-recovery if device is no longer LUKS
ac737d
  type
ac737d
- patch: update cryptsetup man page for --type option
ac737d
- patch: rephrase error message for invalid --type option in
ac737d
  convert action
ac737d
- Resolves: #1599281 #1601477 #1601481
ac737d
ac737d
* Wed Jun 20 2018 Ondrej Kozina <okozina@redhat.com> - 2.0.3-1
ac737d
- Update to cryptsetup 2.0.3.
ac737d
- Resolves: #1475904 #1380347 #1416174 #1536105 #1574239
ac737d
d616ce
* Thu Oct 19 2017 Ondrej Kozina <okozina@redhat.com> - 1.7.4-4
d616ce
- patch: fix regression in blockwise functions
d616ce
- patch: avoid repeating error messages when device holders
d616ce
  detected.
d616ce
- patch: add option to cryptsetup-reencrypt to print progress
d616ce
  log sequentaly
d616ce
- patch: use --progress-frequency in reencryption dracut module
d616ce
- Resolves: #1480006 #1447632 #1479857
82b9cf
82b9cf
* Tue Apr 25 2017 Ondrej Kozina <okozina@redhat.com> - 1.7.4-3
82b9cf
- patch: fix luksFormat failure while running in FIPS mode.
82b9cf
- Resolves: #1444137
82b9cf
82b9cf
* Tue Apr 04 2017 Ondrej Kozina <okozina@redhat.com> - 1.7.4-2
82b9cf
- patch: fix access to unaligned hidden TrueCrypt header.
82b9cf
- Resolves: #1435543
82b9cf
82b9cf
* Wed Mar 15 2017 Ondrej Kozina <okozina@redhat.com> - 1.7.4-1
82b9cf
- Update to cryptsetup 1.7.4.
82b9cf
- Resolves: #1381273
82b9cf
82b9cf
* Tue Jun  7 2016 Ondrej Kozina <okozina@redhat.com> - 1.7.2-1
82b9cf
- Update to cryptsetup 1.7.2.
82b9cf
- Resolves: #1302022 #1070825
82b9cf
82b9cf
* Thu Jun 18 2015 Ondrej Kozina <okozina@redhat.com> - 1.6.7-1
82b9cf
- Update to cryptsetup 1.6.7.
82b9cf
- patch: avoid use of kernel crypto API socket which is known
82b9cf
  to be broken in RHEL7.0 kernel (7.1+ is fine).
82b9cf
- Resolves: #1206170
82b9cf
82b9cf
* Thu Dec 18 2014 Ondrej Kozina <okozina@redhat.com> - 1.6.6-3
82b9cf
- drop FIPS power on self test and library checksum
82b9cf
- Resolves: #1158897
82b9cf
82b9cf
* Mon Sep 29 2014 Ondrej Kozina <okozina@redhat.com> - 1.6.6-2
82b9cf
- patch: fix failures related to reencrypt log files
82b9cf
- Resolves: #1140199
82b9cf
82b9cf
* Mon Sep  8 2014 Ondrej Kozina <okozina@redhat.com> - 1.6.6-1
82b9cf
- Update to cryptsetup 1.6.6.
82b9cf
- Resolves: #1117372 #1038097
82b9cf
82b9cf
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.6.3-2
82b9cf
- Mass rebuild 2014-01-24
82b9cf
82b9cf
* Mon Jan 6 2014 Ondrej Kozina <okozina@redhat.com> - 1.6.3-1
82b9cf
- Update to cryptsetup 1.6.3.
82b9cf
- various fixes related to block devices with 4KiB sectors
82b9cf
- enable reencryption using specific keyslot (dracut module)
82b9cf
- fix failure in reading last keyslot from external LUKS header
82b9cf
- update FIPS POST to be complaint with actual requirements
82b9cf
- fix hash limiting if parameter is not numeric
82b9cf
- Resolves: #1028362 #1029032 #1029406 #1030288 #1034388 #1038097
82b9cf
82b9cf
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.6.2-3
82b9cf
- Mass rebuild 2013-12-27
82b9cf
82b9cf
* Tue Nov 5 2013 Ondrej Kozina <okozina@redhat.com> - 1.6.2-2
82b9cf
- 90reencrypt: Move conflict with 90crypt to install() section.
82b9cf
- 90reencrypt: Drop to emergency_shell after successful reencryption.
82b9cf
- Resolves: #1021593
82b9cf
82b9cf
* Mon Oct 14 2013 Ondrej Kozina <okozina@redhat.com> - 1.6.2-1
82b9cf
- Update to cryptsetup 1.6.2.
82b9cf
- Add dracut module for cryptsetup-reencrypt (90reencrypt).
82b9cf
- 90reencrypt: Rename dracut parameteres to be compliant with actual naming guidance.
82b9cf
- 90reencrypt: Install and load loop kernel module.
82b9cf
- 90reencrypt: Fix lock file name.
82b9cf
- 90reencrypt: Add conflict with 90crypt dracut module (more info in #1010287)
82b9cf
- Resolves: #1010278 #1010287
82b9cf
82b9cf
* Sun Mar 31 2013 Milan Broz <gmazyland@gmail.com> - 1.6.1-1
82b9cf
- Update to cryptsetup 1.6.1.
82b9cf
- Install ReleaseNotes files instead of empty Changelog file.
82b9cf
82b9cf
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
82b9cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
82b9cf
82b9cf
* Mon Jan 14 2013 Milan Broz <mbroz@redhat.com> - 1.6.0-1
82b9cf
- Update to cryptsetup 1.6.0.
82b9cf
- Change default LUKS encryption mode to aes-xts-plain64 (AES128).
82b9cf
- Force use of gcrypt PBKDF2 instead of internal implementation.
82b9cf
82b9cf
* Sat Dec 29 2012 Milan Broz <mbroz@redhat.com> - 1.6.0-0.1
82b9cf
- Update to cryptsetup 1.6.0-rc1.
82b9cf
- Relax license to GPLv2+ according to new release.
82b9cf
- Compile cryptsetup with libpwquality support.
82b9cf
82b9cf
* Tue Oct 16 2012 Milan Broz <mbroz@redhat.com> - 1.5.1-1
82b9cf
- Update to cryptsetup 1.5.1.
82b9cf
82b9cf
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.0-2
82b9cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
82b9cf
82b9cf
* Tue Jul 10 2012 Milan Broz <mbroz@redhat.com> - 1.5.0-1
82b9cf
- Update to cryptsetup 1.5.0.
82b9cf
82b9cf
* Wed Jun 20 2012 Milan Broz <mbroz@redhat.com> - 1.5.0-0.2
82b9cf
- Update to cryptsetup 1.5.0-rc2.
82b9cf
- Add cryptsetup-reencrypt subpackage.
82b9cf
82b9cf
* Mon Jun 11 2012 Milan Broz <mbroz@redhat.com> - 1.5.0-0.1
82b9cf
- Update to cryptsetup 1.5.0-rc1.
82b9cf
- Add veritysetup subpackage.
82b9cf
- Move localization files to libs subpackage.
82b9cf
82b9cf
* Thu May 31 2012 Milan Broz <mbroz@redhat.com> - 1.4.3-2
82b9cf
- Build with fipscheck (verification in fips mode).
82b9cf
- Clean up spec file, use install to /usr.
82b9cf
82b9cf
* Thu May 31 2012 Milan Broz <mbroz@redhat.com> - 1.4.3-1
82b9cf
- Update to cryptsetup 1.4.3.
82b9cf
82b9cf
* Thu Apr 12 2012 Milan Broz <mbroz@redhat.com> - 1.4.2-1
82b9cf
- Update to cryptsetup 1.4.2.
82b9cf
82b9cf
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.1-2
82b9cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
82b9cf
82b9cf
* Wed Nov 09 2011 Milan Broz <mbroz@redhat.com> - 1.4.1-1
82b9cf
- Update to cryptsetup 1.4.1.
82b9cf
- Add Python cryptsetup bindings.
82b9cf
- Obsolete separate python-cryptsetup package.
82b9cf
82b9cf
* Wed Oct 26 2011 Milan Broz <mbroz@redhat.com> - 1.4.0-1
82b9cf
- Update to cryptsetup 1.4.0.
82b9cf
82b9cf
* Mon Oct 10 2011 Milan Broz <mbroz@redhat.com> - 1.4.0-0.1
82b9cf
- Update to cryptsetup 1.4.0-rc1.
82b9cf
- Rename package back from cryptsetup-luks to cryptsetup.
82b9cf
82b9cf
* Wed Jun 22 2011 Milan Broz <mbroz@redhat.com> - 1.3.1-2
82b9cf
- Fix return code for status command when device doesn't exist.
82b9cf
82b9cf
* Tue May 24 2011 Milan Broz <mbroz@redhat.com> - 1.3.1-1
82b9cf
- Update to cryptsetup 1.3.1.
82b9cf
82b9cf
* Tue Apr 05 2011 Milan Broz <mbroz@redhat.com> - 1.3.0-1
82b9cf
- Update to cryptsetup 1.3.0.
82b9cf
82b9cf
* Tue Mar 22 2011 Milan Broz <mbroz@redhat.com> - 1.3.0-0.2
82b9cf
- Update to cryptsetup 1.3.0-rc2
82b9cf
82b9cf
* Mon Mar 14 2011 Milan Broz <mbroz@redhat.com> - 1.3.0-0.1
82b9cf
- Update to cryptsetup 1.3.0-rc1
82b9cf
82b9cf
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
82b9cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
82b9cf
82b9cf
* Mon Dec 20 2010 Milan Broz <mbroz@redhat.com> - 1.2.0-1
82b9cf
- Update to cryptsetup 1.2.0
82b9cf
82b9cf
* Thu Nov 25 2010 Milan Broz <mbroz@redhat.com> - 1.2.0-0.2
82b9cf
- Fix crypt_activate_by_keyfile() to work with PLAIN devices.
82b9cf
82b9cf
* Tue Nov 16 2010 Milan Broz <mbroz@redhat.com> - 1.2.0-0.1
82b9cf
- Add FAQ to documentation.
82b9cf
- Update to cryptsetup 1.2.0-rc1
82b9cf
82b9cf
* Sat Jul 03 2010 Milan Broz <mbroz@redhat.com> - 1.1.3-1
82b9cf
- Update to cryptsetup 1.1.3
82b9cf
82b9cf
* Mon Jun 07 2010 Milan Broz <mbroz@redhat.com> - 1.1.2-2
82b9cf
- Fix alignment ioctl use.
82b9cf
- Fix API activation calls to handle NULL device name.
82b9cf
82b9cf
* Sun May 30 2010 Milan Broz <mbroz@redhat.com> - 1.1.2-1
82b9cf
- Update to cryptsetup 1.1.2
82b9cf
- Fix luksOpen handling of new line char on stdin.
82b9cf
82b9cf
* Sun May 23 2010 Milan Broz <mbroz@redhat.com> - 1.1.1-1
82b9cf
- Update to cryptsetup 1.1.1
82b9cf
- Fix luksClose for stacked LUKS/LVM devices.
82b9cf
82b9cf
* Mon May 03 2010 Milan Broz <mbroz@redhat.com> - 1.1.1-0.2
82b9cf
- Update to cryptsetup 1.1.1-rc2.
82b9cf
82b9cf
* Sat May 01 2010 Milan Broz <mbroz@redhat.com> - 1.1.1-0.1
82b9cf
- Update to cryptsetup 1.1.1-rc1.
82b9cf
82b9cf
* Sun Jan 17 2010 Milan Broz <mbroz@redhat.com> - 1.1.0-1
82b9cf
- Update to cryptsetup 1.1.0.
82b9cf
82b9cf
* Fri Jan 15 2010 Milan Broz <mbroz@redhat.com> - 1.1.0-0.6
82b9cf
- Fix gcrypt initialisation.
82b9cf
- Fix backward compatibility for hash algorithm (uppercase).
82b9cf
82b9cf
* Wed Dec 30 2009 Milan Broz <mbroz@redhat.com> - 1.1.0-0.5
82b9cf
- Update to cryptsetup 1.1.0-rc4
82b9cf
82b9cf
* Mon Nov 16 2009 Milan Broz <mbroz@redhat.com> - 1.1.0-0.4
82b9cf
- Update to cryptsetup 1.1.0-rc3
82b9cf
82b9cf
* Thu Oct 01 2009 Milan Broz <mbroz@redhat.com> - 1.1.0-0.3
82b9cf
- Update to cryptsetup 1.1.0-rc2
82b9cf
- Fix libcryptsetup to properly export only versioned symbols.
82b9cf
82b9cf
* Tue Sep 29 2009 Milan Broz <mbroz@redhat.com> - 1.1.0-0.2
82b9cf
- Update to cryptsetup 1.1.0-rc1
82b9cf
- Add luksHeaderBackup and luksHeaderRestore commands.
82b9cf
82b9cf
* Fri Sep 11 2009 Milan Broz <mbroz@redhat.com> - 1.1.0-0.1
82b9cf
- Update to new upstream testing version with new API interface.
82b9cf
- Add luksSuspend and luksResume commands.
82b9cf
- Introduce pkgconfig.
82b9cf
82b9cf
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-2
82b9cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
82b9cf
82b9cf
* Wed Jul 22 2009 Milan Broz <mbroz@redhat.com> - 1.0.7-1
82b9cf
- Update to upstream final release.
82b9cf
- Split libs subpackage.
82b9cf
- Remove rpath setting from cryptsetup binary.
82b9cf
82b9cf
* Wed Jul 15 2009 Till Maas <opensource@till.name> - 1.0.7-0.2
82b9cf
- update BR because of libuuid splitout from e2fsprogs
82b9cf
82b9cf
* Mon Jun 22 2009 Milan Broz <mbroz@redhat.com> - 1.0.7-0.1
82b9cf
- Update to new upstream 1.0.7-rc1.
82b9cf
82b9cf
- Wipe old fs headers to not confuse blkid (#468062)
82b9cf
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.6-7
82b9cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
82b9cf
82b9cf
* Thu Oct 30 2008 Milan Broz <mbroz@redhat.com> - 1.0.6-6
82b9cf
- Wipe old fs headers to not confuse blkid (#468062)
82b9cf
82b9cf
* Tue Sep 23 2008 Milan Broz <mbroz@redhat.com> - 1.0.6-5
82b9cf
- Change new project home page.
82b9cf
- Print more descriptive messages for initialization errors.
82b9cf
- Refresh patches to versions commited upstream.
82b9cf
82b9cf
* Sat Sep 06 2008 Milan Broz <mbroz@redhat.com> - 1.0.6-4
82b9cf
- Fix close of zero decriptor.
82b9cf
- Fix udevsettle delays - use temporary crypt device remapping.
82b9cf
82b9cf
* Wed May 28 2008 Till Maas <opensource till name> - 1.0.6-3
82b9cf
- remove a duplicate sentence from the manpage (RH #448705)
82b9cf
- add patch metadata about upstream status
82b9cf
82b9cf
* Tue Apr 15 2008 Bill Nottinghm <notting@redhat.com> - 1.0.6-2
82b9cf
- Add the device to the luksOpen prompt (#433406)
82b9cf
- Use iconv, not recode (#442574)
82b9cf
82b9cf
* Thu Mar 13 2008 Till Maas <opensource till name> - 1.0.6-1
82b9cf
- Update to latest version
82b9cf
- remove patches that have been merged upstream
82b9cf
82b9cf
* Mon Mar 03 2008 Till Maas <opensource till name> - 1.0.6-0.1.pre2
82b9cf
- Update to new version with several bugfixes
82b9cf
- remove patches that have been merged upstream
82b9cf
- add patch from cryptsetup newsgroup
82b9cf
- fix typo / missing luksRemoveKey in manpage (patch)
82b9cf
82b9cf
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.5-9
82b9cf
- Autorebuild for GCC 4.3
82b9cf
82b9cf
* Sat Jan 19 2008 Peter Jones <pjones@redhat.com> - 1.0.5-8
82b9cf
- Rebuild for broken deps.
82b9cf
82b9cf
* Thu Aug 30 2007 Till Maas <opensource till name> - 1.0.5-7
82b9cf
- update URL
82b9cf
- update license tag
82b9cf
- recode ChangeLog from latin1 to uf8
82b9cf
- add smp_mflags to make
82b9cf
82b9cf
* Fri Aug 24 2007 Till Maas <opensource till name> - 1.0.5-6
82b9cf
- cleanup BuildRequires:
82b9cf
- removed versions, packages in Fedora are new enough
82b9cf
- changed popt to popt-devel
82b9cf
82b9cf
* Thu Aug 23 2007 Till Maas <opensource till name> - 1.0.5-5
82b9cf
- fix devel subpackage requires
82b9cf
- remove empty NEWS README
82b9cf
- remove uneeded INSTALL
82b9cf
- remove uneeded ldconfig requires
82b9cf
- add readonly detection patch
82b9cf
82b9cf
* Wed Aug 08 2007 Till Maas <opensource till name> - 1.0.5-4
82b9cf
- disable patch2, libsepol is now detected by configure
82b9cf
- move libcryptsetup.so to %%{_libdir} instead of /%%{_lib}
82b9cf
82b9cf
* Fri Jul 27 2007 Till Maas <opensource till name> - 1.0.5-3
82b9cf
- Use /%%{_lib} instead of /lib to use /lib64 on 64bit archs
82b9cf
82b9cf
* Thu Jul 26 2007 Till Maas <opensource till name> - 1.0.5-2
82b9cf
- Use /lib as libdir (#243228)
82b9cf
- sync header and library (#215349)
82b9cf
- do not use %%makeinstall (recommended by PackageGuidelines)
82b9cf
- select sbindir with %%configure instead with make
82b9cf
- add TODO
82b9cf
82b9cf
* Wed Jun 13 2007 Jeremy Katz <katzj@redhat.com> - 1.0.5-1
82b9cf
- update to 1.0.5
82b9cf
82b9cf
* Mon Jun 04 2007 Peter Jones <pjones@redhat.com> - 1.0.3-5
82b9cf
- Don't build static any more.
82b9cf
82b9cf
* Mon Feb 05 2007 Alasdair Kergon <agk@redhat.com> - 1.0.3-4
82b9cf
- Add build dependency on new device-mapper-devel package.
82b9cf
- Add preun and post ldconfig requirements.
82b9cf
- Update BuildRoot.
82b9cf
82b9cf
* Wed Nov  1 2006 Peter Jones <pjones@redhat.com> - 1.0.3-3
82b9cf
- Require newer libselinux (#213414)
82b9cf
82b9cf
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0.3-2.1
82b9cf
- rebuild
82b9cf
82b9cf
* Wed Jun  7 2006 Jeremy Katz <katzj@redhat.com> - 1.0.3-2
82b9cf
- put shared libs in the right subpackages
82b9cf
82b9cf
* Fri Apr  7 2006 Bill Nottingham <notting@redhat.com> 1.0.3-1
82b9cf
- update to final 1.0.3
82b9cf
82b9cf
* Mon Feb 27 2006 Bill Nottingham <notting@redhat.com> 1.0.3-0.rc2
82b9cf
- update to 1.0.3rc2, fixes bug with HAL & encrypted devices (#182658)
82b9cf
82b9cf
* Wed Feb 22 2006 Bill Nottingham <notting@redhat.com> 1.0.3-0.rc1
82b9cf
- update to 1.0.3rc1, reverts changes to default encryption type
82b9cf
82b9cf
* Tue Feb 21 2006 Bill Nottingham <notting@redhat.com> 1.0.2-1
82b9cf
- update to 1.0.2, fix incompatiblity with old cryptsetup (#176726)
82b9cf
82b9cf
* Mon Feb 20 2006 Karsten Hopp <karsten@redhat.de> 1.0.1-5
82b9cf
- BuildRequires: libselinux-devel
82b9cf
82b9cf
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-4.2.1
82b9cf
- bump again for double-long bug on ppc(64)
82b9cf
82b9cf
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.0.1-4.2
82b9cf
- rebuilt for new gcc4.1 snapshot and glibc changes
82b9cf
82b9cf
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
82b9cf
- rebuilt
82b9cf
82b9cf
* Mon Dec  5 2005 Bill Nottingham <notting@redhat.com> 1.0.1-4
82b9cf
- rebuild against new libdevmapper
82b9cf
82b9cf
* Thu Oct 13 2005 Florian La Roche <laroche@redhat.com>
82b9cf
- add -lsepol to rebuild on current fc5
82b9cf
82b9cf
* Mon Aug 22 2005 Karel Zak <kzak@redhat.com> 1.0.1-2
82b9cf
- fix cryptsetup help for isLuks action
82b9cf
82b9cf
* Fri Jul  1 2005 Bill Nottingham <notting@redhat.com> 1.0.1-1
82b9cf
- update to 1.0.1 - fixes incompatiblity with previous cryptsetup for
82b9cf
  piped passwords
82b9cf
82b9cf
* Thu Jun 16 2005 Bill Nottingham <notting@redhat.com> 1.0-2
82b9cf
- add patch for 32/64 bit compatibility (#160445, <redhat@paukstadt.de>)
82b9cf
82b9cf
* Tue Mar 29 2005 Bill Nottingham <notting@redhat.com> 1.0-1
82b9cf
- update to 1.0
82b9cf
82b9cf
* Thu Mar 10 2005 Bill Nottingham <notting@redhat.com> 0.993-1
82b9cf
- switch to cryptsetup-luks, for LUKS support
82b9cf
82b9cf
* Tue Oct 12 2004 Bill Nottingham <notting@redhat.com> 0.1-4
82b9cf
- oops, make that *everything* static (#129926)
82b9cf
82b9cf
* Tue Aug 31 2004 Bill Nottingham <notting@redhat.com> 0.1-3
82b9cf
- link some things static, move to /sbin (#129926)
82b9cf
82b9cf
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
82b9cf
- rebuilt
82b9cf
82b9cf
* Fri Apr 16 2004 Bill Nottingham <notting@redhat.com> 0.1-1
82b9cf
- initial packaging