--- /dev/null
+sendxmpp for Debian
+-------------------
+
+Since 2.14 version, sendxmpp is using a new config file format. The file name
+must be ~/.sendxmpprc with 400 permission. See below an example of the new
+format:
+
+ username: john
+ jserver: jabber.example.com
+ port: 5222
+ password: my-very-nice-pass2
+
+There are some tips for sendxmpp 2.14, when using cryptography (I believe these
+tips will work for 2.13 version too). The following topics will require a
+special attention.
+
+1. When using sendxmpp, I get:
+
+ "Could not connect to 'jabber.example.com' on port 5222: The server requires
+ us to use TLS, but you did not specify that TLS was an option."
+
+ To solve this problem, use -t option.
+
+2. When sending a message, the following error is shown:
+
+ "Invalid or unreadable path specified for ssl_ca_path. at
+ /usr/share/perl5/XML/Stream.pm line 641."
+
+ Use '-a /etc/ssl/certs/' or '--tls-ca-path /etc/ssl/certs' option.
+
+3. I am getting several messages, similar to lines shown below:
+
+ "Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1829.
+ Use of uninitialized value $sid in concatenation (.) or string at /usr/share/perl5/XML/Stream.pm line 2740.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 2742.
+ Use of uninitialized value $sid in concatenation (.) or string at /usr/share/perl5/XML/Stream.pm line 1668.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1669.
+ Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/XML/Stream.pm line 1669.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1671.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1673.
+ Use of uninitialized value in numeric eq (==) at /usr/share/perl5/XML/Stream.pm line 1673.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1675.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1678.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 2620.
+ Use of uninitialized value $sid in concatenation (.) or string at /usr/share/perl5/XML/Stream.pm line 2740.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 2742.
+ Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/XML/Stream.pm line 1440.
+ Use of uninitialized value in numeric eq (==) at /usr/share/perl5/XML/Stream.pm line 1443.
+ Use of uninitialized value within %status in numeric eq (==) at /usr/share/perl5/XML/Stream.pm line 1506.
+ Use of uninitialized value in subtraction (-) at /usr/share/perl5/XML/Stream.pm line 1507.
+ Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/XML/Stream.pm line 1669.
+ Use of uninitialized value in numeric eq (==) at /usr/share/perl5/XML/Stream.pm line 1673.
+ Use of uninitialized value in hash element at /usr/share/perl5/Net/XMPP/Connection.pm line 433.
+ Use of uninitialized value in hash element at /usr/share/perl5/Net/XMPP/Connection.pm line 440.
+ Use of uninitialized value in hash element at /usr/share/perl5/Net/XMPP/Connection.pm line 433.
+ Use of uninitialized value in string eq at /usr/bin/sendxmpp line 515.
+ Error 'AuthSend': [?]
+ Use of uninitialized value $sid in concatenation (.) or string at /usr/share/perl5/XML/Stream.pm line 1668.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1669.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1671.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1673.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1266.
+ Use of uninitialized value in string eq at /usr/share/perl5/XML/Stream.pm line 1266.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1266.
+ Use of uninitialized value in string eq at /usr/share/perl5/XML/Stream.pm line 1266.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1267.
+ Use of uninitialized value in delete at /usr/share/perl5/XML/Stream.pm line 1267.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1268.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1270.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1270.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1270.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1270.
+ Use of uninitialized value $sid in hash element at /usr/share/perl5/XML/Stream.pm line 1270.
+ Use of uninitialized value $sid in delete at /usr/share/perl5/XML/Stream.pm line 1272."
+
+ To solve:
+
+ # apt-get install ca-certificates
+ ---> Copy the root certificate from your CA to /usr/local/share/ca-certificates/.
+ The file must use te suffix .crt, e.g. mycert.crt
+ # update-ca-certificates
+ ---> For more details: $ man update-ca-certificates
+
+4. I am seeing an unknown behaviour.
+
+ Add the '-v' option to your command line to try debug and find the problem.
+
+ -- Joao Eriberto Mota Filho <eriberto@debian.org> Tue, 18 Jul 2017 10:38:30 -0300
--- /dev/null
+sendxmpp (1.24-1) unstable; urgency=medium
+
+ * QA upload.
+ * New upstream release.
+ * debian/copyright: updated the upstream copyright years.
+ * debian/README.Debian: added to explain about some issues. (LP: #940931)
+
+ -- Joao Eriberto Mota Filho <eriberto@debian.org> Tue, 18 Jul 2017 10:38:30 -0300
+
+sendxmpp (1.23-2) unstable; urgency=medium
+
+ * QA upload.
+ * Ack for NMU. Thanks to Helmut Grohne <helmut@subdivi.de>. (Closes: #710285)
+ * Set QA Group as maintainer. (see #868447)
+ * New upstream homepage.
+ * Migrations:
+ - debian/copyright to 1.0 format.
+ - DH level to 10.
+ * debian/control:
+ - Added a Homepage field.
+ - Bumped Standards-Version to 4.0.0.
+ - Improved the description.
+ * debian/dirs: not needed. Removed.
+ * debian/sendxmpp.examples: renamed to debian/examples.
+ * debian/watch: created.
+
+ -- Joao Eriberto Mota Filho <eriberto@debian.org> Mon, 17 Jul 2017 16:11:41 -0300
+
+sendxmpp (1.23-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload. Acknowledged by Guus Sliepen.
+ * Restore the ability to send normal messages. Closes: #710285
+
+ -- Helmut Grohne <helmut@subdivi.de> Mon, 13 Oct 2014 14:21:06 +0200
+
+sendxmpp (1.23-1) unstable; urgency=low
+
+ * New upstream release.
+ * Replace debian/rules with dh sequencer.
+ * Bump Standards-Version and debian/compat.
+
+ -- Guus Sliepen <guus@debian.org> Sun, 05 May 2013 11:44:57 +0200
+
+sendxmpp (1.22-1) unstable; urgency=low
+
+ * New upstream release. Closes: #607074
+ - Fixes altering jid unnecessarily. Closes: #559716
+ * Bump Standards-Version.
+ * Add build-arch and build-indep targets to debian/rules.
+
+ -- Guus Sliepen <guus@debian.org> Mon, 14 Nov 2011 10:46:59 +0100
+
+sendxmpp (1.20-1) unstable; urgency=low
+
+ * New upstream release.
+ * Convert source package to 3.0 (quilt) format.
+ * Bump Standards-Version.
+
+ -- Guus Sliepen <guus@debian.org> Sun, 24 Jan 2010 12:11:38 +0100
+
+sendxmpp (1.18-1) unstable; urgency=low
+
+ * New upstream release.
+ - Sets correct message type. Closes: #520110
+
+ -- Guus Sliepen <guus@debian.org> Wed, 10 Jun 2009 17:20:25 +0200
+
+sendxmpp (1.15-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Guus Sliepen <guus@debian.org> Tue, 28 Oct 2008 09:38:48 +0100
+
+sendxmpp (1.14-1) unstable; urgency=low
+
+ * New upstream release.
+ - Allow specification of alternative hostname for server. Closes: #497829
+ * Bump Standards-Version.
+ * Rename build-arch to build-indep in debian/rules.
+
+ -- Guus Sliepen <guus@debian.org> Tue, 23 Sep 2008 15:40:06 +0200
+
+sendxmpp (1.13-1.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix !$port to $port. Closes #496823
+
+ -- Andreas Barth <aba@not.so.argh.org> Sun, 21 Sep 2008 09:08:06 +0000
+
+sendxmpp (1.13-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Guus Sliepen <guus@debian.org> Thu, 13 Sep 2007 16:38:28 +0200
+
+sendxmpp (0.0.8+cvs20061115-1) unstable; urgency=low
+
+ * New upstream release. Closes: #356258, #397396
+
+ -- Guus Sliepen <guus@debian.org> Wed, 15 Nov 2006 12:22:07 +0100
+
+sendxmpp (0.0.8-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Guus Sliepen <guus@debian.org> Wed, 18 May 2005 11:21:14 +0200
+
+sendxmpp (0.0.7.1-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Guus Sliepen <guus@debian.org> Wed, 4 May 2005 12:22:51 +0200
+
+sendxmpp (0.0.5-2) unstable; urgency=low
+
+ * It's just a script and a manpage, so set Architecture: all.
+
+ -- Guus Sliepen <guus@debian.org> Wed, 8 Dec 2004 13:18:44 +0100
+
+sendxmpp (0.0.5-1) unstable; urgency=low
+
+ * Initial Release.
+ * Fix NAME section in manpage.
+
+ -- Guus Sliepen <guus@debian.org> Sat, 4 Dec 2004 16:14:06 +0100
+
--- /dev/null
+Source: sendxmpp
+Section: net
+Priority: optional
+Maintainer: Debian QA Group <packages@qa.debian.org>
+Build-Depends: debhelper (>= 10), perl
+Standards-Version: 4.0.0
+Homepage: https://github.com/lhost/sendxmpp
+
+Package: sendxmpp
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libnet-xmpp-perl
+Description: command line XMPP (jabber) utility
+ sendxmpp is a perl script to send text XMPP (jabber) messages, similar
+ to what mail(1) and sendmail(1) does for mail.
+ .
+ sendxmpp is useful for monitoring remote servers (it can warn sending
+ xmpp-messages), and watching VCS commit messages (developers are all
+ connected to a XMPP-chatroom to which messages are sent.
+ .
+ XMPP is an open, non-proprietary protocol for instant messaging. See
+ www.jabber.org for more information.
--- /dev/null
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: sendxmpp
+Source: https://github.com/lhost/sendxmpp
+
+Files: *
+Copyright: 2004-2005 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
+ 2006-2014 Lubomir Host 'rajo' <lubomir.host@gmail.com>
+License: GPL-2
+
+Files: debian/*
+Copyright: 2004-2013 Guus Sliepen <guus@debian.org>
+ 2008 Andreas Barth <aba@not.so.argh.org>
+ 2014 Helmut Grohne <helmut@subdivi.de>
+ 2017 Joao Eriberto Mota Filho <eriberto@debian.org>
+License: GPL-2+
+
+License: GPL-2 or GPL-2+
+ This package 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 package 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 program. If not, see <https://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
--- /dev/null
+examples/*
--- /dev/null
+From: Helmut Grohne <helmut@subdivi.de>
+Subject: restore the ability to send normal messages
+Bug-Debian: https://bugs.debian.org/710285
+Last-Modified: 2013-05-29
+
+The lenny package could send these messages and version 1.20-1 dropped this
+functionality. Normal messages are like headline messages except they are not
+discarded when the contact is unavailable but queued instead.
+
+Index: sendxmpp-1.23/sendxmpp
+===================================================================
+--- sendxmpp-1.23.orig/sendxmpp 2012-10-28 13:48:19.000000000 +0100
++++ sendxmpp-1.23/sendxmpp 2014-10-13 14:16:23.000000000 +0200
+@@ -47,7 +47,7 @@
+ my $VERBOSE = 0;
+ my $DEBUG = 0;
+ # http://tools.ietf.org/html/rfc3921#section-2 section 2.1.1 - Types of Message
+-my @suppported_message_types = qw( chat error groupchat headline );
++my @suppported_message_types = qw( chat error groupchat headline normal );
+ my $message_type = 'chat'; # default message type
+
+ # start!
--- /dev/null
+bug-710285-message-type-normal.diff
--- /dev/null
+#!/usr/bin/make -f
+
+%:
+ dh $@
--- /dev/null
+3.0 (quilt)
--- /dev/null
+version=4
+https://github.com/lhost/sendxmpp/releases .*/archive/v?(\d\S+)\.tar\.(?:bz2|gz|xz)