From: espie Date: Sat, 27 May 2023 10:04:17 +0000 (+0000) Subject: indicate that not having hashes already is just legacy needed X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bb3c5d315a8df4f624d552971c3984466191fe11;p=openbsd indicate that not having hashes already is just legacy needed until all old packages are gone --- 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 # @@ -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); }