Skip to content

Commit

Permalink
Merge pull request #2 from sailfishos/update_275
Browse files Browse the repository at this point in the history
[cryptsetup] Update to 2.7.5. JB#62787
  • Loading branch information
pvuorela authored Jan 14, 2025
2 parents 3112799 + edcd79e commit df8890a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 28 deletions.
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

0 comments on commit df8890a

Please sign in to comment.