Re: [PATCH] add support for versions with '-' before a/b/rc

2019-12-12 Thread Jasper Lievisse Adriaanse
Hello Matija, Could you please provide a testcase for inclusion in src/regress/usr.bin/pkg-config too? Also, is there a particular port or pkg-config file in the wild that you ran into which exhibits this particular pattern? Cheers, Jasper > On 12 Dec 2019, at 18:28, Matija Skala wrote: > >

Re: vmm(4) question: unneeded vmclear() in vcpu_readregs_vmx()?

2019-12-12 Thread Mike Larkin
On Tue, Oct 22, 2019 at 06:57:32PM +0900, Iori YONEJI wrote: > On Tue, Oct 22, 2019 at 11:17 AM Mike Larkin wrote: > > > > On Mon, Oct 21, 2019 at 03:52:52AM +0900, Iori YONEJI wrote: > > > Hello tech@, > > > > > > I have a question (or maybe a suggestion) about vmm(4). > > > > > > I'm writing a s

Add sizes for free() in auglx(4)

2019-12-12 Thread Frederic Cambus
Hi tech@, Here is a diff to add sizes for free() in auglx(4). Similar diff to the ones commited for auvia(4) and autri(4). Comments? OK? Index: sys/dev/pci/auglx.c === RCS file: /cvs/src/sys/dev/pci/auglx.c,v retrieving revision 1.

Add sizes for free() in auacer(4)

2019-12-12 Thread Frederic Cambus
Hi tech@, Here is a diff to add sizes for free() in auacer(4). Similar diff to the ones commited for auvia(4) and autri(4). Comments? OK? Index: sys/dev/pci/auacer.c === RCS file: /cvs/src/sys/dev/pci/auacer.c,v retrieving revision

Re: pfctl: Do not optimize empty rulesets

2019-12-12 Thread Mike Belopuhov
Klemens Nanni writes: > On Wed, Nov 27, 2019 at 08:04:47PM +0100, Klemens Nanni wrote: >> If an anchor/ruleset contains no rules, there is no point in creating >> a temporary copy, optimizing and replacing it. >> >> Regress passes on amd64. >> >> Feedback? OK? > Anyone? > FWIW, it looks good

Re: pfctl: Do not optimize empty rulesets

2019-12-12 Thread Klemens Nanni
On Wed, Nov 27, 2019 at 08:04:47PM +0100, Klemens Nanni wrote: > If an anchor/ruleset contains no rules, there is no point in creating > a temporary copy, optimizing and replacing it. > > Regress passes on amd64. > > Feedback? OK? Anyone? All optimizations work on actual rules; if there are non

Re: vm.conf: owner: do not default to root

