Salvatore Bonaccorso wrote:
> ikiwiki-hosting-web has libdigest-sha1-perl in Depends field. However
> greping over the source, I find only:
> 
> $ grep -R 'Digest::SHA' *
> IkiWiki/Customer.pm:    eval q{use Digest::SHA};
> IkiWiki/Customer.pm:    return Digest::SHA::sha1_hex($openid);
> 
> Thus, can the dependency on libdigest-sha1-perl be removed? As
> furthermore Digest::SHA is in perl core already provided in Lenny, no
> further dependencies should be added.

In the perl core? Am I missing something?

joey@gnu:~>perl -e 'use Digest::SHA1 q(sha1_hex); print sha1_hex("foo")'
0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33joey@gnu:~>
joey@gnu:~>sudo dpkg --force-depends --purge libdigest-sha1-perl 
...
joey@gnu:~>perl -le 'use Digest::SHA1 q(sha1_hex); print sha1_hex("foo")'
Can't locate Digest/SHA1.pm in @INC (@INC contains: /etc/perl 
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 
/usr/local/lib/site_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to