From d0190a3cfa448da460aa8ad9eb58df417a3cdc05 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sat, 22 Oct 2016 12:20:21 -0700 Subject: add patches fixing things caught by Lintian --- debian/patches/add-keywords-to-desktop-file.patch | 17 +++++++++++ debian/patches/fix-manpage-syntax-error.patch | 22 ++++++++++++++ .../fix-spelling-errors-caught-by-lintian.patch | 35 ++++++++++++++++++++++ debian/patches/series | 3 ++ 4 files changed, 77 insertions(+) create mode 100644 debian/patches/add-keywords-to-desktop-file.patch create mode 100644 debian/patches/fix-manpage-syntax-error.patch create mode 100644 debian/patches/fix-spelling-errors-caught-by-lintian.patch create mode 100644 debian/patches/series (limited to 'debian/patches') diff --git a/debian/patches/add-keywords-to-desktop-file.patch b/debian/patches/add-keywords-to-desktop-file.patch new file mode 100644 index 0000000..1d03eef --- /dev/null +++ b/debian/patches/add-keywords-to-desktop-file.patch @@ -0,0 +1,17 @@ +From: Sean Whitton +Date: Sat, 22 Oct 2016 12:09:08 -0700 +Subject: add keywords to desktop file + +--- + keysafe.desktop | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/keysafe.desktop b/keysafe.desktop +index fd82b85..51077c0 100644 +--- a/keysafe.desktop ++++ b/keysafe.desktop +@@ -6,3 +6,4 @@ Comment=Back up or restore your private Gnupg key with Keysafe + Terminal=false + Exec=/usr/bin/keysafe + Categories=Network; ++Keywords=backup;key;encryption;gnupg;openpgp;pgp;gpg diff --git a/debian/patches/fix-manpage-syntax-error.patch b/debian/patches/fix-manpage-syntax-error.patch new file mode 100644 index 0000000..27d6836 --- /dev/null +++ b/debian/patches/fix-manpage-syntax-error.patch @@ -0,0 +1,22 @@ +From: Sean Whitton +Date: Sat, 22 Oct 2016 12:18:08 -0700 +Subject: fix manpage syntax error + +"67: warning: numeric expression expected (got `B')" +--- + keysafe.1 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/keysafe.1 b/keysafe.1 +index c22d337..39465b6 100644 +--- a/keysafe.1 ++++ b/keysafe.1 +@@ -64,7 +64,7 @@ and --port and --address to configure how the server listens to + connections. It's recommended to only expose keysafe servers over a tor + hidden service. + .PP +-.IP --backup-server BACKUPDIR ++.IP \--backup-server BACKUPDIR + Run on a server, populates the BACKUPDIR with a gpg encrypted backup + of all the objects stored in the --store-directory. This is designed + to be rsynced offsite (with --delete) to back up a keysafe server with diff --git a/debian/patches/fix-spelling-errors-caught-by-lintian.patch b/debian/patches/fix-spelling-errors-caught-by-lintian.patch new file mode 100644 index 0000000..232d44e --- /dev/null +++ b/debian/patches/fix-spelling-errors-caught-by-lintian.patch @@ -0,0 +1,35 @@ +From: Sean Whitton +Date: Sat, 22 Oct 2016 12:07:24 -0700 +Subject: fix spelling errors caught by lintian + +--- + keysafe.1 | 2 +- + keysafe.hs | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/keysafe.1 b/keysafe.1 +index c278bb1..c22d337 100644 +--- a/keysafe.1 ++++ b/keysafe.1 +@@ -29,7 +29,7 @@ to decrypt. This makes it hard for an attacker to crack your password, + because each guess they make costs them. + .PP + Keysafe is designed so that it should take millions of dollars of computer +-time to crack any fairly good password. With a truely good ++time to crack any fairly good password. With a truly good + password, such as four random words, the cracking cost should be many + trillions of dollars. Keysafe checks your password strength (using the + zxcvbn library), and shows an estimate of the cost to crack your password, +diff --git a/keysafe.hs b/keysafe.hs +index 1e64226..996c0a7 100644 +--- a/keysafe.hs ++++ b/keysafe.hs +@@ -144,7 +144,7 @@ backup cmdline ui tunables distinguisher (secretkeysource, secretkey) = do + if queued + then do + willautostart <- isAutoStartFileInstalled +- showInfo ui "Backup queued" $ "Some data was not sucessfully uploaded to servers, and has been queued for later upload." ++ showInfo ui "Backup queued" $ "Some data was not successfully uploaded to servers, and has been queued for later upload." + ++ if willautostart then "" else " Run keysafe --uploadqueued at a later point to finish the backup." + else showInfo ui "Backup success" "Your secret key was successfully encrypted and backed up." + StoreFailure s -> showError ui ("There was a problem storing your encrypted secret key: " ++ s) diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..05b7591 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,3 @@ +fix-spelling-errors-caught-by-lintian.patch +add-keywords-to-desktop-file.patch +fix-manpage-syntax-error.patch -- cgit v1.2.3