| 1 |
Source: libdigest-md5-file-perl |
| 2 |
Section: perl |
| 3 |
Priority: optional |
| 4 |
Build-Depends: debhelper-compat (= 13) |
| 5 |
Build-Depends-Indep: perl, libwww-perl |
| 6 |
Maintainer: Debian Perl Group <[email protected]> |
| 7 |
Uploaders: Damyan Ivanov <[email protected]>, Niko Tyni <[email protected]>, |
| 8 |
gregor herrmann <[email protected]> |
| 9 |
Standards-Version: 4.7.2 |
| 10 |
Homepage: https://metacpan.org/release/Digest-MD5-File |
| 11 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdigest-md5-file-perl.git |
| 12 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdigest-md5-file-perl |
| 13 |
Testsuite: autopkgtest-pkg-perl |
| 14 |
|
| 15 |
Package: libdigest-md5-file-perl |
| 16 |
Architecture: all |
| 17 |
Depends: ${perl:Depends}, ${misc:Depends}, libwww-perl |
| 18 |
Description: Perl extension for getting MD5 sums for files and urls |
| 19 |
Digest::MD5::File adds functionality for easy calculation of MD5 checksums of |
| 20 |
entire files, directories or URLs to the standard Digest::MD5 module. |
| 21 |
. |
| 22 |
Example usage: |
| 23 |
. |
| 24 |
use Digest::MD5::File; |
| 25 |
my $md5 = Digest::MD5->new; |
| 26 |
$md5->addpath('/path/to/file.txt'); |
| 27 |
$md5->addpath(\@files); |
| 28 |
$md5->adddir('/home/tmbg/'); |
| 29 |
$md5->addurl('http://www.tmbg.com/tour.html'); |
| 30 |
my $digest = file_md5_hex($file); |
| 31 |
my $dir_hashref = dir_md5_hex($dir); |
| 32 |
my $digest = url_md5_hex($url); |