--- libxml-stream-perl-1.23.orig/debian/watch +++ libxml-stream-perl-1.23/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/XML-Stream/ .*/XML-Stream-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libxml-stream-perl-1.23.orig/debian/compat +++ libxml-stream-perl-1.23/debian/compat @@ -0,0 +1 @@ +7 --- libxml-stream-perl-1.23.orig/debian/changelog +++ libxml-stream-perl-1.23/debian/changelog @@ -0,0 +1,203 @@ +libxml-stream-perl (1.23-2) unstable; urgency=low + + * Team upload. + * Add 687059_Use-of-uninitialized-value.patch (closes: #687059). + + -- Florian Schlichting Sun, 04 Nov 2012 22:10:09 +0100 + +libxml-stream-perl (1.23-1) unstable; urgency=low + + * New upstream release + * Update copyright information and clauses + * Remove resolver.patch, applied upstream + * Refresh parts of gssapi.patch not applied upstream + * Add myself to uploaders and Copyright + * Rewrite control description + + -- Jonathan Yu Sat, 09 Jan 2010 12:49:51 -0500 + +libxml-stream-perl (1.22-4) unstable; urgency=low + + [ gregor herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). + * Set Maintainer to Debian Perl Group. + * Use dist-based URL in debian/watch. + * Split out changes in lib/XML/Stream.pm into patches; add quilt framework. + * don't install README any more. + * debian/control: move Suggests from source to binary stanza. + * Add debian/README.source to document quilt usage, as required by + Debian Policy since 3.8.0. + * debian/control: Added: ${misc:Depends} to Depends: field. + + [ Salvatore Bonaccorso ] + * debian/control: Changed: Replace versioned (build-)dependency on + perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as + permitted by Debian Policy 3.8.3). + + [ Ansgar Burchardt ] + * debian/control: Remove duplicate Section, Priority fields from binary + package stanza. + * debian/control: Mention module name in description. + * Bump Standards-Version to 3.8.3. + * Refresh rules for debhelper 7. + * Add myself to Uploaders. + * debian/watch: Use extended regular expression to match upstream releases. + * debian/rules: Move t/lib aside while running tests to use Test::Simple + bundled with perl instead of a local copy. + + -- Ansgar Burchardt Sun, 03 Jan 2010 20:52:36 +0900 + +libxml-stream-perl (1.22-3) unstable; urgency=low + + * Thanks to Andreas for the upload (Closes: #427071) + * Added Suggests: libnet-dns-perl + * Accepted patch from Pablo Barbachano. Thanks! (Closes: #395395) + * Updated debian/watch so that uupdate will work + * Policy-version bump to 3.7.2.2 (no other changes) + * Updated debhelper into Build-Depends instead of -Indep for lintian + * Only conditionally ignore make clean, also for lintian + + -- Jay Bonci Sat, 07 Jul 2007 17:53:40 -0400 + +libxml-stream-perl (1.22-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix GSSAPI SASL authentication. Closes: #427071 + + -- Andreas Barth Tue, 3 Jul 2007 20:24:26 +0000 + +libxml-stream-perl (1.22-2) unstable; urgency=low + + * Fixes FTBFS. (Build) Dep on libauthen-sasl-perl (Closes: #276283) + + -- Jay Bonci Wed, 13 Oct 2004 03:44:13 -0400 + +libxml-stream-perl (1.22-1) unstable; urgency=low + + * New upstream version (Closes: #272847) + * Adds debian/watch file so uscan will actually work + + -- Jay Bonci Thu, 30 Sep 2004 10:27:21 -0400 + +libxml-stream-perl (1.17-1) unstable; urgency=low + + * New upstream version (Closes: #215615) + * New Maintainer (Closes: #210545) + * Clarified license as GPL-only + * Updated to policy version 3.6.1.0 (no other changes) + * Removed install file as it is no longer needed + + -- Jay Bonci Mon, 15 Mar 2004 15:31:53 -0500 + +libxml-stream-perl (1.16-2) unstable; urgency=low + + * debian/rules: moved debhelper compatibility level setting to + 'debian/compat' per latest debhelper best practices + * debian/control: updated sections according to latest archive changes: + - 'libxml-stream-perl' from 'interpreters' to 'perl' + * debian/control: upgraded build dependency on 'debhelper' to '>= 4.1' + * debian/control: upgraded to Debian Policy 3.6.0 (no changes) + + -- Ardo van Rangelrooij Mon, 1 Sep 2003 12:06:16 -0500 + +libxml-stream-perl (1.16-1) unstable; urgency=low + + * New upstream release + - skip tests requiring Internet connection if none present + (closes: Bug#165170) + * debian/control: removed obsolete (build) dependency on + 'libunicode-string-perl' + * debian/control: upgraded to Debian Policy 3.5.7 (no changes) + + -- Ardo van Rangelrooij Sun, 10 Nov 2002 19:27:58 -0600 + +libxml-stream-perl (1.15-2) unstable; urgency=low + + * debian/rules: upgraded to debhelper v4 + * debian/control: changed build dependency on debhelper accordingly + * debian/rules: migrated from 'dh_movefiles' to 'dh_install' + * debian/rules: split off 'install' target from 'binary-indep' target + * debian/copyright: added pointer to license + (closes: Bug#157679) + * debian/control: added (build) dependency on 'libio-socket-ssl-perl' + + -- Ardo van Rangelrooij Sat, 21 Sep 2002 13:29:05 -0500 + +libxml-stream-perl (1.15-1) unstable; urgency=low + + * New upstream release + + -- Ardo van Rangelrooij Sat, 15 Jun 2002 12:58:28 -0500 + +libxml-stream-perl (1.14-2) unstable; urgency=low + + * Stream/Parser.pm: applied another patch to silence perl when running + with the '-w' option + (closes: Bug#125745) (thanks Michael) + + -- Ardo van Rangelrooij Fri, 21 Dec 2001 19:57:40 -0600 + +libxml-stream-perl (1.14-1) unstable; urgency=low + + * New upstream release + + -- Ardo van Rangelrooij Sun, 11 Nov 2001 10:56:33 -0600 + +libxml-stream-perl (1.13-1) unstable; urgency=low + + * New upstream release + (closes: Bug#118020) + * Stream/Parser.pm: applied patch to silence perl when running with the + '-w' option + (closes: Bug#118029) (thanks Michael) + * debian/control: removed obsolete (build) dependency on + 'libxml-parser-perl' + * debian/control: added missing (build) dependency on + 'libunicode-string-perl' + * debian/control: upgraded to Debian Policy 3.5.6 + + -- Ardo van Rangelrooij Sat, 3 Nov 2001 13:43:54 -0600 + +libxml-stream-perl (1.12-2) unstable; urgency=low + + * debian/control: upgraded to Debian Policy 3.5.5 + * debian/control: upgraded to Debian Perl Policy 1.20 + + -- Ardo van Rangelrooij Sun, 2 Sep 2001 17:52:34 -0500 + +libxml-stream-perl (1.12-1) unstable; urgency=low + + * New upstream release + + -- Ardo van Rangelrooij Sun, 27 May 2001 22:53:59 -0500 + +libxml-stream-perl (1.11-1) unstable; urgency=low + + * New upstream release + * debian/control: updated 'debhelper' dependency to remove 'dh_testversion' + * debian/control: upgraded to Debian Policy 3.5.2 + * debian/control: upgraded to Debian Perl Policy 1.17 + * debian/rules: upgraded to Debian Perl Policy 1.17 + + -- Ardo van Rangelrooij Sun, 15 Apr 2001 19:24:58 -0500 + +libxml-stream-perl (1.10-1) unstable; urgency=low + + * New upstream release + * debian/control: upgraded to Debian Policy 3.2.1 + * debian/rules: upgraded to debhelper v3 + + -- Ardo van Rangelrooij Wed, 17 Jan 2001 13:57:34 -0600 + +libxml-stream-perl (1.09-1) unstable; urgency=low + + * New upstream release + + -- Ardo van Rangelrooij Sat, 14 Oct 2000 19:28:03 -0500 + +libxml-stream-perl (1.05-1) unstable; urgency=low + + * Initial Release + + -- Ardo van Rangelrooij Fri, 21 Jul 2000 11:39:59 +0200 --- libxml-stream-perl-1.23.orig/debian/README.source +++ libxml-stream-perl-1.23/debian/README.source @@ -0,0 +1,5 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source for a detailed explanation. --- libxml-stream-perl-1.23.orig/debian/copyright +++ libxml-stream-perl-1.23/debian/copyright @@ -0,0 +1,50 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Maintainer: Darian Anthony Patrick +Source: http://search.cpan.org/dist/XML-Stream/ +Name: XML-Stream + +Files: * +Copyright: 1998-2004, Jabber Software Foundation +License: GPL-2+ + +Files: t/lib/Test/Builder.pm +Copyright: 2002, chromatic + 2002, Michael G Schwern +License: Artistic or GPL-1+ + +Files: t/lib/Test/Simple.pm, t/lib/Test/More.pm +Copyright: 2001, Michael G Schwern +License: Artistic or GPL-1+ + +Files: debian/* +Copyright: 2010, Jonathan Yu + 2010, Ansgar Burchardt + 2007, Andreas Barth + 2004-2007, Jay Bonci + 2000-2003, Ardo van Rangelrooij +License: Artistic or GPL-1+ + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + . + On Debian GNU/Linux systems, the complete text of the Artistic License + can be found in `/usr/share/common-licenses/Artistic' + +License: GPL-1+ + This program 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 1, or (at your option) + any later version. + . + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL' + +License: GPL-2+ + This program 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, or (at your option) + any later version. + . + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-2' --- libxml-stream-perl-1.23.orig/debian/rules +++ libxml-stream-perl-1.23/debian/rules @@ -0,0 +1,8 @@ +#!/usr/bin/make -f +%: + dh --with quilt $@ + +override_dh_auto_test: + [ ! -d t/lib ] || mv t/lib t/lib-do-not-use + dh_auto_test + [ ! -d t/lib-do-not-use ] || mv t/lib-do-not-use t/lib --- libxml-stream-perl-1.23.orig/debian/libxml-stream-perl.docs +++ libxml-stream-perl-1.23/debian/libxml-stream-perl.docs @@ -0,0 +1 @@ +INFO --- libxml-stream-perl-1.23.orig/debian/control +++ libxml-stream-perl-1.23/debian/control @@ -0,0 +1,24 @@ +Source: libxml-stream-perl +Section: perl +Priority: optional +Maintainer: Debian Perl Group +Uploaders: Jay Bonci , Jonathan Yu , + Ansgar Burchardt +Standards-Version: 3.8.3 +Homepage: http://search.cpan.org/dist/XML-Stream/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libxml-stream-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libxml-stream-perl/ +Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7) +Build-Depends-Indep: perl, libio-socket-ssl-perl, libauthen-sasl-perl + +Package: libxml-stream-perl +Architecture: all +Depends: ${misc:Depends}, ${perl:Depends}, libio-socket-ssl-perl, libauthen-sasl-perl +Suggests: libnet-dns-perl +Description: module for manipulating streaming XML data + XML::Stream is a Perl module that provides the user with methods to connect + to a remote server, send a stream of XML to the server and receive/parse an + XML stream from the server. + . + It is primarily based on work for the Jabber Development Team's Etherx XML + Router. For details, see --- libxml-stream-perl-1.23.orig/debian/patches/687059_Use-of-uninitialized-value.patch +++ libxml-stream-perl-1.23/debian/patches/687059_Use-of-uninitialized-value.patch @@ -0,0 +1,25 @@ +Description: Fix "Use of uninitialized value within @_ ..." warning + XML::Stream::Parser::new is always called with an odd number of + elements (class name and a hash of arguments), so shifting the class + name off allows the list to hash conversion to complete without trying + to pop an element from an empty list. +Origin: https://github.com/dap/XML-Stream/commit/7902f8334346590babcf5ac7e1a5c03acc9fa6a2 +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=56574 +Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687059 +Reviewed-by: Florian Schlichting + +--- a/lib/XML/Stream/Parser.pm ++++ b/lib/XML/Stream/Parser.pm +@@ -63,9 +63,11 @@ + + sub new + { ++ my $class = shift; ++ + my $self = { }; + +- bless($self); ++ bless($self, $class); + + my %args; + while($#_ >= 0) { $args{ lc pop(@_) } = pop(@_); } --- libxml-stream-perl-1.23.orig/debian/patches/gssapi.patch +++ libxml-stream-perl-1.23/debian/patches/gssapi.patch @@ -0,0 +1,20 @@ +Author: Mikael Magnusson +Description: GSSAPI SASL authentication +Bug: #427071 + +--- a/lib/XML/Stream.pm ++++ b/lib/XML/Stream.pm +@@ -2075,7 +2075,12 @@ + $response = $self->{SIDS}->{$sid}->{sasl}->{client}->client_step($challenge); + } + +- my $response64 = MIME::Base64::encode_base64($response,""); ++ my $response64 = ""; ++ if (defined $response) ++ { ++ $response64 = MIME::Base64::encode_base64($response,""); ++ } ++ + $self->SASLResponse($sid,$response64); + } + --- libxml-stream-perl-1.23.orig/debian/patches/series +++ libxml-stream-perl-1.23/debian/patches/series @@ -0,0 +1,2 @@ +gssapi.patch +687059_Use-of-uninitialized-value.patch