Re: add empty /root/.ssh/authorized_keys to mtree/sets ?

2017-02-09 Thread Landry Breuil
On Sun, Feb 05, 2017 at 08:37:31PM +, Stuart Henderson wrote: > On 2017/02/05 09:53, Robert Peichaer wrote: > > On Sun, Feb 05, 2017 at 10:46:41AM +0100, Landry Breuil wrote: > > > Hi, > > > > > > when installing 'throwaway' VMs (ma

add empty /root/.ssh/authorized_keys to mtree/sets ?

2017-02-05 Thread Landry Breuil
Hi, when installing 'throwaway' VMs (manually, not always using autoinstall for $REASONS) i've often found myself having to do right after the install: install -d -m 700 /root/.ssh install -m 600 /dev/null /root/.ssh/authorized_keys (or touch /root/.ssh/authorized_keys && chmod 600

Re: Allow install from https server w/ self signed cert

2017-01-06 Thread Landry Breuil
On Fri, Jan 06, 2017 at 11:28:34AM +, Stuart Henderson wrote: > Related to this (and particularly thinking about autoinstalls), > would it make sense to allow explicit protocols in the hostname? > > some.host -> https with http fallback > http://some.host/ -> http only > https://some.host/ ->

Re: add commented out spamd config to default syslog.conf

2016-12-08 Thread Landry Breuil
On Thu, Dec 08, 2016 at 01:16:43PM +, Stuart Henderson wrote: > On 2016/12/08 09:42, Landry Breuil wrote: > > Hi, > > > > i know this is in the examples section of syslog.conf(5), but i got > > bitten by this again, so what do ppl thing about adding those

add commented out spamd config to default syslog.conf

2016-12-08 Thread Landry Breuil
Hi, i know this is in the examples section of syslog.conf(5), but i got bitten by this again, so what do ppl thing about adding those 3 lines to the default syslog.conf ? wont push for this, was just taunted by someone "i would OK a diff to add an example to the default syslog.conf" :) Landry

Re: reloading pf through ansible easy hook

2016-11-22 Thread Landry Breuil
On Tue, Nov 22, 2016 at 11:15:01AM +, BARDOU Pierre wrote: > Hello, > > - name: "Loading pf.conf" > template: src=pf.conf dest=/etc/ validate="pfctl -f %s" Fwiw, i find it nicer to validate with 'pfctl -nf' .. Landry

Re: Append system start up messages to new /var/log/dmesg in /etc/rc

2016-10-19 Thread Landry Breuil
On Wed, Oct 19, 2016 at 02:19:22PM +0100, Craig Skinner wrote: > Hi, > > With dmesg's new -s flag, append each boot's full log to a new > /var/log/dmesg semi-private log file. > > Inspired by Alexander Hall's recent post: > http://marc.info/?l=openbsd-misc=147674181621645 > > This works for me

Re: missing includes in games/

2016-09-11 Thread Landry Breuil
On Sun, Sep 11, 2016 at 11:17:25AM +0200, Theo Buehler wrote: > These all call time(3), so should include directly. > > ok? > > Index: bcd/bcd.c > === > RCS file: /var/cvs/src/games/bcd/bcd.c,v > retrieving revision 1.25 > diff -u

Re: mbuf cluster and socket buffer limits

2016-09-02 Thread Landry Breuil
On Fri, Sep 02, 2016 at 06:59:21PM +0200, Alexander Bluhm wrote: > Hi, > > To move our network performance to modern high bandwith and high > latency characteristics, we have to increase the socket buffer size > limit. That also implies more mbuf clusters to avoid running out > of them. > >

Re: Offer - PowerPC Mac Mini 1.24Ghz G4 1GB RAM

2016-07-27 Thread Landry Breuil
On Wed, Jul 27, 2016 at 01:14:18AM -0400, Gabriel Guzman wrote: > > Hi tech@ - I have a Mac Mini that I'd like to donate to the project. If > anyone who is working on the PowerPC port and is in need, please let me > know. I will happily ship it to you. I'll add to that - those macmini are

Re: A patch for allowing IPv6-only or IPv4-only bridges

2016-07-18 Thread Landry Breuil
On Mon, Jul 18, 2016 at 11:27:56AM +0200, Quentin Rameau wrote: > Hi Martin, > > > As discussed with landry@ and sthen@ this won't be merged. Your problem > > could also be solved by using a NDP proxy, that's a solution we would > > recommend if your ISP cannot fix his setup. > > Thanks for the

Re: sqlite3 update

2016-06-01 Thread Landry Breuil
On Wed, Jun 01, 2016 at 11:08:36AM +0100, Stuart Henderson wrote: > On 2016/06/01 07:44, Landry Breuil wrote: > > On Tue, May 31, 2016 at 11:36:35PM +0100, Stuart Henderson wrote: > > > Thanks for the pointer Ingo.. > > > > > > I'll be doing

