Re: [patch] ldattach ignores -t for msts line discipline

2014-08-10 Thread Maurice Janssen
On 08/10/14 04:10, Philip Guenther wrote: On Thu, Aug 7, 2014 at 1:07 PM, Maurice Janssen maur...@z74.net wrote: The -t option for ldattach doesn't seem to work when using an msts time receiver. The patch below fixes this. I guess this part was forgotten when msts support was added in r1.4.

Small geoloc daemon

2014-08-10 Thread David Carlier
Hi all. I ve made a first draft of a new geolocalization service available here https://github.com/devnexen/geoloc which can be used by some other daemons. In short terms, it can gives geolocalization informations (country code, isp...) from an ip address. Feel free to give some thoughts about

Re: Small geoloc daemon

2014-08-10 Thread Gustav Fransson Nyvell
On 08/10/14 11:07, David Carlier wrote: Hi all. I ve made a first draft of a new geolocalization service available here https://github.com/devnexen/geoloc which can be used by some other daemons. In short terms, it can gives geolocalization informations (country code, isp...) from an ip

OpenBSD patches for ZTE AC5730 CDMA modem recognition

2014-08-10 Thread Denis Lapshin
/usr/src/sys/dev/usb # cat ubsa.c.patch --- ubsa.c.old Sun Jul 7 20:22:38 2013 +++ ubsa.c Wed May 14 21:27:45 2014 @@ -212,6 +212,8 @@ { USB_VENDOR_PERACOM, USB_PRODUCT_PERACOM_SERIAL1 }, /* ZTE Inc. CMDMA MSM modem */ { USB_VENDOR_ZTE, USB_PRODUCT_ZTE_CDMA_MSM },

Is there a repo for the latest LibreSSL portable?

2014-08-10 Thread Nicholas Wilson
Hi, I really appreciate the work you're doing on LibreSSL, and donated immediately when it was announced. As a FreeBSD user I reluctantly programme with OpenSSL every day for my job, and I'm delighted something's finally being done. Maybe this is a silly question - but where is the code for the

Re: Is there a repo for the latest LibreSSL portable?

2014-08-10 Thread Adam Wolk
Hi, On Sun, Aug 10, 2014, at 12:38 PM, Nicholas Wilson wrote: Maybe this is a silly question - but where is the code for the portable version checked in? I think I understand the development model from working with OpenSSH dev, but surely the portable compat files must be kept in version

Re: Small geoloc daemon

2014-08-10 Thread Jérémie Courrèges-Anglas
Gustav Fransson Nyvell gus...@nyvell.se writes: [...] No. You begin with an RFC. Really? Besides, an RFC for what, imsg communication? Again I can't see the point of your posts, and I'm not alone. -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE

Re: Is there a repo for the latest LibreSSL portable?

2014-08-10 Thread Nicholas Wilson
On 10 August 2014 11:53, Adam Wolk adam.w...@koparo.com wrote: According to http://www.libressl.org/: We have a github repository clone as libressl-portable[1] on github for the curious. This is a copy of the working respositories which are not maintained on github. I read that -- but it

Re: Is there a repo for the latest LibreSSL portable?

2014-08-10 Thread Ingo Schwarze
Hi Nick, i'm not speaking for LibreSSL, but about OpenBSD subprojects in general; i'm running src/usr.bin/mandoc (portable version: mdocml.bsd.lv). Nicholas Wilson wrote on Sun, Aug 10, 2014 at 02:05:16PM +0100: Certainly from my point of view it would make things simpler if LibreSSL were run

Re: Small geoloc daemon

2014-08-10 Thread Gustav Fransson Nyvell
On 08/10/14 14:28, Jérémie Courrèges-Anglas wrote: Gustav Fransson Nyvell gus...@nyvell.se writes: [...] No. You begin with an RFC. Really? Besides, an RFC for what, imsg communication? Again I can't see the point of your posts, and I'm not alone. I was under the impression this was an

Re: Is there a repo for the latest LibreSSL portable?

