public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/btrfs-progs] rawhide: Switch from libkcapi to openssl for crypto
@ 2026-10-09 17:08 Neal Gompa
  0 siblings, 0 replies; only message in thread
From: Neal Gompa @ 2026-10-09 17:08 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/btrfs-progs
            Branch : rawhide
            Commit : 35030463c68fe6ab4b9d663bd3796ada1bf8811c
            Author : Neal Gompa <ngompa@fedoraproject.org>
            Date   : 2026-10-09T12:54:07-04:00
            Stats  : +6/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/btrfs-progs/c/35030463c68fe6ab4b9d663bd3796ada1bf8811c?branch=rawhide

            Log:
            Switch from libkcapi to openssl for crypto

Apparently, the kernel crypto API is deprecated and slated for removal,
so we have to use OpenSSL instead.

---
diff --git a/btrfs-progs.spec b/btrfs-progs.spec
index 7c645a8..ab43251 100644
--- a/btrfs-progs.spec
+++ b/btrfs-progs.spec
@@ -3,7 +3,7 @@
 
 Name:           btrfs-progs
 Version:        7.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Userspace programs for btrfs
 
 License:        GPL-2.0-only
@@ -24,7 +24,7 @@ BuildRequires:  libacl-devel, lzo-devel
 BuildRequires:  pkgconfig(blkid)
 BuildRequires:  pkgconfig(uuid)
 BuildRequires:  pkgconfig(zlib)
-BuildRequires:  pkgconfig(libkcapi) >= 1.0.0
+BuildRequires:  pkgconfig(libcrypto) >= 3.2.0
 BuildRequires:  pkgconfig(libudev)
 BuildRequires:  pkgconfig(libzstd) >= 1.0.0
 BuildRequires:  python3-sphinx
@@ -102,7 +102,7 @@ xzcat '%{SOURCE0}' | %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}
 
 # this generates version.py so we have to run it early
 ./autogen.sh
-%configure CFLAGS="%{optflags} -fno-strict-aliasing" --with-crypto=libkcapi --disable-python
+%configure CFLAGS="%{optflags} -fno-strict-aliasing" --with-crypto=openssl --disable-python
 
 %generate_buildrequires
 pushd libbtrfsutil/python >/dev/null
@@ -169,6 +169,9 @@ popd >/dev/null
 
 
 %changelog
+* Fri Oct 09 2026 Neal Gompa <ngompa@fedoraproject.org> - 7.1-3
+- Switch from libkcapi to openssl for crypto
+
 * Fri Oct 09 2026 Neal Gompa <ngompa@fedoraproject.org> - 7.1-2
 - Switch from libgcrypt to libkcapi for crypto
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-09 17:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 17:08 [rpms/btrfs-progs] rawhide: Switch from libkcapi to openssl for crypto Neal Gompa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox