Replacing Digest::SHA1 with Digest::SHA and removal of libdigest-sha1-perl package
Contents
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
- Investigate the Debian Perl Group packages, and forward patches to upstream authors.
- Fill bugs on non-Debian Perl Group packages too.
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.
- Add lintian check for obsolete libdigest-sha1-perl dependency?
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
Legend |
|
|
Transitioned/OK |
|
Has issues |
|
Unfixed / Needs upload |
|
Reported (bugreport, patch, forwarded...) |
|
Pending |
|
Not needed (e.g. upstream has fallback to Digest::SHA1) |
Package |
State Upstream |
State Debian |
apt-cacher |
|
|
barnowl |
|
|
gnupod-tools |
|
|
ikiwiki-hosting-web |
|
|
interchange |
|
|
kgb-client |
|
|
libapache-htpasswd-perl |
|
|
libatompub-perl |
|
|
libauthen-passphrase-perl |
|
|
libbloom-filter-perl |
|
|
libcache-cache-perl |
|
|
libcache-perl |
|
|
libcgi-application-plugin-authentication-perl |
|
|
libcrypt-hcesha-perl |
|
|
libcrypt-mysql-perl |
|
|
libcrypt-openssl-dsa-perl |
|
|
libdata-serializer-perl |
|
|
libdbix-class-cursor-cached-perl |
|
|
libdigest-hmac-perl |
|
|
libimdb-film-perl |
|
|
libmoosex-storage-perl |
|
|
libnet-dns-sec-perl |
|
|
libnet-epp-perl |
|
|
libnet-oauth-perl |
|
|
libnet-openid-consumer-perl |
|
|
libnet-openid-server-perl |
|
|
libnet-snmp-perl |
|
|
libnet-xmpp-perl |
|
|
libpar-perl |
|
|
libperl5i-perl |
|
|
libpoe-component-jabber-perl |
|
|
librdf-query-perl |
||
librdf-trine-perl |
|
|
libsql-translator-perl |
|
|
libuuid-tiny-perl |
|
|
libxml-atom-perl |
|
|
mimedefang |
|
|
postgrey |
||
razor |
|
|
rkhunter |
|
|
smbldap-tools |
|
|
spamassassin |
|
|
sqlfairy |
|
|
syslinux-common |
|
|
vclt-tools |
|