summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2019-11-16 00:38:37 +0100
committerGuillem Jover <guillem@debian.org>2019-11-26 02:42:45 +0100
commit83b1500011a0656263afbdeffffca182758ef061 (patch)
tree8c976d1a4db680c82b2abe757c350a6e8137f955
parent69b98260c76342a72f3c819961a33b9a14e899ab (diff)
downloaddpkg-83b1500011a0656263afbdeffffca182758ef061.tar.gz
Dpkg::Checksums: Remove obsolete 'program' property warning
-rw-r--r--debian/changelog1
-rw-r--r--scripts/Dpkg/Checksums.pm10
2 files changed, 6 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index a87e747ca..7a9dd2981 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -67,6 +67,7 @@ dpkg (1.20.0) UNRELEASED; urgency=medium
- Dpkg::Index: Change default value for unique_tuple_key to 1.
- Dpkg::Version: Remove deprecation warning from semantic change in
bool overload.
+ - Dpkg::Checksums: Remove obsolete 'program' property warning.
* Documentation:
- man: Fix uncommon wording constructs.
- man: Use a minus sign for a literal string.
diff --git a/scripts/Dpkg/Checksums.pm b/scripts/Dpkg/Checksums.pm
index 1237e8b89..9b7316b07 100644
--- a/scripts/Dpkg/Checksums.pm
+++ b/scripts/Dpkg/Checksums.pm
@@ -20,7 +20,7 @@ package Dpkg::Checksums;
use strict;
use warnings;
-our $VERSION = '1.03';
+our $VERSION = '1.04';
our @EXPORT = qw(
checksums_is_supported
checksums_get_list
@@ -106,10 +106,6 @@ whether the checksum algorithm is considered cryptographically strong.
sub checksums_get_property($$) {
my ($alg, $property) = @_;
- if ($property eq 'program') {
- warnings::warnif('deprecated', 'obsolete checksums program property');
- }
-
return unless checksums_is_supported($alg);
return $CHECKSUMS->{lc($alg)}{$property};
}
@@ -400,6 +396,10 @@ sub export_to_control {
=head1 CHANGES
+=head2 Version 1.04 (dpkg 1.20.0)
+
+Remove warning: For obsolete property 'program'.
+
=head2 Version 1.03 (dpkg 1.18.5)
New property: Add new 'strong' property.