since aircrack-ng-0.7-r1 can now build only the userland tools, it is now possible to build at least parts of the aircrack-ng suite on gentoo-freebsd. aircrack-ng's wifi useflag has to be use.masked, as it won't build the monitor/capture tools on fbsd. the are two patches required in order to get through the test. the new ebuild has been tested on gentoo-freebsd and amd64. please name aircrack-ng-0.7-r2 and keyword ~x86-freebsd Reproducible: Always
Created attachment 113546 [details, diff] patch for the ebuild aircrack-ng will bail out with a syntax error otherwise
Created attachment 113547 [details, diff] patch for process-group-leader.c patch to make setpgrp work in freebsd and x86
(In reply to comment #2) > Created an attachment (id=113547) [edit] > patch for process-group-leader.c > > patch to make setpgrp work in freebsd and x86 > Maybe setpgrp (0, 0) can be used for both?
the linux definition of setpgrp is setpgrp(void) while FreeBSD defines it as setpgrp(pid, pgrp). I've tested the patch and the test successfully runs on both x86-fbsd and amd64.
(In reply to comment #4) > the linux definition of setpgrp is setpgrp(void) while FreeBSD defines it as > setpgrp(pid, pgrp). I've tested the patch and the test successfully runs on > both x86-fbsd and amd64. Sorry! Wrong paste... What about setpgid (0,0)?
leads to the same behaviour and might in fact be considered better code :o) 0 for pgrp will use getpid() internally
Done. bsd, can you please check it out at your side? USE="-wifi" FEATURES="test"
Keyworded ~x86-fbsd, package.use.mask'd wifi USE flag.