Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2008 19:15:03 -0300
From:      AT Matik <asstec@matik.com.br>
To:        freebsd-bugs@freebsd.org
Cc:        freebsd-gnats-submit@freebsd.org, Igor Mozolevsky <igor@hybrid-lab.co.uk>
Subject:   Re: conf/125551: [PATCH] building WLAN userland should be optional
Message-ID:  <200807121915.04944.asstec@matik.com.br>
In-Reply-To: <200807122152.m6CLqcB6031483@www.freebsd.org>
References:  <200807122152.m6CLqcB6031483@www.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807121915.04944.asstec>