Re: sqlite3 update

2016-06-01 Thread Landry Breuil
On Wed, Jun 01, 2016 at 07:44:23AM +0200, Landry Breuil wrote: > On Tue, May 31, 2016 at 11:36:35PM +0100, Stuart Henderson wrote: > > Thanks for the pointer Ingo.. > > > > I'll be doing tests (including a bulk ports build) with this, > > but here's an update to sqlit

Re: sqlite3 update

2016-05-31 Thread Landry Breuil
On Tue, May 31, 2016 at 11:36:35PM +0100, Stuart Henderson wrote: > Thanks for the pointer Ingo.. > > I'll be doing tests (including a bulk ports build) with this, > but here's an update to sqlite 3.10.2 (the version which is > in Firefox 46) in the hope it will let us get rid of the >

Re: A patch for allowing IPv6-only or IPv4-only bridges

2016-03-20 Thread Landry Breuil
On Sun, Mar 20, 2016 at 11:55:23AM +0100, Stefan Sperling wrote: > On Sun, Mar 20, 2016 at 10:43:43AM +, Stuart Henderson wrote: > > While I do see use for this, can people also apply pressure to said > > ISP to fix their setup as well please? This is basic routing and really > > shouldn't

Re: A patch for allowing IPv6-only or IPv4-only bridges

2016-03-20 Thread Landry Breuil
On Wed, Mar 16, 2016 at 08:54:22PM +0100, Momtchil Momtchev wrote: > > Hello there, > > Here is my patch that adds support for creating IPv6-only or IPv4-only > bridges. This is different from simply blocking one of the protocols via PF > - it allows you to create a setup where IPv4 is

Re: [PATCH] No comic sans in httpd status pages

2016-02-19 Thread Landry Breuil
On Fri, Feb 19, 2016 at 05:40:33PM +0100, Peter Krantz wrote: > Hi! > > For some reason the httpd status pages (e.g. 404) use the Comic Sans > typeface. This patch removes comic sans and sets the typeface to the default > sans-serif typeface of the client. > > This lowers the number of people

Re: ldapd: add -r option to specify datadir path

2016-02-02 Thread Landry Breuil
On Tue, Feb 02, 2016 at 01:58:18PM +0100, Jérémie Courrèges-Anglas wrote: > Gleydson Soares writes: > > >> Thinking about it .. would a call to access(2) with R_OK|W_OK|R_OK|F_OK > >> satisfy > >> everyone ? Or only F_OK ? > > > > Sounds better than chdir(2), but it will lack

Re: ldapd: add -r option to specify datadir path

2016-02-01 Thread Landry Breuil
On Mon, Feb 01, 2016 at 07:37:34PM +0100, Jérémie Courrèges-Anglas wrote: > j...@wxcvbn.org (Jérémie Courrèges-Anglas) writes: > > > Sebastien Marie <sema...@openbsd.org> writes: > > > >> On Sun, Jan 31, 2016 at 09:39:52AM +0100, Landry Breuil wrote: >

ldapd: add -r option to specify datadir path

2016-01-31 Thread Landry Breuil
Hi, i'm tinkering with ldapd and writing regress tests for it, and to allow running independent instances (with separate port/control socket/etc) i needed to add the possibility to specify an alternative datadir, which was so far #defined in the code. Patch is pretty simple and works fine, i'm

Re: Firefox, malloc(3) and threads

2016-01-26 Thread Landry Breuil
On Mon, Jan 25, 2016 at 09:57:37AM +0100, Landry Breuil wrote: > On Mon, Jan 25, 2016 at 08:48:21AM +0100, Mark Kettenis wrote: > > > From: "Peter N. M. Hansteen" <pe...@bsdly.net> > > > Date: Sun, 24 Jan 2016 23:10:41 +0100 > > > > > >

Re: Firefox, malloc(3) and threads

2016-01-25 Thread Landry Breuil
On Mon, Jan 25, 2016 at 08:48:21AM +0100, Mark Kettenis wrote: > > From: "Peter N. M. Hansteen" > > Date: Sun, 24 Jan 2016 23:10:41 +0100 > > > > On 01/22/16 22:46, Mark Kettenis wrote: > > > Firefox makes a lot of concurrent malloc(3) calls. The locking to > > > make malloc(3)

Re: Properly remove unix sockets when exiting ldapd

2016-01-16 Thread Landry Breuil
On Sat, Jan 16, 2016 at 11:15:30PM +1000, Jonathan Matthew wrote: > On Sat, Jan 16, 2016 at 12:19:18PM +0100, Landry Breuil wrote: > > On Sat, Jan 16, 2016 at 11:47:33AM +0100, Landry Breuil wrote: > > > On Sat, Jan 16, 2016 at 11:40:35AM +0100, Landry Breuil

