Bug#625989: librdf-query-perl: use Digest::SHA instead of Digest::SHA1 in lib/RDF/Query/Functions/Jena.pm
Salvatore Bonaccorso
carnil at debian.org
Sat May 7 15:35:26 UTC 2011
Source: librdf-query-perl
Version: 2.905-1
Severity: normal
User: debian-perl at lists.debian.org
Usertags: digest-sha-perl-transition
Hi
We would like to drop libdigest-sha1-perl at some point, see [1]. 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.
[1] http://deb.li/digestsha
The module lib/RDF/Query/Functions/Jena.pm uses Digest::SHA1, but from
there only sha1_hex, which is same available by Digest::SHA. The tests
too use in t/filters.t Digest::SHA1 so far.
Changing this would allow to prepare the removal of
libdigest-sha1-perl.
Bests,
Salvatore
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
More information about the pkg-perl-maintainers
mailing list