Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-19 Thread Tracey Emery
On Fri, Nov 19, 2021 at 08:59:29PM +, Stuart Henderson wrote: > On 2021/11/19 11:12, Steve Williams wrote: > > Thanks very much for that!  I'll have a look as it's more contemporary than > > the port that Stuart pointed to. > > yep, I mostly lost interest a while ago and haven't been tracking

Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-19 Thread Stuart Henderson
On 2021/11/19 11:12, Steve Williams wrote: > Thanks very much for that!  I'll have a look as it's more contemporary than > the port that Stuart pointed to. yep, I mostly lost interest a while ago and haven't been tracking it closely (this was after getting motion to work - that's more my sort of

Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-19 Thread Steve Williams
On 19/11/2021 7:53 a.m., Tracey Emery wrote: On Fri, Nov 19, 2021 at 07:14:04AM -0800, Steve Williams wrote: Stuart, You are absolutely amazing!   I have no idea how you find time to respond to all these requests and still manage to accomplish what you do. Thanks very much for the pointer

Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-19 Thread Tracey Emery
On Fri, Nov 19, 2021 at 08:53:19AM -0700, Tracey Emery wrote: > > If you want a zoneminder that is currently working in OpenBSD, go here: > https://github.com/basepr1me/openbsd-ports-mystuff/tree/master/multimedia/zoneminder > > I haven't touched it for awhile and the README still needs updated,

Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-19 Thread Tracey Emery
On Fri, Nov 19, 2021 at 07:14:04AM -0800, Steve Williams wrote: > Stuart, > > You are absolutely amazing!   I have no idea how you find time to respond to > all these requests and still manage to accomplish what you do. > > Thanks very much for the pointer to a WIP port.  I'll have a look at it.

Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-19 Thread Steve Williams
Stuart, You are absolutely amazing!   I have no idea how you find time to respond to all these requests and still manage to accomplish what you do. Thanks very much for the pointer to a WIP port.  I'll have a look at it. Cheers, Steve Williams On 19/11/2021 12:21 a.m., Stuart Henderson

Re: OpenBSD wrapper for Linux/FreeBSD sendfile? (for ZoneMinder)

2021-11-19 Thread Ian Darwin
On Thu, Nov 18, 2021 at 06:04:26PM -0800, Steve Williams wrote: > Hi, > > I'm trying to compile a Linux/FreeBSD application (zoneminder) under OpenBSD > 7.0. > > I'm slowly working through it but have gotten stuck at the point where it > has a dependency on sendfile(2) which OpenBSD doesn't

Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-19 Thread Stuart Henderson
zoneminder has fallback code, they just unconditionally include zm_sendfile.h even where sendfile was not detected, and that has a hard #error. See https://github.com/jasperla/openbsd-wip/tree/master/multimedia/zoneminder, there is a patch for this. -- Sent from a phone, apologies for poor

Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-18 Thread George Koehler
On Thu, 18 Nov 2021 18:04:26 -0800 Steve Williams wrote: > Hi, > > I'm trying to compile a Linux/FreeBSD application (zoneminder) under > OpenBSD 7.0. > > I'm slowly working through it but have gotten stuck at the point where > it has a dependency on sendfile(2) which OpenBSD doesn't have. >

Re: OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-18 Thread Ingo Schwarze
Hi, Steve Williams wrote on Thu, Nov 18, 2021 at 06:04:26PM -0800: > I'm trying to compile a Linux/FreeBSD application (zoneminder) under > OpenBSD 7.0. > > I'm slowly working through it but have gotten stuck at the point where > it has a dependency on sendfile(2) which OpenBSD doesn't have.

OpenBSD wrapper for Linux/FreeBSD sendfile?

2021-11-18 Thread Steve Williams
Hi, I'm trying to compile a Linux/FreeBSD application (zoneminder) under OpenBSD 7.0. I'm slowly working through it but have gotten stuck at the point where it has a dependency on sendfile(2) which OpenBSD doesn't have. Doing some research, I found one reference that sosplice(2) might be