debian/0000775000000000000000000000000012337602463007176 5ustar debian/control0000664000000000000000000000366212337600642010605 0ustar Source: keepass2 Section: utils Priority: optional Maintainer: Debian CLI Applications Team Uploaders: Julian Taylor Build-Depends: archmage, cli-common-dev (>= 0.7), debhelper (>= 7.0.50~), imagemagick, libmono-cil-dev, mono-devel (>= 2.6.7), mono-xbuild, python Standards-Version: 3.9.5 Homepage: http://keepass.info/ Vcs-Git: git://anonscm.debian.org/pkg-cli-apps/packages/keepass2.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-cli-apps/packages/keepass2.git Package: keepass2 Architecture: all Depends: ${cli:Depends}, ${misc:Depends} Recommends: xsel Suggests: keepass2-doc, mono-dmcs, xdotool Description: Password manager KeePass is a easy-to-use password manager for Windows, Linux, Mac OS X and mobile devices. You can store your passwords in highly-encrypted databases, which can only be unlocked with one master password and/or a key file. A database consists of only one file that can be transferred from one computer to another easily. KeePass can import data from various file formats. The password list can be exported to various formats, including TXT, HTML, XML and CSV files. Package: keepass2-doc Architecture: all Section: doc Depends: ${cli:Depends}, ${misc:Depends} Suggests: xdotool Description: Password manager - Documentation KeePass is a easy-to-use password manager for Windows, Linux, Mac OS X and mobile devices. You can store your passwords in highly-encrypted databases, which can only be unlocked with one master password and/or a key file. A database consists of only one file that can be transferred from one computer to another easily. KeePass can import data from various file formats. The password list can be exported to various formats, including TXT, HTML, XML and CSV files. . This package contains the documentation. debian/install0000664000000000000000000000077312337600642010573 0ustar Build/KeePass/Release/KeePass.exe usr/lib/keepass2 Ext/KeePass.config.xml usr/lib/keepass2 Ext/KeePass.exe.config usr/lib/keepass2 Ext/XSL usr/share/keepass2 KeePass/Resources/Icons/LockOverlay.ico usr/share/keepass2 KeePass/Resources/Icons/QuadLocked.ico usr/share/keepass2 KeePass/Resources/Icons/QuadNormal.ico usr/share/keepass2 KeePass/Resources/Images/KeePass.ico usr/share/keepass2 debian/keepass2.desktop usr/share/applications debian/keepass2.sh usr/bin debian/keepass2.xml usr/share/mime/packages debian/keepass2.desktop0000664000000000000000000000030012337600642012274 0ustar [Desktop Entry] Name=KeePass2 GenericName=Password manager Exec=keepass2 Icon=keepass2 Terminal=false Type=Application StartupNotify=false Categories=Utility; MimeType=application/x-keepass2; debian/README.source0000664000000000000000000000374612337600642011364 0ustar Files removed from upstream source: dll's needed for KeePassSD port, not required for debian D Build/KeePassLibSD_Distrib/KeePassLibSD.dll D Build/KeePassLib_Distrib/KeePassLib.dll Icons from other mostly non-free password managers used in the import dialog. All except the KeePassX icons are removed. It has not been checked if some of the other icons might be free to use. D KeePass/Resources/Images/B16x16_Imp_AmP.png D KeePass/Resources/Images/B16x16_Imp_AnyPw.png D KeePass/Resources/Images/B16x16_Imp_CWallet.png D KeePass/Resources/Images/B16x16_Imp_DataVault.png D KeePass/Resources/Images/B16x16_Imp_DesktopKnox.png D KeePass/Resources/Images/B16x16_Imp_FlexWallet.png D KeePass/Resources/Images/B16x16_Imp_HandySafe.png D KeePass/Resources/Images/B16x16_Imp_HandySafePro.png D KeePass/Resources/Images/B16x16_Imp_KasperskyPwMgr.png D KeePass/Resources/Images/B16x16_Imp_LastPass.png D KeePass/Resources/Images/B16x16_Imp_NetworkPwMgr.png D KeePass/Resources/Images/B16x16_Imp_OnePwPro.png D KeePass/Resources/Images/B16x16_Imp_PINs.png D KeePass/Resources/Images/B16x16_Imp_PVault.png D KeePass/Resources/Images/B16x16_Imp_PassKeeper.png D KeePass/Resources/Images/B16x16_Imp_PwAgent.png D KeePass/Resources/Images/B16x16_Imp_PwDepot.png D KeePass/Resources/Images/B16x16_Imp_PwMem2008.png D KeePass/Resources/Images/B16x16_Imp_PwPrompter.png D KeePass/Resources/Images/B16x16_Imp_PwSafe.png D KeePass/Resources/Images/B16x16_Imp_PwTresor.png D KeePass/Resources/Images/B16x16_Imp_PwsPlus.png D KeePass/Resources/Images/B16x16_Imp_Revelation.png D KeePass/Resources/Images/B16x16_Imp_RoboForm.png D KeePass/Resources/Images/B16x16_Imp_SafeWallet.png D KeePass/Resources/Images/B16x16_Imp_Security.png D KeePass/Resources/Images/B16x16_Imp_SplashID.png D KeePass/Resources/Images/B16x16_Imp_Steganos.png D KeePass/Resources/Images/B16x16_Imp_StickyPw.png D KeePass/Resources/Images/B16x16_Imp_TurboPws.png D KeePass/Resources/Images/B16x16_Imp_Whisper32.png D KeePass/Resources/Images/B16x16_Imp_ZdnPwPro.png debian/README.Debian0000664000000000000000000000164112337600642011236 0ustar KeePass language files (*.lngx) should be placed in $XDG_DATA_HOME/KeePass If $XDG_DATA_HOME is not set it defaults to $HOME/.local/share Many languages are available at http://keepass.info/translations.html The XSL transformation style sheets for exporting databases are installed at /usr/share/keepass2/XSL For autotype xdotool is required. Global autotype addionally requires the version 2.20100818.3004 or higher. To use it bind a hotkey to: keepass2 --auto-type ------------------ Known issues: ----------------- The KeePass plugins are untested and may not work correctly. They currently have to be placed in into /usr/lib/keepass2/ but files in that location may get overwritten by package upgrades in future. To execute KeePass plugin like KPScript one must currently set the MONO_PATH environment variable to /usr/lib/keepass2. E.g. in Bash: MONO_PATH="/usr/lib/keepass2${MONO_PATH:+:$MONO_PATH}" export MONO_PATH debian/patches/0000775000000000000000000000000012337600642010622 5ustar debian/patches/disable-autoupdate-dialog.patch0000664000000000000000000000134012337600642016652 0ustar From: Julian Taylor Date: Fri, 30 Dec 2011 16:32:12 +0100 Subject: disable autoupdate dialog does makes not much sense for the package Forwarded: not-needed --- KeePass/App/Configuration/AceApplication.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/KeePass/App/Configuration/AceApplication.cs +++ b/KeePass/App/Configuration/AceApplication.cs @@ -293,8 +293,8 @@ namespace KeePass.App.Configuration set { m_bCheckForUpdate = value; } } - private bool m_bCheckForUpdateCfg = false; - [DefaultValue(false)] + private bool m_bCheckForUpdateCfg = true; + [DefaultValue(true)] public bool CheckForUpdateConfigured { get { return m_bCheckForUpdateCfg; } debian/patches/use-installed-ico-files.patch0000664000000000000000000006157212337600642016277 0ustar From: Debian CLI Applications Team Date: Sun, 10 Apr 2011 15:46:08 +0200 Subject: use installed ico files use installed icons instead of pulling them from the ressource. This avoids a UnknownImageFormat error probably caused by mono bug. Bugs-mono: https://bugzilla.novell.com/show_bug.cgi?id=599462 Forwarded: not-needed --- KeePass/Forms/AboutForm.cs | 4 ++-- KeePass/Forms/AutoTypeCtxForm.cs | 2 +- KeePass/Forms/CharPickerForm.cs | 2 +- KeePass/Forms/ColumnsForm.cs | 2 +- KeePass/Forms/CsvImportForm.cs | 2 +- KeePass/Forms/DataEditorForm.cs | 2 +- KeePass/Forms/DataViewerForm.cs | 2 +- KeePass/Forms/DatabaseOperationsForm.cs | 2 +- KeePass/Forms/DatabaseSettingsForm.cs | 2 +- KeePass/Forms/DuplicationForm.cs | 2 +- KeePass/Forms/EcasActionForm.cs | 2 +- KeePass/Forms/EcasConditionForm.cs | 2 +- KeePass/Forms/EcasEventForm.cs | 2 +- KeePass/Forms/EcasTriggerForm.cs | 2 +- KeePass/Forms/EcasTriggersForm.cs | 2 +- KeePass/Forms/EditAutoTypeItemForm.cs | 2 +- KeePass/Forms/EditStringForm.cs | 2 +- KeePass/Forms/EntropyForm.cs | 2 +- KeePass/Forms/EntryListForm.cs | 2 +- KeePass/Forms/EntryReportForm.cs | 2 +- KeePass/Forms/ExchangeDataForm.cs | 2 +- KeePass/Forms/FieldRefForm.cs | 2 +- KeePass/Forms/FileBrowserForm.cs | 2 +- KeePass/Forms/GroupForm.cs | 2 +- KeePass/Forms/HelpSourceForm.cs | 2 +- KeePass/Forms/IOConnectionForm.cs | 2 +- KeePass/Forms/IconPickerForm.cs | 2 +- KeePass/Forms/ImportMethodForm.cs | 2 +- KeePass/Forms/InternalBrowserForm.cs | 2 +- KeePass/Forms/KeyCreationForm.cs | 2 +- KeePass/Forms/KeyPromptForm.cs | 2 +- KeePass/Forms/LanguageForm.cs | 2 +- KeePass/Forms/MainForm.cs | 2 +- KeePass/Forms/MainForm_Functions.cs | 14 +++++++------- KeePass/Forms/OptionsForm.cs | 2 +- KeePass/Forms/PluginsForm.cs | 2 +- KeePass/Forms/PrintForm.cs | 2 +- KeePass/Forms/ProxyForm.cs | 2 +- KeePass/Forms/PwEntryForm.cs | 2 +- KeePass/Forms/PwGeneratorForm.cs | 2 +- KeePass/Forms/SearchForm.cs | 2 +- KeePass/Forms/SingleLineEditForm.cs | 2 +- KeePass/Forms/StatusLoggerForm.cs | 2 +- KeePass/Forms/TanWizardForm.cs | 2 +- KeePass/Forms/UpdateCheckForm.cs | 2 +- KeePass/Forms/UrlSchemeForm.cs | 2 +- KeePass/Forms/UrlSchemesForm.cs | 2 +- 47 files changed, 54 insertions(+), 54 deletions(-) --- a/KeePass/Forms/AboutForm.cs +++ b/KeePass/Forms/AboutForm.cs @@ -56,11 +56,11 @@ namespace KeePass.Forms string strTitle = PwDefs.ProductName; string strDesc = KPRes.Version + " " + PwDefs.VersionString; - Icon icoNew = new Icon(Properties.Resources.KeePass, 48, 48); + Icon icoNew = new Icon(new Icon("/usr/share/keepass2/KeePass.ico"), 48, 48); BannerFactory.CreateBannerEx(this, m_bannerImage, icoNew.ToBitmap(), strTitle, strDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); m_lvComponents.Columns.Add(KPRes.Component, 100, HorizontalAlignment.Left); m_lvComponents.Columns.Add(KPRes.Status + " / " + KPRes.Version, 100, --- a/KeePass/Forms/AutoTypeCtxForm.cs +++ b/KeePass/Forms/AutoTypeCtxForm.cs @@ -70,7 +70,7 @@ namespace KeePass.Forms m_lblText.Text = KPRes.AutoTypeEntrySelectionDescLong; this.Text = KPRes.AutoTypeEntrySelection; - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); string strRect = Program.Config.UI.AutoTypeCtxRect; if(strRect.Length > 0) UIUtil.SetWindowScreenRect(this, strRect); --- a/KeePass/Forms/CharPickerForm.cs +++ b/KeePass/Forms/CharPickerForm.cs @@ -133,7 +133,7 @@ namespace KeePass.Forms m_fontChars = FontUtil.CreateFont("Tahoma", 8.25f, FontStyle.Bold); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = KPRes.PickCharacters + " - " + PwDefs.ShortProductName; m_secWord.Attach(m_tbSelected, OnSelectedTextChangedEx, true); --- a/KeePass/Forms/ColumnsForm.cs +++ b/KeePass/Forms/ColumnsForm.cs @@ -58,7 +58,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_View_Detailed, KPRes.ConfigureColumns, KPRes.ConfigureColumnsDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = KPRes.ConfigureColumns; int nWidth = (m_lvColumns.ClientRectangle.Width - --- a/KeePass/Forms/CsvImportForm.cs +++ b/KeePass/Forms/CsvImportForm.cs @@ -109,7 +109,7 @@ namespace KeePass.Forms GlobalWindowManager.AddWindow(this); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = KPRes.GenericCsvImporter + " - " + PwDefs.ShortProductName; // FontUtil.AssignDefaultBold(m_grpSyntax); --- a/KeePass/Forms/DataEditorForm.cs +++ b/KeePass/Forms/DataEditorForm.cs @@ -93,7 +93,7 @@ namespace KeePass.Forms GlobalWindowManager.AddWindow(this); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.DoubleBuffered = true; string strRect = Program.Config.UI.DataEditorRect; --- a/KeePass/Forms/DataViewerForm.cs +++ b/KeePass/Forms/DataViewerForm.cs @@ -91,7 +91,7 @@ namespace KeePass.Forms GlobalWindowManager.AddWindow(this); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); string strTitle = PwDefs.ShortProductName + " " + KPRes.DataViewer; if(m_strDataDesc.Length > 0) --- a/KeePass/Forms/DatabaseOperationsForm.cs +++ b/KeePass/Forms/DatabaseOperationsForm.cs @@ -61,7 +61,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_Package_Settings, KPRes.DatabaseMaintenance, KPRes.DatabaseMaintenanceDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = KPRes.DatabaseMaintenance; m_numHistoryDays.Value = m_pwDatabase.MaintenanceHistoryDays; --- a/KeePass/Forms/DatabaseSettingsForm.cs +++ b/KeePass/Forms/DatabaseSettingsForm.cs @@ -79,7 +79,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_Ark, KPRes.DatabaseSettings, KPRes.DatabaseSettingsDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); m_bInitializing = true; --- a/KeePass/Forms/DuplicationForm.cs +++ b/KeePass/Forms/DuplicationForm.cs @@ -100,7 +100,7 @@ namespace KeePass.Forms { GlobalWindowManager.AddWindow(this); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); FontUtil.AssignDefaultBold(m_cbAppendCopy); FontUtil.AssignDefaultBold(m_cbFieldRefs); --- a/KeePass/Forms/EcasActionForm.cs +++ b/KeePass/Forms/EcasActionForm.cs @@ -59,7 +59,7 @@ namespace KeePass.Forms GlobalWindowManager.AddWindow(this); this.Text = KPRes.Action; - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); m_lblParamHint.Text = KPRes.ParamDescHelp; --- a/KeePass/Forms/EcasConditionForm.cs +++ b/KeePass/Forms/EcasConditionForm.cs @@ -56,7 +56,7 @@ namespace KeePass.Forms GlobalWindowManager.AddWindow(this); this.Text = KPRes.Condition; - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); m_lblParamHint.Text = KPRes.ParamDescHelp; --- a/KeePass/Forms/EcasEventForm.cs +++ b/KeePass/Forms/EcasEventForm.cs @@ -56,7 +56,7 @@ namespace KeePass.Forms GlobalWindowManager.AddWindow(this); this.Text = KPRes.Event; - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); m_lblParamHint.Text = KPRes.ParamDescHelp; --- a/KeePass/Forms/EcasTriggerForm.cs +++ b/KeePass/Forms/EcasTriggerForm.cs @@ -67,7 +67,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_Run, strTitle, strDesc); this.Text = strTitle; - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); m_lvEvents.SmallImageList = m_ilIcons; m_lvConditions.SmallImageList = m_ilIcons; --- a/KeePass/Forms/EcasTriggersForm.cs +++ b/KeePass/Forms/EcasTriggersForm.cs @@ -82,7 +82,7 @@ namespace KeePass.Forms Properties.Resources.B48x48_Make_KDevelop, KPRes.Triggers, KPRes.TriggersDesc); this.Text = KPRes.Triggers; - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); int nWidth = (m_lvTriggers.ClientSize.Width - UIUtil.GetVScrollBarWidth() - 1); m_lvTriggers.Columns.Add(KPRes.Triggers, nWidth); --- a/KeePass/Forms/EditAutoTypeItemForm.cs +++ b/KeePass/Forms/EditAutoTypeItemForm.cs @@ -106,7 +106,7 @@ namespace KeePass.Forms KPRes.ConfigureKeystrokeSeqDesc); } - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); // FontUtil.AssignDefaultBold(m_lblTargetWindow); // FontUtil.AssignDefaultBold(m_rbSeqDefault); --- a/KeePass/Forms/EditStringForm.cs +++ b/KeePass/Forms/EditStringForm.cs @@ -93,7 +93,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_Font, strTitle, strDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); UIUtil.EnableAutoCompletion(m_cmbStringName, true); UIUtil.PrepareStandardMultilineControl(m_richStringValue, true, true); --- a/KeePass/Forms/EntropyForm.cs +++ b/KeePass/Forms/EntropyForm.cs @@ -74,7 +74,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_Binary, KPRes.EntropyTitle, KPRes.EntropyDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = KPRes.EntropyTitle; UpdateUIState(); --- a/KeePass/Forms/EntryListForm.cs +++ b/KeePass/Forms/EntryListForm.cs @@ -87,7 +87,7 @@ namespace KeePass.Forms m_imgIcon, m_strTitle, m_strDescShort); m_lblText.Text = m_strDescLong; this.Text = m_strTitle; - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); if(m_ilIcons != null) m_lvEntries.SmallImageList = m_ilIcons; else m_ilIcons = new ImageList(); --- a/KeePass/Forms/EntryReportForm.cs +++ b/KeePass/Forms/EntryReportForm.cs @@ -51,7 +51,7 @@ namespace KeePass.Forms private void OnFormLoad(object sender, EventArgs e) { - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); if(!string.IsNullOrEmpty(m_strTitle)) this.Text = m_strTitle; else m_strTitle = PwDefs.ShortProductName; --- a/KeePass/Forms/ExchangeDataForm.cs +++ b/KeePass/Forms/ExchangeDataForm.cs @@ -100,7 +100,7 @@ namespace KeePass.Forms Properties.Resources.B48x48_Folder_Download); BannerFactory.CreateBannerEx(this, m_bannerImage, bmpBanner, strWndTitle, strWndDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = strWndTitle; --- a/KeePass/Forms/FieldRefForm.cs +++ b/KeePass/Forms/FieldRefForm.cs @@ -68,7 +68,7 @@ namespace KeePass.Forms GlobalWindowManager.AddWindow(this); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); UIUtil.SetExplorerTheme(m_lvEntries, true); --- a/KeePass/Forms/FileBrowserForm.cs +++ b/KeePass/Forms/FileBrowserForm.cs @@ -97,7 +97,7 @@ namespace KeePass.Forms { GlobalWindowManager.AddWindow(this); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = m_strTitle; m_nIconDim = m_tvFolders.ItemHeight; --- a/KeePass/Forms/GroupForm.cs +++ b/KeePass/Forms/GroupForm.cs @@ -78,7 +78,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_Folder_Txt, strTitle, (m_bCreatingNew ? KPRes.AddGroupDesc : KPRes.EditGroupDesc)); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = strTitle; UIUtil.SetButtonImage(m_btnAutoTypeEdit, --- a/KeePass/Forms/HelpSourceForm.cs +++ b/KeePass/Forms/HelpSourceForm.cs @@ -47,7 +47,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_Folder_Download, KPRes.HelpSourceSelection, KPRes.HelpSourceSelectionDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = KPRes.HelpSourceSelection; FontUtil.AssignDefaultBold(m_radioLocal); --- a/KeePass/Forms/IOConnectionForm.cs +++ b/KeePass/Forms/IOConnectionForm.cs @@ -75,7 +75,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, KeePass.Properties.Resources.B48x48_WWW, strTitle, strDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = strTitle; FontUtil.AssignDefaultBold(m_lblUrl); --- a/KeePass/Forms/IconPickerForm.cs +++ b/KeePass/Forms/IconPickerForm.cs @@ -80,7 +80,7 @@ namespace KeePass.Forms GlobalWindowManager.AddWindow(this); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); FontUtil.AssignDefaultBold(m_radioStandard); FontUtil.AssignDefaultBold(m_radioCustom); --- a/KeePass/Forms/ImportMethodForm.cs +++ b/KeePass/Forms/ImportMethodForm.cs @@ -56,7 +56,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_Folder_Download, KPRes.ImportBehavior, KPRes.ImportBehaviorDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = KPRes.ImportBehavior; --- a/KeePass/Forms/InternalBrowserForm.cs +++ b/KeePass/Forms/InternalBrowserForm.cs @@ -53,7 +53,7 @@ namespace KeePass.Forms { GlobalWindowManager.AddWindow(this); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); if(m_strInitialUrl.Length > 0) m_webBrowser.Navigate(m_strInitialUrl); --- a/KeePass/Forms/KeyCreationForm.cs +++ b/KeePass/Forms/KeyCreationForm.cs @@ -82,7 +82,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_KGPG_Sign, KPRes.CreateMasterKey, m_ioInfo.GetDisplayName()); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = KPRes.CreateMasterKey; FontUtil.SetDefaultFont(m_cbPassword); --- a/KeePass/Forms/KeyPromptForm.cs +++ b/KeePass/Forms/KeyPromptForm.cs @@ -116,7 +116,7 @@ namespace KeePass.Forms string strBannerDesc = WinUtil.CompactPath(m_ioInfo.Path, 45); BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_KGPG_Key2, strBannerTitle, strBannerDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); FontUtil.SetDefaultFont(m_cbPassword); FontUtil.AssignDefaultBold(m_cbPassword); --- a/KeePass/Forms/LanguageForm.cs +++ b/KeePass/Forms/LanguageForm.cs @@ -55,7 +55,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_Keyboard_Layout, KPRes.SelectLanguage, KPRes.SelectLanguageDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = KPRes.SelectLanguage; int nWidth = m_lvLanguages.ClientRectangle.Width / 4; --- a/KeePass/Forms/MainForm.cs +++ b/KeePass/Forms/MainForm.cs @@ -140,7 +140,7 @@ namespace KeePass.Forms m_strNeverExpiresText = KPRes.NeverExpires; this.Text = PwDefs.ShortProductName; - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); m_imgFileSaveEnabled = Properties.Resources.B16x16_FileSave; m_imgFileSaveDisabled = Properties.Resources.B16x16_FileSave_Disabled; // m_imgFileSaveAllEnabled = Properties.Resources.B16x16_File_SaveAll; --- a/KeePass/Forms/MainForm_Functions.cs +++ b/KeePass/Forms/MainForm_Functions.cs @@ -412,19 +412,19 @@ namespace KeePass.Forms strNtfText = strNtfPre + strFileDesc; Icon icoDisposable, icoAssignable; - CreateColorizedIcon(Properties.Resources.QuadLocked, false, + CreateColorizedIcon(new Icon("/usr/share/keepass2/QuadLocked.ico"), false, ref m_kvpIcoTrayLocked, out icoAssignable, out icoDisposable); m_ntfTray.Icon = icoAssignable; if(icoDisposable != null) icoDisposable.Dispose(); - TaskbarList.SetOverlayIcon(this, Properties.Resources.LockOverlay, + TaskbarList.SetOverlayIcon(this, new Icon("/usr/share/keepass2/LockOverlay.ico"), KPRes.Locked); DwmUtil.EnableWindowPeekPreview(this, false); } else if(s.DatabaseOpened == false) { Icon icoDisposable, icoAssignable; - CreateColorizedIcon(Properties.Resources.QuadNormal, false, + CreateColorizedIcon(new Icon("/usr/share/keepass2/QuadNormal.ico"), false, ref m_kvpIcoTrayNormal, out icoAssignable, out icoDisposable); m_ntfTray.Icon = icoAssignable; if(icoDisposable != null) icoDisposable.Dispose(); @@ -448,7 +448,7 @@ namespace KeePass.Forms m_docMgr.ActiveDatabase.IOConnectionInfo.Path, 63 - strNtfPre.Length); Icon icoDisposable, icoAssignable; - CreateColorizedIcon(Properties.Resources.QuadNormal, false, + CreateColorizedIcon(new Icon("/usr/share/keepass2/QuadNormal.ico"), false, ref m_kvpIcoTrayNormal, out icoAssignable, out icoDisposable); m_ntfTray.Icon = icoAssignable; if(icoDisposable != null) icoDisposable.Dispose(); @@ -472,7 +472,7 @@ namespace KeePass.Forms m_ntfTray.Text = StrUtil.CompactString3Dots(strNtfText, 63); Icon icoToDispose, icoToAssign; - if(CreateColorizedIcon(Properties.Resources.KeePass, true, + if(CreateColorizedIcon(new Icon("/usr/share/keepass2/KeePass.ico"), true, ref m_kvpIcoMain, out icoToAssign, out icoToDispose)) this.Icon = icoToAssign; if(icoToDispose != null) icoToDispose.Dispose(); @@ -2535,7 +2535,7 @@ namespace KeePass.Forms m_bTaskbarButtonMessage = true; } // else if(m.Msg == DwmUtil.WM_DWMSENDICONICTHUMBNAIL) - // DwmUtil.SetThumbnailIcon(this, Properties.Resources.KeePass, m.LParam); + // DwmUtil.SetThumbnailIcon(this, new Icon("/usr/share/keepass2/KeePass.ico"), m.LParam); base.WndProc(ref m); } @@ -3541,7 +3541,7 @@ namespace KeePass.Forms // wasn't fully constructed at that time yet) // if(IsFileLocked(null)) // TaskbarList.SetOverlayIcon(this, - // Properties.Resources.LockOverlay, KPRes.Locked); + // new Icon("/usr/share/keepass2/LockOverlay.ico"), KPRes.Locked); } if(Program.Config.MainWindow.MinimizeToTray) MinimizeToTray(true); --- a/KeePass/Forms/OptionsForm.cs +++ b/KeePass/Forms/OptionsForm.cs @@ -110,7 +110,7 @@ namespace KeePass.Forms GlobalWindowManager.AddWindow(this); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); Debug.Assert(m_ilIcons != null); if(m_ilIcons != null) --- a/KeePass/Forms/PluginsForm.cs +++ b/KeePass/Forms/PluginsForm.cs @@ -64,7 +64,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_BlockDevice, KPRes.Plugins, KPRes.PluginsDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); m_cbCacheDeleteOld.Checked = Program.Config.Application.Start.PluginCacheDeleteOld; --- a/KeePass/Forms/PrintForm.cs +++ b/KeePass/Forms/PrintForm.cs @@ -95,7 +95,7 @@ namespace KeePass.Forms GlobalWindowManager.AddWindow(this); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); CreateDialogBanner(); UIUtil.SetButtonImage(m_btnConfigPrinter, --- a/KeePass/Forms/ProxyForm.cs +++ b/KeePass/Forms/ProxyForm.cs @@ -44,7 +44,7 @@ namespace KeePass.Forms { GlobalWindowManager.AddWindow(this); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); ProxyServerType pst = Program.Config.Integration.ProxyType; if(pst == ProxyServerType.None) m_rbNoProxy.Checked = true; --- a/KeePass/Forms/PwEntryForm.cs +++ b/KeePass/Forms/PwEntryForm.cs @@ -597,7 +597,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, KeePass.Properties.Resources.B48x48_KGPG_Sign, strTitle, strDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = strTitle; m_imgPwGen = UIUtil.CreateDropDownImage(Properties.Resources.B16x16_Key_New); --- a/KeePass/Forms/PwGeneratorForm.cs +++ b/KeePass/Forms/PwGeneratorForm.cs @@ -98,7 +98,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_KGPG_Gen, KPRes.PasswordOptions, KPRes.PasswordOptionsDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); UIUtil.SetButtonImage(m_btnProfileAdd, Properties.Resources.B16x16_FileSaveAs, false); --- a/KeePass/Forms/SearchForm.cs +++ b/KeePass/Forms/SearchForm.cs @@ -92,7 +92,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_XMag, strTitle, KPRes.SearchDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); m_cbDerefData.Text = m_cbDerefData.Text + " (" + KPRes.Slow + ")"; --- a/KeePass/Forms/SingleLineEditForm.cs +++ b/KeePass/Forms/SingleLineEditForm.cs @@ -73,7 +73,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, m_imgIcon, m_strTitle, m_strDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = m_strTitle; m_lblLongDesc.Text = m_strLongDesc; --- a/KeePass/Forms/StatusLoggerForm.cs +++ b/KeePass/Forms/StatusLoggerForm.cs @@ -124,7 +124,7 @@ namespace KeePass.Forms { GlobalWindowManager.AddWindow(this); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = PwDefs.ShortProductName; m_pbProgress.Minimum = 0; --- a/KeePass/Forms/TanWizardForm.cs +++ b/KeePass/Forms/TanWizardForm.cs @@ -61,7 +61,7 @@ namespace KeePass.Forms KeePass.Properties.Resources.B48x48_Wizard, KPRes.TanWizard, KPRes.TanWizardDesc); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = KPRes.TanWizard; if((m_pgStorage.Name != null) && (m_pgStorage.Name.Length > 0)) --- a/KeePass/Forms/UpdateCheckForm.cs +++ b/KeePass/Forms/UpdateCheckForm.cs @@ -64,7 +64,7 @@ namespace KeePass.Forms BannerFactory.CreateBannerEx(this, m_bannerImage, Properties.Resources.B48x48_WWW, KPRes.UpdateCheck, KPRes.UpdateCheckResults); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = KPRes.UpdateCheck + " - " + PwDefs.ShortProductName; UIUtil.SetExplorerTheme(m_lvInfo, true); --- a/KeePass/Forms/UrlSchemeForm.cs +++ b/KeePass/Forms/UrlSchemeForm.cs @@ -51,7 +51,7 @@ namespace KeePass.Forms GlobalWindowManager.AddWindow(this); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = KPRes.UrlSchemeOverride; m_tbScheme.Text = m_ovr.Scheme; --- a/KeePass/Forms/UrlSchemesForm.cs +++ b/KeePass/Forms/UrlSchemesForm.cs @@ -54,7 +54,7 @@ namespace KeePass.Forms GlobalWindowManager.AddWindow(this); - this.Icon = Properties.Resources.KeePass; + this.Icon = new Icon("/usr/share/keepass2/KeePass.ico"); this.Text = KPRes.UrlSchemeOverrides; UIUtil.SetExplorerTheme(m_lvOverrides, false); debian/patches/fix-webdav-storage-with-mono-2.11.patch0000664000000000000000000002060012337600642017635 0ustar From: Julian Taylor Date: Fri, 23 May 2014 09:59:13 +0200 Subject: fix webdav storage with mono >= 2.11 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/keepass2/+bug/1315962 Bug: http://sourceforge.net/p/keepass/bugs/1117/ Applied-Upstream: 2.27 --- a/KeePass/Util/MonoWorkarounds.cs +++ b/KeePass/Util/MonoWorkarounds.cs @@ -42,6 +42,13 @@ namespace KeePass.Util // 5795: // https://bugzilla.xamarin.com/show_bug.cgi?id=5795 // https://sourceforge.net/p/keepass/discussion/329220/thread/d23dc88b/ + // 10163: + // https://bugzilla.xamarin.com/show_bug.cgi?id=10163 + // https://sourceforge.net/p/keepass/bugs/1117/ + // https://sourceforge.net/p/keepass/discussion/329221/thread/9422258c/ + // https://github.com/mono/mono/commit/8e67b8c2fc7cb66bff7816ebf7c1039fb8cfc43b + // https://bugzilla.xamarin.com/show_bug.cgi?id=1512 + // https://sourceforge.net/p/keepass/patches/89/ // 12525: // https://bugzilla.xamarin.com/show_bug.cgi?id=12525 // https://sourceforge.net/p/keepass/discussion/329220/thread/54f61e9a/ @@ -64,7 +71,16 @@ namespace KeePass.Util // https://sourceforge.net/p/keepass/discussion/329220/thread/d50a79d6/ public static bool IsRequired(uint uBugID) { - return MonoWorkarounds.IsRequired(); + if(!MonoWorkarounds.IsRequired()) return false; + + ulong v = NativeLib.MonoVersion; + if(v != 0) + { + if(uBugID == 10163) + return (v >= 0x0002000B00000000UL); // >= 2.11 + } + + return true; } public static void ApplyTo(Form f) --- a/KeePassLib/Native/NativeLib.cs +++ b/KeePassLib/Native/NativeLib.cs @@ -21,8 +21,10 @@ using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Windows.Forms; +using System.Text.RegularExpressions; using System.Threading; using System.Diagnostics; +using System.Reflection; using KeePassLib.Utility; @@ -46,6 +48,43 @@ namespace KeePassLib.Native set { m_bAllowNative = value; } } + public static ulong? m_ouMonoVersion = null; + public static ulong MonoVersion + { + get + { + if(m_ouMonoVersion.HasValue) return m_ouMonoVersion.Value; + + ulong uVersion = 0; + try + { + Type t = Type.GetType("Mono.Runtime"); + if(t != null) + { + MethodInfo mi = t.GetMethod("GetDisplayName", + BindingFlags.NonPublic | BindingFlags.Static); + if(mi != null) + { + string strName = (mi.Invoke(null, null) as string); + if(!string.IsNullOrEmpty(strName)) + { + Match m = Regex.Match(strName, "\\d+(\\.\\d+)+"); + if(m.Success) + uVersion = StrUtil.ParseVersion(m.Value); + else { Debug.Assert(false); } + } + else { Debug.Assert(false); } + } + else { Debug.Assert(false); } + } + } + catch(Exception) { Debug.Assert(false); } + + m_ouMonoVersion = uVersion; + return uVersion; + } + } + /// /// Determine if the native library is installed. /// --- a/KeePassLib/Serialization/IOConnection.cs +++ b/KeePassLib/Serialization/IOConnection.cs @@ -22,6 +22,7 @@ using System.Collections.Generic; using System.Text; using System.IO; using System.Net; +using System.Reflection; using System.Diagnostics; #if (!KeePassLibSD && !KeePassRT) @@ -50,6 +51,175 @@ namespace KeePassLib.Serialization } #endif + public abstract class WrapperStream : Stream + { + private readonly Stream m_s; + protected Stream BaseStream + { + get { return m_s; } + } + + public override bool CanRead + { + get { return m_s.CanRead; } + } + + public override bool CanSeek + { + get { return m_s.CanSeek; } + } + + public override bool CanTimeout + { + get { return m_s.CanTimeout; } + } + + public override bool CanWrite + { + get { return m_s.CanWrite; } + } + + public override long Length + { + get { return m_s.Length; } + } + + public override long Position + { + get { return m_s.Position; } + set { m_s.Position = value; } + } + + public override int ReadTimeout + { + get { return m_s.ReadTimeout; } + set { m_s.ReadTimeout = value; } + } + + public override int WriteTimeout + { + get { return m_s.WriteTimeout; } + set { m_s.WriteTimeout = value; } + } + + public WrapperStream(Stream sBase) : base() + { + if(sBase == null) throw new ArgumentNullException("sBase"); + + m_s = sBase; + } + + public override IAsyncResult BeginRead(byte[] buffer, int offset, + int count, AsyncCallback callback, object state) + { + return m_s.BeginRead(buffer, offset, count, callback, state); + } + + public override IAsyncResult BeginWrite(byte[] buffer, int offset, + int count, AsyncCallback callback, object state) + { + return BeginWrite(buffer, offset, count, callback, state); + } + + public override void Close() + { + m_s.Close(); + } + + public override int EndRead(IAsyncResult asyncResult) + { + return m_s.EndRead(asyncResult); + } + + public override void EndWrite(IAsyncResult asyncResult) + { + m_s.EndWrite(asyncResult); + } + + public override void Flush() + { + m_s.Flush(); + } + + public override int Read(byte[] buffer, int offset, int count) + { + return m_s.Read(buffer, offset, count); + } + + public override int ReadByte() + { + return m_s.ReadByte(); + } + + public override long Seek(long offset, SeekOrigin origin) + { + return m_s.Seek(offset, origin); + } + + public override void SetLength(long value) + { + m_s.SetLength(value); + } + + public override void Write(byte[] buffer, int offset, int count) + { + m_s.Write(buffer, offset, count); + } + + public override void WriteByte(byte value) + { + m_s.WriteByte(value); + } + } + + public sealed class IocStream : WrapperStream + { + private readonly bool m_bWrite; // Initially opened for writing + + public IocStream(Stream sBase) : base(sBase) + { + m_bWrite = sBase.CanWrite; + } + + public override void Close() + { + base.Close(); + + if(m_bWrite) + { + try + { + Stream s = this.BaseStream; + Type t = s.GetType(); + if(t.Name == "WebConnectionStream") + { + PropertyInfo pi = t.GetProperty("Request", + BindingFlags.Instance | BindingFlags.NonPublic); + if(pi != null) + { + WebRequest wr = (pi.GetValue(s, null) as WebRequest); + if(wr != null) + IOConnection.DisposeResponse(wr.GetResponse(), false); + else { Debug.Assert(false); } + } + else { Debug.Assert(false); } + } + } + catch(Exception) { Debug.Assert(false); } + } + } + + public static Stream WrapIfRequired(Stream s) + { + if(s == null) { Debug.Assert(false); return null; } + + if(s.CanWrite) + return new IocStream(s); + + return s; + } + } + public static class IOConnection { #if (!KeePassLibSD && !KeePassRT) @@ -244,7 +414,8 @@ namespace KeePassLib.Serialization if(ioc.IsLocalFile()) return OpenReadLocal(ioc); - return CreateWebClient(ioc).OpenRead(new Uri(ioc.Path)); + return IocStream.WrapIfRequired(CreateWebClient(ioc).OpenRead( + new Uri(ioc.Path))); } #else public static Stream OpenRead(IOConnectionInfo ioc) @@ -271,15 +442,17 @@ namespace KeePassLib.Serialization if(ioc.IsLocalFile()) return OpenWriteLocal(ioc); Uri uri = new Uri(ioc.Path); + Stream s; // Mono does not set HttpWebRequest.Method to POST for writes, // so one needs to set the method to PUT explicitly if(NativeLib.IsUnix() && (uri.Scheme.Equals(Uri.UriSchemeHttp, StrUtil.CaseIgnoreCmp) || uri.Scheme.Equals(Uri.UriSchemeHttps, StrUtil.CaseIgnoreCmp))) - return CreateWebClient(ioc).OpenWrite(uri, WebRequestMethods.Http.Put); + s = CreateWebClient(ioc).OpenWrite(uri, WebRequestMethods.Http.Put); + else s = CreateWebClient(ioc).OpenWrite(uri); - return CreateWebClient(ioc).OpenWrite(uri); + return IocStream.WrapIfRequired(s); } #else public static Stream OpenWrite(IOConnectionInfo ioc) @@ -443,7 +616,7 @@ namespace KeePassLib.Serialization } #endif - private static void DisposeResponse(WebResponse wr, bool bGetStream) + public static void DisposeResponse(WebResponse wr, bool bGetStream) { if(wr == null) return; debian/patches/fix-XSL-search-path.patch0000664000000000000000000000255612337600642015302 0ustar From: Debian CLI Applications Team Date: Tue, 21 Jun 2011 19:43:31 +0200 Subject: fix XSL search path search for XSL files in /usr/share/keepass2 Forwarded: not-needed --- KeePass/App/AppDefs.cs | 2 ++ KeePass/Forms/AboutForm.cs | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) --- a/KeePass/App/AppDefs.cs +++ b/KeePass/App/AppDefs.cs @@ -36,6 +36,8 @@ namespace KeePass.App public static readonly Color ColorControlDisabled = SystemColors.Control; public static readonly Color ColorEditError = Color.FromArgb(255, 192, 192); + public const string DebianDataDir = "/usr/share/keepass2/"; + public const string XslFilesDir = "XSL"; public const string XslFileHtmlLite = "KDBX_DetailsLite.xsl"; public const string XslFileHtmlFull = "KDBX_DetailsFull.xsl"; --- a/KeePass/Forms/AboutForm.cs +++ b/KeePass/Forms/AboutForm.cs @@ -89,8 +89,7 @@ namespace KeePass.Forms m_lvComponents.Items.Add(lvi); lvi = new ListViewItem(KPRes.XslStylesheetsKdbx); - string strPath = WinUtil.GetExecutable(); - strPath = UrlUtil.GetFileDirectory(strPath, true, false); + string strPath = AppDefs.DebianDataDir; strPath += AppDefs.XslFilesDir; strPath = UrlUtil.EnsureTerminatingSeparator(strPath, false); bool bInstalled = File.Exists(strPath + AppDefs.XslFileHtmlLite); debian/patches/do-not-use-the-non-free-icons.patch0000664000000000000000000004637012337600642017245 0ustar From: Debian CLI Applications Team Date: Tue, 21 Jun 2011 19:43:31 +0200 Subject: do not use the non-free icons Forwarded: not-needed --- KeePass/Properties/Resources.resx | 70 +++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 35 deletions(-) --- a/KeePass/Properties/Resources.resx +++ b/KeePass/Properties/Resources.resx @@ -413,40 +413,40 @@ ..\Resources\Nuvola\B48x48_Run.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_AmP.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_AnyPw.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_CWallet.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_PINs.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_PVault.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_PwAgent.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_PwDepot.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_PwSafe.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_Security.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\Nuvola\B16x16_Folder_Inbox.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_Whisper32.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_Steganos.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\Nuvola_Derived\B16x16_File_SaveAll.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -458,22 +458,22 @@ ..\Resources\Nuvola_Derived\B16x16_File_Close.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_PwTresor.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_SplashID.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_RoboForm.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\Nuvola\B16x16_Folder_Outbox.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_PwMem2008.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_PassKeeper.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\Nuvola\B16x16_Make_KDevelop.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -482,10 +482,10 @@ ..\Resources\Nuvola\B48x48_Make_KDevelop.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_OnePwPro.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_FlexWallet.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\Images\B16x16_FontBold.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -521,13 +521,13 @@ ..\Resources\Images\B16x16_Imp_KeePassX.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_HandySafe.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_ZdnPwPro.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_HandySafePro.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\Nuvola\B48x48_View_Detailed.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -542,13 +542,13 @@ ..\Resources\Icons\LockOverlay.ico;System.Drawing.Icon, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_PwPrompter.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_Revelation.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_DataVault.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\Images\B16x16_MenuRadio.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -557,13 +557,13 @@ ..\Resources\Nuvola\B16x16_KaboodleLoop.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_PwsPlus.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_StickyPw.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_KasperskyPwMgr.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\Nuvola_Derived\B16x16_EditCopyLink.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -572,19 +572,19 @@ ..\Resources\Nuvola_Derived\B16x16_Key_New.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_DesktopKnox.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_LastPass.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_SafeWallet.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_TurboPws.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_NetworkPwMgr.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\Nuvola_Derived\B16x16_Folder_2.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -599,9 +599,9 @@ ..\Resources\Data\MostPopularPasswords.txt.gz;System.Byte[], mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - ..\Resources\Images\B16x16_Imp_NortonIdSafe.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\Images\B16x16_Imp_Dashlane.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\Nuvola\B16x16_KGPG_Import.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - \ No newline at end of file + debian/patches/skip-sgen-run-during-build.patch0000664000000000000000000000120212337600642016723 0ustar From: Debian CLI Applications Team Date: Sun, 10 Apr 2011 15:46:08 +0200 Subject: skip sgen run during build Forwarded: not-needed --- KeePass/KeePass.csproj | 3 --- 1 file changed, 3 deletions(-) --- a/KeePass/KeePass.csproj +++ b/KeePass/KeePass.csproj @@ -1287,7 +1287,4 @@ --> - - "$(FrameworkSDKDir)bin\sgen.exe" /assembly:"$(TargetPath)" /force /nologo /compiler:/keycontainer:VS_KEY_33430356D8D7D1B8 /compiler:/delaysign- - \ No newline at end of file debian/patches/enable-local-help.patch0000664000000000000000000000331612337600642015112 0ustar From: Julian Taylor Date: Tue, 12 Jul 2011 21:51:43 +0200 Subject: enable local help disable windows chm viewer and use x-www-browser to view docs located as html files in "/usr/share/doc/keepass2/Chm/help/" Forwarded: not-needed --- KeePass/App/AppHelp.cs | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) --- a/KeePass/App/AppHelp.cs +++ b/KeePass/App/AppHelp.cs @@ -58,7 +58,7 @@ namespace KeePass.App { if(m_strLocalHelpFile == null) return false; - try { return File.Exists(m_strLocalHelpFile); } + try { return Directory.Exists(@"/usr/share/doc/keepass2/Chm/help/"); } catch(Exception) { } return false; } @@ -114,14 +114,13 @@ namespace KeePass.App private static void ShowHelpLocal(string strTopic, string strSection) { Debug.Assert(m_strLocalHelpFile != null); - - // Unblock CHM file for proper display of help contents - WinUtil.RemoveZoneIdentifier(m_strLocalHelpFile); - - string strCmd = "\"ms-its:" + m_strLocalHelpFile; + + string strCmd = @"/usr/share/doc/keepass2/Chm/help/"; if(strTopic != null) - strCmd += @"::/help/" + strTopic + ".html"; + strCmd += strTopic + ".html"; + else + strCmd += @"../index.html"; if(strSection != null) { @@ -129,12 +128,10 @@ namespace KeePass.App strCmd += @"#" + strSection; } - strCmd += "\""; - - try { Process.Start(WinUtil.LocateSystemApp("hh.exe"), strCmd); } + try { Process.Start("x-www-browser", strCmd); } catch(Exception exStart) { - MessageService.ShowWarning(@"hh.exe " + strCmd, exStart); + MessageService.ShowWarning(@"x-www-browser " + strCmd, exStart); } } debian/patches/remove-ToolsVersion-3.5.patch0000664000000000000000000000130612337600642016107 0ustar From: Julian Taylor Date: Mon, 25 Apr 2011 14:07:05 +0200 Subject: remove ToolsVersion="3.5" use debians default Forwarded: not-needed --- KeePass/KeePass.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/KeePass/KeePass.csproj +++ b/KeePass/KeePass.csproj @@ -1,4 +1,4 @@ - + Debug AnyCPU debian/patches/use-the-mono-signing-key.patch0000664000000000000000000000237012337600642016407 0ustar From: Debian CLI Applications Team Date: Sun, 10 Apr 2011 15:46:08 +0200 Subject: use the mono signing key Forwarded: not-needed --- KeePass/KeePass.csproj | 2 +- KeePassLib/KeePassLib.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- a/KeePass/KeePass.csproj +++ b/KeePass/KeePass.csproj @@ -11,7 +11,7 @@ KeePass KeePass.ico true - KeePass.pfx + /usr/share/cli-common/keys/mono.snk 2.0 --- a/KeePassLib/KeePassLib.csproj +++ b/KeePassLib/KeePassLib.csproj @@ -10,7 +10,7 @@ KeePassLib KeePassLib true - KeePassLib.pfx + /usr/share/cli-common/keys/mono.snk 2.0 debian/patches/series0000664000000000000000000000043212337600642012036 0ustar use-the-mono-signing-key.patch use-installed-ico-files.patch do-not-use-the-non-free-icons.patch skip-sgen-run-during-build.patch fix-XSL-search-path.patch remove-ToolsVersion-3.5.patch enable-local-help.patch disable-autoupdate-dialog.patch fix-webdav-storage-with-mono-2.11.patch debian/keepass2.sh0000775000000000000000000000007712337600642011253 0ustar #!/bin/sh exec /usr/bin/cli /usr/lib/keepass2/KeePass.exe "$@" debian/keepass2.xml0000664000000000000000000000052512337600642011434 0ustar KeePass 2 database KeePass 2 Datenbank debian/changelog0000664000000000000000000001376612337600642011062 0ustar keepass2 (2.25+dfsg-1ubuntu0.1) trusty-proposed; urgency=medium * fix possible dataloss when storing database via webdav (LP: #1315962) thanks to David Lechner for the original patch -- Julian Taylor Fri, 23 May 2014 10:00:20 +0200 keepass2 (2.25+dfsg-1) unstable; urgency=medium * New upstream release (Closes: #738056) -- Julian Taylor Sun, 16 Feb 2014 13:29:51 +0100 keepass2 (2.24+dfsg-1) unstable; urgency=low * New upstream release (LP: #1116512) * add xsel recommends again, issue seems to be fixed * bump standard to 3.9.5, no changes required * build with LC_ALL=C.UTF-8, required with mono 2 due unicode in source -- Julian Taylor Sun, 03 Nov 2013 20:00:42 +0100 keepass2 (2.23+dfsg-1) unstable; urgency=low * New upstream release - LP: #1011349 - LP: #1174073 * Upload to unstable * drop recommends on xsel, use sometimes causes a deadlock -- Julian Taylor Sat, 27 Jul 2013 13:08:49 +0200 keepass2 (2.22+dfsg-1) experimental; urgency=low * New upstream release (LP: #801414) * Use canonical Vcs-Git url -- Julian Taylor Sun, 14 Apr 2013 14:36:44 +0200 keepass2 (2.21+dfsg-1) experimental; urgency=low * New upstream release * Bump standard to 3.9.4, no changes required -- Julian Taylor Tue, 26 Feb 2013 20:40:14 +0100 keepass2 (2.20.1+dfsg-1) experimental; urgency=low * New upstream release - drop upstream applied fix-insecure-tempfile-use.patch - drop upstream applied enforce-minimum-window-and-slider-size.patch * recommend xsel, used for more robust clipboard handling (Closes: #645200) -- Julian Taylor Sat, 06 Oct 2012 14:28:28 +0200 keepass2 (2.19+dfsg-2) unstable; urgency=medium * fix-insecure-tempfile-use.patch: - create small tempfiles in user owned directory instead of /tmp * enforce-minimum-window-and-slider-size.patch: - Closes: #686017 * suggest mono-dmcs needed to compile plugins -- Julian Taylor Mon, 17 Sep 2012 19:31:53 +0000 keepass2 (2.19+dfsg-1) unstable; urgency=low * New upstream release (LP: #990557) - drop upstream applied fix-winforms-eventordering.patch * debian/copyright: update format url * bump to standard 3.9.3, no changes required * update short description and drop obsolete Replaces -- Julian Taylor Wed, 02 May 2012 19:21:17 +0200 keepass2 (2.18+dfsg-2) unstable; urgency=low [ Julian Taylor ] * add patch for broken event ordering in mono 2.10 [ Iain Lane ] * Exclude WinMM.dll moduleref, to work around a dh_clideps bug (can be dropped after dh_clideps 0.8.2 lands) -- Julian Taylor Sun, 15 Jan 2012 12:47:52 +0100 keepass2 (2.18+dfsg-1) unstable; urgency=low * New upstream release - refresh patches - drop upstream applied patches: explicitly-PUT-for-webdav-writes.patch prefer-4.0-framework-if-available.patch * add patch to improve autotype when dealing with multiple keyboard layouts - Thanks to amiryal for the patch * disable initial autoupdate popup via patch * update years in debian/copyright -- Julian Taylor Fri, 30 Dec 2011 15:45:59 +0100 keepass2 (2.16+dfsg-2) unstable; urgency=medium * debian/copyright: fix dep-5 syntax errors and wrong license tags * add patch: explicitly-PUT-for-webdav-writes.patch - fixes data loss when saving database to webdav with transactions -- Julian Taylor Sat, 08 Oct 2011 12:41:09 +0200 keepass2 (2.16+dfsg-1) unstable; urgency=low * New upstream release * refresh patches and remove upstream applied ones * update debian/README.source: - removed two non-free icons from orig source * update debian/README.Debian: - multiple instancse working, removed from known issues * add patch: enable-local-help.patch - enables opening of local help files from the application -- Julian Taylor Tue, 12 Jul 2011 20:19:13 +0200 keepass2 (2.15+dfsg-3) unstable; urgency=low * use archmage to create an index of the docs * register docs with doc-base * split out -doc package * patch: add xdotool keysym mapping for square brackets * patch: fix autotype for strings containing apostrophes * patch: increase tab size to avoid crash on changing tabs * patch: fix ftp database access * patch: fix WebClient for ftp access under mono (LP: #783268) * patch: make sure full block is read from crypto stream (LP: #798910) * patch: prefer 4.0 framework if available -- Julian Taylor Tue, 21 Jun 2011 19:20:37 +0200 keepass2 (2.15+dfsg-2) unstable; urgency=low * keepass2.desktop: rename Comment to GenericName * keepass2.desktop: remove security category * bump standards version to 3.9.2, no changes needed * debian/rules: whitelist optional windows module ref Imm32.dll * update manpage * add mimetype x-keepass2 for databases * added a README.Debian * new patch: 06_add-translation-search-paths.patch: - search in XDG directories for translation files * new patch: 07_fix-quicksearch-losing-results-on-defocus.patch * new patch: 08_work-around-quicksearch-crash.patch * new patch: 09_do-not-strip-leading-slash-from-command-line.patch * new patch: 10_fix-single-instance-ipc-in-mono.patch * new patch: 11_disable-multiple-instance-support.patch - broken on unix * new patch: 12_fix-single-instance-enforcement.patch - fixes breakage in mono >= 2.6.7-5 * new patch: 13-remove-ToolsVersion-3.5.patch - use Debian's default compiler, remove dependency on gmcs -- Julian Taylor Mon, 25 Apr 2011 14:22:37 +0200 keepass2 (2.15+dfsg-1) unstable; urgency=low * Initial release (Closes: #618935) -- Julian Taylor Fri, 11 Mar 2011 21:02:00 +0100 debian/keepass2-doc.doc-base0000664000000000000000000000040412337600642013050 0ustar Document: keepass2-doc Title: KeePass 2 Manual Author: Dominik Reichl Abstract: This manual describes the KeePass 2 password manager Section: Data Management Format: HTML Index: /usr/share/doc/keepass2/Chm/index.html Files: /usr/share/doc/keepass2/Chm/*.html debian/keepass2.10000664000000000000000000000151012337600642010767 0ustar .TH KEEPASS2 1 "Mar 19, 2011" .SH NAME keepass2 \- password manager .SH SYNOPSIS .B keepass2 .SH DESCRIPTION \fBKeePass2\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). debian/source/0000775000000000000000000000000012337600642010473 5ustar debian/source/format0000664000000000000000000000001412337600642011701 0ustar 3.0 (quilt) debian/watch0000664000000000000000000000013712337600642010225 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ http://sf.net/keepass/KeePass-([\d\.]+)-Source\.zip debian/manpages0000664000000000000000000000002212337600642010703 0ustar debian/keepass2.1 debian/rules0000775000000000000000000000542512337600642010261 0ustar #!/usr/bin/make -f # -*- makefile -*- export DH_VERBOSE=1 DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-\+]+)+(\+dfsg)*.*,\1,p') include /usr/share/cli-common/cli.make %: dh $@ get-orig-source: uscan --force-download --destdir=. --download-version=$(DEB_UPSTREAM_VERSION) rm -rf keepass2-$(DEB_UPSTREAM_VERSION)/ unzip KeePass-$(DEB_UPSTREAM_VERSION)-Source.zip -d keepass2-$(DEB_UPSTREAM_VERSION) find keepass2-$(DEB_UPSTREAM_VERSION)/ -name B16x16_Imp_*png | grep -v KeePassX | xargs rm -f find keepass2-$(DEB_UPSTREAM_VERSION)/ -name "*dll" -delete tar cfz keepass2_$(DEB_UPSTREAM_VERSION)+dfsg.orig.tar.gz keepass2-$(DEB_UPSTREAM_VERSION)/ rm -rf keepass2-$(DEB_UPSTREAM_VERSION)/ override_dh_auto_clean: rm -rf KeePass/obj rm -rf Build/KeePass/ rm -f debian/keepass2.png # remove files created by archmage rm -f Docs/arch_contents.html Docs/arch_frameset.html \ Docs/arch_header.html Docs/index.html Docs/arch_css.css rm -rf Docs/icons dh_auto_clean override_dh_auto_build: #mdtool build -c:Release -p:KeePass LC_ALL=C.UTF-8 xbuild /target:KeePass /property:Configuration=Release # build an index from the raw chm source python -c 'import archmod.CHM; archmod.CHM.CHMDir("Docs").process_templates("Docs/Chm")' override_dh_install: convert $(CURDIR)/KeePass/Resources/Images/KeePass.ico keepass2.png mkdir -p $(CURDIR)/debian/keepass2/usr/share/icons/hicolor/16x16/apps mv keepass2-8.png $(CURDIR)/debian/keepass2/usr/share/icons/hicolor/16x16/apps/keepass2.png mkdir -p $(CURDIR)/debian/keepass2/usr/share/icons/hicolor/32x32/apps mv keepass2-7.png $(CURDIR)/debian/keepass2/usr/share/icons/hicolor/32x32/apps/keepass2.png mkdir -p $(CURDIR)/debian/keepass2/usr/share/icons/hicolor/48x48/apps mv keepass2-6.png $(CURDIR)/debian/keepass2/usr/share/icons/hicolor/48x48/apps/keepass2.png mkdir -p $(CURDIR)/debian/keepass2/usr/share/icons/hicolor/256x256/apps mv keepass2-5.png $(CURDIR)/debian/keepass2/usr/share/icons/hicolor/256x256/apps/keepass2.png rm -f keepass2*.png dh_install mv $(CURDIR)/debian/keepass2/usr/bin/keepass2.sh $(CURDIR)/debian/keepass2/usr/bin/keepass2 override_dh_installchangelogs: dh_installchangelogs Docs/History.txt override_dh_installdocs: # skip signing key readme dh_installdocs -pkeepass2 -XReadMe_PFX.txt dh_installdocs -pkeepass2-doc -XReadMe_PFX.txt --link-doc=keepass2 override_dh_clideps: dh_clideps --exclude-moduleref=KeePassLibC32.dll --exclude-moduleref=KeePassLibC64.dll\ --exclude-moduleref=ShlWApi.dll --exclude-moduleref=Kernel32.dll \ --exclude-moduleref=User32.dll --exclude-moduleref=ComCtl32.dll \ --exclude-moduleref=ComCtl32.dll --exclude-moduleref=UxTheme.dll \ --exclude-moduleref=Shell32.dll --exclude-moduleref=DwmApi.dll \ --exclude-moduleref=Imm32.dll --exclude-moduleref=WinMM.dll debian/menu0000664000000000000000000000016612337600642010065 0ustar ?package(keepass2):needs="X11" section="Applications/System/Security"\ title="keepass2" command="/usr/bin/keepass2" debian/compat0000664000000000000000000000000212337600642010371 0ustar 7 debian/copyright0000664000000000000000000001207312337600642011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: KeePass2 Upstream-Contact: Dominik Reichl Source: http://keepass.info/ repackaged to remove icon files obtained from other password managers with non dfsg free licenses, listing in debian/README.source Files: * Copyright: 2003-2012 Dominik Reichl License: GPL-2+ Files: KeePassLibSD/* Copyright: 1999, 2000, 2001, Free Software Foundation, Inc 2001, Mike Krueger 2004, 2005 2006, John Reilly 2003-2012, Dominik Reichl License: GPL-2+ Files: debian/* Copyright: 2011, 2012, Julian Taylor License: GPL-2+ Files: KeePass/Resources/Nuvola/* KeePass/Resources/Nuvola_Client/* KeePass/Resources/Nuvola_IL/* Translation/TrlUtil/Resources/* Copyright: 2003, 2004, David Vignoni License: LGPL-2.1withAddon Files: KeePass/Resources/Nuvola_Derived/* Copyright: 2003, 2004, David Vignoni 2011, Dominik Reichl License: LGPL-2.1withAddon Files: KeePass/Resources/Images/B16x16_Imp_KeePassX.png Copyright: 2005-2008, Tarek Saidi 2007-2009, Felix Geyer License: GPL-2+ Files: KeePass/Resources/Icons/* KeePass/KeePass.ico KeePass/Resources/Images Translation/TrlUtil/Resources/KeePass.ico Copyright: 2011, Christopher Bolin License: GPL-2+ Files: KeePassLibSD/BouncyCastle/* Copyright: 2000-2010, The Legion Of The Bouncy Castle (http://www.bouncycastle.org) License: MIT License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: LGPL-2.1withAddon This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library (see the the license.txt file); if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. . #######**** NOTE THIS ADD-ON ****####### The GNU Lesser General Public License or LGPL is written for software libraries in the first place. The LGPL has to be considered valid for this artwork library too. Nuvola icon theme for KDE 3.x is a special kind of software library, it is an artwork library, it's elements can be used in a Graphical User Interface, or GUI. Source code, for this library means: - raster png image* . The LGPL in some sections obliges you to make the files carry notices. With images this is in some cases impossible or hardly usefull. With this library a notice is placed at a prominent place in the directory containing the elements. You may follow this practice. The exception in section 6 of the GNU Lesser General Public License covers the use of elements of this art library in a GUI. dave [at] icon-king.com License: MIT The Bouncy Castle License Copyright (c) 2000-2010 The Legion Of The Bouncy Castle (http://www.bouncycastle.org) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub license, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/links0000664000000000000000000000011712337600642010235 0ustar usr/share/icons/hicolor/32x32/apps/keepass2.png usr/share/pixmaps/keepass2.png debian/keepass2-doc.docs0000664000000000000000000000001112337600642012315 0ustar Docs/Chm