summaryrefslogtreecommitdiff
path: root/network/sendxmpp/patches/05.patch
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2019-01-24 18:08:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-01-24 18:08:19 +0700
commita428f1a4cd982b25fe2d5c0ba689065b4571f04f (patch)
tree70c6d1452805a806c8cc5184ee023718fdedd90b /network/sendxmpp/patches/05.patch
parent2fac409655bbb5b1101976f0e2befb7779a5047e (diff)
downloadslackbuilds-a428f1a4cd982b25fe2d5c0ba689065b4571f04f.tar.gz
network/sendxmpp: Added (send xmpp messages from the command line).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/sendxmpp/patches/05.patch')
-rw-r--r--network/sendxmpp/patches/05.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/network/sendxmpp/patches/05.patch b/network/sendxmpp/patches/05.patch
new file mode 100644
index 0000000000..363a56017f
--- /dev/null
+++ b/network/sendxmpp/patches/05.patch
@@ -0,0 +1,23 @@
+From a2f9265d49dc000d5becf65da0ec42a92eac19cb Mon Sep 17 00:00:00 2001
+From: Martin Stefany <martinstefany@users.noreply.github.com>
+Date: Sun, 7 Jun 2015 15:39:12 +0200
+Subject: [PATCH] support '-' (dash) in config file
+
+support options like 'no-tls-verify', 'tls-ca-path' in config file
+---
+ sendxmpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/sendxmpp b/sendxmpp
+index 0d7c4ff..8b2bebe 100755
+--- a/sendxmpp
++++ b/sendxmpp
+@@ -155,7 +155,7 @@ sub read_config_file ($) { # {{{
+
+ #s/\#.*$//; # ignore comments in lines
+
+- if (/^([a-z]+):\s*(.*)$/) {
++ if (/^([a-z-]+):\s*(.*)$/) {
+ $config{$1} = $2;
+ }
+ # Hugo van der Kooij <hvdkooij AT vanderkooij.org> has account with '#' as username