summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2023-05-27 10:04:18 +0000
committerMarc Espie <espie@cvs.openbsd.org>2023-05-27 10:04:18 +0000
commitb9cef92d9444ed6481189251d50efc55ca9c940a (patch)
tree772612537a1b431c8c019022d38ad7b93e7bc306
parent292c21dd2d7f6d334f7331cc48156f9361efa5fb (diff)
indicate that not having hashes already is just legacy needed
until all old packages are gone
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Signature.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Signature.pm b/usr.sbin/pkg_add/OpenBSD/Signature.pm
index 37f84e2ce54..04508fab12b 100644
--- a/usr.sbin/pkg_add/OpenBSD/Signature.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Signature.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Signature.pm,v 1.27 2022/05/29 10:48:41 espie Exp $
+# $OpenBSD: Signature.pm,v 1.28 2023/05/27 10:04:17 espie Exp $
#
# Copyright (c) 2010 Marc Espie <espie@openbsd.org>
#
@@ -237,6 +237,7 @@ sub new
my ($class, $pkgname, $extra, $plist) = @_;
my $o = $class->SUPER::new($pkgname, $extra);
my $a = $plist->get('always-update');
+ # TODO remove after 2025
if (!defined $a->{hash}) {
$a->hash_plist($plist);
}