[packages/clevis] Up to 25

arekm arekm at pld-linux.org
Sat Nov 28 17:52:10 CET 2026


commit 8590d3213f335ffc39e3c571375fe1ca235b216a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Nov 27 17:15:31 2026 +0100

    Up to 25
    
    Fixes CVE-2026-109976, CVE-2026-109971, CVE-2026-109970,
    CVE-2026-109969, CVE-2026-109968.

 clevis.spec | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/clevis.spec b/clevis.spec
index c68f1a9..c4e6578 100644
--- a/clevis.spec
+++ b/clevis.spec
@@ -1,15 +1,16 @@
 #
 # Conditional build:
-%bcond_without	tests		# build without tests
+# tests need /dev/urandom and a writable swtpm_localca statedir (/var/lib/swtpm-localca)
+%bcond_with	tests		# build with tests
 #
 Summary:	Automated decryption framework
 Name:		clevis
-Version:	22
-Release:	2
+Version:	25
+Release:	1
 License:	GPL v3
 Group:		Applications
 Source0:	https://github.com/latchset/clevis/releases/download/v%{version}/%{name}-%{version}.tar.xz
-# Source0-md5:	24e15de2bd9c0d6198e0e6f45c24fa33
+# Source0-md5:	f9ec75d1d8c6fa13c26ca264f35b17f3
 Source1:	%{name}.sysusers
 URL:		https://github.com/latchset/clevis
 BuildRequires:	asciidoc
@@ -125,7 +126,11 @@ Automatically unlocks LUKS block devices through a PKCS#11 device.
 # Let meson find all binaries it wants
 export PATH=$PATH:/usr/sbin:/sbin
 
-%meson -Duser=clevis -Dgroup=clevis
+%meson \
+	-Duser=clevis \
+	-Dgroup=clevis \
+	-Dpkcs11=enabled \
+	-Dtpm1=disabled
 %meson_build
 
 %{?with_tests:%meson_test}
@@ -196,14 +201,18 @@ rm -rf $RPM_BUILD_ROOT
 %files systemd
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libexecdir}/%{name}-luks-askpass
-%attr(755,root,root) %{_libexecdir}/%{name}-luks-unlocker
 %{systemdunitdir}/%{name}-luks-askpass.path
 %{systemdunitdir}/%{name}-luks-askpass.service
 
 %files dracut
 %defattr(644,root,root,755)
 %dir %{_prefix}/lib/dracut/modules.d/50%{name}
-%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/50%{name}/clevis-hook.sh
+%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/50%{name}/clevis-cleanup
+%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/50%{name}/clevis-cleanup-hook.sh
+%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/50%{name}/clevis-online-hook.sh
+%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/50%{name}/clevis-password-unlocker
+%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/50%{name}/clevis-password-unlocker-hook.sh
+%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/50%{name}/clevis-password-unlocker-prepare
 %attr(755,root,root) %{_prefix}/lib/dracut/modules.d/50%{name}/module-setup.sh
 %dir %{_prefix}/lib/dracut/modules.d/50%{name}-pin-null
 %attr(755,root,root) %{_prefix}/lib/dracut/modules.d/50%{name}-pin-null/module-setup.sh
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/clevis.git/commitdiff/8590d3213f335ffc39e3c571375fe1ca235b216a



More information about the pld-cvs-commit mailing list