debian/0000755000000000000000000000000012123761227007171 5ustar debian/copyright0000644000000000000000000000251012123761227011122 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Ryan Eatmon Source: http://search.cpan.org/dist/Net-Jabber/ Name: Net-Jabber Copyright: 2000-2004, Ryan Eatmon License: Artistic or GPL-1+ (from end of .pm files; Ryan Eatmon only given as author) OR Copyright: 1998-2002, Jabber Software Foundation http://jabber.org/ License: LGPL-2+ (from top of .pm files) Files: debian/* Copyright: 2001-2003, Michael Alan Dorman 2004-2006, Florian Ragwitz 2006, Mohammed Adnène Trojette 2008, Mark Hymers 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 version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000016012123761227010217 0ustar version=3 http://search.cpan.org/dist/Net-Jabber/ .+/Net-Jabber-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/control0000644000000000000000000000161412123761227010576 0ustar Source: libnet-jabber-perl Section: perl Priority: optional Maintainer: Debian Perl Group Uploaders: Dominic Hargreaves Build-Depends: debhelper (>= 7) Build-Depends-Indep: perl, libnet-xmpp-perl, libtime-modules-perl Standards-Version: 3.9.1 Homepage: http://search.cpan.org/dist/Net-Jabber/ Vcs-Git: git://git.debian.org/pkg-perl/packages/libnet-jabber-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libnet-jabber-perl.git Package: libnet-jabber-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libnet-xmpp-perl Description: Perl modules for accessing the Jabber protocol Net::Jabber is a collection of Perl modules that provide a Perl Developer access to the Jabber protocol. Using OOP modules we provide a clean interface to writing anything from a full client to a simple protocol tester. debian/changelog0000644000000000000000000001046012123761227011044 0ustar libnet-jabber-perl (2.0-5) unstable; urgency=low * Team upload. * Add 30use_Digest-SHA.patch. Use Digest::SHA from Perl core present since 5.9.3. libdigest-sha1-perl was removed from Debian. Thanks to Adrian La Duca (Closes: #703862) -- Salvatore Bonaccorso Mon, 25 Mar 2013 06:29:54 +0100 libnet-jabber-perl (2.0-4) unstable; urgency=low [ gregor herrmann ] * Take over for the Debian Perl Group with maintainer's permission (http://lists.debian.org/debian-perl/2008/06/msg00039.html) * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). Changed: Maintainer set to Debian Perl Group (was: Florian Ragwitz ); Florian Ragwitz moved to Uploaders. * Add debian/watch. * Switch patch system from dpatch to quilt. * debian/control: Added: ${misc:Depends} to Depends: field. [ Ryan Niebur ] * Remove Florian Ragwitz from Uploaders * Close ITA (Closes: #523224) [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Ansgar Burchardt ] * Use debhelper 7. * Use source format 3.0 (quilt). * Convert debian/copyright to proposed machine-readable format. * Bump Standards-Version to 3.9.1. * debian/control: Convert Vcs-* fields to Git. [ Dominic Hargreaves ] * Fix FTBFS with perl 5.14 with our patched t/2_client.t: skip tests in the Test::More 'use' line rather than later, so that it takes effect before the use_ok in the BEGIN block -- Dominic Hargreaves Wed, 03 Aug 2011 21:05:37 +0100 libnet-jabber-perl (2.0-3.1) unstable; urgency=low * Non-maintainer upload. * Fix FTBFS with Perl 5.10. Closes: #467813 -- Mark Hymers Sat, 05 Apr 2008 21:09:01 +0100 libnet-jabber-perl (2.0-3) unstable; urgency=medium * Use my @debian.org address in the Maintainer field. * Use DH_COMPAT 5. * Clean up debian/rules. * Clean up debian/patches. * Remove adn's hack for #380270 and add a dpatch, which skips t/2_client.t properly. -- Florian Ragwitz Sun, 6 Aug 2006 18:52:52 +0200 libnet-jabber-perl (2.0-2.1) unstable; urgency=low * Non-maintainer upload. * Hack to disable t/2_client.t test that tries to connect the network and causes FTBFS. (Closes: #380270) * Bump Standards-Version to 3.7.2 - update FSF address -- Mohammed Adnène Trojette Sat, 5 Aug 2006 22:02:47 +0200 libnet-jabber-perl (2.0-2) unstable; urgency=low * Fixed Section. -- Florian Ragwitz Tue, 5 Oct 2004 00:13:28 +0200 libnet-jabber-perl (2.0-1) unstable; urgency=low * New maintainer. * Added debian/compat. * Bumped up Standards-Version. * Removed Recommends: libio-socket-ssl-perl. * Removed libxml-stream-perl and libdigest-sha1-perl dependencies. * Added libnet-xmpp-dependency. * Moved debhelper Build-Dep-Indep to Build-Depends. * Added libnet-xmpp-perl and libtime-modules-perl to Build-Dep-Indep. * New debian/copyright. * New debian/rules. * Added dpatch Build-Dep. -- Florian Ragwitz Sun, 3 Oct 2004 22:07:25 +0200 libnet-jabber-perl (1.28-1) unstable; urgency=low * New upstream release. (closes: Bug#174570, Bug#152533) * No longer requires XML::Stream::Hash (closes: Bug#169299) * Fix typo (and forward upstream). (closes: Bug#144725) * Add an explicit pointer to the GPL in debian/copyright. (closes: Bug#157618) * Add a Recommends: for libio-socket-ssl-perl (closes: Bug#144720) -- Michael Alan Dorman Sat, 15 Mar 2003 14:26:36 -0500 libnet-jabber-perl (1.0024-1) unstable; urgency=low * New upstream version. -- Michael Alan Dorman Sun, 16 Dec 2001 21:44:10 -0500 libnet-jabber-perl (1.0023-1) unstable; urgency=low * New upstream version. -- Michael Alan Dorman Fri, 2 Nov 2001 08:57:50 -0500 libnet-jabber-perl (1.0022-1) unstable; urgency=low * New upstream version. -- Michael Alan Dorman Sun, 19 Aug 2001 11:41:37 -0400 libnet-jabber-perl (1.0021-1) unstable; urgency=low * Initial Debianization. -- Michael Alan Dorman Fri, 11 May 2001 16:01:31 -0400 debian/rules0000755000000000000000000000003612123761227010250 0ustar #!/usr/bin/make -f %: dh $@ debian/source/0000755000000000000000000000000012123761227010471 5ustar debian/source/format0000644000000000000000000000001412123761227011677 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212123761227010367 0ustar 7 debian/patches/0000755000000000000000000000000012123761227010620 5ustar debian/patches/series0000644000000000000000000000011112123761227012026 0ustar 10shebangs.patch 20disable_networking_tests.patch 30use_Digest-SHA.patch debian/patches/10shebangs.patch0000644000000000000000000000057112123761227013577 0ustar Author: Florian Ragwitz Description: Add shebang to some examples --- a/examples/component_accept.pl +++ b/examples/component_accept.pl @@ -1,3 +1,4 @@ +#!/usr/bin/perl use Net::Jabber qw(Component); use strict; --- a/examples/component_test.pl +++ b/examples/component_test.pl @@ -1,3 +1,4 @@ +#!/usr/bin/perl use Net::Jabber qw(Client); use strict; debian/patches/20disable_networking_tests.patch0000644000000000000000000000045612123761227017104 0ustar Author: Florian Ragwitz Description: Disable tests which require a network connection --- a/t/2_client.t +++ b/t/2_client.t @@ -1,5 +1,5 @@ use lib "t/lib"; -use Test::More tests=>5; +use Test::More skip_all => 'Disabled for the Debian build'; BEGIN{ use_ok( "Net::Jabber" ); } debian/patches/30use_Digest-SHA.patch0000644000000000000000000000277012123761227014516 0ustar Description: Use Digest::SHA instead of Digest::SHA1 Origin: vendor Bug: https://rt.cpan.org/Public/Bug/Display.html?id=84190 Bug-Debian: http://bugs.debian.org/703862 Forwarded: yes Author: Salvatore Bonaccorso Last-Update: 2013-03-25 --- a/lib/Net/Jabber/Component.pm +++ b/lib/Net/Jabber/Component.pm @@ -219,7 +219,7 @@ $self->{STREAM}->SetCallBacks(node=>undef); - $self->Send("".Digest::SHA1::sha1_hex($self->{SESSION}->{id}.$args{secret}).""); + $self->Send("".Digest::SHA::sha1_hex($self->{SESSION}->{id}.$args{secret}).""); my $handshake = $self->Process(); if (!defined($handshake) || --- a/lib/Net/Jabber/Key.pm +++ b/lib/Net/Jabber/Key.pm @@ -103,14 +103,14 @@ $self->{CACHE} = {}; - if (eval "require Digest::SHA1") + if (eval "require Digest::SHA") { $self->{DIGEST} = 1; - Digest::SHA1->import(qw(sha1 sha1_hex sha1_base64)); + Digest::SHA->import(qw(sha1 sha1_hex sha1_base64)); } else { - print "ERROR: You cannot use Key.pm unless you have Digest::SHA1 installed.\n"; + print "ERROR: You cannot use Key.pm unless you have Digest::SHA installed.\n"; exit(0); } @@ -131,7 +131,7 @@ my $self = shift; my $string = $$.time.rand(1000000); - $string = Digest::SHA1::sha1_hex($string); + $string = Digest::SHA::sha1_hex($string); $self->{DEBUG}->Log1("Generate: key($string)"); return $string; } debian/libnet-jabber-perl.examples0000644000000000000000000000001312123761227014363 0ustar examples/*