Import Debian changes 1.24-1 master debian/1.24-1
authorJoao Eriberto Mota Filho <eriberto@debian.org>
Tue, 18 Jul 2017 13:38:30 +0000 (10:38 -0300)
committerThadeu Lima de Souza Cascardo <cascardo@cascardo.eti.br>
Fri, 11 Aug 2017 22:35:32 +0000 (19:35 -0300)
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)

12 files changed:
debian/README.Debian [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/examples [new file with mode: 0644]
debian/patches/bug-710285-message-type-normal.diff [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]
debian/watch [new file with mode: 0644]

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..7241b26
--- /dev/null
@@ -0,0 +1,88 @@
+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
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..61f4ae7
--- /dev/null
@@ -0,0 +1,126 @@
+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
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..f599e28
--- /dev/null
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..263526b
--- /dev/null
@@ -0,0 +1,21 @@
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..9c35cdb
--- /dev/null
@@ -0,0 +1,32 @@
+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".
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..e845566
--- /dev/null
@@ -0,0 +1 @@
+README
diff --git a/debian/examples b/debian/examples
new file mode 100644 (file)
index 0000000..e39721e
--- /dev/null
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/patches/bug-710285-message-type-normal.diff b/debian/patches/bug-710285-message-type-normal.diff
new file mode 100644 (file)
index 0000000..c65fbbf
--- /dev/null
@@ -0,0 +1,22 @@
+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!
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..e31965a
--- /dev/null
@@ -0,0 +1 @@
+bug-710285-message-type-normal.diff
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..2d33f6a
--- /dev/null
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+       dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..44afcbc
--- /dev/null
@@ -0,0 +1,2 @@
+version=4
+https://github.com/lhost/sendxmpp/releases .*/archive/v?(\d\S+)\.tar\.(?:bz2|gz|xz)