public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mikel Olasagasti Uranga <mikel@olasagasti.info>
To: git-commits@fedoraproject.org
Subject: [rpms/keepassxc] f45: Update to 2.8.0 - Closes rhbz#2538859
Date: Thu, 22 Oct 2026 23:08:36 GMT [thread overview]
Message-ID: <179271051607.1.6027438703331368046.rpms-keepassxc-314d95e644ef@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/keepassxc
Branch : f45
Commit : 314d95e644ef9599147dcaa5977f16566d471424
Author : Mikel Olasagasti Uranga <mikel@olasagasti.info>
Date : 2026-10-22T16:56:14+02:00
Stats : +56/-127 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/keepassxc/c/314d95e644ef9599147dcaa5977f16566d471424?branch=f45
Log:
Update to 2.8.0 - Closes rhbz#2538859
---
diff --git a/.gitignore b/.gitignore
index 44cb4f6..e28c849 100644
--- a/.gitignore
+++ b/.gitignore
@@ -45,3 +45,7 @@
/keepassxc-2.7.11-src.tar.xz.sig
/keepassxc-2.7.12-src.tar.xz
/keepassxc-2.7.12-src.tar.xz.sig
+/keepassxc-2.8.0-beta1-src.tar.xz
+/keepassxc-2.8.0-beta1-src.tar.xz.sig
+/keepassxc-2.8.0-src.tar.xz
+/keepassxc-2.8.0-src.tar.xz.sig
diff --git a/keepassxc.spec b/keepassxc.spec
index da3dcbb..a77ff51 100644
--- a/keepassxc.spec
+++ b/keepassxc.spec
@@ -1,76 +1,33 @@
-%undefine __cmake_in_source_build
-# EPEL7 not possible because libgcrypt version is 1.5
+# KeePassXC 2.8 requires Qt 6, which is unavailable on EPEL 8.
Name: keepassxc
-Version: 2.7.12
-Release: 2%{?dist}
+Version: 2.8.0
+Release: 1%{?dist}
Summary: Cross-platform password manager
-# Automatically converted from old format: Boost and BSD and CC0 and GPLv3 and LGPLv2 and LGPLv2+ and LGPLv3+ and Public Domain - review is highly recommended.
-License: BSL-1.0 AND LicenseRef-Callaway-BSD AND CC0-1.0 AND GPL-3.0-only AND LicenseRef-Callaway-LGPLv2 AND LicenseRef-Callaway-LGPLv2+ AND LGPL-3.0-or-later AND LicenseRef-Callaway-Public-Domain
+License: GPL-2.0-or-later AND BSD-2-Clause AND MIT AND CC0-1.0 AND Apache-2.0 AND LGPL-2.0-only AND LGPL-2.1-only
URL: https://keepassxc.org/
Source0: https://github.com/keepassxreboot/keepassxc/releases/download/%{version}/keepassxc-%{version}-src.tar.xz
Source1: https://github.com/keepassxreboot/keepassxc/releases/download/%{version}/keepassxc-%{version}-src.tar.xz.sig
Source2: https://keepassxc.org/keepassxc_master_signing_key.asc
-# Patch0: fixes GNOME quirks on Wayland sessions. Read
-# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/3BVLBS4B3XHJEXFVGD7RK2ZMXZG6JQZT/
-# read also https://github.com/keepassxreboot/keepassxc/pull/3520/files
-#
-# Patch0 improved by pewpeww https://src.fedoraproject.org/rpms/keepassxc/pull-request/1
-#
-# 23 March 2022 Germano Massullo's update: Jan Grulich said that Qt patch https://code.qt.io/cgit/qt/qtbase.git/commit/?id=dda7dab8274991e4a61a97c352d4367f8f815bb9
-# is included in qt5-qtbase in all Fedora versions since 32, even before it landed upstream, but it is not in RHEL qt5-qtbase package.
-# So I think it is no longer needed in Fedora
-#
-# Concerning upstream Qt6 version, the patch was reverted and kept for Qt 6.3, but concerning keepassxc it is not important since it uses Qt 5
-#
-# 29 April 2022 Germano Massullo's update: users in upstream bugreports
-# https://github.com/keepassxreboot/keepassxc/issues/7959
-# https://github.com/keepassxreboot/keepassxc/issues/5608
-# are reporting regression. I am resuming xcb.patch to all branches
-#
-# 27 July 2022 Germano Massullo's update: new Qt release
-# https://bodhi.fedoraproject.org/updates/FEDORA-2022-d1ac004bb1
-# reintroduced xcb patch for GNOME Wayland mentioning in the description the
-# problems keepassxc users experienced
-#
-# 15 April 2023 Germano Massullo's update: xcb.patch causes users no longer being
-# able to move KeepassXC database entries between groups on Fedora 38 GNOME
-# https://bugzilla.redhat.com/show_bug.cgi?id=2186217
-# disabling the patch fixes the problem, therefore it has been disabled on
-# Fedora >= 38
-# Apply xcb.patch only for EPEL <= 9
-%if (%{defined rhel} && 0%{?rhel} <= 9)
-Patch0: xcb.patch
-%endif
%if (%{defined fedora} && 0%{?fedora} >= 44) || (%{defined rhel} && 0%{?rhel} >= 10)
BuildRequires: botan3-devel
%else
BuildRequires: botan2-devel
%endif
-BuildRequires: cmake >= 3.1
+BuildRequires: cmake >= 3.16
BuildRequires: desktop-file-utils
-%if %{defined rhel} && 0%{?rhel} < 9
-BuildRequires: gcc-toolset-12-gcc-c++
-BuildRequires: gcc-toolset-12-annobin-plugin-gcc
-%else
BuildRequires: gcc-c++
-%endif
-# required for check
+# Required for LC_ALL=en_US.UTF-8 during tests
BuildRequires: glibc-langpack-en
+BuildRequires: keyutils-libs-devel
BuildRequires: libappstream-glib
-BuildRequires: libargon2-devel
-BuildRequires: libcurl-devel
-BuildRequires: libgcrypt-devel >= 1.7
-BuildRequires: libmicrohttpd-devel
-BuildRequires: libsodium-devel
BuildRequires: libusb1-devel
BuildRequires: libXi-devel
BuildRequires: libXtst-devel
-BuildRequires: libyubikey-devel
# Concerning minizip dependency drama, this is the list of available minizip packages
# for all active branches
-# == el8, el9 ==
+# == el9 ==
# minizip
# minizip1.2
#
@@ -78,22 +35,20 @@ BuildRequires: libyubikey-devel
# minizip-ng
# minizip-ng-compat
# Read https://fedoraproject.org/wiki/Changes/MinizipNGTransition
-%if 0%{?el8} || 0%{?el9}
-BuildRequires: minizip1.2-devel
+%if 0%{?el9}
+BuildRequires: minizip1.2-devel
%else
-BuildRequires: minizip-ng-compat-devel
+BuildRequires: minizip-ng-compat-devel
%endif
BuildRequires: pcsc-lite-devel
BuildRequires: qrencode-devel
BuildRequires: readline-devel
-BuildRequires: qt5-qtbase-devel >= 5.2
-BuildRequires: qt5-qtbase-private-devel
-BuildRequires: qt5-qtsvg-devel
-BuildRequires: qt5-qttools-devel >= 5.2
-BuildRequires: qt5-qtx11extras-devel
+BuildRequires: qt6-qtbase-devel
+BuildRequires: qt6-qtsvg-devel
+BuildRequires: qt6-qttools-devel
BuildRequires: zlib-devel
BuildRequires: rubygem-asciidoctor
-# for gpg verification
+# Required for GPG signature verification
BuildRequires: gnupg2
# enforces on the user system, Qt version to be the same one used to build KeepassXC
@@ -105,33 +60,32 @@ BuildRequires: gnupg2
# was able to update keepassxc (which was built upon new Qt release), resulting in a
# Qt - KeepassXC mismatch
# https://bugzilla.redhat.com/show_bug.cgi?id=2111413
-%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
+%{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}}
# KeePassXC bundles the ykcore code due to lack of support from Yubico and
# stratification of version across various operating system distros. Additionally,
# KeePassXC has modified the API of ykcore to make it more functional when using
# non-YubiKey keys (ie, OnlyKey).
-Provides: bundled(ykcore)
+Provides: bundled(ykcore)
-# GNOME-Shell does not allow clearing the clipboard when KeePassXC does not have focus.
-# KeePassXC already works around this by calling wl-copy, which is part of wl-clipboard.
-# See: https://github.com/keepassxreboot/keepassxc/issues/4498
-Recommends: (wl-clipboard if gnome-shell)
-
-# Unsupported CPU architectures on EPEL8
-# filled https://bugzilla.redhat.com/show_bug.cgi?id=2144863
-# to be compliant to "Architecture Build Failures" paragraph of Fedora Packaging Guidelines
-# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_architecture_build_failures
-%if %{defined rhel} && 0%{?rhel} == 8
-ExcludeArch: s390x
+# Use the system zxcvbn-c library on Fedora. EPEL does not currently provide
+# zxcvbn-c, so KeePassXC falls back to its bundled copy there.
+# EPEL request: https://bugzilla.redhat.com/show_bug.cgi?id=2541423
+%if 0%{?fedora}
+BuildRequires: zxcvbn-c-devel
+%else
+Provides: bundled(zxcvbn-c) = 2.6
%endif
+# https://github.com/keepassxreboot/keepassxc/pull/13810
+Recommends: (wl-clipboard if gnome-shell)
+
%description
KeePassXC is a community fork of KeePassX
KeePassXC is an application for people with extremely high demands on secure
personal data management.
KeePassXC saves many different information e.g. user names, passwords, urls,
-attachemts and comments in one single database. For a better management
+attachments and comments in one single database. For a better management
user-defined titles and icons can be specified for each single entry.
Furthermore the entries are sorted in groups, which are customizable as well.
The integrated search function allows to search in a single group or the
@@ -148,37 +102,25 @@ information can be considered as quite safe.
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
-%setup -q
-%autopatch -p1
+%autosetup -n %{name}-%{version}
# Older version of appstream-util can't parse some url types
-%if (%{defined rhel} && 0%{?rhel} <= 9)
+%if 0%{?rhel} == 9
sed -i '/type="vcs-browser"/d' ./share/linux/org.keepassxc.KeePassXC.appdata.xml
sed -i '/type="contribute"/d' ./share/linux/org.keepassxc.KeePassXC.appdata.xml
%endif
-# Older version of desktop-file-utils before 0.26 don't know about some fields
-# Remove when desktop-file-utils 0.26 is available in EPEL8
-%if (%{defined rhel} && 0%{?rhel} <= 9)
-sed -i 's/Version=1.5/Version=1.0/' ./share/linux/org.keepassxc.KeePassXC.desktop.in
-sed -i '/^SingleMainWindow=true/d' ./share/linux/org.keepassxc.KeePassXC.desktop.in
-%endif
-
%build
-%if %{defined rhel} && 0%{?rhel} == 8
-%enable_devtoolset12
-# disable -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1, as gcc-toolset-{10,11,12}-annobin
-# do not provide gcc-annobin.so anymore, despite that they provide annobin.so. but
-# redhat-rpm-config still passes -fplugin=gcc-annobin to the compiler.
-%undefine _annotated_build
-%endif
%cmake \
%{?flatpak:-DKEEPASSXC_DIST_TYPE=Flatpak} \
- -DCMAKE_BUILD_TYPE=Release \
-DKEEPASSXC_BUILD_TYPE=Release \
- -DWITH_XC_ALL=ON \
- -DWITH_XC_DOCS=ON \
- -DWITH_XC_UPDATECHECK=OFF
+ -DKPXC_FEATURE_BROWSER=ON \
+ -DKPXC_FEATURE_SSHAGENT=ON \
+ -DKPXC_FEATURE_FDOSECRETS=ON \
+ -DKPXC_FEATURE_NETWORK=ON \
+ -DKPXC_FEATURE_UPDATES=OFF \
+ -DKPXC_FEATURE_DOCS=ON \
+ -DWITH_TESTS=ON
%cmake_build
%install
@@ -212,17 +154,28 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.%{nam
%if %{defined flatpak}
%{_bindir}/keepassxc-wrapper
%endif
-%{_datadir}/keepassxc
+%{_datadir}/keepassxc/docs
+%{_datadir}/keepassxc/icons
%{_datadir}/keepassxc/wordlists
%{_datadir}/applications/org.%{name}.KeePassXC.desktop
%{_datadir}/metainfo/org.%{name}.KeePassXC.appdata.xml
%{_datadir}/mime/packages/*.xml
%{_datadir}/icons/hicolor/*/*/*keepassxc*
-%{_libdir}/%{name}
+%{_datadir}/polkit-1/actions/org.keepassxc.KeePassXC.policy
%{_mandir}/man1/%{name}-cli.1*
%{_mandir}/man1/%{name}.1*
%changelog
+* Thu Oct 22 2026 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 2.8.0
+- Update to 2.8.0-beta1 rhbz#2538859
+- Drop EPEL 8 support as Qt 6 is unavailable
+- Drop XCB workaround
+- Drop unused dependencies (qt6-qtbase-private-devel, libargon2-devel,
+ libcurl-devel, libgcrypt-devel, libmicrohttpd-devel, libsodium-devel,
+ and libyubikey-devel)
+- Use system zxcvbn-c on Fedora
+- Update license expression
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
diff --git a/sources b/sources
index 4f75133..03440b6 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (keepassxc-2.7.12-src.tar.xz) = 72e9918986629f808ea224dbbfb1cb28265373d44f9a76debe48f2b1ffd2d0f9d8c4804be13fe1be932aa0682f7bcd0a8029467216ba2f9f04989ed4c5f983f2
-SHA512 (keepassxc-2.7.12-src.tar.xz.sig) = 83d6169f5338dc0bbb6df19c5095086b801d6dbede837bd818258f5f8b0b74ed55b3443cd63cce8d87b7d2586f79c2757db505d7aa305ac9a690a3c906c0a55a
+SHA512 (keepassxc-2.8.0-src.tar.xz) = 8aab62815bd30b72dc9da7c5fb9f69eb40de324eb137f6332ea3c1188869ba6a4a329ef6697fee30e22331da7973e2199619cb99c80578907e762f490e3c866d
+SHA512 (keepassxc-2.8.0-src.tar.xz.sig) = cebb50ee016871f22035153e58477ffcfa475b41b23be1862f1f5ee5b0d6709db09d67ddd141e58983bd67c7f6bb64cb432e268c52eaee6ed512cf183bccda64
diff --git a/xcb.patch b/xcb.patch
deleted file mode 100644
index 214102c..0000000
--- a/xcb.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -urNr keepassxc-2.7.12-orig/src/main.cpp keepassxc-2.7.12/src/main.cpp
---- keepassxc-2.7.12-orig/src/main.cpp 2026-03-10 01:27:46.000000000 +0100
-+++ keepassxc-2.7.12/src/main.cpp 2026-03-12 17:00:05.780444169 +0100
-@@ -49,8 +49,24 @@
- #include <windows.h>
- #endif
-
-+#ifdef Q_OS_LINUX
-+void wayland_hacks()
-+{
-+ QByteArray currentDesktop = qgetenv("XDG_CURRENT_DESKTOP").toLower();
-+ QByteArray sessionDesktop = qgetenv("XDG_SESSION_DESKTOP").toLower();
-+ QByteArray sessionType = qgetenv("XDG_SESSION_TYPE").toLower();
-+ if ((sessionType.contains("wayland") && qEnvironmentVariableIsEmpty("QT_QPA_PLATFORM")) && (currentDesktop.contains("gnome") || sessionDesktop.contains("gnome")))
-+ {
-+ qputenv("QT_QPA_PLATFORM", "xcb");
-+ }
-+}
-+#endif
-+
- int main(int argc, char** argv)
- {
-+#ifdef Q_OS_LINUX
-+ wayland_hacks();
-+#endif
- QT_REQUIRE_VERSION(argc, argv, QT_VERSION_STR)
-
- #ifdef Q_OS_WIN
reply other threads:[~2026-10-22 23: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=179271051607.1.6027438703331368046.rpms-keepassxc-314d95e644ef@fedoraproject.org \
--to=mikel@olasagasti.info \
--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