public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Neal Gompa <ngompa@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/btrfs-progs] rawhide: Switch from libkcapi to openssl for crypto
Date: Fri, 09 Oct 2026 17:08:04 GMT	[thread overview]
Message-ID: <179156568480.1.3940699021446825712.rpms-btrfs-progs-35030463c68f@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-10-09 17:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179156568480.1.3940699021446825712.rpms-btrfs-progs-35030463c68f@fedoraproject.org \
    --to=ngompa@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox