René Rebe | 18 Aug 13:42
Favicon

Re: hostapd


Dear Adam,

Adam Stirk wrote:
> Hmm, what I was thinking of doing was detecting if the madwifi package has been installed with
"pkginstalled madwifi" and from this altering the .config file to include the madwifi bits. Then I just
need a way to get the madwifi source into the hostapd package so that I keep it generic and could be used by
everyone. Is there a way without adding madwifi to hostapd.desc file?
>   
As, this way it is possible, two and you can use the same 
match_source_file to
get the source tarball of the madwifi package, draft skeleton like:

if pkginstalled madwifi; then
    file="`match_source_file -p . madwifi`"
    # exact and add to configure (or so, etc.)
fi

The arguments to match_source_file are regex to match, by default
of the currently building package, with an additional parameter of the
package specified.

-p to print the whole t2 related download location, otherwise just the
filename as it.

Yours,
> Thanks
>
> Adam
>
(Continue reading)


Gmane