Re: remove dsp bits from libossaudio

2015-04-18 Thread Philip Guenther
On Fri, Apr 17, 2015 at 3:34 AM, Alexandre Ratchov wrote: > No code uses the SNDCLT_DSP_* "ioctls" anymore (the last port using > them was removed few months ago), so they could be removed now. As > there's no ABI change, no shlib_version crank is necessary. > > The motivation of removing these "i

Re: remove oss support from linux compat (i386 only)

2015-04-18 Thread Philip Guenther
On Fri, Apr 17, 2015 at 3:25 AM, Alexandre Ratchov wrote: > This was "discussed" and nobody steps up to save it: > > http://comments.gmane.org/gmane.os.openbsd.misc/217005 > > removing oss emulation, will remove dependency on obscure audio(4) > features we don't use since ~2009, and in turn will e

Re: [PATCH] Support If-Modified-Since header on requests in httpd

2015-04-18 Thread Kyle Thompson
Sorry for the spam, I submitted the patch during the maintenance period. Any advice on this patch is appreciated. Kyle Thompson > On Apr 18, 2015, at 12:19 PM, jmp wrote: > > If-Modified-Since is sent by http clients to be notified if a file has > been changed. This patch adds a function serve

Re: remove oss support from linux compat (i386 only)

2015-04-18 Thread Jonathan Armani
On Fri, Apr 17, 2015 at 12:25:13PM +0200, Alexandre Ratchov wrote: > This was "discussed" and nobody steps up to save it: > > http://comments.gmane.org/gmane.os.openbsd.misc/217005 > > removing oss emulation, will remove dependency on obscure audio(4) > features we don't use since ~2009, and in t

Re: sys/ucontext.h - dead code walking?

2015-04-18 Thread Adam Wolk
On Sun, Apr 19, 2015, at 12:23 AM, Philip Guenther wrote: > On Sat, Apr 18, 2015 at 2:56 PM, Adam Wolk wrote: > > On Sat, Apr 18, 2015, at 11:44 PM, Mark Kettenis wrote: > >> > From: Adam Wolk > >> > Date: Sat, 18 Apr 2015 23:23:40 +0200 > ... > >> > Which lead me to a hunt on how other parts of

Re: sys/ucontext.h - dead code walking?

2015-04-18 Thread Philip Guenther
On Sat, Apr 18, 2015 at 2:56 PM, Adam Wolk wrote: > On Sat, Apr 18, 2015, at 11:44 PM, Mark Kettenis wrote: >> > From: Adam Wolk >> > Date: Sat, 18 Apr 2015 23:23:40 +0200 ... >> > Which lead me to a hunt on how other parts of base/ports handle this. >> > I grepped /usr/src and found something in

Re: remove dsp bits from libossaudio

2015-04-18 Thread Jonathan Armani
On Fri, Apr 17, 2015 at 12:34:00PM +0200, Alexandre Ratchov wrote: > No code uses the SNDCLT_DSP_* "ioctls" anymore (the last port using > them was removed few months ago), so they could be removed now. As > there's no ABI change, no shlib_version crank is necessary. > > The motivation of removing

[PATCH] Support If-Modified-Since header on requests in httpd

2015-04-18 Thread jmp
If-Modified-Since is sent by http clients to be notified if a file has been changed. This patch adds a function server_file_modified_since that checks the time of the file from stat with the time sent from the client. The separate function will help implement proper Range support. I found 'timeoff

Re: man, man.conf and /usr/ports/infrastructure/man

2015-04-18 Thread Theo de Raadt
> === > RCS file: /cvs/src/etc/examples/man.conf,v > retrieving revision 1.2 > diff -u -r1.2 man.conf > --- etc/examples/man.conf 27 Mar 2015 21:17:16 - 1.2 > +++ etc/examples/man.conf 18 Apr 2015 14:44:00 - > @@ -

Re: man, man.conf and /usr/ports/infrastructure/man

2015-04-18 Thread dan mclaughlin
On Sat, 18 Apr 2015 16:47:20 +0200 Ingo Schwarze wrote: > Hi, > > dan mclaughlin wrote on Mon, Apr 13, 2015 at 01:13:16AM -0400: > > > i think i found the perfect places for this in both ports(7) > > and the FAQ. i'm sure the wording can be improved, but diffs below. > > I'd prefer the followi

Re: sys/ucontext.h - dead code walking?

2015-04-18 Thread Adam Wolk
On Sat, Apr 18, 2015, at 11:44 PM, Mark Kettenis wrote: > > From: Adam Wolk > > Date: Sat, 18 Apr 2015 23:23:40 +0200 > > > > Hi tech@, > > > > I'm working on a port for lang/dart and got stuck on ucontext.h compile > > errors. > > The first one was quite easy, changing sys/ucontext.h to signal.

Re: man, man.conf and /usr/ports/infrastructure/man

2015-04-18 Thread Ingo Schwarze
Hi, dan mclaughlin wrote on Mon, Apr 13, 2015 at 01:13:16AM -0400: > i think i found the perfect places for this in both ports(7) > and the FAQ. i'm sure the wording can be improved, but diffs below. I'd prefer the following way. The FAQ is a separate matter. OK? Ingo Index: etc/examples/

Re: sys/ucontext.h - dead code walking?

2015-04-18 Thread Mark Kettenis
> From: Adam Wolk > Date: Sat, 18 Apr 2015 23:23:40 +0200 > > Hi tech@, > > I'm working on a port for lang/dart and got stuck on ucontext.h compile > errors. > The first one was quite easy, changing sys/ucontext.h to signal.h since > ucontext_t is > defined there > > sys/signal.h: > typedef str

[PATCH] If-Modified-Since support in httpd

2015-04-18 Thread jmp
If-Modified-Since is already sent by most web browsers to httpd. This patch adds a check to server_file_access before we send the file back. This does not do any checks for autoindex directories as the size and last modification dates of files would not get updated properly. I separated the logic

sys/ucontext.h - dead code walking?

2015-04-18 Thread Adam Wolk
Hi tech@, I'm working on a port for lang/dart and got stuck on ucontext.h compile errors. The first one was quite easy, changing sys/ucontext.h to signal.h since ucontext_t is defined there sys/signal.h: typedef struct sigcontext ucontext_t; This allowed me to move forward and stop on the next b

TLS_READ_AGAIN and TLS_WRITE_AGAIN

2015-04-18 Thread Nathanael Rensen
The tls_init(3) man page states: The tls_close(), tls_read() and tls_write() functions, along with the tls_accept() and tls_connect() function families, have two special return values: TLS_READ_AGAIN A read operation is necessary to continue. TLS_WRITE_AGAIN