First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 171217
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo/BSD Team <bsd@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: ebfe <knabberknusperhaus@yahoo.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
freebsd.patch patch for the ebuild patch ebfe 2007-03-17 04:19 0000 742 bytes Details | Diff
freebsd_testing.patch patch for process-group-leader.c patch ebfe 2007-03-17 04:20 0000 400 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 171217 depends on: Show dependency tree
Show dependency graph
Bug 171217 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-17 04:18 0000
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

------- Comment #1 From ebfe 2007-03-17 04:19:43 0000 -------
Created an attachment (id=113546) [edit]
patch for the ebuild

aircrack-ng will bail out with a syntax error otherwise

------- Comment #2 From ebfe 2007-03-17 04:20:30 0000 -------
Created an attachment (id=113547) [edit]
patch for process-group-leader.c

patch to make setpgrp work in freebsd and x86

------- Comment #3 From Alon Bar-Lev (RETIRED) 2007-03-17 07:53:11 0000 -------
(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?

------- Comment #4 From ebfe 2007-03-17 10:12:50 0000 -------
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.

------- Comment #5 From Alon Bar-Lev (RETIRED) 2007-03-17 10:16:19 0000 -------
(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)?

------- Comment #6 From ebfe 2007-03-17 10:31:50 0000 -------
leads to the same behaviour and might in fact be considered better code :o)

0 for pgrp will use getpid() internally

------- Comment #7 From Alon Bar-Lev (RETIRED) 2007-03-17 10:40:27 0000 -------
Done.
bsd, can you please check it out at your side?
USE="-wifi" FEATURES="test"

------- Comment #8 From Peter Weller 2007-03-18 08:55:35 0000 -------
Keyworded ~x86-fbsd, package.use.mask'd wifi USE flag.

First Last Prev Next    No search results available      Search page      Enter new bug