Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cryptsetup] Update to 2.7.5. JB#62787 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cryptsetup
Submodule cryptsetup updated 447 files
32 changes: 5 additions & 27 deletions rpm/cryptsetup.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Name: cryptsetup
Summary: A utility for setting up encrypted disks
Version: 2.4.3
Version: 2.7.5
Release: 1
License: GPLv2+ and LGPLv2+
URL: https://gitlab.com/cryptsetup/cryptsetup
Expand All @@ -20,6 +20,8 @@ BuildRequires: libtool
# BuildRequires: libpwquality-devel
# Requires: libpwquality >= 1.2.0

Obsoletes: %{name}-reencrypt <= %{version}
Provides: %{name}-reencrypt = %{version}
Provides: cryptsetup-luks = %{version}-%{release}
Obsoletes: cryptsetup-luks < 1.4.0
Requires: cryptsetup-libs = %{version}-%{release}
Expand Down Expand Up @@ -64,20 +66,11 @@ Requires: cryptsetup-libs = %{version}-%{release}
The integritysetup package contains a utility for setting up
disk integrity protection using dm-integrity kernel module.

%package reencrypt
Summary: A utility for offline reencryption of LUKS encrypted disks.
Requires: cryptsetup-libs = %{version}-%{release}

%description reencrypt
This package contains cryptsetup-reencrypt utility which
can be used for offline reencryption of disk in situ.

%prep
%autosetup -n %{name}-%{version}/%{name}
chmod -x misc/dracut_90reencrypt/*

%build
%reconfigure --enable-cryptsetup-reencrypt --with-crypto_backend=openssl --disable-ssh-token
%reconfigure --with-crypto_backend=openssl --disable-ssh-token --disable-asciidoc
%make_build

%install
Expand All @@ -93,40 +86,25 @@ install -D -m 644 scripts/cryptsetup.conf %{buildroot}/%{_tmpfilesdir}
%postun -n cryptsetup-libs -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%license COPYING
%doc AUTHORS FAQ docs/*ReleaseNotes
%{_mandir}/man8/cryptsetup.8.gz
%doc AUTHORS FAQ.md docs/*ReleaseNotes
%{_sbindir}/cryptsetup

%files -n veritysetup
%defattr(-,root,root,-)
%license COPYING
%{_mandir}/man8/veritysetup.8.gz
%{_sbindir}/veritysetup

%files -n integritysetup
%defattr(-,root,root,-)
%license COPYING
%{_mandir}/man8/integritysetup.8.gz
%{_sbindir}/integritysetup

%files reencrypt
%defattr(-,root,root,-)
%license COPYING
%doc misc/dracut_90reencrypt
%{_mandir}/man8/cryptsetup-reencrypt.8.gz
%{_sbindir}/cryptsetup-reencrypt

%files devel
%defattr(-,root,root,-)
%doc docs/examples/*
%{_includedir}/libcryptsetup.h
%{_libdir}/libcryptsetup.so
%{_libdir}/pkgconfig/libcryptsetup.pc

%files libs -f cryptsetup.lang
%defattr(-,root,root,-)
%license COPYING COPYING.LGPL
%{_libdir}/libcryptsetup.so.*
%{_tmpfilesdir}/cryptsetup.conf
Expand Down