diff --git a/.gitignore b/.gitignore deleted file mode 100644 index ed4c5e7..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/keepass-*.tar.xz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..68cd754 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Don't know how to fix CVE-2022-0725. diff --git a/keepass-desktop-integration.patch b/keepass-desktop-integration.patch deleted file mode 100644 index 0ee5138..0000000 --- a/keepass-desktop-integration.patch +++ /dev/null @@ -1,62 +0,0 @@ -diff -uNr keepass-2.26/dist/keepass keepass/dist/keepass ---- keepass-2.26/dist/keepass 1970-01-01 01:00:00.000000000 +0100 -+++ keepass/dist/keepass 2014-04-18 22:39:57.973399231 +0100 -@@ -0,0 +1,3 @@ -+#!/bin/sh -+ -+exec /usr/bin/mono --verify-all /usr/lib/keepass/KeePass.exe "$@" -diff -uNr keepass-2.26/dist/keepass.1 keepass/dist/keepass.1 ---- keepass-2.26/dist/keepass.1 1970-01-01 01:00:00.000000000 +0100 -+++ keepass/dist/keepass.1 2014-04-18 22:39:50.906367857 +0100 -@@ -0,0 +1,23 @@ -+.TH KEEPASS 1 "Mar 19, 2011" -+.SH NAME -+keepass \- password manager -+.SH SYNOPSIS -+.B keepass -+.SH DESCRIPTION -+\fBKeePass\fP is a free/open-source password manager or safe which helps you to manage your passwords in a secure way. You can put all your passwords in one database, which is locked with one master key or a key file. So you only have to remember one single master password to unlock the whole database. The databases are encrypted using AES-256. -+.SH OPTIONS -+.TP -+\fB\-\-auto-type\fP -+invokes global auto-type -+.TP -+\fB\-\-lock-all\fP -+lock databases of all KeePass instances -+.TP -+\fB\-\-unlock-all\fP -+unlock databases of all KeePass instances -+.TP -+\fB\-\-exit-all\fP -+exit all KeePass instances -+.SH AUTHOR -+This manual page was written by Julian Taylor , -+for the Debian project (but may be used by others). -diff -uNr keepass-2.26/dist/keepass.desktop keepass/dist/keepass.desktop ---- keepass-2.26/dist/keepass.desktop 1970-01-01 01:00:00.000000000 +0100 -+++ keepass/dist/keepass.desktop 2014-04-18 22:39:35.719301001 +0100 -@@ -0,0 +1,11 @@ -+[Desktop Entry] -+Name=KeePass -+GenericName=Password manager -+Exec=keepass %u -+Icon=keepass -+Terminal=false -+Type=Application -+StartupWMClass=keepass2 -+Categories=Utility; -+MimeType=application/x-keepass2; -+Keywords=passwords; -diff -uNr keepass-2.26/dist/keepass.xml keepass/dist/keepass.xml ---- keepass-2.26/dist/keepass.xml 1970-01-01 01:00:00.000000000 +0100 -+++ keepass/dist/keepass.xml 2014-04-18 22:39:44.732340767 +0100 -@@ -0,0 +1,9 @@ -+ -+ -+ -+ KeePass 2 database -+ KeePass 2 Datenbank -+ -+ -+ -+ diff --git a/keepass-fix-XSL-search-path.patch b/keepass-fix-XSL-search-path.patch deleted file mode 100644 index 424385c..0000000 --- a/keepass-fix-XSL-search-path.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -ur keepass-2.50/KeePass/App/AppDefs.cs keepass-2.50-patched/KeePass/App/AppDefs.cs ---- keepass-2.50/KeePass/App/AppDefs.cs 2022-01-01 17:06:08.000000000 +0000 -+++ keepass-2.50-patched/KeePass/App/AppDefs.cs 2022-01-22 10:19:43.552223959 +0000 -@@ -33,6 +33,8 @@ - { - public static class AppDefs - { -+ public const string DataDir = "/usr/share/keepass/"; -+ - public static readonly Color ColorControlNormal = SystemColors.Window; - public static readonly Color ColorControlDisabled = SystemColors.Control; - public static readonly Color ColorEditError = Color.FromArgb(255, 192, 192); -Only in keepass-2.50-patched/KeePass/App: AppDefs.cs.orig -diff -ur keepass-2.50/KeePass/Forms/AboutForm.cs keepass-2.50-patched/KeePass/Forms/AboutForm.cs ---- keepass-2.50/KeePass/Forms/AboutForm.cs 2022-01-01 17:06:12.000000000 +0000 -+++ keepass-2.50-patched/KeePass/Forms/AboutForm.cs 2022-01-22 10:27:13.049330394 +0000 -@@ -133,7 +133,7 @@ - m_lvComponents.Columns.Add(strValueColumn, 100); - - string strExe = WinUtil.GetExecutable(); -- string strDir = UrlUtil.GetFileDirectory(strExe, true, false); -+ string strDir = AppDefs.DataDir; - - AddComponentItem(PwDefs.ShortProductName, strMainVersion, strExe); - -Only in keepass-2.50-patched/KeePass/Forms: AboutForm.cs.orig -Only in keepass-2.50-patched/KeePass/Forms: AboutForm.cs.rej diff --git a/keepass.appdata.xml b/keepass.appdata.xml deleted file mode 100644 index 199c0e1..0000000 --- a/keepass.appdata.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - keepass.desktop - CC0-1.0 - KeePass - Password manager - GPL-2.0+ - Dominik Reichl - -

