Replacing Digest::SHA1 with Digest::SHA and removal of libdigest-sha1-perl package

Why

Most of the functionality (except sha1_transform) of Digest::SHA1 is also provided by Digest::SHA. Switching from Digest::SHA1 to Digest::SHA should be in principle as easy as substituting the use of Digest::SHA1 with Digest::SHA.

Digest::SHA is in Perl core since version 5.9.3 and thus is in Debian's perl since Lenny.

Changing use of Digest::SHA1 to Digest::SHA would thus reduce external dependencies by one.

Packages using Digest::SHA instead of Digest::SHA1 can then drop the (Build-)Depends(-Indep) on libdigest-sha1-perl.

How

  1. Investigate the Debian Perl Group packages, and forward patches to upstream authors.
  2. Fill bugs on non-Debian Perl Group packages too.
  3. After patches for the/some Perl modules are sent upstream announce 594273 on debian-devel for possible MBF/increasing severity and help out where possible to fix the packages.

  4. Add lintian check for obsolete libdigest-sha1-perl dependency? 635441

Contacting Upstream for Perl modules

You can use something like the following to contact upstream (in this case with patch added):

Hi                                                
                                                                   
Attached patch changes the module to use Digest::SHA instead of
Digest::SHA1. Digest::SHA is part of the standard perl distribution
since perl v5.9.3 so this reduces the number of external
dependencies by one.
         
Please consider applying it for the next release.
                                                                             
Regards,                         

Submitting to Debian BTS

When submitting bugs to the Debian Bugtracker the following user and usertag may be used:

User: debian-perl@lists.debian.org
Usertags: digest-sha-perl-transition 

Status: http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=debian-perl@lists.debian.org;tag=digest-sha-perl-transition

Status

Legend

(./)

Transitioned/OK

<!>

Has issues

{X}

Unfixed / Needs upload

{i}

Reported (bugreport, patch, forwarded...)

(!)

Pending

{*}

Not needed (e.g. upstream has fallback to Digest::SHA1)

Package

State Upstream

State Debian

apt-cacher

(./)

(./) 624568

barnowl

{X}

{i} 625903

gnupod-tools

{X}

{i} 625875

ikiwiki-hosting-web

(./)

(./) 623957

interchange

{X}

{i} 625904

kgb-client

(./)

(./) (1.08-1)

libapache-htpasswd-perl

{i} RT#60267

{i} 636853

libatompub-perl

{i} RT#68183

(./)

libauthen-passphrase-perl

(!) RT#59917

{X}

libbloom-filter-perl

{i} RT#67716

(./)

libcache-cache-perl

{i} RT#67717

{X}

libcache-perl

{X}

(./) 636648

libcgi-application-plugin-authentication-perl

(./) RT#67840

(./)

libcrypt-hcesha-perl

{i} RT#67841

{i} 635178

libcrypt-mysql-perl

{i} RT#59918

{X}

libcrypt-openssl-dsa-perl

{i} RT#60271

(./) (0.13-5)

libdata-serializer-perl

{i} RT#70091

{X}

libdbix-class-cursor-cached-perl

(./) RT#70092

{X}

libdigest-hmac-perl

(./) RT#69776

(./)

libgit-pure-perl

(./) RT#69470

(./) 633861

libimdb-film-perl

{X}

{i} 636642

libmoosex-storage-perl

{i} RT#69811

{X}

libnet-dns-sec-perl

{i} RT#60269

{i} 636852

libnet-epp-perl

{i}

(./)

libnet-oauth-perl

{i} RT#69810

{X}

libnet-openid-consumer-perl

{i} RT#44766

{i} 636856

libnet-openid-server-perl

(!)

{i} 630601

libnet-snmp-perl

{i} RT#68182

{X}

libnet-xmpp-perl

{i} RT#68181

{X}

libpar-perl

(./)

(./) r73482

libperl5i-perl

{i} #196

{X}

libpoe-component-jabber-perl

{i} RT#68010

{X}

librdf-query-perl

(./) RT#68007

(./) 625989

librdf-trine-perl

(./)

(./) 625978

libsql-translator-perl

{i} RT#67989

(./) r75974

libuuid-tiny-perl

{*}

(./) r74094

libxml-atom-perl

{i} RT#60263

(./)

mimedefang

{X}

{i} 625870

postgrey

(./) Changes

(./) 625697

razor

{X}

(./) 624579

rkhunter

{X}

{*} Suggests libdigest-sha1-perl

smbldap-tools

{X}

{i} 624065

spamassassin

{i} Bug#6200 (Razor depends on Digest::SHA1)

{i} 629612

sqlfairy

{i} RT#67989

(./) r75974

syslinux-common

{X}

(./) 625812

vclt-tools

(./)

(./) 624685