bug#373: bug#373: should programmaticaly detect wireless extension version

Nate Riffe <[email protected]> Thu, 1 May 2003 20:06:36 -0500
Newsgroups gmane.linux.bbc.bugs
Message-ID <[email protected]>
Just now Nick Moffitt made 15 LEDs in my apartment flash with this:
> package: wireless-tools
> severity: wishlist
> 
> We currently hand-force the version of the wireless extensions with:
> 
> FORCE_WEXT_VERSION = 12
> 
> We should grab it from the kernel/linux source here:
> 
>     ./include/linux/wireless.h:#define WIRELESS_EXT 13
> 
> This will likely mean a SRCDEP and so forth.  We're currently just
> keeping it up to date, but that's not the right way.  INkblot may know
> the best way to do this.

No.  This is definitely *not* a case for SOURCEPKG.  What it should do
is have a dep on kernel-headers, probably just a regular DEPENDS.  And
then kernel/linux/package-api.mk should define something like
KERNEL_WIRELESS_EXT which is some shell-fu wrapped in a $(shell ...)
make doodad.  It should get the value from the installed header.

-- 
--< ((\))< >----< [email protected] >----< http://www.movealong.org/ >--
The general miseducation of the population of the United States has led to a
reassertion of simple platitudes as political discourse.
pub  1024D/05A058E0 2002-03-07 Nate Riffe (06-Mar-2002) <[email protected]>
     Key fingerprint = 0DAC F5CB D182 3165 D757  C466 CD42 12A8 05A0 58E0