diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-01-03 13:12:36 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-01-03 13:12:36 +0000 |
commit | 323c02de57338e2c1dedb20a2c48a9637be9772e (patch) | |
tree | 3251d131d834fc12d1ec41975812a8573d5c81cb /usr.sbin/pkg_add | |
parent | 9e669fad5f1854c0964c32718acdd29ecb5f558b (diff) |
explain why digital-sig must be unique
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingElement.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm index ff169d9443d..1c83cd1f2bf 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingElement.pm,v 1.216 2014/01/02 20:13:43 espie Exp $ +# $OpenBSD: PackingElement.pm,v 1.217 2014/01/03 13:12:35 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org> # @@ -1770,8 +1770,12 @@ sub keyword() { 'vendor' } __PACKAGE__->register_with_factory; sub category() { "vendor" } +# XXX digital-signatures have to be unique, since they are a part +# of the unsigned packing-list, with only the b64sig part removed +# (likewise for vendor) package OpenBSD::PackingElement::DigitalSignature; our @ISA=qw(OpenBSD::PackingElement::Unique); + sub keyword() { 'digital-signature' } __PACKAGE__->register_with_factory; sub category() { "digital-signature" } |