[patch]: httpd: extend "include" to support glob(3) patterns.

2016-05-28 Thread Fabian Raetz
Hi, the patch below teaches httpd's "include" keyword how to handle file patterns via glob(3) by introducing a new function "pushglob()". This allows something like the following in httpd.conf: include "/etc/httpd/sites-enabled/*.conf" If the pattern passed to pushglob() contains no globbing

Re: carp: fix SIOCSVH if carpr.carpr_carpdev is \0

2016-01-03 Thread Fabian Raetz
On Sun, Jan 03, 2016 at 03:54:16PM +0100, Martin Pieuchot wrote: > On 03/01/16(Sun) 14:19, Fabian Raetz wrote: > > On Sun, Jan 03, 2016 at 11:54:18AM +0100, Martin Pieuchot wrote: > > > On 30/12/15(Wed) 12:51, Fabian Raetz wrote: > > > > Hi tech@, > > >

Re: carp: fix SIOCSVH if carpr.carpr_carpdev is \0

2016-01-03 Thread Fabian Raetz
On Sun, Jan 03, 2016 at 11:54:18AM +0100, Martin Pieuchot wrote: > On 30/12/15(Wed) 12:51, Fabian Raetz wrote: > > Hi tech@, > > > > i've found the undocumented -carpdev option in ifconfig(8) which freezes > > my sytem if executed. > > > > As the -car

ifconfig: rm not need variable noprint

2015-12-30 Thread Fabian Raetz
Hi tech@, this patch removes the 'noprint' variable which was added to ifconfig.c in rev 1.216 and is not in use since rev. 1.220. Cheers, Fabian Index: sbin/ifconfig/ifconfig.c === --- sbin/ifconfig/ifconfig.c.orig +++ sbin/ifcon

Re: ifconfig: remove undocumented -carpdev

2015-12-30 Thread Fabian Raetz
On Wed, Dec 30, 2015 at 07:24:01AM -0500, Ted Unangst wrote: > Fabian Raetz wrote: > > Hi, > > > > please find below a patch to remove the undocumented -carpdev command from > > ifconfig(8). > > wouldn't it make more sense to document the command? as the co

carp: fix SIOCSVH if carpr.carpr_carpdev is \0

2015-12-30 Thread Fabian Raetz
Hi tech@, i've found the undocumented -carpdev option in ifconfig(8) which freezes my sytem if executed. As the -carpdev option is undocumented in both ifconfig(8) and carp(4) i propose two patches to remove this functionality. The patch below will return EINVAL in SIOCSVH if carpr.carpr_carpdev

ifconfig: remove undocumented -carpdev

2015-12-30 Thread Fabian Raetz
Hi, please find below a patch to remove the undocumented -carpdev command from ifconfig(8). Cheers, Fabian Index: ifconfig.c === RCS file: /cvs/src/sbin/ifconfig/ifconfig.c,v retrieving revision 1.311 diff -u -p -r1.311 ifconfig.c

Re: ehci(4) Full-speed isochronous transfers support

2015-03-29 Thread Fabian Raetz
On Sat, Mar 28, 2015 at 11:29:11AM +0100, Martin Pieuchot wrote: > With the increasing number of machines shipping with rate-matching > hubs instead of companion controllers to support USB Full and Low- > speed devices, a number of people asked me if it was possible to > add support for Full-speed

[PATCH] #include in parse.y when calloc is used

2015-03-28 Thread Fabian Raetz
Hi tech@, should the stdlib.h header be included in parse.y files when calloc(3) is used? Regards, Fabian >From ce8307e0bc7541b88a9a9bf949f6585adef46bb6 Mon Sep 17 00:00:00 2001 From: Fabian Raetz Date: Sat, 28 Mar 2015 12:44:32 +0100 Subject: [PATCH] include stdlib.h because of callo

Re: event(3): add misssing prototypes / reorder

2015-02-18 Thread Fabian Raetz
ties" +.Ft int +.Fn "event_priority_set" "struct event *ev" "int priority" +.Ft int +.Fn "event_base_dispatch" "struct event_base *base" +.Ft int +.Fn "event_base_loop" "struct event_base *base" "int flags" +.Ft int

event(3): add misssing prototypes / reorder

2015-02-17 Thread Fabian Raetz
Hi tech@, below is a diff which 1) adds the following prototypes from event.h to event(3): - event_reinit - event_set_log_callback - event_get_version - event_get_method - event_base_new - event_base_priority_init - bufferevent_priority_set - bufferevent_setcb - bufferevent_se

if_media.c: #include

2015-01-21 Thread Fabian Raetz
Hi, if_media.c needs net/if_var.h. This fixes the build with IFMEDIA_DEBUG. Regards, Fabian Index: sys/net/if_media.c === RCS file: /cvs/src/sys/net/if_media.c,v retrieving revision 1.24 diff -u -p -r1.24 if_media.c --- sys/net/if_

