Re: Preferred TERM for pkg_add

2023-01-17 Thread Patrik Lundin
5)). So just going with the "least capable" dumb seems like a good start. Regards, Patrik Lundin

Preferred TERM for pkg_add

2023-01-04 Thread Patrik Lundin
ld make openbsd_pkg always set one of them for the different pkg_* tools. Regards, Patrik Lundin

Re: Question regarding (portable) OpenNTPD adjfreq

2017-03-08 Thread Patrik Lundin
Ugh, sorry about the garbled layout of the previous message. I should not attempt to do these write ups on the road away from mutt :(. -- Patrik Lundin

Question regarding (portable) OpenNTPD adjfreq

2017-03-08 Thread Patrik Lundin
l([{fd=5, events=POLLIN}], 1, 4294967295 === I initially asked bcook@ about this since it was spotted on -portable and he suggested I bring it up here. -- Patrik Lundin

Re: new feature in pkg_add(1)

2016-07-10 Thread Patrik Lundin
On Thu, Jun 23, 2016 at 06:44:19AM +0200, Patrik Lundin wrote: > > I will play around with this and see what I can come up with, thanks! > For any interested parties there is now support for the pkg_add branch-syntax in the openbsd_pkg package management module in ansible upstre

autoinstall: Support DHCP option bootfile-name

2016-07-10 Thread Patrik Lundin
.leases.em0 === What do people think about this? I did ask about the lack of ability to configure the "file" field on the kea-users list as well, thread can be read here: https://lists.isc.org/pipermail/kea-users/2016-July/000435.html -- Patrik Lundin Index: clparse.c

Re: new feature in pkg_add(1)

2016-06-22 Thread Patrik Lundin
On Wed, Jun 22, 2016 at 02:19:26PM +0200, Marc Espie wrote: > On Tue, Jun 21, 2016 at 10:43:07PM +0200, Patrik Lundin wrote: > > The reason for doing this is that it is much faster than just blindly > > trying to install a package, and does not hammer mirrors needlessly. > &g

Re: new feature in pkg_add(1)

2016-06-21 Thread Patrik Lundin
Are there any plans to teach pkg_info -e about "%"? Is it even possible? The full ansible upstream discussion can be found here if anyone is interested: https://github.com/ansible/ansible-modules-extras/issues/97 Anyway, thanks for working on this, and thanks to landry@ for mentioning this was in the works :). -- Patrik Lundin

pkg_info(1): fix return value description for -e

2016-02-27 Thread Patrik Lundin
$ pkg_info -e 'vim-*-no_x12' $ echo $? 1 === Diff to man page below (removing a negation always feels good). -- Patrik Lundin Index: pkg_info.1 === RCS file: /cvs/src/usr.sbin/pkg_add/pkg_info.1,v retrieving

uftdi: Attach Telldus TellStick Duo

2015-12-21 Thread Patrik Lundin
ch makes it use 9600 baud instead of 4800): === ./rfcmd /dev/cuaU0 NEXA A 1 1 ./rfcmd /dev/cuaU0 NEXA A 1 0 === While not strictly related to this diff, maby the line "MetaGeek tagged products" should be replaced with "Mecanique tagged products" in usb

Re: uftdi: Attach Telldus TellStick Duo

2015-12-21 Thread Patrik Lundin
On Mon, Dec 21, 2015 at 02:12:41PM +0100, Patrik Lundin wrote: > > Currently it is only attached as an ugen device: > === > ugen0 at uhub1 port 2 "Telldus TellStick Duo" rev 2.00/6.00 addr 2 > === > > The diff below makes it attach as an uftdi device: > === >

Re: uftdi: Attach Telldus TellStick Duo

2015-12-21 Thread Patrik Lundin
On Mon, Dec 21, 2015 at 05:40:14PM +0100, Patrik Lundin wrote: > > This was pretty discouraging: it appears the supported program works > better when the kernel knows less about the device. It uses libftdi, > which I guess is supposed to contact the generic device directly. > >

Re: crypto softraid and keydisk on same harddrive

2015-07-26 Thread Patrik Lundin
that support softraid boot. I'll attempt to get this done over the next couple of weeks. Any progress on this? I would be happy to help you test diffs. -- Patrik Lundin

Re: crypto softraid and keydisk on same harddrive

2015-04-25 Thread Patrik Lundin
of the main partition. -- Patrik Lundin

Re: crypto softraid and keydisk on same harddrive

2015-04-24 Thread Patrik Lundin
-miscm=141435482820277w=2 -- Patrik Lundin

Re: ksh version lies

2015-03-15 Thread Patrik Lundin
... Thank you for this information, a pull request against the ansible script is available here: https://github.com/ansible/ansible/pull/10466 -- Patrik Lundin

Re: ksh version lies

2015-03-12 Thread Patrik Lundin
On Fri, Mar 13, 2015 at 10:48:56AM +0900, Pascal Stumpf wrote: On Thu, 12 Mar 2015 15:25:48 + (UTC), Christian Weisgerber wrote: On 2015-03-12, Patrik Lundin patrik.lundin@gmail.com wrote: === elif [ -n $KSH_VERSION ]; then HACKING_DIR=$(dirname ${.sh.file

Re: ksh version lies

2015-03-12 Thread Patrik Lundin
this discussion mentioning the removal of $KSH_VERSION it seemed close enough. Sorry for the noise otherwise. -- Patrik Lundin

Re: rcctl(8): Fetch default service flags

2014-10-10 Thread Patrik Lundin
as possible in rcctl itself to keep the overhead/upkeep low, but you can't get everything i guess :). Regards, Patrik Lundin

Re: rcctl(8): Fetch default service flags

2014-10-10 Thread Patrik Lundin
does not mean do not modify any flags, it means make sure we have the default flags. Because of this I will need to check if the current set of flags are the default or not. Hope this makes some sense :). Regards, Patrik Lundin

Re: rcctl(8): Fetch default service flags

2014-10-10 Thread Patrik Lundin
sliding into bikeshedding territory, so I will leave it at that (would happily discuss it offlist though) :). Regards, Patrik Lundin

rcctl(8): special services and flags

2014-10-09 Thread Patrik Lundin
! Regards, Patrik Lundin Index: rcctl.sh === RCS file: /cvs/src/usr.sbin/rcctl/rcctl.sh,v retrieving revision 1.38 diff -u -p -u -r1.38 rcctl.sh --- rcctl.sh1 Sep 2014 18:01:55 - 1.38 +++ rcctl.sh9 Oct 2014 18:17:56 -

Re: rcctl(8): special services and flags

2014-10-09 Thread Patrik Lundin
. The idea is to then call rcctl with an empty flags argument to get the default set of flags instead. It was my understanding from the man page that this was the approriate way to do it, am I mistaken? Regards, Patrik Lundin

Re: rcctl(8): special services and flags

2014-10-09 Thread Patrik Lundin
--- I don't feel strongly about this though, either way is fine for my needs. The second half is ok schwarze@ if Antoine wants to commit, though i'd slightly prefer the simplified version given below. Looks good to me :). Regards, Patrik Lundin

