<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>171217</bug_id>
          
          <creation_ts>2007-03-17 04:18 0000</creation_ts>
          <short_desc>net-wireless/aircrack-ng-0.7-r1 - ~x86-fbsd keyword request</short_desc>
          <delta_ts>2007-03-18 08:55:35 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>FreeBSD</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>knabberknusperhaus@yahoo.de</reporter>
          <assigned_to>bsd@gentoo.org</assigned_to>
          <cc>crypto@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>knabberknusperhaus@yahoo.de</who>
            <bug_when>2007-03-17 04:18:40 0000</bug_when>
            <thetext>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&apos;s wifi useflag has to be use.masked, as it won&apos;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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>knabberknusperhaus@yahoo.de</who>
            <bug_when>2007-03-17 04:19:43 0000</bug_when>
            <thetext>Created an attachment (id=113546)
patch for the ebuild

aircrack-ng will bail out with a syntax error otherwise</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>knabberknusperhaus@yahoo.de</who>
            <bug_when>2007-03-17 04:20:30 0000</bug_when>
            <thetext>Created an attachment (id=113547)
patch for process-group-leader.c

patch to make setpgrp work in freebsd and x86</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alonbl@gentoo.org</who>
            <bug_when>2007-03-17 07:53:11 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; Created an attachment (id=113547) [edit]
&gt; patch for process-group-leader.c
&gt; 
&gt; patch to make setpgrp work in freebsd and x86
&gt; 

Maybe setpgrp (0, 0) can be used for both?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>knabberknusperhaus@yahoo.de</who>
            <bug_when>2007-03-17 10:12:50 0000</bug_when>
            <thetext>the linux definition of setpgrp is setpgrp(void) while FreeBSD defines it as setpgrp(pid, pgrp). I&apos;ve tested the patch and the test successfully runs on both x86-fbsd and amd64.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alonbl@gentoo.org</who>
            <bug_when>2007-03-17 10:16:19 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; the linux definition of setpgrp is setpgrp(void) while FreeBSD defines it as
&gt; setpgrp(pid, pgrp). I&apos;ve tested the patch and the test successfully runs on
&gt; both x86-fbsd and amd64.

Sorry!
Wrong paste...
What about setpgid (0,0)?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>knabberknusperhaus@yahoo.de</who>
            <bug_when>2007-03-17 10:31:50 0000</bug_when>
            <thetext>leads to the same behaviour and might in fact be considered better code :o)

0 for pgrp will use getpid() internally</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alonbl@gentoo.org</who>
            <bug_when>2007-03-17 10:40:27 0000</bug_when>
            <thetext>Done.
bsd, can you please check it out at your side?
USE=&quot;-wifi&quot; FEATURES=&quot;test&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>welp@gentoo.org</who>
            <bug_when>2007-03-18 08:55:35 0000</bug_when>
            <thetext>Keyworded ~x86-fbsd, package.use.mask&apos;d wifi USE flag.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>113546</attachid>
            <date>2007-03-17 04:19 0000</date>
            <desc>patch for the ebuild</desc>
            <filename>freebsd.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9uZXQtd2lyZWxlc3MvYWlyY3JhY2stbmcvYWlyY3JhY2stbmctMC43
LXIxLmVidWlsZAkyMDA3LTAzLTE2IDIzOjA1OjU1LjAwMDAwMDAwMCArMDEwMAorKysgYWlyY3Jh
Y2stbmctMC43LXIxLmVidWlsZAkyMDA3LTAzLTE3IDA1OjA1OjU2LjAwMDAwMDAwMCArMDEwMApA
QCAtMTAsNyArMTAsNyBAQAogCiBMSUNFTlNFPSJHUEwtMiIKIFNMT1Q9IjAiCi1LRVlXT1JEUz0i
fmFtZDY0IH5wcGMgeDg2IgorS0VZV09SRFM9ImFtZDY0IH5wcGMgeDg2IH54ODYtZnJlZWJzZCIK
IElVU0U9IndpZmkiCiAKIERFUEVORD0id2lmaT8gKCBuZXQtbGlicy9saWJwY2FwICkiCkBAIC00
Nyw2ICs0Nyw2IEBACiAJIyBVcHN0cmVhbSB1c2VzIHNpZ25hbCBpbiBvcmRlciB0byBxdWl0LAog
CSMgU28gcHJvdGVjdCBidXN5Ym94IHdpdGggcHJvY2VzcyBncm91cCBsZWFkZXIuCiAJIiQodGMt
Z2V0Q0MpIiAtbyBwcm9jZXNzLWdyb3VwLWxlYWRlciAiJHtGSUxFU0RJUn0vcHJvY2Vzcy1ncm91
cC1sZWFkZXIuYyIKLQkuL3Byb2Nlc3MtZ3JvdXAtbGVhZGVyIC4vYWlyY3JhY2stbmcgdGVzdC93
cGEuY2FwIC13IHRlc3QvcGFzc3dvcmQubHN0IHx8IGRpZSAnY3JhY2tpbmcgV1BBIGtleSBmYWls
ZWQnCisJLi9wcm9jZXNzLWdyb3VwLWxlYWRlciAuL2FpcmNyYWNrLW5nIC13IHRlc3QvcGFzc3dv
cmQubHN0IHRlc3Qvd3BhLmNhcCB8fCBkaWUgJ2NyYWNraW5nIFdQQSBrZXkgZmFpbGVkJwogfQog
Cg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>113547</attachid>
            <date>2007-03-17 04:20 0000</date>
            <desc>patch for process-group-leader.c</desc>
            <filename>freebsd_testing.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9uZXQtd2lyZWxlc3MvYWlyY3JhY2stbmcvZmlsZXMvcHJvY2Vzcy1n
cm91cC1sZWFkZXIuYwkyMDA2LTEwLTMwIDIyOjMxOjE2LjAwMDAwMDAwMCArMDEwMAorKysgcHJv
Y2Vzcy1ncm91cC1sZWFkZXIuYwkyMDA3LTAzLTE3IDA1OjEzOjU0LjAwMDAwMDAwMCArMDEwMApA
QCAtOCw4ICs4LDEzIEBACiAKIAlzaWduYWwgKFNJR1FVSVQsIFNJR19JR04pOwogCXNpZ25hbCAo
U0lHVEVSTSwgU0lHX0lHTik7Ci0Jc2V0cGdycCAoKTsKLQorCQorCSNpZiBkZWZpbmVkKF9fRnJl
ZUJTRF9fKQorCQlzZXRwZ3JwICgwLGdldHBpZCgpKTsKKwkjZWxzZQorCQlzZXRwZ3JwKCk7CisJ
I2VuZGlmCisJCiAJcGlkPWZvcmsgKCk7CiAJaWYgKHBpZCA9PSAwKSB7CiAJCWludCBzdGF0dXM7
Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>