Replacing Digest::SHA1 with Digest::SHA and removal of libdigest-sha1-perl package
Status: Draft
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.
After patches for the Perl modules are sent upstream announce #594273 on debian-devel for possible MBF and help out where possible to fix the packages (severity wishlist or normal).
- 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 Usertag: digest-sha-perl-transition
Status
Legend |
|
|
Transitioned/OK |
|
Has issues |
|
Unfixed / Needs upload |
|
Forwarded upstream (Bugreport, patch, ...) |
|
Pending |
Package |
State Upstream |
State Debian |
apt-cacher |
|
|
barnowl |
|
|
gnupod-tools |
|
|
ikiwiki-hosting-web |
|
|
interchange |
|
|
kgb-client |
|
|
libapache-htpasswd-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 |
|
|
smbldap-tools |
|
|
spamassassin |
|
|
sqlfairy |
|
|
syslinux-common |
|
|
vclt-tools |
|
|