SHA256
1
0
forked from pool/keepass
keepass/keepass.spec

108 lines
3.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package keepass
#
- Update to 2.47 * New Features: + In the 'Find' dialog, search parameters can now be saved as profiles; the profiles can be accessed quickly via the main menu ('Find' → 'Search Profiles') and the group context menu. + Added search mode 'XPath expression' in the 'Find' dialog, which creates a KeePass 2.x XML DOM of the current database in memory and finds entries using the specified XPath expression. + Added option 'History' in the 'Find' dialog, which includes history entries in searches. + Added 'Help' button in the 'Find' dialog. + Added auto-type matching option 'Consider similar dashes as identical' (in 'Tools' → 'Options' → tab 'Advanced', turned on by default). + Added commands 'Copy Group (Encrypted)', 'Copy Group (Unencrypted)' and 'Paste Group' (in the menu 'Group' → 'Data Exchange'). + When loading/saving a configuration file fails, an error message is displayed now, and in certain cases a backup of the configuration file is created (the path is mentioned in the error message). + Added configuration option for saving the configuration (turned on by default). + On the 'Security' tab page of the options dialog, two links have been added, which open help pages for experts and administrators. + Added {TIMEOTP} placeholder, which generates a time-based one-time password (as specified in RFC 6238). + Enhanced XML key file format (added hash that allows to verify the integrity of the key; values are now encoded using hexadecimal characters in order to improve the readability). + Added command 'Print Key File Backup' (in 'File' → 'Print'). + In the dialog that asks whether to print an emergency sheet, there is now an option 'Also print a key file backup' (on Windows), if the master key contains a key file. + Added command 'Create Key File' (in 'Tools' → 'Advanced Tools'), which shows a dialog for creating a new key file (random key) or for recreating a key file from a printed backup. + Added Argon2id key derivation function. + Added support for importing Dashlane 6.2039.0 JSON files. + Dashlane and RoboForm import: domains are now mapped to HTTPS URLs (instead of HTTP URLs). + Added option 'Use a different master key' in the import/export dialog (tab page 'Options'). + Added option 'Additionally export parent groups' in the import/export dialog (tab page 'Options'). + Added options 'Open exported file (with associated application)' and 'Show exported file (with file manager)' in the import/export dialog (tab page 'Options'). + The 'About' dialog now shows whether KeePass is currently running as 32- or 64-bit application. + Plugins can now disable/enable specific Mono workarounds. + Added workaround for Mono URL opening bug. + Added workaround for Mono HTML document opening bug. * Improvements: + Improved performance of certain searches. + Various user interface improvements in the search dialog. + Improved keyboard shortcut handling (e.g. Ctrl+Tab and Ctrl+Shift+Tab now also work when the quick search box is focused). OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=34
2021-01-09 18:51:48 +01:00
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Accepting request 710983 from home:theMarix:branches:Mono - Update to 2.42.1 New Features: * Added main menu items 'Group', 'Entry' and 'Find', which contain all commands related to groups and entries (supersets of context menus); removed 'Edit' main menu item, because all of its commands are included in the three new main menu items. * Added support for a system-wide hot key to auto-type only the password of a matching entry; by default, the hot key is Ctrl+Alt+Shift+A, changeable in the options dialog. * When double-clicking the URL cell of an entry in the main entry list while holding down the Shift key, KeePass now copies the URL to the clipboard (a double-click without Shift continues to open the URL; the option 'Copy URLs to clipboard instead of opening them' reverses this behavior). * Added quick edit commands 'Expires: Now' and 'Expires: Never'. * There now are two commands for copying a whole entry to the clipboard: 'Copy Entry (Encrypted)' and 'Copy Entry (Unencrypted)'; the first one encrypts the data for the current user using the Windows DPAPI. * Added Ctrl+Shift+P shortcut for printing the currently selected group. * The creation time and the last modification time of an entry are now displayed on the 'History' tab of the entry editing dialog. * Added support for importing Steganos Password Manager 20 CSV files. * Added support for importing Bitwarden 1.12 JSON files. * Mozilla Bookmarks JSON import: added support for importing tags (new format, in addition to the old format) and keywords. * Enhanced the Enpass import module to support TXT files created by version 6.0.4. * The language selection dialog now also lists KeePass 1.x LNG files; when trying to select such a file, an informative error message is displayed. * Added 'Cancel' command in the context menu of KeePass' system tray icon, which can be used to abort opening and saving a database file. * Added '-cancel' command line option, which causes all other KeePass instances to cancel opening/saving a database file. * Added '-auto-type-password' command line option (other running KeePass instances auto-type only the password of a matching entry). * Added '-e1:' command line parameter, which works like '-e:', but is handled by only one other instance; '-e:' is handled by all other instances. * When compiling a PLGX plugin, KeePass now defines a 'KP_V_*_*_*' symbol, where the asterisks specify the KeePass version (for example, 'KP_V_2_42_0' for version 2.42). * Added workarounds for .NET Caps Lock warning tooltip bug. * Added workaround for Mono grid view default color bug. * Added workaround for OneDrive bug on Windows 1809. Improvements: * Auto-Type: improved sending of characters that are realized with the AltGr key. * Auto-Type: improved compatibility with VirtualBox 6 and VMware Player. * Improved user interface behavior while opening a database file. * Accelerator key improvements. * Replaced 4 and 8 weeks expiry date search commands by 1 and 2 months (taking the number of days in the months into account). * Improved hot key controls (better key combination handling and display). * The hot key controls in the options dialog now support entering hot keys that are already registered by KeePass. OBS-URL: https://build.opensuse.org/request/show/710983 OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=25
2019-09-02 12:10:52 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define _name KeePass
Name: keepass
Accepting request 918504 from home:theMarix:branches:Mono - Update to 2.49 * New Features: + Added dedicated context menu for custom string fields in the entry dialog, which provides the following new commands: 'Copy Name(s)', 'Copy Value(s)', 'Copy Item(s)', 'Paste Item(s)', 'Select All' and 'Move To'. + Added dedicated context menu for auto-type associations in the entry dialog, which provides the following new commands: 'Copy Target Window(s)', 'Copy Sequence(s)', 'Copy Item(s)', 'Paste Item(s)', 'Duplicate Item(s)' and 'Select All'. + Added optional 'Auto-Type - Enabled' main entry list column (turned off by default, can be turned on in 'View' → 'Configure Columns'). + Added optional 'Auto-Type - Sequences' main entry list column (turned off by default, can be turned on in 'View' → 'Configure Columns'). + Added support for importing Keeper 16.0.0 JSON files. + Dialog banners can now be read by screen readers (if the option 'Optimize for screen reader' is turned on). + Controls in the accessibility/automation control tree are now ordered by their visual locations (if the option 'Optimize for screen reader' is turned on). + Added automatic screen reader detection based on the operating system's screen reader parameter (this does not make the option 'Optimize for screen reader' obsolete though, because not all screen readers set the parameter). * Various Improvements * Bugfixes: + The save confirmation dialog of the entry dialog does not create unnecessary history entries anymore. OBS-URL: https://build.opensuse.org/request/show/918504 OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=40
2021-09-12 12:54:18 +02:00
Version: 2.49
Release: 0
Summary: Password Manager
- Update to 2.39 New features * KeePass now uses Transactional NTFS (TxF) for writing database and configuration files, if possible; this improves the compatibility with other programs that are watching these files (e.g. file synchronization services). * Added command 'Edit' → 'Show Entries' → 'Large Entries'. * Added command 'Edit' → 'Show Entries' → 'Last Modified Entries'. * Added option 'Automatically save after modifying an entry using the entry editing dialog' (turned off by default). * Added option 'Minimize main window after performing auto-type' (turned off by default). * Added option 'Show lines between nodes in tree views' (turned off by default). * Added support for importing Google Chrome 66 password CSV files. * Added trigger event 'Time - Periodic', which is raised at user-defined intervals. * Links in the entry string editing dialog are clickable now. * Added UIFlags bit for disabling the 'XML Replace' menu item. * Added UIFlags bit for hiding auto-type obfuscation compatibility information dialogs. * Added workaround for .NET 'urtf' RTF round-trip bug. * Secure edit controls are now extensible by plugins. * KPScript: the 'AddEntry' command now supports the '-setx-Expires' and '-setx-ExpiryTime' parameters. Improvements * In printouts and HTML exports, expired entries now have a red 'X' icon (if the option 'Icon' is turned on). * Improved string normalization in the entry and string editing dialogs. OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=17
2018-05-07 12:12:12 +02:00
License: GPL-2.0-or-later
Group: Productivity/Other
Accepting request 802525 from home:theMarix:branches:Mono - Update to 2.45 * New Features: + Added automatic assignment of mnemonics for 'Open with ...' commands in the 'URL(s)' menu. + The entry templates menu now supports showing templates that are stored in subgroups of the templates group; each subgroup is displayed as a submenu. + When adding a new entry based on a template that has an empty user name, the user name is now set to the default user name of the database, unless the new entry is stored in the templates group. + When adding a new entry based on a template that has an empty password, a random password is generated now (based on the password generator profile 'Automatically generated passwords for new entries'), unless the new entry is stored in the templates group. + When adding a new entry based on a template that does not expire, the expiry date is now set based on the option 'By default, new entries expire in the following number of days' (in 'Tools' → 'Options' → tab 'Security'), unless the new entry is stored in the templates group. + New icon recoloring (with high DPI support, by deconstructing an ICO, modifying BMP palettes and data, and assembling a new ICO); there are 24 database colors now. + Added {UUID} placeholder, which is replaced by the UUID of the current entry. + The UUID of a group is now displayed in the group editing dialog (tab 'General'). + When specifying a weak master password in the master key creation dialog, KeePass now shows a warning. + Triggers: added string comparison mode 'Matches regular expression'. + Enforced configuration: added support for attributes that allow to specify the desired merge behavior. + Enforced configuration: for most lists, node keys are now used to find corresponding list items. + Plugins: added I/O connection event for customizing web requests. + Added workaround for Mono pre-authenticated anonymous web request bug. * Improvements: + Auto-Type: improved compatibility with VMware Horizon Client and Kaseya Live Connect. + The 'Open with ...' commands in the 'URL(s)' menu are sorted now. + Improved performance of the entry templates menu; removed limitation to 30 templates. + Database descriptions are now displayed in file tab tooltips. + When editing an attachment directly from the main window, a history entry is created now. + UUIDs in the group and entry editing dialogs are now displayed both in hexadecimal and base 64 form. + Improved Bitwarden import module to support JSON files without groups. + If the trigger system is disabled using an enforced configuration file, most controls in the triggers dialog are disabled now, too. + Plugins: an I/O access event is now raised when checking the existence of a local database file. + In texts that are about to be displayed in a rich text box, U+FFFC characters are now replaced by question marks (in order to avoid the text being cut off at this point). + When running on Mono 5.10 or higher, a monospaced font is used in password text boxes by default again, as the Mono bug 5795 has been fixed. + Various code optimizations. + Minor other improvements. OBS-URL: https://build.opensuse.org/request/show/802525 OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=29
2020-05-11 08:47:42 +02:00
URL: https://keepass.info/
- Update to 2.47 * New Features: + In the 'Find' dialog, search parameters can now be saved as profiles; the profiles can be accessed quickly via the main menu ('Find' → 'Search Profiles') and the group context menu. + Added search mode 'XPath expression' in the 'Find' dialog, which creates a KeePass 2.x XML DOM of the current database in memory and finds entries using the specified XPath expression. + Added option 'History' in the 'Find' dialog, which includes history entries in searches. + Added 'Help' button in the 'Find' dialog. + Added auto-type matching option 'Consider similar dashes as identical' (in 'Tools' → 'Options' → tab 'Advanced', turned on by default). + Added commands 'Copy Group (Encrypted)', 'Copy Group (Unencrypted)' and 'Paste Group' (in the menu 'Group' → 'Data Exchange'). + When loading/saving a configuration file fails, an error message is displayed now, and in certain cases a backup of the configuration file is created (the path is mentioned in the error message). + Added configuration option for saving the configuration (turned on by default). + On the 'Security' tab page of the options dialog, two links have been added, which open help pages for experts and administrators. + Added {TIMEOTP} placeholder, which generates a time-based one-time password (as specified in RFC 6238). + Enhanced XML key file format (added hash that allows to verify the integrity of the key; values are now encoded using hexadecimal characters in order to improve the readability). + Added command 'Print Key File Backup' (in 'File' → 'Print'). + In the dialog that asks whether to print an emergency sheet, there is now an option 'Also print a key file backup' (on Windows), if the master key contains a key file. + Added command 'Create Key File' (in 'Tools' → 'Advanced Tools'), which shows a dialog for creating a new key file (random key) or for recreating a key file from a printed backup. + Added Argon2id key derivation function. + Added support for importing Dashlane 6.2039.0 JSON files. + Dashlane and RoboForm import: domains are now mapped to HTTPS URLs (instead of HTTP URLs). + Added option 'Use a different master key' in the import/export dialog (tab page 'Options'). + Added option 'Additionally export parent groups' in the import/export dialog (tab page 'Options'). + Added options 'Open exported file (with associated application)' and 'Show exported file (with file manager)' in the import/export dialog (tab page 'Options'). + The 'About' dialog now shows whether KeePass is currently running as 32- or 64-bit application. + Plugins can now disable/enable specific Mono workarounds. + Added workaround for Mono URL opening bug. + Added workaround for Mono HTML document opening bug. * Improvements: + Improved performance of certain searches. + Various user interface improvements in the search dialog. + Improved keyboard shortcut handling (e.g. Ctrl+Tab and Ctrl+Shift+Tab now also work when the quick search box is focused). OBS-URL: https://build.opensuse.org/package/show/Mono/keepass?expand=0&rev=34
2021-01-09 18:51:48 +01:00
Source0: https://netcologne.dl.sourceforge.net/project/keepass/KeePass%202.x/%{version}/KeePass-%{version}-Source.zip
Source1: https://keepass.info/integrity/v2/KeePass-%{version}-Source.zip.asc
# http://keepass.info/integrity/Dominik_Reichl.asc
Source2: keepass.keyring
BuildRequires: dos2unix
BuildRequires: mono-devel
BuildRequires: unzip
BuildRequires: xdotool-devel
BuildRequires: xorg-x11-fonts-core
BuildRequires: xsel
Recommends: xdotool
BuildArch: noarch
%description
KeePass is a password manager, which helps you to manage your
passwords. You can put all your passwords in one database, which is
locked with one master key or a key file, so that you only have to
remember one single master password or select the key file to unlock
the whole database. The databases are encrypted using AES and
Twofish.
%prep
%setup -q -c %{name}-%{version}
dos2unix Docs/License.txt Docs/History.txt
sed -i '1s/ 10.00/ 11.00/' KeePass.sln
find . -name "*.csproj" -exec sed -i '1s/"3.5"/"4.0"/' {} +
pushd Build &>/dev/null
bash PrepMonoDev.sh
sh PrepMonoDev.sh
popd &>/dev/null
%build
xbuild /target:KeePass /property:Configuration=Release
%install
install -d %{buildroot}%{_prefix}/lib/%{name}
install -d %{buildroot}%{_prefix}/lib/%{name}/XSL
install -m 644 Build/%{_name}Lib_Distrib/%{_name}Lib.dll %{buildroot}%{_prefix}/lib/%{name}/
install -m 644 Build/%{_name}/Release/%{_name}.exe* %{buildroot}%{_prefix}/lib/%{name}/
install -m 644 Ext/%{_name}.config.xml %{buildroot}%{_prefix}/lib/%{name}/
install -m 644 Ext/%{_name}.exe.config %{buildroot}%{_prefix}/lib/%{name}/
install -m 644 Ext/XSL/* %{buildroot}%{_prefix}/lib/%{name}/XSL
# Bin wrapper
install -d %{buildroot}%{_bindir}
cat << EOF > %{buildroot}%{_bindir}/%{name}
#!/bin/sh
exec mono %{_prefix}/lib/%{name}/%{_name}.exe "\$@"
EOF
# Desktop file
install -d %{buildroot}%{_datadir}/applications
cat << EOF > %{buildroot}%{_datadir}/applications/%{name}.desktop
[Desktop Entry]
Type=Application
Name=%{_name}
GenericName=Password Manager
Comment=Secure Password Management System
Icon=keepass
TryExec=%{_bindir}/keepass
Exec=keepass
Terminal=false
Categories=Utility;Security;
X-SuSE-translate=false
EOF
# Icon
install -d %{buildroot}%{_datadir}/pixmaps
install -m 644 Ext/Icons_04_CB/Finals/plock-blu.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
%files
%license Docs/License.txt
%doc Docs/History.txt
%attr(755,root,root) %{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%{_prefix}/lib/keepass
%changelog