diff options
author | Guillem Jover <guillem@debian.org> | 2016-08-15 18:03:44 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2016-10-30 04:43:34 +0100 |
commit | 4570cd64ebdaf8d16a85e718cd700f6bfddbf305 (patch) | |
tree | bb53c5d1722258ab0733d2a019add46a3c5997a6 | |
parent | df36f0eef973fb87f73eacd89fc6c8d1eb3ab94a (diff) | |
download | dpkg-4570cd64ebdaf8d16a85e718cd700f6bfddbf305.tar.gz |
Dpkg::Checksums: Mention that add_from_file is used to verify digests too
Make it explicit in the sub description.
Prompted-by: Johannes Schauer <josch@debian.org>
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | scripts/Dpkg/Checksums.pm | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog index 85029e44e..2e6238e00 100644 --- a/debian/changelog +++ b/debian/changelog @@ -64,6 +64,8 @@ dpkg (1.18.11) UNRELEASED; urgency=medium poorly on many technical terms. - Append the German man pages addendum at the end of the translation, instead of assuming that every page has the SEE ALSO section. + - Explicitly mention that Dpkg::Checksums::add_from_file() is used to + verify digests too. Prompted by Johannes Schauer <josch@debian.org>. * Build system: - Add support for profiling perl modules. - Clean up compiler and linker automatic flag usage in configure. diff --git a/scripts/Dpkg/Checksums.pm b/scripts/Dpkg/Checksums.pm index 208f47716..1237e8b89 100644 --- a/scripts/Dpkg/Checksums.pm +++ b/scripts/Dpkg/Checksums.pm @@ -155,9 +155,9 @@ sub reset { =item $ck->add_from_file($filename, %opts) -Add checksums information for the file $filename. The file must exists -for the call to succeed. If you don't want the given filename to appear -when you later export the checksums you might want to set the "key" +Add or verify checksums information for the file $filename. The file must +exists for the call to succeed. If you don't want the given filename to +appear when you later export the checksums you might want to set the "key" option with the public name that you want to use. Also if you don't want to generate all the checksums, you can pass an array reference of the wanted checksums in the "checksums" option. |