From owner-freebsd-bugs@FreeBSD.ORG Sat Jul 12 22:42:12 2008 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0895106566B; Sat, 12 Jul 2008 22:42:12 +0000 (UTC) (envelope-from asstec@matik.com.br) Received: from msrv.matik.com.br (msrv.matik.com.br [200.152.83.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3616E8FC0C; Sat, 12 Jul 2008 22:42:11 +0000 (UTC) (envelope-from asstec@matik.com.br) Received: from nbc.matik.com.br (nbc.matik.com.br [200.152.88.34] (may be forged)) by msrv.matik.com.br (8.14.2/8.14.2) with ESMTP id m6CMGZbh033969; Sat, 12 Jul 2008 19:16:35 -0300 (BRT) (envelope-from asstec@matik.com.br) From: AT Matik Organization: Infomatik To: freebsd-bugs@freebsd.org Date: Sat, 12 Jul 2008 19:15:03 -0300 User-Agent: KMail/1.9.7 References: <200807122152.m6CLqcB6031483@www.freebsd.org> In-Reply-To: <200807122152.m6CLqcB6031483@www.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200807121915.04944.asstec@matik.com.br> X-Virus-Scanned: ClamAV 0.93.1/7695/Sat Jul 12 16:12:59 2008 on msrv.matik.com.br X-Virus-Status: Clean Cc: freebsd-gnats-submit@freebsd.org, Igor Mozolevsky Subject: Re: conf/125551: [PATCH] building WLAN userland should be optional X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2008 22:42:12 -0000 On Saturday 12 July 2008 18:52:38 Igor Mozolevsky wrote: > >Number: 125551 > >Category: conf > >Synopsis: [PATCH] building WLAN userland should be optional > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Sat Jul 12 22:00:07 UTC 2008 > >Closed-Date: > >Last-Modified: > >Originator: Igor Mozolevsky > >Release: RELENG_7 > >Organization: > >Environment: > >Description: > > FreeBSD builds unnecessary WLAN userland utilities by default. There shou= ld > be an option to switch that behaviour off. > > >How-To-Repeat: > > cd /usr/src && make world > > >Fix: > > Add WITHOUT_WLAN to src.conf to prevent WPA stuff (hostapd and > wpa_supplicant) and wlandebug from being built. Patch attached. > If doing so I suggest you better seperate them because you might not need w= pa=20 but need wlandebug or any other combination Jo=E3o > There are probably other things that shouldn't be built if WLAN support is > not required, if someone points them out to me I'll add them to the patch. > > Patch attached with submission follows: > > --- share/mk/bsd.own.mk.old 2008-07-12 19:37:55.000000000 +0100 > +++ share/mk/bsd.own.mk 2008-07-12 19:38:32.000000000 +0100 > @@ -358,6 +358,7 @@ > TCSH \ > TOOLCHAIN \ > USB \ > + WLAN \ > WPA_SUPPLICANT_EAPOL \ > ZONEINFO \ > ZFS > --- usr.sbin/Makefile.old 2008-07-12 19:39:17.000000000 +0100 > +++ usr.sbin/Makefile 2008-07-12 19:42:36.000000000 +0100 > @@ -184,9 +184,9 @@ > vipw \ > watch \ > watchdogd \ > - wlandebug \ > + ${_wlandebug} \ > ${_wlconfig} \ > - wpa \ > + ${_wpa} \ > ${_ypbind} \ > ${_yp_mkdb} \ > ${_yppoll} \ > @@ -296,6 +296,11 @@ > _usbdevs=3D usbdevs > .endif > > +.if ${MK_WLAN} !=3D "no" > +_wldebug=3D wlandebug > +_wpa=3D wpa > +.endif > + > .if ${MACHINE_ARCH} =3D=3D "arm" > _kgmon=3D kgmon > .endif > > >Release-Note: > >Audit-Trail: > >Unformatted: > > _______________________________________________ > freebsd-bugs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bugs > To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org" > > > > > > > > A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada > segura. Service fornecido pelo Datacenter Matik=20 > https://datacenter.matik.com.br =2D-=20 Atenciosamente, J.M. Respons=E1vel Plant=E3o Site Support Matik Infomatik Internet Technology (18)3551.8155 =A0(18)8112.7007 http://info.matik.com.br A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.br