summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-10-11 11:51:23 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-10-11 11:51:23 +0000
commit95db3f85bd325469722f9210743d5b1389adc875 (patch)
tree1233f41bec0b6865554d396474db66aede2c07b8 /usr.sbin
parent2adc7f20c9476889839832661a0a57cdc54f82bc (diff)
don't copy digital sig over when it makes no sense...
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Replace.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Replace.pm b/usr.sbin/pkg_add/OpenBSD/Replace.pm
index 4226c739210..1fd88125925 100644
--- a/usr.sbin/pkg_add/OpenBSD/Replace.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Replace.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Replace.pm,v 1.49 2009/04/19 14:58:32 espie Exp $
+# $OpenBSD: Replace.pm,v 1.50 2009/10/11 11:51:22 espie Exp $
#
# Copyright (c) 2004-2006 Marc Espie <espie@openbsd.org>
#
@@ -79,6 +79,13 @@ sub separate_element
$c2->{$self} = 1;
}
+package OpenBSD::PackingElement::DigitalSignature;
+sub separate_element
+{
+ my ($self, $libs, $c1, $c2) = @_;
+ $c2->{$self} = 1;
+}
+
package OpenBSD::PackingElement::State;
sub separate_element