Properly remove unix sockets when exiting ldapd

2016-01-16 Thread Landry Breuil
On Sat, Jan 16, 2016 at 11:47:33AM +0100, Landry Breuil wrote: > On Sat, Jan 16, 2016 at 11:40:35AM +0100, Landry Breuil wrote: > > Hi, > > > > playing with ldapd, i noticed that upon exit, the child process (ldape) > > is aborted by pledge: > > &g

Re: ldap engine process needs cpath in pledge ?

2016-01-16 Thread Landry Breuil
On Sat, Jan 16, 2016 at 11:40:35AM +0100, Landry Breuil wrote: > Hi, > > playing with ldapd, i noticed that upon exit, the child process (ldape) > is aborted by pledge: > > ldapd(10229): syscall 10 "cpath" > > and /var/run/ldapi / ldapd.sock are left

ldap engine process needs cpath in pledge ?

2016-01-16 Thread Landry Breuil
Hi, playing with ldapd, i noticed that upon exit, the child process (ldape) is aborted by pledge: ldapd(10229): syscall 10 "cpath" and /var/run/ldapi / ldapd.sock are left behind. ktracing and looking at the code, it seems control_cleanup in control.c:117 tries to unlink the control socket,

Re: Properly remove unix sockets when exiting ldapd

2016-01-16 Thread Landry Breuil
On Sat, Jan 16, 2016 at 10:04:56AM -0700, Todd C. Miller wrote: > On Sat, 16 Jan 2016 14:56:48 +0100, Landry Breuil wrote: > > > Good point - the other option would be to log_warn() ? Or just call > > unlink() without checking the return code like its' done for csockpath ?

Re: scan regression fixes

2015-12-19 Thread Landry Breuil
On Fri, Dec 18, 2015 at 03:42:05PM +0100, Stefan Sperling wrote: > On Fri, Dec 18, 2015 at 03:16:52PM +0100, David Coppa wrote: > > On Thu, Dec 17, 2015 at 10:34 PM, Stefan Sperling wrote: > > > On Thu, Dec 17, 2015 at 08:13:03PM +0100, Stefan Sperling wrote: > > >> This should

Re: SQLite 3.9.2 update

2015-12-18 Thread Landry Breuil
On Mon, Dec 14, 2015 at 08:51:47PM +0100, Landry Breuil wrote: > On Mon, Dec 14, 2015 at 01:09:38PM -0500, James Turner wrote: > > SQLite 3.9.2 updated. Tested on amd64. I've included the json extension > > but haven't enabled it yet. I can leave it out if know thinks it wi

Re: SQLite 3.9.2 update

2015-12-14 Thread Landry Breuil
On Mon, Dec 14, 2015 at 01:09:38PM -0500, James Turner wrote: > SQLite 3.9.2 updated. Tested on amd64. I've included the json extension > but haven't enabled it yet. I can leave it out if know thinks it will be > usful at this time and can always at it later. oks? I havent tested this yet, but

Re: 2D acceleration for Nvidia

2015-12-13 Thread Landry Breuil
On Sun, Dec 13, 2015 at 06:14:20PM +0100, Matthieu Herrb wrote: > On Sun, Dec 13, 2015 at 12:09:48PM +0100, Matthieu Herrb wrote: > > My traditionnal benchmark (/usr/bin/time cat /etc/xtermcap in a 80x35 > > xterm with DejaVu Sans Mono 8 anti-aliased font), takes 534s with EXA > > vs 42s with

sqlite 3.8.11.1

2015-09-09 Thread Landry Breuil
Hi, thanks to the hard work of jturner@, here's a 650kb gzipped update to sqlite 3.8.11.1, bumping shlib to 31.0. This is needed for upcoming firefox 41 update, but anyone is welcome to look into the update itself. Not attaching the diff because of the size, available at

Re: [libressl] Improve XMPP protocol support for starttls on s_client

2015-07-07 Thread Landry Breuil
On Tue, Jul 07, 2015 at 01:35:00PM +0100, Stuart Henderson wrote: On 2015/07/06 13:40, Landry Breuil wrote: Hi, i'm not an ssl hacker at all, but while debugging openssl -starttls issues against an xmpp server, i stumbled upon https://rt.openssl.org/Ticket/Display.html?id=2860user

[libressl] Improve XMPP protocol support for starttls on s_client

2015-07-06 Thread Landry Breuil
Hi, i'm not an ssl hacker at all, but while debugging openssl -starttls issues against an xmpp server, i stumbled upon https://rt.openssl.org/Ticket/Display.html?id=2860user=guestpass=guest which fixes some issue with -starttls xmpp and adds the possibility to use -xmpphost in case there's some