2019-12-12 Thread Klemens Nanni
On Thu, Dec 12, 2019 at 03:03:19PM +0100, Denis Fondras wrote: > Perhaps vm.conf(5) manual should tell that root:wheel is the default. For `socket owner' vm.conf(5) already says that, but for actual VMs this only works outside of templates, ie. the following does not work: # cat /etc/vm.co

Error in rpki-client

2019-12-12 Thread Alarig Le Lay
Hi, Here we want the BIRD option, not to change the bind address: --- rpki-client.8.orig 2019-12-12 19:32:25.252139648 +0100 +++ rpki-client.8 2019-12-12 19:32:47.792244479 +0100 @@ -91,7 +91,7 @@ .Xr bgpd 8 compatible input. If the -.Fl b , +.Fl B , .Fl c , and .Fl j Regards, -- A

Re: Question(s) about HID devices

2019-12-12 Thread Theo de Raadt
Brad DeMorrow wrote: > I'm trying to add support for Xbox One Controllers to OpenBSD. > > It looks as though I can fairly easily get the device to attach as a uhid > device, but I believe the device requires some special initialization data > sent to it before it will actually begin functioning.

[PATCH] add support for versions with '-' before a/b/rc

2019-12-12 Thread Matija Skala
From fa66eb42d0bd2fec7b364644684e6a4cc9ae9baa Mon Sep 17 00:00:00 2001 From: Matija Skala Date: Thu, 28 Nov 2019 19:24:42 +0100 Subject: [PATCH] add support for versions with '-' before a/b/rc --- usr.bin/pkg-config/pkg-config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Question(s) about HID devices

2019-12-12 Thread Brad DeMorrow
I'm trying to add support for Xbox One Controllers to OpenBSD. It looks as though I can fairly easily get the device to attach as a uhid device, but I believe the device requires some special initialization data sent to it before it will actually begin functioning. That being said, I'm pretty sur

Re: vm.conf: owner: do not default to root

2019-12-12 Thread Denis Fondras
On Thu, Dec 12, 2019 at 12:52:34PM +0100, Klemens Nanni wrote: > On Thu, Dec 05, 2019 at 08:46:01PM +0100, Klemens Nanni wrote: > > vm.conf(5) states it must be `owner user[:group]' or `owner group', not > > specifying a value is undocumented and ought to be invalid syntax, yet > > `owner' is treat

Re: massage tcpdump ip and encapsulation output

2019-12-12 Thread David Gwynne
so this should go in and i can keep improving things in the tree? dlg > On 6 Dec 2019, at 9:45 pm, Claudio Jeker wrote: > > On Fri, Dec 06, 2019 at 12:16:09PM +0100, Sebastian Benoit wrote: >> David Gwynne(da...@gwynne.id.au) on 2019.12.06 15:14:42 +1000: >>> >>> On 5 Dec 2019, at 21:14,

Re: vm.conf: owner: do not default to root

2019-12-12 Thread Klemens Nanni
On Thu, Dec 05, 2019 at 08:46:01PM +0100, Klemens Nanni wrote: > vm.conf(5) states it must be `owner user[:group]' or `owner group', not > specifying a value is undocumented and ought to be invalid syntax, yet > `owner' is treated as `owner root' which is the same as simply omitting > the owner lin

Re: patch: make sdiff tty-aware

2019-12-12 Thread Stuart Henderson
On 2019/12/12 10:47, Marc Espie wrote: > Well, in the sysmerge use-case, you see the first line showing the > $OpenBSD$ prompt usually. That's often when you realize your terminal is > really small, and you will miss the next lines. The $OpenBSD$ line is > reasonably unambiguous, as the rev number

Re: patch: make sdiff tty-aware

2019-12-12 Thread Theo de Raadt
I think the diff should do only one thing: -w width Print a maximum of width characters on each line. The default is 130 characters. At startup, do the ioctl to get the width. If -w is specified, it overrides thae value. And delete the sentence about 130 from the

Re: patch: make sdiff tty-aware

2019-12-12 Thread Marc Espie
On Thu, Dec 12, 2019 at 02:51:18AM -0700, Theo de Raadt wrote: > Marc Espie wrote: > > > On Wed, Dec 11, 2019 at 01:15:40PM -0700, Theo de Raadt wrote: > > > I'm not sure I understand the goal of the signal handler. > > > > > > sdiff is moving forward through the file, only. If you are in a pag

Re: patch: make sdiff tty-aware

2019-12-12 Thread Theo de Raadt
Marc Espie wrote: > On Wed, Dec 11, 2019 at 01:15:40PM -0700, Theo de Raadt wrote: > > I'm not sure I understand the goal of the signal handler. > > > > sdiff is moving forward through the file, only. If you are in a pager, > > you want to increase the width for the later output not yet visible

Re: patch: make sdiff tty-aware

2019-12-12 Thread Marc Espie
On Wed, Dec 11, 2019 at 01:15:40PM -0700, Theo de Raadt wrote: > I'm not sure I understand the goal of the signal handler. > > sdiff is moving forward through the file, only. If you are in a pager, > you want to increase the width for the later output not yet visible? > the normal way one does th