iw is a tool to show and manipulate mac80211-based wireless devices and their configuration. It uses cfg80211/nl80211 to communicate with kernel-space. It is supposed to replace wireless-tools because cfg80211 provides more flexibility and robustness than wext, which btw will be removed from the linux kernel in the future.
Created attachment 166606 [details] net-wireless/iw-0.9.5.ebuild
Created attachment 170387 [details] net-wireless/iw-0.9.6.ebuild
(In reply to comment #2) > Created an attachment (id=170387) [edit] > net-wireless/iw-0.9.6.ebuild > Wasn't a simple rename of my ebuild enough?
Created attachment 170477 [details] iw-0.9.6.ebuild Ok, this is better.
0.9.7 is out, the 0.9.6 ebuild works fine. any chance that this can go into portage? it's been a few months now...
There's now a version 0.9.7 in the ikelos overlay (which you can get using layman). This uses patches to fix as-needed compilation failure...
Have you sent the patch upstream?
Not yet, I've no idea where upstream is...
(In reply to comment #8) > Not yet, I've no idea where upstream is... > Send it to johannes@sipsolutions.net and Cc linux-wireless@vger.kernel.org
Thanks, it's now been applied upstream. The additional CFLAGS will still need patching out though...
(In reply to comment #10) > Thanks, it's now been applied upstream. Thanks a lot. > The additional CFLAGS will still need patching out though... > You could use sed for that...
Created attachment 175291 [details] iw-0.9.7.ebuild * changed license to ISC. * corrected dependency on libnl. Now it's =dev-libs/libnl-1* because iw-0.9.7 does not compile with libnl-2.0 (yet to be released).
*** Bug 251830 has been marked as a duplicate of this bug. ***
Robert, I've noticed that you added iw to portage because aircrack-ng needs it. However the version you committed is rather obsolete: there's a new official version actively maintained by Johannes Berg and available from http://wireless.kernel.org/download/iw/. An ebuild for the latest version is attached to this bug report. Mike's patch for --as-needed failure has been applied upstream but not yet released. Would you mind committing the updated version?
Davide, thanks for pointing me to this bug. I wasn't aware of the repository and recent releases, as there are no pointers to this tool from the aircrack page (and their repository still carries the old code). I pulled Mike's ebuild into the tree. I extracted the LDFLAGS patch as it was applied upstream and sent in another patch to make the CLFAGS optional... which also was applied upstream a minute ago. Mike, I tool the liberty to add you to metadata besides me.. we seem to work well :-) +*iw-0.9.7 (07 Jan 2009) + + 07 Jan 2009; Robert Buchholz <rbu@gentoo.org> + +files/iw-0.9.7-cflags.patch, +files/iw-0.9.7-ldflags.patch, metadata.xml, + +iw-0.9.7.ebuild: + Version bump from obsolete version of the code to an actual release (bug + #238879). Include patches to fix LDFLAGS and CFLAGS, both applied upstream.