From: | CARNIL [...] cpan.org |
Subject: | librdf-query-perl: use Digest::SHA instead of Digest::SHA1 in lib/RDF/Query/Functions/Jena.pm |
Hi
This bug has been forwarded from http://bugs.debian.org/625989
We would like to drop libdigest-sha1-perl at some point from the Debian
distribution, 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.
would it be possible to use overall Digest::SHA in RDF-Query?
Bests
Salvatore