summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorAndrew Shadura <andrewsh@debian.org>2015-11-01 19:41:28 +0100
committerAndrew Shadura <andrewsh@debian.org>2015-11-01 19:41:28 +0100
commit61c1a106bd81794f48e4cd85bae129f9270279e8 (patch)
tree29ecf644c4a13c2645bd8067e66ae8944dd2daf9 /debian/patches
libdigidoc (3.10.1.1208-1) unstable; urgency=medium
* Initial upload (Closes: #658300). # imported from the archive
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/01-manpage.patch32
-rw-r--r--debian/patches/02-no-rpath.patch12
-rw-r--r--debian/patches/series2
3 files changed, 46 insertions, 0 deletions
diff --git a/debian/patches/01-manpage.patch b/debian/patches/01-manpage.patch
new file mode 100644
index 0000000..f79a6a6
--- /dev/null
+++ b/debian/patches/01-manpage.patch
@@ -0,0 +1,32 @@
+From fa90da1834c255ed72e377a96e5c92f8e1a858de Mon Sep 17 00:00:00 2001
+From: Andrew Shadura <andrew@shadura.me>
+Date: Sun, 1 Nov 2015 19:07:15 +0100
+Subject: [PATCH] Fix spelling in the manpage
+
+Signed-off-by: Andrew Shadura <andrew@shadura.me>
+---
+ libdigidoc/cdigidoc.1.cmake | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libdigidoc/cdigidoc.1.cmake b/libdigidoc/cdigidoc.1.cmake
+index 20ad67e..effe492 100644
+--- a/libdigidoc/cdigidoc.1.cmake
++++ b/libdigidoc/cdigidoc.1.cmake
+@@ -200,7 +200,7 @@ Decrypts and possibly decompresses the encrypted file just read in and writes to
+ Input file (required) specifies the input file’s name.
+ Pin (required) represents the recipient’s pin1 (in context of Estonian ID cards).
+ pkcs12-file (optional) specifies the PKCS#12 file if decrypting is done with a software token.
+-slot deafult is slot 0 containing Estonian ID cards authentication keypair. This parameter can be used to decrypt with a key from the second id card attached to the computer etc.
++slot default is slot 0 containing Estonian ID cards authentication keypair. This parameter can be used to decrypt with a key from the second id card attached to the computer etc.
+ Note: There are also alternative commands for decryption, depending on the encrypted file’s format, size and the certificate type used for decrypting it.
+ .RS
+ .TP
+@@ -209,7 +209,7 @@ Offers same functionality as -decrypt-sk, should be used for decrypting small fi
+ Input file (required) specifies the input file’s name.
+ Pin (required) represents the recipient’s pin1 (in contexts of Estonian ID cards).
+ pkcs12-file (optional) specifies the PKCS#12 file if decrypting is done with a software token.
+-slot deafult is slot 0 containing Estonian ID cards authentication keypair. This parameter can be used to decrypt with a key from the second id card attached to the computer etc.
++slot default is slot 0 containing Estonian ID cards authentication keypair. This parameter can be used to decrypt with a key from the second id card attached to the computer etc.
+ .TP
+ .I "-decrypt-file <input-file> <output-file> <pin> [pkcs12-file]"
+ Offers same functionality as -decrypt for decrypting documents, should be used for decrypting large files (which do not need to be inside a DigiDoc container). Expects the encrypted data not to be compressed. Note that the command is not currently tested.
diff --git a/debian/patches/02-no-rpath.patch b/debian/patches/02-no-rpath.patch
new file mode 100644
index 0000000..9e03800
--- /dev/null
+++ b/debian/patches/02-no-rpath.patch
@@ -0,0 +1,12 @@
+Subject: No rpath, please.
+
+--- a/libdigidoc/CMakeLists.txt
++++ b/libdigidoc/CMakeLists.txt
+@@ -94,7 +94,6 @@
+ )
+
+ add_executable(cdigidoc cdigidoc.c cdigidoc.rc)
+-set_target_properties(cdigidoc PROPERTIES INSTALL_RPATH "@loader_path/../../../..;@loader_path/../..")
+ target_link_libraries(cdigidoc digidoc)
+
+ install( TARGETS digidoc
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b8d86dd
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+01-manpage.patch
+02-no-rpath.patch