axen(4): two small changes

2015-01-15 Thread Fabian Raetz
Hi, 1) axen_cmd() returns int instead of usbd_status. 2) the ifp variable in axen_tick_task() is not used so delete it. Cheers, Fabian Index: if_axen.c === RCS file: /cvs/src/sys/dev/usb/if_axen.c,v retrieving revision 1.10 diff -u

axen(4): use %zu modifier for size_t in DPRINTF

2015-01-12 Thread Fabian Raetz
Hi, this fixes the build with AXEN_DEBUG defined for me. Trailing whitespace removed while here. Regards, Fabian Index: if_axen.c === RCS file: /cvs/src/sys/dev/usb/if_axen.c,v retrieving revision 1.9 diff -u -p -r1.9 if_axen.c ---

Re: PATCH: fix iwn(4) scan hangs

2014-09-11 Thread Fabian Raetz
On Wed, Sep 10, 2014 at 08:52:42PM +0200, Marcin Piotr Pawlowski wrote: > Hi, > > On 09/10/14 20:19, Fabian Raetz wrote: > > On Wed, Sep 10, 2014 at 02:42:43PM +0200, Marcin Piotr Pawlowski wrote: > >> Yes, I think that it could be is possible to double clean the node

Re: PATCH: fix iwn(4) scan hangs

2014-09-10 Thread Fabian Raetz
efan Sperling wrote: > > On Wed, Sep 10, 2014 at 02:06:15PM +0200, Marcin Piotr Pawlowski wrote: > >> On 09/10/14 10:15, Stefan Sperling wrote: > >>> On Tue, Sep 09, 2014 at 10:17:59PM +0200, Fabian Raetz wrote: > >>>> Hm interesting ... i ca

Re: PATCH: fix iwn(4) scan hangs

2014-09-09 Thread Fabian Raetz
Hm interesting ... i can reproduce it here with an 2.4GHz AP. The entry isn't cleared when scanning and the interface is up. Scanning when the interface is down works correct for me. I will take a look at it tommorow :) 2014-09-09 21:48 GMT+02:00 Stuart Henderson : > I have just noticed one thin

Re: PATCH: fix iwn(4) scan hangs

2014-09-09 Thread Fabian Raetz
On Tue, Sep 09, 2014 at 12:38:04PM +0200, Fabian Raetz wrote: > Hi, > > below is a patch for iwn(4) which hopefully fixes a problem where iwn(4) > does not return from a scan, if the interface is up. here's an updated version which does not set hdr->max_svc / hdr-&

PATCH: fix iwn(4) scan hangs

