Here is an ebuild I modify from 0.39 to match 0.40. I add to USE flags, av5100 and pbe5 which are required only for Averatec 5100P and Packard Bell EasyNote E5.
Add >=hostap-driver-0.1.3 has a dependance.
You will need FEATURES="-sandbox" in order to emerge hostap-driver and ipw2100
Steps to Reproduce:
Created attachment 29316 [details]
I just create an ebuild for ipw2100-0.41. Works for me ! I haven't test WEP :(
Created attachment 29406 [details]
To install :
cp ipw2100-0.41.tar.gz /usr/local/portage
tar xvfz ipw2100-0.41.tar.gz
FEATURES="-sandbox" ACCEPT_KEYWORDS="~x86" emerge ipw2100
Hey, i'll try to get the new version added soon. Couple things though:
1) Always attach just the ebuild as plaintext. Don't force people to download and untar something when the ebuild itself is really what people want to see. (:
2) USE flags: There's *WAY* too many USE flags already, and adding local flags for this one ebuild is not worth it, given how little time actually making those modules takes... Very few people are going to be on 100Mhz pentiums and using an intel wifi card, so the few CPU cycles seems acceptible to me to avoid forcing 2 new USE flags on people.
I'm still pondering how to deal with the WEP issue (like when someone upgrades a kernel, then just re-emerges ipw2100). For now i'm just going to be adding a big old warning about needing to re-emerge hostap-driver too if you upgrade your kernel.
Sorry but I'm using Gentoo for 1 month and a half. I just try to do the best to help the community... I really should (re)read the ebuild howto I think...
1. I made a .tar because ipw2100 needs hostap_crypt.h which I added in the files/ directory. I found some ebuilds doing that. I don't know if it's the correct way !?
2. I added these 2 USE flags because I didn't want to have the av5100 and pbe5 modules copied into my kernel modules directory. These 2 modules are compiled even if the USE flags aren't set.
I have a lots to learn so I really appreciate your advices :)
Okay, the hostap_crypt.h use makes sense, but next time just attach the ebuild, along with an explination of what you did/is needed for the ebuild to work correctly.
I've just commited this minus the USE vars, if you really don't want 2 small modules around, you can remove them (the gains are far too minimal compared to the price off adding yet another 2 local USE vars). I've also added a check to make sure the hostap-driver modules are around, to make sure people re-emerge hostap-driver after a kernel upgrade.
Thanks all. Please test and report back success/failures.