Re: jail_bin_add: script to add binary and libs to chroot

2015-06-08 Thread Landry Breuil
On Mon, Jun 08, 2015 at 02:59:28PM +0200, Marc Espie wrote: On Mon, Jun 08, 2015 at 01:46:17AM -0400, dan mclaughlin wrote: i figure this should be useful to some. any nits welcome. Unfortunately, this will become increasingly useless in gtk-land. Compare ldd firefox vs a ktrace of the

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

2015-04-12 Thread Landry Breuil
On Sun, Apr 12, 2015 at 04:43:31PM -0400, dan mclaughlin wrote: it seems that /usr/ports/infrastructure/man is not searched by default, and there is no example in man.conf for it. given that some pages like dpb(1) are there, and referenced thruout a number of pages (eg bsd.port.mk), this seems

Re: Compiling ports tree on older architecture question

2015-04-05 Thread Landry Breuil
On Sun, Apr 05, 2015 at 12:23:38AM -0400, ian kremlin wrote: Hello tech! A friend is borrowing one of my machines to build the entire pkgsrc tree, a task that entails compiling more than 15k individual programs. This has taken 3 days, even on my modern and prepared amd64 machine! (to my

Re: [PATCH] bsd.port.mk - make relation between GH_TAGNAME GH_COMMIT more apparent (prevent actual bug regression)

2015-04-04 Thread Landry Breuil
On Sat, Apr 04, 2015 at 11:07:11PM +0200, Adam Wolk wrote: Hi tech@ I'm the maintainer of www/otter-browser and I got caught while packaging otter-browser 0.9.04. Upstream asked us to point at a different commit then the tagged revision so we did: GH_TAGNAME = v0.9.04 # This is

Re: Status on porting Rust to OpenBSD

2014-11-20 Thread Landry Breuil
On Wed, Nov 19, 2014 at 07:46:27PM -0800, Dave Huseby wrote: Hi everybody, In my free time over the last few weeks I have been attempting to cross-compile the rust compiler using the same method that was used to add support for Dragonfly BSD. I started with the scripts from the Dragonfly

Re: libevent evutil.h

2014-10-31 Thread Landry Breuil
On Thu, Oct 30, 2014 at 02:43:32AM +0100, Alexander Bluhm wrote: Hi, libevent has compatibilty wrappers in evutil. Our tree does not use them anymore, but they are still part of libevent's interface. I don't want to include them automatically, so I suggest to remove evutil.h from

Re: libevent evutil.h

2014-10-30 Thread Landry Breuil
On Thu, Oct 30, 2014 at 08:14:35AM +, Nicholas Marriott wrote: I'd like to see evutil.h go so I'm happy with this idea but yes you will need to make sure it doesn't break ports, there are still quite a few ports that depend on the base libevent. I'll run a bulk build with that. Apply diff

Re: libevent evutil.h

2014-10-30 Thread Landry Breuil
On Thu, Oct 30, 2014 at 08:28:56AM +, Nicholas Marriott wrote: No I think we are keeping the evutil.h file for now, the idea is just to stop event.h including it. OKay, bulk started with just the event.h diff. Landry On Thu, Oct 30, 2014 at 09:20:49AM +0100, Landry Breuil wrote: On Thu

Re: make release fails if SUDO is set in mk.conf

2014-10-24 Thread Landry Breuil
On Fri, Oct 24, 2014 at 02:34:54AM -0400, thev...@openmailbox.org wrote: with SUDO set in /etc/mk.conf: if make release is run as root it will not proceed. if run as a regular user it gets further, but fails on permissions. without SUDO in /etc/mk.conf (and i presume the environment) it

Re: make release fails if SUDO is set in mk.conf

2014-10-24 Thread Landry Breuil
On Fri, Oct 24, 2014 at 05:09:36AM -0400, thev...@openmailbox.org wrote: On Fri, 24 Oct 2014 08:35:40 +0200 Landry Breuil lan...@rhaalovely.net wrote: On Fri, Oct 24, 2014 at 02:34:54AM -0400, thev...@openmailbox.org wrote: with SUDO set in /etc/mk.conf: if make release is run as root

Re: armv7: banana pi, Allwinner A20 board

2014-10-02 Thread Landry Breuil
On Thu, Oct 02, 2014 at 10:01:59PM +, Alexey Suslikov wrote: SASANO Takayoshi uaa at mx5.nisiq.net writes: Try this[1] kernel and have a look if it has the same issue or not. Kernel did not started... U-Boot says checksum is ok, so maybe .umg file is not corrupted. When using

Re: update: sqlite-3.8.6

2014-09-21 Thread Landry Breuil
On Tue, Sep 16, 2014 at 06:34:37PM +0200, Landry Breuil wrote: On Mon, Sep 15, 2014 at 09:17:27AM -0400, James Turner wrote: Attached you will find a diff that updates SQLite to the latest 3.8.6. Tested on amd64 with the fossil port. landry@ is going to see if he can get it in a bulk

Re: [PATCH] Option for mount_tmpfs to populate the volume after creation.

2014-09-18 Thread Landry Breuil
On Thu, Sep 18, 2014 at 08:40:44AM +0100, bytevolc...@safe-mail.net wrote: This patch adds an option -t template to mount_tmpfs, which populates the new tmpfs volume with a directory immediately after creation. Man page update included for explanation. Much of the code was grafted from

Re: update: sqlite-3.8.6

2014-09-16 Thread Landry Breuil
On Mon, Sep 15, 2014 at 09:17:27AM -0400, James Turner wrote: Attached you will find a diff that updates SQLite to the latest 3.8.6. Tested on amd64 with the fossil port. landry@ is going to see if he can get it in a bulk but other testing is also helpful. Thanks. Went into an amd64 bulk build

Re: audioctl: drop useless fields

2014-09-11 Thread Landry Breuil
On Thu, Sep 11, 2014 at 11:54:08AM +0200, Alexander Hall wrote: On 09/11/14 09:58, Alexandre Ratchov wrote: On Wed, Sep 10, 2014 at 07:31:17PM +0200, Alexandre Ratchov wrote: audioctl output is full of useless, misleading and/or unreliable fields. Let's keep the usable ones only. The plan is

Re: lynx: disable old protocols

2014-07-12 Thread Landry Breuil
On Sat, Jul 12, 2014 at 06:11:16AM -0500, Shawn K. Quinn wrote: On Fri, 2014-07-11 at 03:03 -0600, Theo de Raadt wrote: If lynx was removed from base, and only available in ports... how many of you would even know of it's existance and use it? Not only would I know of its existence and go

Re: PATCH: acpibat - expose capacity as sensor

2014-05-20 Thread Landry Breuil
On Tue, May 20, 2014 at 01:19:44PM +0400, Vadim Zhukov wrote: 17.05.2014 20:32 Fabian Raetz fabian.ra...@gmail.com ??: Hi, i want to expose capacity (full capacity design) as a sensor like the rest. This sensor will be used in an upcoming diff

Re: PATCH: acpibat - expose capacity as sensor

2014-05-19 Thread Landry Breuil
On Sun, May 18, 2014 at 08:56:15AM +0200, Landry Breuil wrote: On Sat, May 17, 2014 at 06:32:10PM +0200, Fabian Raetz wrote: Hi, i want to expose capacity (full capacity design) as a sensor like the rest. This sensor will be used in an upcoming diff to upower to expose energy

Re: PATCH: acpibat - expose capacity as sensor

2014-05-18 Thread Landry Breuil
On Sat, May 17, 2014 at 06:32:10PM +0200, Fabian Raetz wrote: Hi, i want to expose capacity (full capacity design) as a sensor like the rest. This sensor will be used in an upcoming diff to upower to expose energy-full-design and capacity properties if this patch gets merged. Both

Re: heads-up: your ports *will break*

2014-04-08 Thread Landry Breuil
On Tue, Apr 08, 2014 at 03:33:52PM +0200, Marc Espie wrote: Got fed up of the nth report flavors are broken. The cause is always the same: for packages to build correctly, your setup *must* propagate some env variables thru sudo during the fake/packaging stage. So, I finally added up a

Re: assembler fix

2014-03-12 Thread Landry Breuil
On Mon, Feb 17, 2014 at 12:02:15AM -0800, Philip Guenther wrote: On Sun, Feb 16, 2014 at 2:57 AM, Mark Kettenis mark.kette...@xs4all.nl wrote: This adds support for a few more instruction patterns that are apparentl needed by gcc 4.8. Taken from binutils 2.17. Not sure if adding NoRex64

Re: SQLite 3.8.3.1

2014-03-07 Thread Landry Breuil
On Sun, Feb 16, 2014 at 06:01:43PM -0500, James Turner wrote: The attached diff updates the in-tree version of SQLite to 3.8.3.1. This is of course for after unlock but for those interested feel free to start giving it a try. Tested on amd64 and loongson with a small selection of ports.

Re: panic: __mp_lock_held(sched_lock) 2013-DEC-27 snapshot

2014-01-29 Thread Landry Breuil
On Tue, Jan 28, 2014 at 09:02:31PM -0800, Philip Guenther wrote: On Tue, Jan 28, 2014 at 4:55 PM, patrick keshishian sids...@boxsoft.com wrote: Side note 2: I see gdb crash quite often on subsequent run of app being debugged. I've noticed this on a bunch of snapshots dating some

Re: tedu old PKG_PREFIX

2013-12-31 Thread Landry Breuil
On Tue, Dec 31, 2013 at 01:19:32PM +0100, Marc Espie wrote: I think I put this in for compatibility with the old tools years ago. I don't think anyone still uses this, so this can probably die. (I have run a grep thru the ports tree and the man pages, no reference at all) okay ? I think i

Re: Small binutils tweak

2013-10-18 Thread Landry Breuil
On Fri, Aug 23, 2013 at 10:40:22PM +0200, Landry Breuil wrote: On Sun, Apr 21, 2013 at 10:42:09AM -0400, Brian Callahan wrote: On 04/21/13 03:21, Jonathan Gray wrote: On Sat, Mar 02, 2013 at 10:36:50AM -0500, Brian Callahan wrote: Hi tech -- While doing some ports testing with clang, I

Re: SQLite 3.8.0.2 diff

2013-09-15 Thread Landry Breuil
On Thu, Sep 12, 2013 at 02:35:02PM -0400, James Turner wrote: Attached is a diff to update our in tree version of SQLite to the recently released 3.8.0.2. SQLite 3.8.0 is needed for a fossil update I'm working on. I've tested this diff against my fossil update and everything appears to be

Re: Small binutils tweak

2013-08-23 Thread Landry Breuil
On Sun, Apr 21, 2013 at 10:42:09AM -0400, Brian Callahan wrote: On 04/21/13 03:21, Jonathan Gray wrote: On Sat, Mar 02, 2013 at 10:36:50AM -0500, Brian Callahan wrote: Hi tech -- While doing some ports testing with clang, I came across the binutils bug mentioned here:

Re: add lid status sensor to acpibtn

2013-08-14 Thread Landry Breuil
On Wed, Aug 14, 2013 at 01:55:27PM +0400, Vadim Zhukov wrote: 2013/8/13 Landry Breuil lan...@rhaalovely.net: On Mon, Aug 12, 2013 at 06:01:25PM +0200, David Coppa wrote: On Mon, Aug 12, 2013 at 5:40 PM, Landry Breuil lan...@rhaalovely.net wrote: * _LID method. 0 means

add lid status sensor to acpibtn

2013-08-12 Thread Landry Breuil
Hi, this diff adds a sensor for acpibtn to show lid status. This allows userland to monitor/react on lid close/open events, in case one is not using machdep.lidsuspend. I know sysutils/upower can make use of this, i just need to add the corresponding code there. comments ? I wonder if/how the

Re: add lid status sensor to acpibtn

2013-08-12 Thread Landry Breuil
On Mon, Aug 12, 2013 at 06:01:25PM +0200, David Coppa wrote: On Mon, Aug 12, 2013 at 5:40 PM, Landry Breuil lan...@rhaalovely.net wrote: Hi, this diff adds a sensor for acpibtn to show lid status. This allows userland to monitor/react on lid close/open events, in case one is not using

Re: MSIs for re(4)

2013-08-04 Thread Landry Breuil
On Sat, Aug 03, 2013 at 02:15:16PM +0200, Mark Kettenis wrote: Theo and I predicted this would happen. When Windows would start using message signalled interrupts (MSIs), support for APIC interrupts in BIOSen for new machines would get broken. On a HP Pavillion Sleekbook 15 I have here the

Re: add nl(1)

2013-07-15 Thread Landry Breuil
On Sun, Jul 14, 2013 at 04:30:48PM +0200, Jérémie Courrèges-Anglas wrote: Todd C. Miller todd.mil...@courtesan.com writes: On Mon, 20 May 2013 12:43:19 +0300, Arto Jonsson wrote: Updated diff. I removed the int width handling and modified the separator printing based on your comment.

Re: binary integer constants in gcc

2013-06-21 Thread Landry Breuil
On Fri, Jun 21, 2013 at 10:20:01AM +0200, Mark Kettenis wrote: Date: Fri, 21 Jun 2013 17:31:39 +1000 From: Jonathan Gray j...@jsg.id.au Both gcc and clang have an extension for binary integer constants. In gcc's case this has been around since 4.3. The mesa backend for newer intel

Re: drm@macppc, please test

2012-12-06 Thread Landry Breuil
On Thu, Dec 06, 2012 at 05:53:05PM +0100, Martin Pieuchot wrote: Hey, I've just committed the last part of the work I started during g2k12 and I would really appreciate some more tests before enabling drm(4) on macppc. - First of all you need a machine with a G3 or G4 processor and a

sqlite3 3.7.14.1

2012-11-26 Thread Landry Breuil
Hi, here's a 250k diff to update our base sqlite3 to the latest 3.7.14.1 : http://rhaalovely.net/~landry/shared/sqlite-3.7.14.1.diff I hope i got the diff right, iirc no local modifications were made to the actual code. Mozilla 18 branch depends on it (for no good reason as usual) so i'd like to

pdksh wrong strips quotes in shell substs

2012-08-09 Thread Landry Breuil
Hi, in the context of https://bugzilla.mozilla.org/show_bug.cgi?id=781461 i've stumbled upon the following issue: (our pdksh) $cat EOF echo ${FOO:+'blah'aa} EOF echo blahaa bash-4.2# FOO=1 bash-4.2# cat EOF echo ${FOO:+'blah'aa} EOF echo 'blah'aa Apparently the ksh from solaris, hpux and

Re: sqlite secure delete

2012-07-25 Thread Landry Breuil
On Tue, Jul 24, 2012 at 08:20:55PM -0400, Ted Unangst wrote: I think this option should be available. Index: Makefile === RCS file: /cvs/src/lib/libsqlite3/Makefile,v retrieving revision 1.8 diff -u -p -r1.8 Makefile ---

Re: tar -J to extract xz archives

2012-05-29 Thread Landry Breuil
On Tue, May 29, 2012 at 09:19:49PM -0400, Ted Unangst wrote: On Tue, May 29, 2012 at 17:46, Gabriel Linder wrote: I see more and more tar.xz archives, and thought it would be nice to have tar able to extract them directly as with gzip/bzip2. -J is what GNU and FreeBSD use, so I used it

Re: c++ headers w/ -pedantic, overflow in implicit constant conversion

2012-05-10 Thread Landry Breuil
On Thu, Mar 15, 2012 at 11:19:43AM +0100, Marc Espie wrote: On Thu, Mar 15, 2012 at 01:39:18AM +, Stuart Henderson wrote: $ c++ -pedantic -c a.c In file included from /usr/include/g++/memory:60, from /usr/include/g++/string:48, from a.c:1:

Re: cvs, stop ignoring *@#%@# files/directories named core

2012-03-20 Thread Landry Breuil
On Tue, Mar 20, 2012 at 10:07:35AM +, Stuart Henderson wrote: core dumps on OpenBSD are not named 'core' anyway so ignoring them is pointless and gets in the way. Why not making it '*.core' so it actually matches better the coredump files ? Landry

Re: latest sparc64 snapshot crashes on boot on a Blade 100

2012-03-15 Thread Landry Breuil
On Thu, Mar 15, 2012 at 08:53:17PM +0100, Markus Lude wrote: Hello, today I tried to upgrade my SUN Blade 100 to the latest sparc64 snapshot. After rebooting it crashed. dmesgs below. And it crashes too on hppa, with a similar trace.. OpenBSD/hppa BOOT 1.2 boot booting dk6a:/bsd:

Re: -not for find(1)

2012-02-27 Thread Landry Breuil
On Mon, Feb 27, 2012 at 03:24:05PM -0430, Andres Perera wrote: linux does worth pointing out that some tests in old firefox ports (maybe still there) failed because the lack of -not Are you thinking about https://bugzilla.mozilla.org/show_bug.cgi?id=665040 ? Anyway, i think that was the only

Re: md5: new -C flag to skip non-existent files in checklist

2012-02-23 Thread Landry Breuil
On Thu, Feb 23, 2012 at 08:16:20AM +, Nicholas Marriott wrote: Hi Is this really much more useful than 2/dev/null? Yes, return code would be 0 if all present files match... Landry

Re: wscanf

2011-09-22 Thread Landry Breuil
On Tue, Sep 20, 2011 at 06:09:34PM +0200, Stefan Sperling wrote: On Tue, Sep 20, 2011 at 12:01:18PM +0200, Stefan Sperling wrote: wscanf based on our scanf implementation. The delta from narrow to wide character support was obtained from FreeBSD and modified to fit our code. Does not

Re: more old stuff

2011-08-24 Thread Landry Breuil
On Wed, Aug 24, 2011 at 12:39:07PM +0200, Marc Espie wrote: Apparently, nobody cares about fat packages. Not surprisingly, killing that code simplifies a few things. Especially since the necessity of passing arch around was only due to the possibility of fat packages... I don't see the

Re: X configuration changes for synaptics - please test

2011-06-19 Thread Landry Breuil
On Sat, Jun 18, 2011 at 08:25:19AM -0600, Aaron Bieber wrote: Hi, I applied these patches to -current on my lenovo t410. The trackpad works as expected for for a few minutes, and then seems to lock up ( not allowing me to move the pointer, or click the two buttons under it ). I've

Re: man.conf, pick up ports manpages by default

2011-04-11 Thread Landry Breuil
On Mon, Apr 11, 2011 at 10:28:49AM +0200, Jasper Lievisse Adriaanse wrote: On Mon, Apr 11, 2011 at 09:19:57AM +0100, Stuart Henderson wrote: it's useful for ports developers to be able to read the infrastructure manpages (dpb, pkg_subst, update-patches, etc) without making changes to the

Re: allow usermod to remove user from secondary groups

2011-04-08 Thread Landry Breuil
On Fri, Apr 08, 2011 at 07:53:51PM +0200, Frank Brodbeck wrote: Hi, lately I was reading on misc@ [1] that there's no way to remove a user from secondary groups but by hand. I also searched for a PR but couldn't find one. The attached diff remedies the problem: # id test uid=1001(test)

Re: maxdsiz tweaking

2010-11-28 Thread Landry Breuil
On Sun, Nov 28, 2010 at 06:51:45PM -0500, Ted Unangst wrote: What follows is a somewhat older mail I had forgotten about. It's suddenly become more interesting to be because I was playing around with jruby which requires a big heap size. It pisses me off to own a 3GB laptop and only be

Re: Today's pkg_add -u broke my Thunar on xfce

2010-11-16 Thread Landry Breuil
On Tue, Nov 16, 2010 at 11:58:44AM +0100, David Coppa wrote: On Mon, Nov 15, 2010 at 11:43 AM, Andreas Kahari a...@ebi.ac.uk wrote: On Thu, Nov 11, 2010 at 07:28:18PM +0100, Landry Breuil wrote: On Thu, Nov 11, 2010 at 06:23:50PM +0100, Landry Breuil wrote: On Thu, Nov 11, 2010 at 04:39

Re: merge pms and pmsi + added support for some of mouse

2010-09-29 Thread Landry Breuil
On Wed, Sep 29, 2010 at 06:53:33PM +0100, Nicholas Marriott wrote: this reads fine and works fine for me although i don't really agree with all this return () and comment changing.. if everyone did that there would be tons of unnecessary changes, the existing style is fine... but anyway,

Re: patch to add RequestHeader directive to httpd mod_headers.c

2010-09-22 Thread Landry Breuil
On Wed, Sep 22, 2010 at 05:20:04PM +0200, Sebastian Reitenbach wrote: Alexander Hall wrote: I don't have any actual interest in the change myself, nor the time to test it, but now at least the diff has the fixes I expected to see regarding my prior concerns. Anyone else who would

Re: ncursesw

2010-08-24 Thread Landry Breuil
On Mon, Aug 23, 2010 at 01:04:25PM +, Christian Weisgerber wrote: Landry Breuil lan...@rhaalovely.net wrote: http://nicm.ath.cx/~nicholas/ncursesw.tar.gz I'll run a bulk with it if noone beats me to it. Here's a list of candidates that are likely to be affected: audio

Re: ncursesw

2010-08-23 Thread Landry Breuil
On Mon, Aug 23, 2010 at 01:36:53AM +0100, Nicholas Marriott wrote: Hi Here are the bits for wide character support in libcurses, libform, libpanel, libmenu. Apply the diff below and extract this tarball in src/lib (note this is on a slow connection so please don't bother unless you are

Re: shared libs and ports, maybe a proposal

2010-07-09 Thread Landry Breuil
On Fri, Jul 9, 2010 at 10:16 AM, Marc Espie es...@nerim.net wrote: On Thu, Jul 08, 2010 at 08:22:38PM +, Christian Weisgerber wrote: I think both sthen@ and I have mentioned before that we really like how FreeBSD has the revision in a separate PORTREVISION variable that is much easier and

Re: disklabel - 'P' option

2010-04-08 Thread Landry Breuil
On Thu, Apr 8, 2010 at 1:34 PM, Mark Lumsden m...@cyodesigns.com wrote: When I use Disklabel, I have been in the habit of issuing 'p m enter' rather than just 'p enter' Since I do it for disk / usb thumb setups, and so forth, I find the 'megabyte-able' printing more consistent to my liking.

Re: azalia: converter channel names

2009-10-27 Thread Landry Breuil
On Tue, Oct 27, 2009 at 4:26 AM, Jacob Meuser jake...@sdf.lonestar.org wrote: no comments? It looks more sane and explicit, i like it. Landry

Re: Thank you for making p2k9 possible!

2009-10-16 Thread Landry Breuil
On Fri, Oct 16, 2009 at 03:36:58AM +0300, Paul Irofti wrote: Its been a great hackathon and I'd like to thank both robert and theo for creating this opportunity for all of us to meet and work together. Also thanks to everybody that keeps donating and buying CDs which make such things possible.

<    1   2