- KeePass is a free open source password manager, which helps you to - remember your passwords securely. You can put all your - passwords in one database, which is locked with one master key or a - key file. You only have to remember one single master password or - select the key file to unlock the whole database. -

-
- - - https://mavit.fedorapeople.org/appdata/keepass-main-window.png - KeePass showing the example database - - - http://keepass.info/ - https://sourceforge.net/p/keepass/_list/tickets - http://keepass.info/translations_devinfo.html - http://keepass.info/donate.html - http://keepass.info/help/base/index.html - appdata@mavit.org.uk -
diff --git a/keepass.spec b/keepass.spec deleted file mode 100644 index ea2bf3a..0000000 --- a/keepass.spec +++ /dev/null @@ -1,112 +0,0 @@ -Name: keepass -Version: 2.50 -Release: %autorelease -Summary: Password manager - -License: GPLv2+ -URL: https://keepass.info/ - -# Created with, e.g.: -# version=2.32 tmpdir=`mktemp -d` && cd $tmpdir && curl -LRO https://downloads.sourceforge.net/project/keepass/KeePass%202.x/$version/KeePass-$version-Source.zip && curl -RO https://keepass.info/integrity/v2/KeePass-$version-Source.zip.asc && gpg2 --verify KeePass-$version-Source.zip.asc KeePass-$version-Source.zip && mkdir keepass-$version && unzip -d keepass-$version KeePass-$version-Source.zip && find keepass-$version -name "*dll" -delete && tar -cJf keepass-$version.tar.xz keepass-$version -Source0: %{name}-%version.tar.xz -Source1: %{name}.appdata.xml - -# Upstream does not include a .desktop file, etc.. -Patch0: keepass-desktop-integration.patch - -# Move XSL files to /usr/share/keepass: -Patch1: keepass-fix-XSL-search-path.patch - -ExclusiveArch: %{mono_arches} -ExcludeArch: armv7hl -BuildRequires: ImageMagick -BuildRequires: desktop-file-utils -BuildRequires: libappstream-glib -BuildRequires: libgdiplus-devel -BuildRequires: mono-devel -BuildRequires: mono-winforms -BuildRequires: mono-web -BuildRequires: xorg-x11-server-Xvfb -Requires: xdotool xsel hicolor-icon-theme -Requires: mono-winforms -Recommends: libargon2 -%if 0%{?fedora} >=24 || 0%{?rhel} >= 8 -Recommends: libgcrypt -%endif - - -# The debuginfo package would be empty if created. -%global debug_package %{nil} - - -%description -KeePass is a free open source password manager, which helps you to -remember your passwords in a secure way. You can put all your passwords in -one database, which is locked with one master key or a key file. You -only have to remember one single master password or select the key file -to unlock the whole database. - - -%prep -%autosetup -p1 - -# Work around libpng bug (https://bugzilla.redhat.com/show_bug.cgi?id=1276843): -find -name \*.png -print0 | xargs -0 mogrify -define png:format=png32 - - -%build -( cd Build && sh PrepMonoDev.sh ) -find . -name "*.sln" -print -exec sed -i 's/Format Version 10.00/Format Version 11.00/g' {} \; -xbuild /target:KeePass /property:TargetFrameworkVersion=v$(ls -d /usr/lib/mono/*-api | cut -d/ -f5 | cut -d- -f1 | sort -Vr | head -1) /property:Configuration=Release -for subdir in Images_App_HighRes Images_Client_16 Images_Client_HighRes; do - xvfb-run -a mono Build/KeePass/Release/KeePass.exe -d:`pwd`/Ext/$subdir --makexspfile `pwd`/KeePass/Resources/Data/$subdir.bin -done -xbuild /target:KeePass /property:TargetFrameworkVersion=v$(ls -d /usr/lib/mono/*-api | cut -d/ -f5 | cut -d- -f1 | sort -Vr | head -1) /property:Configuration=Release - -%install -install -d %{buildroot}/%{_prefix}/lib/%{name} %{buildroot}/%{_prefix}/lib/%{name}/Languages %{buildroot}/%{_datadir}/%{name} %{buildroot}/%{_datadir}/%{name}/XSL %{buildroot}/%{_datadir}/applications %{buildroot}/%{_bindir} %{buildroot}/%{_datadir}/mime/packages %{buildroot}/%{_datadir}/icons/hicolor/512x512/apps %{buildroot}/%{_datadir}/icons/hicolor/256x256/apps %{buildroot}/%{_datadir}/icons/hicolor/128x128/apps %{buildroot}/%{_datadir}/icons/hicolor/64x64/apps %{buildroot}/%{_datadir}/icons/hicolor/48x48/apps %{buildroot}/%{_datadir}/icons/hicolor/32x32/apps %{buildroot}/%{_datadir}/icons/hicolor/16x16/apps %{buildroot}/%{_mandir}/man1 %{buildroot}/%{_docdir}/%{name} %{buildroot}/%{_datadir}/appdata -install -p -m 0644 Build/KeePass/Release/KeePass.exe Ext/KeePass.config.xml Ext/KeePass.exe.config %{buildroot}/%{_prefix}/lib/%{name} -install -p -m 0644 Ext/XSL/KDBX_Common.xsl Ext/XSL/KDBX_DetailsFull_HTML.xsl Ext/XSL/KDBX_DetailsLight_HTML.xsl Ext/XSL/KDBX_PasswordsOnly_TXT.xsl Ext/XSL/KDBX_Tabular_HTML.xsl %{buildroot}/%{_datadir}/%{name}/XSL -install -p -m 0644 -T Ext/Icons_15_VA/KeePass_Round/KeePass_Round_512.png %{buildroot}/%{_datadir}/icons/hicolor/512x512/apps/%{name}.png -install -p -m 0644 -T Ext/Icons_15_VA/KeePass_Round/KeePass_Round_256.png %{buildroot}/%{_datadir}/icons/hicolor/256x256/apps/%{name}.png -install -p -m 0644 -T Ext/Icons_15_VA/KeePass_Round/KeePass_Round_128.png %{buildroot}/%{_datadir}/icons/hicolor/128x128/apps/%{name}.png -install -p -m 0644 -T Ext/Icons_15_VA/KeePass_Round/KeePass_Round_64.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/apps/%{name}.png -install -p -m 0644 -T Ext/Icons_15_VA/KeePass_Round/KeePass_Round_48.png %{buildroot}/%{_datadir}/icons/hicolor/48x48/apps/%{name}.png -install -p -m 0644 -T Ext/Icons_15_VA/KeePass_Round/KeePass_Round_32.png %{buildroot}/%{_datadir}/icons/hicolor/32x32/apps/%{name}.png -install -p -m 0644 -T Ext/Icons_15_VA/KeePass_Round/KeePass_Round_16.png %{buildroot}/%{_datadir}/icons/hicolor/16x16/apps/%{name}.png -desktop-file-install --dir=%{buildroot}/%{_datadir}/applications dist/%{name}.desktop -install -p -m 0644 dist/%{name}.xml %{buildroot}/%{_datadir}/mime/packages -install -p -m 0644 dist/%{name}.1 %{buildroot}/%{_mandir}/man1 -install -p -m 0644 %{SOURCE1} %{buildroot}/%{_datadir}/appdata -install -p dist/%{name} %{buildroot}/%{_bindir} -sed 's/\r$//' Docs/History.txt > %{buildroot}/%{_docdir}/%{name}/History.txt -sed 's/\r$//' Docs/License.txt > %{buildroot}/%{_docdir}/%{name}/License.txt - - -%check -desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop -appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml - - -%files -%dir %{_docdir} -%doc %{_docdir}/%{name}/History.txt -%doc %{_docdir}/%{name}/License.txt -%{_bindir}/%{name} -%{_prefix}/lib/%{name} -%{_datadir}/%{name} -%{_datadir}/applications/%{name}.desktop -%{_datadir}/mime/packages/%{name}.xml -%{_datadir}/icons/hicolor/512x512/apps/%{name}.png -%{_datadir}/icons/hicolor/256x256/apps/%{name}.png -%{_datadir}/icons/hicolor/128x128/apps/%{name}.png -%{_datadir}/icons/hicolor/64x64/apps/%{name}.png -%{_datadir}/icons/hicolor/48x48/apps/%{name}.png -%{_datadir}/icons/hicolor/32x32/apps/%{name}.png -%{_datadir}/icons/hicolor/16x16/apps/%{name}.png -%{_mandir}/man1/%{name}.1* -%{_datadir}/appdata/%{name}.appdata.xml - - -%changelog -%autochangelog diff --git a/sources b/sources deleted file mode 100644 index d5f32bc..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (keepass-2.50.tar.xz) = af8e1309261ac5721f641d0ed3afe5fea770a56394b4eb752a52e9d321ca1fc308049b8f7d9fdc0f509d2aa2dbfdce1ba2b726483effcc62c03528847532ad20