rcctl(8): Fetch default service flags

2014-10-09 Thread Patrik Lundin
to call this via some argument to rcctl would solve my problem. I am leaving out a diff because I have no idea what a good name for such an argument would be, but just calling svc_default_enabled_flags $svc in the script seems to return what I need. Regards, Patrik Lundin

Re: rcctl(8): Fetch default service flags

2014-10-09 Thread Patrik Lundin
mode where it should only report if it is about to change something or not. Even when not running in --check mode the module needs to report if something was changed or not. Regards, Patrik Lundin

Re: rcctl(8): Fetch default service flags

2014-10-09 Thread Patrik Lundin
, still without any supplied arguments, it will compare the empty set of user supplied flags to -tun 4 which always differs. So ansible will now think it needs to change something forever :). To solve this I need the default flags to compare to the output of 'status'. Regards, Patrik Lundin

Re: rcctl(8): Fetch default service flags

2014-10-09 Thread Patrik Lundin
On Thu, Oct 09, 2014 at 11:51:50PM +0200, Patrik Lundin wrote: To solve this I need the default flags to compare to the output of 'status'. ... I guess another solution could be if 'status' only showed flags that differed from the default. Regards, Patrik Lundin

autoinstall(8): remove System hostname from example

2014-04-26 Thread Patrik Lundin
, it is also primed via the dhcpd.conf host example. Just setting it in dhcpd.conf will lead to one less place to keep track of while keeping the response file less host specific. Does this sound reasonable? Regards, Patrik Lundin Index: autoinstall.8

Re: autoinstall(8): remove System hostname from example

2014-04-26 Thread Patrik Lundin
hostname $(sed -E '/^ *option host-name (.*);$/!d;s//\1/;q' $_lf) I have installed a box with a recent snapshot and the resulting machine will be named after what is set in dhcpd.conf. Regards, Patrik Lundin

slowcgi(8): small wording tweak

2014-01-19 Thread Patrik Lundin
Hello, I just read slowcgi(8) and one of the sentences read a bit strange to me. Anyone agree? Regards, Patrik Lundin Index: slowcgi.8 === RCS file: /cvs/src/usr.sbin/slowcgi/slowcgi.8,v retrieving revision 1.5 diff -u -p -u -r1.5

Re: NSD 4

2013-11-25 Thread Patrik Lundin
:). Regards, Patrik Lundin

md5: returns 0 when a file does not exist

2013-03-28 Thread Patrik Lundin
in this case. I have attempted to write a patch that changes this behaviour. My limited testing has been successful at least, see diff below. Regards, Patrik Lundin Index: md5.c === RCS file: /cvs/src/bin/md5/md5.c,v retrieving revision

Re: relayd(8) 'disable/enable table' support for relays

2010-11-17 Thread Patrik Lundin
it was still fresh in my head. Regards, Patrik Lundin

relayd(8) 'disable/enable table' support for relays

2010-11-16 Thread Patrik Lundin
also mention Linus Widstrvmer in the commit message because he helped out a huge amount to makes these patches see the light of day. Thanks for a great OS :) Regards, Patrik Lundin [demime 1.01d removed an attachment of type text/x-diff]

Re: relayd(8) 'disable/enable table' support for relays

2010-11-16 Thread Patrik Lundin
On Tue, Nov 16, 2010 at 01:48:51PM +0100, Patrik Lundin wrote: You will find the complete patch attached to this message for easy reference. [...] [demime 1.01d removed an attachment of type text/x-diff] I was hoping the attachment would not get eaten when added inline, sorry about