tags 694474 + patch thanks Hi Krzysztof
I have prepared a patch for it, versioned as 0.30-3.1. Note that I have not yet uploaded to a delayed queue. Do you plan to upload yourself? Only changing the occurences of Digest::SHA1 with Digest::SHA is enough. *But*: it still needs some work, as the resulting binary package shows: ----cut---------cut---------cut---------cut---------cut---------cut----- debdiff libmasonx-request-withapachesession-perl_0.30-3_all.deb libmasonx-request-withapachesession-perl_0.30-3.1_all.deb [The following lists of changes regard files as different if they have different names, permissions or owners.] Files in second .deb but not in first ------------------------------------- -rw-r--r-- root/root /usr/lib/perl5/auto/MasonX/Request/WithApacheSession/.packlist Control files: lines which differ (wdiff format) ------------------------------------------------ Installed-Size: [-84-] {+95+} Version: [-0.30-3-] {+0.30-3.1+} ----cut---------cut---------cut---------cut---------cut---------cut----- 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/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,13 @@ +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) + + -- Salvatore Bonaccorso <car...@debian.org> Wed, 28 Nov 2012 16:19:53 +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} = {};
signature.asc
Description: Digital signature