tags 694474 + pending
thanks

Dear maintainer,

I've prepared an NMU for libmasonx-request-withapachesession-perl (versioned as 
0.30-3.1) and
uploaded it to DELAYED/7. Please feel free to tell me if I
should delay it longer.

Regards,
Salvatore
diff -u libmasonx-request-withapachesession-perl-0.30/debian/patches/00list libmasonx-request-withapachesession-perl-0.30/debian/patches/00list
--- libmasonx-request-withapachesession-perl-0.30/debian/patches/00list
+++ libmasonx-request-withapachesession-perl-0.30/debian/patches/00list
@@ -2,0 +3 @@
+03-use-Digest-SHA
diff -u libmasonx-request-withapachesession-perl-0.30/debian/rules libmasonx-request-withapachesession-perl-0.30/debian/rules
--- libmasonx-request-withapachesession-perl-0.30/debian/rules
+++ libmasonx-request-withapachesession-perl-0.30/debian/rules
@@ -62,7 +62,7 @@
 config: config-stamp
 config-stamp:
 	dh_testdir
-	$(PERL) Build.PL installdirs=vendor destdir=$(b)
+	$(PERL) Build.PL installdirs=vendor destdir=$(b) create_packlist=0
 	touch config-stamp
 
 install: install-stamp
diff -u libmasonx-request-withapachesession-perl-0.30/debian/changelog libmasonx-request-withapachesession-perl-0.30/debian/changelog
--- libmasonx-request-withapachesession-perl-0.30/debian/changelog
+++ libmasonx-request-withapachesession-perl-0.30/debian/changelog
@@ -1,3 +1,15 @@
+libmasonx-request-withapachesession-perl (0.30-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use Digest::SHA instead of Digest::SHA1
+    libdigest-sha1-perl package was removed from Debian. Digest::SHA is part of
+    Perl core modules included with the perl interpreter since 5.10.
+    Thanks to Ansgar Burchardt <ans...@debian.org> (Closes: #694474)
+  * Don't create .packlist file.
+    Add 'create_packlist=0' in config-stamp target to perl Build.PL call.
+
+ -- Salvatore Bonaccorso <car...@debian.org>  Sat, 01 Dec 2012 09:53:08 +0100
+
 libmasonx-request-withapachesession-perl (0.30-3) unstable; urgency=low
 
   * debian/control - removed libapache-request-perl from dependencies 
only in patch2:
unchanged:
--- libmasonx-request-withapachesession-perl-0.30.orig/debian/patches/03-use-Digest-SHA.dpatch
+++ libmasonx-request-withapachesession-perl-0.30/debian/patches/03-use-Digest-SHA.dpatch
@@ -0,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03-use-Digest-SHA.dpatch by Salvatore Bonaccorso <car...@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Use Digest::SHA instead of Digest::SHA1.
+
+@DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' libmasonx-request-withapachesession-perl~/lib/MasonX/Request/WithMultiSession.pm libmasonx-request-withapachesession-perl/lib/MasonX/Request/WithMultiSession.pm
+--- libmasonx-request-withapachesession-perl~/lib/MasonX/Request/WithMultiSession.pm	2012-11-28 16:03:44.000000000 +0100
++++ libmasonx-request-withapachesession-perl/lib/MasonX/Request/WithMultiSession.pm	2012-11-28 16:09:35.108569438 +0100
+@@ -2,7 +2,7 @@
+ 
+ use strict;
+ 
+-use Digest::SHA1 ();
++use Digest::SHA ();
+ use Time::HiRes;
+ 
+ use base qw(MasonX::Request::WithApacheSession);
+@@ -114,7 +114,7 @@
+         # using Time::HiRes means that we get times with very high
+         # floating point resolutions (to 10 or 11 decimal places), so
+         # this is a good seed for a hashing algorithm
+-        $new_id = Digest::SHA1::sha1_hex( time() . {} . rand() . $$ );
++        $new_id = Digest::SHA::sha1_hex( time() . {} . rand() . $$ );
+     } while ( exists $session->{sub_session_ids}{$new_id} );
+ 
+     $session->{sub_sessions}{$new_id} = {};

Attachment: signature.asc
Description: Digital signature

Reply via email to