2014-09-09 Thread Fabian Raetz
bably some code be removed. Devices tested so far: Inter WiFi Link 5100(Marcin Piotr Pawlowski) Intel Centrino Advanced-N 6205 (Mike Burns, who also reported the problem on misc@, thanks!) Intel Centrino Wireless-N 2230 (Fabian Raetz

Re: Patch: ifconfig - fix SIGSEGV

2014-06-05 Thread Fabian Raetz
On Thu, Jun 05, 2014 at 07:39:01PM +0200, Fabian Raetz wrote: > Hi tech@, Please ignore this thread! A reboot after rebuilding userland fixed the problem. Sorry! > > when calling ifconfig(8) with a not supported option like below, it > segfaults. > > i

Patch: ifconfig - fix SIGSEGV

2014-06-05 Thread Fabian Raetz
Hi tech@, when calling ifconfig(8) with a not supported option like below, it segfaults. ifconfig [interface] -someParameterNotSupportedWithALeadingMinus ifconfig re0 -adaw ifconfig iwn0 -media Here's a backtrace: #0 strlcpy (dst=0x84c658 <_entbuf+24> "", src=0x0, siz=

Re: s/REGRESS_DEPENDS/TEST_DEPENDS/ in packages-specs.7

2014-05-17 Thread Fabian Raetz
On Sat, May 17, 2014 at 07:51:25PM +0200, Fabian Raetz wrote: > Index: infrastructure/mk/README.internals > === > RCS file: /cvs/ports/infrastructure/mk/README.internals,v > retrieving revision 1.11 > di

s/REGRESS_DEPENDS/TEST_DEPENDS/ in packages-specs.7

2014-05-17 Thread Fabian Raetz
Index: infrastructure/mk/README.internals === RCS file: /cvs/ports/infrastructure/mk/README.internals,v retrieving revision 1.11 diff -u -p -r1.11 README.internals --- infrastructure/mk/README.internals 11 Feb 2014 10:34:34 -

PATCH: acpibat - expose "capacity" as sensor

2014-05-17 Thread Fabian Raetz
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 patches together will fix wrong notifications about broken batteries

PATCH: ACPI_DEBUG - format fixes

2014-05-17 Thread Fabian Raetz
Hi, the following diff fixes kernel builds with ACPI_DEBUG defined. Not sure if these are the right ones, but at least it compiles again. Cheers, Fabian Index: acpi.c === RCS file: /cvs/src/sys/dev/acpi/acpi.c,v retrieving revision

axen(4) add USB 3.0 network gigabit adapter

2014-03-15 Thread Fabian Raetz
Hi tech@, the diff below adds support for the Sitecom USB 3.0 network adapter. Cheers, Fabian dmesg: axen0 at uhub4 port 2 configuration 1 interface 0 "Sitecom Europe BV Sitecom USB 3.0 Gigabit" rev 2.10/1.00 addr 3 axen0: AX88179, address 64:d1:a3:29:46:1a rgephy1 at axen0 phy 3: RTL8169S/81

ISY IWL 4000 Wireless Micro Adapter support for urtwn(4)

2014-03-13 Thread Fabian Raetz
Hi, the diff below adds the ISY IWL4000 USB Wireless Micro Adapter to urtwn(4). there was a similar diff to tech@ some time ago. See http://openbsd.7691.n7.nabble.com/USB-Wireless-Micro-Adapter-IWL-4000-support-td219255.html . I took the chipset from https://wikidevi.com/wiki/ISY_IWL_4000 . Ch

Re: Add Intel Centrino Wireless-N 2230 support in iwn(4)

2014-02-09 Thread Fabian Raetz
On Sun, Feb 09, 2014 at 09:32:15PM +0100, Mark Kettenis wrote: > > Date: Sun, 9 Feb 2014 14:23:18 +0100 > > From: Fabian Raetz > > > > > > Hmm, my cleanup was based on the version you send out on December > > > 31st. Can you send me the latest version of

Re: Add Intel Centrino Wireless-N 2230 support in iwn(4)

2014-02-09 Thread Fabian Raetz
On Sun, Feb 09, 2014 at 10:40:57AM -0500, Brad Smith wrote: > On Sun, Feb 09, 2014 at 02:23:18PM +0100, Fabian Raetz wrote: > > > > > > Hmm, my cleanup was based on the version you send out on December > > > 31st. Can you send me the latest version of your diff?

Re: Add Intel Centrino Wireless-N 2230 support in iwn(4)

2014-02-09 Thread Fabian Raetz
> > Hmm, my cleanup was based on the version you send out on December > 31st. Can you send me the latest version of your diff? > On Tue, Jan 07, 2014 at 12:08:02PM +0100, Martin Pieuchot wrote: > On 03/01/14(Fri) 14:24, Fabian Raetz wrote: > > Hi tech@, > > &

Re: Add Intel Centrino Wireless-N 2230 support in iwn(4)

2014-02-09 Thread Fabian Raetz
iwl/commit/53e6056c2df7355650abab77068943ac097a70c6#diff-7a5322b995ac8545b4f5d9096c3b5a5aR5445 > >>>> > >>>> which (i think) mostly landed in freebsd as part of > >>>> http://svnweb.freebsd.org/base?view=revision&revision=258035 > >>>&g

Re: ibss and hostap support for urtwn(4)

2014-01-20 Thread Fabian Raetz
Hi, i'm interested in testing your diff, but i will not get to testing until saturday. Regards, Fabian

Re: Add Intel Centrino Wireless-N 2230 support in iwn(4)

2014-01-07 Thread Fabian Raetz
On Tue, Jan 07, 2014 at 12:08:02PM +0100, Martin Pieuchot wrote: > On 03/01/14(Fri) 14:24, Fabian Raetz wrote: > > Hi tech@, > > > > here is an updated patch. > > > > it seems like Intel Centrino Wireless-N 2030 and > > Intel Centrino Wireless-N 2230 have

Re: Add Intel Centrino Wireless-N 2230 support in iwn(4)

2014-01-03 Thread Fabian Raetz
Hi tech@, here is an updated patch. it seems like Intel Centrino Wireless-N 2030 and Intel Centrino Wireless-N 2230 have the same pciids... this makes patch apply again with newest pcidevs changes. Index: if_iwn.c === RCS file: /c

Add Intel Centrino Wireless-N 2230 support in iwn(4)

2013-12-30 Thread Fabian Raetz
have, so hopefully i did not broke another supported device. Any feedback and tests are welcome. Regards, Fabian Raetz Index: if_iwn.c === RCS file: /cvs/src/sys/dev/pci/if_iwn.c,v retrieving revision 1.127 diff -u -p -r1.127 if