[SCM] Debian packaging of libpoe-component-jabber-perl branch, master, updated. 5a05c53b76080703dbfac3c6837fda081fd65096
Salvatore Bonaccorso
carnil at debian.org
Tue Aug 9 19:56:34 UTC 2011
The following commit has been merged in the master branch:
commit 5a05c53b76080703dbfac3c6837fda081fd65096
Author: Salvatore Bonaccorso <carnil at debian.org>
Date: Tue Aug 9 21:56:22 2011 +0200
debian/patches: Add use-Digest-SHA.patch to use Digest::SHA from perl core instead of Digest::SHA1.
diff --git a/debian/patches/series b/debian/patches/series
index 2c2a540..b98a8e6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
fix-pod-docs-for-names.patch
+use-Digest-SHA.patch
diff --git a/debian/patches/use-Digest-SHA.patch b/debian/patches/use-Digest-SHA.patch
new file mode 100644
index 0000000..5ef2d28
--- /dev/null
+++ b/debian/patches/use-Digest-SHA.patch
@@ -0,0 +1,63 @@
+Description: Use Digest::SHA instead of Digest::SHA1.
+ See: http://bugs.debian.org/594273
+Origin: vendor
+Bug: http://rt.cpan.org/Public/Bug/Display.html?id=68010
+Forwarded: yes
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2011-08-09
+
+--- a/lib/POE/Component/Jabber/J14.pm
++++ b/lib/POE/Component/Jabber/J14.pm
+@@ -8,7 +8,7 @@
+ use POE::Filter::XML;
+ use POE::Filter::XML::Node;
+ use POE::Filter::XML::NS qw/ :JABBER :IQ /;
+-use Digest::SHA1 qw/ sha1_hex /;
++use Digest::SHA qw/ sha1_hex /;
+
+ use base('POE::Component::Jabber::Protocol');
+
+--- a/lib/POE/Component/Jabber/Legacy.pm
++++ b/lib/POE/Component/Jabber/Legacy.pm
+@@ -8,7 +8,7 @@
+ use POE::Filter::XML;
+ use POE::Filter::XML::Node;
+ use POE::Filter::XML::NS qw/ :JABBER :IQ /;
+-use Digest::SHA1 qw/ sha1_hex /;
++use Digest::SHA qw/ sha1_hex /;
+
+ use base('POE::Component::Jabber::Protocol');
+
+--- a/lib/POE/Component/Jabber.pm
++++ b/lib/POE/Component/Jabber.pm
+@@ -410,7 +410,7 @@
+ $self->[+_pcj_sid] = 0;
+ $self->[+_pcj_pending] = {};
+ $self->[+_pcj_init_finished] = 0;
+- $self->[+_pcj_id] ||= Digest::SHA1->new();
++ $self->[+_pcj_id] ||= Digest::SHA->new();
+ $self->[+_pcj_id]->add(time().rand().$$.rand().$^T.rand());
+ $self->[+_pcj_wheel] = undef;
+ $self->[+_pcj_sfwheel] = undef;
+--- a/Build.PL
++++ b/Build.PL
+@@ -73,7 +73,7 @@
+ {
+ 'perl' => '5.10.0',
+ 'POE' => '1.003',
+- 'Digest::SHA1' => '2.11',
++ 'Digest::SHA' => '0',
+ 'Authen::SASL' => '2.12',
+ 'MIME::Base64' => '3.07_01',
+ 'POE::Filter::XML' => '0.35',
+--- a/META.yml
++++ b/META.yml
+@@ -8,7 +8,7 @@
+ license: http://opensource.org/licenses/gpl-license.php
+ requires:
+ Authen::SASL: 2.12
+- Digest::SHA1: 2.11
++ Digest::SHA: 0
+ MIME::Base64: 3.07_01
+ POE: 1.003
+ POE::Component::PubSub: 0.05
--
Debian packaging of libpoe-component-jabber-perl
More information about the Pkg-perl-cvs-commits
mailing list