Hello community, here is the log from the commit of package keepassxc for openSUSE:Factory checked in at 2019-03-26 22:32:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/keepassxc (Old) and /work/SRC/openSUSE:Factory/.keepassxc.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "keepassxc" Tue Mar 26 22:32:02 2019 rev:15 rq:686936 version:2.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/keepassxc/keepassxc.changes 2018-09-07 15:40:06.162491171 +0200 +++ /work/SRC/openSUSE:Factory/.keepassxc.new.25356/keepassxc.changes 2019-03-26 22:32:06.841710249 +0100 @@ -1,0 +2,54 @@ +Wed Mar 20 12:43:12 UTC 2019 - Marcus Rueckert <[email protected]> + +- update to 2.4.0 + - New Database Wizard [#1952] + - Advanced Search [#1797] + - Automatic update checker [#2648] + - KeeShare database synchronization [#2109, #1992, #2738, #2742, + #2746, #2739] + - Improve favicon fetching; transition to Duck-Duck-Go [#2795, + #2011, #2439] + - Remove KeePassHttp support [#1752] + - CLI: output info to stderr for easier scripting [#2558] + - CLI: Add --quiet option [#2507] + - CLI: Add create command [#2540] + - CLI: Add recursive listing of entries [#2345] + - CLI: Fix stdin/stdout encoding on Windows [#2425] + - SSH Agent: Support OpenSSH for Windows [#1994] + - macOS: TouchID Quick Unlock [#1851] + - macOS: Multiple improvements; include CLI in DMG [#2165, #2331, + #2583] + - Linux: Prevent Klipper from storing secrets in clipboard + [#1969] + - Linux: Use polling based file watching for NFS [#2171] + - Linux: Enable use of browser plugin in Snap build [#2802] + - TOTP QR Code Generator [#1167] + - High-DPI Scaling for 4k screens [#2404] + - Make keyboard shortcuts more consistent [#2431] + - Warn user if deleting referenced entries [#1744] + - Allow toolbar to be hidden and repositioned [#1819, #2357] + - Increase max allowed database timeout to 12 hours [#2173] + - Password generator uses existing password length by default + [#2318] + - Improve alert message box button labels [#2376] + - Show message when a database merge makes no changes [#2551] + - Browser Integration Enhancements [#1497, #2253, #1904, #2232, + #1850, #2218, #2391, #2396, #2542, #2622, #2637, #2790] + - Overall Code Improvements [#2316, #2284, #2351, #2402, #2410, + #2419, #2422, #2443, #2491, #2506, #2610, #2667, #2709, #2731] +- drop patches: keepassxc-qt_includes.patch klipper-hint.patch +- add support to build for more distros + - track debian files as sources + - add macros for fedora +- use GIT_HEAD_OVERRIDE to pass the git rev to the build +- enable keeshare secure (new BR: quazip Qt5) +- add BR for the QR code feature: + pkgconfig(libqrencode) + pkgconfig(Qt5Svg) +- workaround for boo#1117355 + add BR/R for libgcrypt20-hmac +- BR: libcurl-devel +- enable dbus support +- enable ssh agent and browser support + +------------------------------------------------------------------- Old: ---- keepassxc-2.3.4-src.tar.xz keepassxc-2.3.4-src.tar.xz.sig keepassxc-qt_includes.patch klipper-hint.patch New: ---- debian.tar.xz keepassxc-2.4.0-src.tar.xz keepassxc-2.4.0-src.tar.xz.sig keepassxc.dsc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ keepassxc.spec ++++++ --- /var/tmp/diff_new_pack.VVcj2b/_old 2019-03-26 22:32:08.677709807 +0100 +++ /var/tmp/diff_new_pack.VVcj2b/_new 2019-03-26 22:32:08.709709799 +0100 @@ -1,7 +1,7 @@ # # spec file for package keepassxc # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,13 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: keepassxc -Version: 2.3.4 +Version: 2.4.0 Release: 0 +%define pkg_rev c51752df Summary: Qt5-based Password Manager License: GPL-2.0-only OR GPL-3.0-only Group: Productivity/Security @@ -26,20 +27,32 @@ 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#/%{name}.keyring -Patch0: keepassxc-qt_includes.patch -Patch1: klipper-hint.patch +Source98: debian.tar.xz +Source99: keepassxc.dsc BuildRequires: cmake >= 3.1.0 BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: libgcrypt-devel >= 1.7 +%if 0%{?suse_version} BuildRequires: libqt5-linguist-devel +BuildRequires: libquazip-qt5-devel +%else +BuildRequires: qt5-linguist +BuildRequires: quazip-qt5-devel +%endif +BuildRequires: libsodium-devel +%if 0%{?suse_version} +BuildRequires: libykpers-devel +%else +BuildRequires: ykpers-devel +%endif BuildRequires: libyubikey-devel BuildRequires: pkgconfig -BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Network) +BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5X11Extras) @@ -47,51 +60,103 @@ BuildRequires: pkgconfig(libargon2) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libmicrohttpd) -BuildRequires: pkgconfig(libsodium) >= 1.0.12 +BuildRequires: pkgconfig(libqrencode) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xtst) -BuildRequires: pkgconfig(ykpers-1) BuildRequires: pkgconfig(zlib) +%if 0%{?suse_version} +BuildRequires: update-desktop-files +%endif Requires: hicolor-icon-theme +Requires(post): hicolor-icon-theme +Requires(post): shared-mime-info +Requires(postun): hicolor-icon-theme +Requires(postun): shared-mime-info +%if 0%{?suse_version} +Requires(post): update-desktop-files +Requires(postun): update-desktop-files +%endif Recommends: %{name}-lang +# until boo#1117355 is fixed +%if 0%{?suse_version} +BuildRequires: libgcrypt20-hmac +Requires: libgcrypt20-hmac +%endif %description A password manager or safe which manages your passwords. Databases are locked with a master key/password or a key disk. The databases are encrypted using AES and Twofish. +%if 0%{?suse_version} %lang_package +%endif %prep %setup -q -%patch0 -p1 -%patch1 -p1 %build %cmake \ - -DWITH_XC_ALL=ON + -DGIT_HEAD_OVERRIDE="%{pkg_rev}" \ + -DKEEPASSXC_BUILD_TYPE="Release" \ + -DWITH_XC_ALL=ON -DWITH_XC_KEESHARE_SECURE=ON make %{?_smp_mflags} %install +%if 0%{?suse_version} %cmake_install +%else +%make_install +%endif for i in $(find %{buildroot} -type f -name \*.svgz) ; do j="${i%z}" gunzip < $i > $j done +%if 0%{?suse_version} %fdupes -s %{buildroot}/%{_prefix} %check # gh#keepassxreboot/keepassxc#667 export LANG=en_US.UTF-8 %ctest +%endif + +%if 0%{?suse_version} +# on newer distros it is handled via file trigger +%if 0%{?suse_version} < 1500 +%post +%desktop_database_post +%icon_theme_cache_post + +%postun +%desktop_database_postun +%icon_theme_cache_postun +%endif +%else +%post +touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>/dev/null || : + +%postun +update-desktop-database >/dev/null 2>/dev/null || : +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>/dev/null + gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>/dev/null || : +fi + +%posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>/dev/null || : +%endif %files %license COPYING LICENSE* +%doc CHANGELOG README.md +%doc docs/* %{_bindir}/%{name} %{_bindir}/%{name}-cli %{_bindir}/%{name}-proxy %dir %{_datadir}/%{name} %{_datadir}/%{name}/icons/ +%{_datadir}/%{name}/wizard/ %{_datadir}/%{name}/wordlists/ %{_datadir}/applications/org.keepassxc.KeePassXC.desktop %dir %{_datadir}/metainfo @@ -102,7 +167,9 @@ %{_libdir}/keepassxc/libkeepassx-autotype-xcb.so %{_mandir}/man1/%{name}-cli.1* +%if 0%{?suse_version} %files lang +%endif %{_datadir}/%{name}/translations %changelog ++++++ keepassxc-2.3.4-src.tar.xz -> keepassxc-2.4.0-src.tar.xz ++++++ ++++ 313845 lines of diff (skipped) ++++++ keepassxc.dsc ++++++ Format: 3.0 (quilt) Source: keepassxc Binary: keepassxc Architecture: any Version: 2.4.0-4.1 Maintainer: Julian Andres Klode <[email protected]> Homepage: https://www.keepassxc.org/ Standards-Version: 4.1.3 Vcs-Browser: https://salsa.debian.org/debian/keepassxc Vcs-Git: https://salsa.debian.org/debian/keepassxc.git Build-Depends: cmake, debhelper (>= 10), libargon2-0-dev, libcurl4-gnutls-dev, libgcrypt20-dev, libmicrohttpd-dev, libqt5x11extras5-dev, libsodium-dev, libxtst-dev, libykpers-1-dev, libyubikey-dev, libzxcvbn-dev, qtbase5-dev, qttools5-dev, qttools5-dev-tools, libqt5svg5-dev, libqt5x11extras5-dev, libqrencode-dev, libquazip5-dev, libquazip5-headers, xauth, xvfb, zlib1g-dev Package-List: keepassxc deb utils optional arch=any
