summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2016-09-28 12:32:14 +0000
committerMarc Espie <espie@cvs.openbsd.org>2016-09-28 12:32:14 +0000
commitd371d61af3e9ff079fa925d03c98adfb01abc8e5 (patch)
tree3241c3b192beefe62f2898844d96b5847202d963 /usr.sbin/pkg_add/OpenBSD
parenta05529c817ee15dffbd8b8dffd9ed3fdf46a18d8 (diff)
oops, forgot THAT hook. You have to start with unsigned to get signed
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgSign.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgSign.pm b/usr.sbin/pkg_add/OpenBSD/PkgSign.pm
index 83b606c64de..55d18807f12 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgSign.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgSign.pm
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgSign.pm,v 1.10 2016/09/15 13:14:03 espie Exp $
+# $OpenBSD: PkgSign.pm,v 1.11 2016/09/28 12:32:13 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -43,6 +43,8 @@ sub handle_options
push(@{$state->{signature_params}}, shift);
},
};
+ $state->{signature_style} = 'unsigned';
+
$state->SUPER::handle_options('Cij:o:S:s:',
'[-Cv] [-D name[=value]] -s x509|signify|signify2 [-s cert] -s priv',
'[-o dir] [-S source] [pkg-name...]');