2014-08-10 Thread Nicholas Wilson
Hi Ingo, On 10 August 2014 15:54, Ingo Schwarze schwa...@usta.de wrote: Portability goo clutters code and reduces readability, and hence endangers correctness and security ... Making a portable version is *impossible* without some clutter (even though the portability goo in OpenBSD

Re: Is there a repo for the latest LibreSSL portable?

2014-08-10 Thread Ted Unangst
On Sun, Aug 10, 2014 at 11:38, Nicholas Wilson wrote: Maybe this is a silly question - but where is the code for the portable version checked in? I think I understand the development model from working with OpenSSH dev, but surely the portable compat files must be kept in version control

Re: Is there a repo for the latest LibreSSL portable?

2014-08-10 Thread Joel Sing
On Mon, 11 Aug 2014, Nicholas Wilson wrote: Hi Ingo, On 10 August 2014 15:54, Ingo Schwarze schwa...@usta.de wrote: Portability goo clutters code and reduces readability, and hence endangers correctness and security ... Making a portable version is *impossible* without some clutter

Re: Small geoloc daemon

2014-08-10 Thread Stuart Henderson
On 2014/08/10 17:20, Gustav Fransson Nyvell wrote: On 08/10/14 14:28, Jérémie Courrèges-Anglas wrote: Gustav Fransson Nyvell gus...@nyvell.se writes: [...] No. You begin with an RFC. Huh? Really? Besides, an RFC for what, imsg communication? Again I can't see the point of your

Print strings with double quotes safely in ifconfig(8)

2014-08-10 Thread Vadim Zhukov
This changes the way ifconfig(8) to print lines like 'crazy nwid', i.e., containing double quotes inside the data being output. At the present, such lines will be printed in the following way: crazy nwid And this makes everything that tries to parse such lines go crazy in their turn. I propose

Re: insque/remque bugs

2014-08-10 Thread Miod Vallat
If the queue is to be used as a linear list, invoking insque(element, NULL), where element is the initial element of the queue, shall initialize the forward and backward pointers of element to null pointers. Hmm. Do the vax ASM versions of these functions need changes to support

Re: Print strings with double quotes safely in ifconfig(8)

2014-08-10 Thread Alexander Hall
On August 10, 2014 11:17:59 PM CEST, Vadim Zhukov persg...@gmail.com wrote: This changes the way ifconfig(8) to print lines like 'crazy nwid', i.e., containing double quotes inside the data being output. At the present, such lines will be printed in the following way: crazy nwid And this makes

Re: Print strings with double quotes safely in ifconfig(8)

2014-08-10 Thread patrick keshishian
On 8/10/14, Vadim Zhukov persg...@gmail.com wrote: This changes the way ifconfig(8) to print lines like 'crazy nwid', i.e., containing double quotes inside the data being output. At the present, such lines will be printed in the following way: crazy nwid And this makes everything that tries

Re: Print strings with double quotes safely in ifconfig(8)

2014-08-10 Thread Vadim Zhukov
2014-08-11 2:06 GMT+04:00 patrick keshishian pkesh...@gmail.com: On 8/10/14, Vadim Zhukov persg...@gmail.com wrote: This changes the way ifconfig(8) to print lines like 'crazy nwid', i.e., containing double quotes inside the data being output. At the present, such lines will be printed in the

openssl fixes backport

2014-08-10 Thread Ted Unangst
Some fixes from OpenSSL 1.0.1i have been backported to 5.5 and 5.4. See http://www.openbsd.org/errata55.html untrusted comment: signature from openbsd 5.5 base secret key RWRGy8gxk9N930/jzqCCFMfSCKMjKDSYrXSKPhnGlL2r21nCGEPw+wOEDXpQC6Zispe8gewI7duy5T76oRpvWFGyzsYxl6pWfAc= OpenBSD 5.5 errata 10,

Add commitid support to loginfo in CVS

2014-08-10 Thread Vadim Zhukov
This patch adds support for handling commit IDs in loginfo scripts. Now, if you add, e.g., the following line to loginfo... date %{isVv} /tmp/commitlog ... then you'll get something like: DOQ1DVGdv6tda71v ports/x11/kde4/libs TODO,1.14,1.15 As a bonus, this adds support for '%%' escaping, so

Re: insque/remque bugs

2014-08-10 Thread Philip Guenther
On Sun, 10 Aug 2014, Miod Vallat wrote: If the queue is to be used as a linear list, invoking insque(element, NULL), where element is the initial element of the queue, shall initialize the forward and backward pointers of element to null pointers. Hmm. Do the vax ASM versions

Re: Refactoring process-local file descriptor data

2014-08-10 Thread Jean-Philippe Ouellet
Ping? On Sun, Jul 13, 2014 at 03:45:44PM -0400, Jean-Philippe Ouellet wrote: Updated for mallocarray() and free(size). On Thu, Jul 10, 2014 at 04:13:38PM -0400, Jean-Philippe Ouellet wrote: This diff adds another struct between filedesc and file to store process-local per-descriptor