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. File bugs on non-Debian Perl Group packages too.
  3. Add lintian check for obsolete libdigest-sha1-perl dependency? 635441

  4. increasing severity and help out where possible to fix the packages.

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}

(./) 625903

gnupod-tools

{X}

(./) 625875

ikiwiki-hosting-web

(./)

(./) 623957

interchange

{X}

(./) 625904

kgb-client

(./)

(./) (1.08-1)

libapache-htpasswd-perl

{i} RT#60267

(./) 636853

libatompub-perl

{i} RT#68183

(./)

libauthen-passphrase-perl

(!) RT#59917

(./) (0.007-2)

libbloom-filter-perl

{i} RT#67716

(./)

libcache-cache-perl

{i} RT#67717

(./) (1.06-2)

libcache-perl

{X}

(./) 636648

libcgi-application-extra-plugin-bundle-perl

{*} (native)

(./) (0.4)

libcgi-application-plugin-authentication-perl

(./) RT#67840

(./)

libcrypt-dsa-perl

{i} RT#71342

(./)

libcrypt-hcesha-perl

{i} RT#67841

(./) 635178

libcrypt-mysql-perl

{i} RT#59918

(./) (0.04-4)

libcrypt-openssl-dsa-perl

{i} RT#60271

(./) (0.13-5)

libdata-serializer-perl

{i} RT#70091

(./) (0.59-1)

libdbix-class-cursor-cached-perl

(./) RT#70092

(./) (1.001002-1)

libdigest-hmac-perl

(./) RT#69776

(./)

libgit-pure-perl

(./) RT#69470

(./) 633861

libimdb-film-perl

{i} RT#70531

(./) 636642

libmoosex-storage-perl

{i} RT#69811

(./) (0.30-1)

libnet-dns-sec-perl

{i} RT#60269

(./) 636852

libnet-epp-perl

{i}

(./)

libnet-oauth-perl

{i} RT#69810

(./) (0.27-2)

libnet-openid-consumer-perl

(./) RT#44766

(./) 636856

libnet-openid-server-perl

(!)

(./) 630601

libnet-snmp-perl

{i} RT#68182

(./) 636857

libnet-xmpp-perl

{i} RT#68181

(./) (1.02-2)

libpar-perl

(./)

(./) r73482

libperl5i-perl

{i} #196

(./) (2.6.1-2)

libpoe-component-jabber-perl

{i} RT#68010

(./) (3.00-2)

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}

(./) 625870

postgrey

(./) Changes

(./) 625697

razor

{X}

(./) 624579

rkhunter

{X}

{*} Suggests libdigest-sha1-perl

smbldap-tools

{X}

(./) 624065

spamassassin

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

(./) 629612

sqlfairy

{i} RT#67989

(./) r75974

syslinux-common

{X}

(./) 625812

vclt-tools

(./)

(./) 624685