From: espie Date: Fri, 3 Jan 2014 13:12:35 +0000 (+0000) Subject: explain why digital-sig must be unique X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4b20e01d9c94d949845b30adc1ea7c5ac0ac44a5;p=openbsd explain why digital-sig must be unique --- 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 # @@ -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" }