This patch makes it optional to build the libpcap dependend sbins (airodump, airmon, airtun, aireplay). This makes it possible - in the gentoo way - to have just the cracking tools being installed if one doesn't need the monitor/capture tools on the local box. Since aircrack-ng doesn't use autoconf at all, one has to patch the Makefile itself. This is not a very gentle thing to do, but the patch will probably work with future versions. If the "wifi" useflag is /not/ enabled, the Makefile is patched not to build/install the SBINFILES. That's all. Reproducible: Always
Created attachment 112932 [details] ebuild patch to include WIFI useflag and handling
Created attachment 112934 [details] patch for the Makefile
sorry, the patches have hardwired paths...
ebfe: Have you discussed this with upstream? It seems best if they will release a version with this option built in. Also, I think it would be best if you add a new target to the make file. Something like: make tools make install_tools An make the all, install be dependent on tools, install_tools. So that the patch will be easier to be merged by upstream.
Created attachment 112938 [details] new targets: userland, install_userland
Created attachment 112944 [details] ebuild patch; useflag -> target I see your point regarding the targets. So here are new patches which I will also submit to upstream. I kindly ask for them to be included into the tree - I don't expect upstream to release a new version any time soon.
Created attachment 112946 [details] correct patch...
Looks better. Please update with you have news from upstram.
I've spoken with upstream. The patch has been committed to aircrack-ng's cvs. The targets' name won't change.
Added. Thanks.
may other arches - which have wifi use.masked - be interested in keywording aircack-ng now?