summaryrefslogtreecommitdiffhomepage
path: root/debian/patches
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-10-22 12:20:21 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-10-22 12:20:21 -0700
commitd0190a3cfa448da460aa8ad9eb58df417a3cdc05 (patch)
tree214df4bf9fe15c93bfdd5321fad9d105bcc5a0c4 /debian/patches
parentc8f1df72c896ad6040526583efb8370fbce08381 (diff)
downloadkeysafe-d0190a3cfa448da460aa8ad9eb58df417a3cdc05.tar.gz
add patches fixing things caught by Lintian
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/add-keywords-to-desktop-file.patch17
-rw-r--r--debian/patches/fix-manpage-syntax-error.patch22
-rw-r--r--debian/patches/fix-spelling-errors-caught-by-lintian.patch35
-rw-r--r--debian/patches/series3
4 files changed, 77 insertions, 0 deletions
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 <spwhitton@spwhitton.name>
+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 <spwhitton@spwhitton.name>
+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 <spwhitton@spwhitton.name>
+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