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 - @@ -1,12

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 j...@giga.moe wrote: If-Modified-Since is sent by http clients to be notified if a file has been changed. This patch adds a

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 a...@caoua.org 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

Re: remove dsp bits from libossaudio

2015-04-18 Thread Philip Guenther
On Fri, Apr 17, 2015 at 3:34 AM, Alexandre Ratchov a...@caoua.org 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

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

2015-04-18 Thread Philip Guenther
On Sat, Apr 18, 2015 at 2:56 PM, Adam Wolk adam.w...@koparo.com wrote: On Sat, Apr 18, 2015, at 11:44 PM, Mark Kettenis wrote: From: Adam Wolk adam.w...@koparo.com 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

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 these

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 adam.w...@koparo.com wrote: On Sat, Apr 18, 2015, at 11:44 PM, Mark Kettenis wrote: From: Adam Wolk adam.w...@koparo.com Date: Sat, 18 Apr 2015 23:23:40 +0200 ... Which lead me to a

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

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

2015-04-18 Thread Mark Kettenis
From: Adam Wolk adam.w...@koparo.com 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:

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 adam.w...@koparo.com 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

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:

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 schwa...@usta.de 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

[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

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 turn

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.