conf/125551: [PATCH] building WLAN userland should be optional

AT Matik asstec at matik.com.br
Sat Jul 12 22:42:12 UTC 2008


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 should
> 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 wpa 
but need wlandebug or any other combination

João


> 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=	usbdevs
>  .endif
>
> +.if ${MK_WLAN} != "no"
> +_wldebug= wlandebug
> +_wpa= wpa
> +.endif
> +
>  .if ${MACHINE_ARCH} == "arm"
>  _kgmon=		kgmon
>  .endif
>
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
>
> _______________________________________________
> freebsd-bugs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at freebsd.org"
>
>
>
>
>
>
>
> A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada
> segura. Service fornecido pelo Datacenter Matik 
> https://datacenter.matik.com.br

-- 

Atenciosamente, J.M.
Responsável Plantão Site Support Matik
Infomatik Internet Technology
(18)3551.8155  (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


More information about the freebsd-bugs mailing list