diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2019-05-08 10:19:16 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2019-05-08 10:19:16 +0000 |
commit | 32d816726178d61d54f24fa50aa06b6cbeef8dd2 (patch) | |
tree | bfc6cb48913dd0f7c182b2893133a76c6454e8bf /usr.sbin | |
parent | b42f0ef53c605e7960d7fc8f1a147c2482808050 (diff) |
fix pkg_info -S bug: multiple inheritance tricks signature into actually
ignoring version elements.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Signature.pm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Signature.pm b/usr.sbin/pkg_add/OpenBSD/Signature.pm index f1a48e74662..49d4998f914 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.22 2018/12/16 10:45:38 espie Exp $ +# $OpenBSD: Signature.pm,v 1.23 2019/05/08 10:19:15 espie Exp $ # # Copyright (c) 2010 Marc Espie <espie@openbsd.org> # @@ -32,6 +32,13 @@ sub always { return 1; } + +package OpenBSD::PackingElement::Version; +sub signature +{ + &OpenBSD::PackingElement::VersionElement::signature; +} + package OpenBSD::PackingElement::Dependency; sub signature_key { |