Re: pkg_sign incorrectly assumes -i by default

2016-06-06 Thread Jonathan Gray
On Mon, Jun 06, 2016 at 09:12:04AM +0200, Marc Espie wrote: > > This should fix things. Thanks, things work as expected here with this diff. > > > Index: AddCreateDelete.pm > === > RCS file:

Re: pkg_sign incorrectly assumes -i by default

2016-06-06 Thread Marc Espie
This should fix things. Index: AddCreateDelete.pm === RCS file: /cvs/src/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm,v retrieving revision 1.34 diff -u -p -r1.34 AddCreateDelete.pm --- AddCreateDelete.pm 6 Apr 2015 11:07:24 -

Re: pkg_sign incorrectly assumes -i by default

2016-06-06 Thread Marc Espie
On Mon, Jun 06, 2016 at 04:14:12PM +1000, Jonathan Gray wrote: > The behaviour of pkg_sign acts as if -i is always specified and won't > sign/resign a package if it exists in the output directory. > > In OpenBSD/PkgSign.pm sign_existing_package $state->opt('i') > path is always taken. Does this