First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 61981
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Mobile Herd <mobile@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrew Barr <barr.156@osu.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
xsupplicant-1.0.1.ebuild xsupplicant-1.0.1.ebuild (Update) text/plain Andrew Barr 2004-08-27 15:44 0000 821 bytes Details
xsupplicant-1.0.ebuild Patch for xsupplicant-0.8b.ebuild -> xsupplicant-1.0.ebuild patch Henrik Brix Andersen 2004-10-07 03:27 0000 809 bytes Details | Diff
xsupplicant-1.0.1.ebuild Patch for xsupplicant-0.8b.ebuild -> xsupplicant-1.0.1.ebuild patch Henrik Brix Andersen 2004-10-07 03:27 0000 788 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 61981 depends on: Show dependency tree
Bug 61981 blocks: 44737
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: 2004-08-27 15:43 0000
Hello,

This is my first ebuild submission. It is the latest version Xsupplicant, version 1.0.1. This version offers a number of improvements over 0.8b (latest in Portage), most notably support for LEAP keying. Only minor edits were required to get the 0.8b ebuild to build 1.0.1.

Thanks,
Andrew Barr
barr.156@osu.edu

------- Comment #1 From Andrew Barr 2004-08-27 15:44:55 0000 -------
Created an attachment (id=38337) [edit]
xsupplicant-1.0.1.ebuild (Update)

------- Comment #2 From Richard Stellingwerff 2004-09-17 03:23:21 0000 -------
Could this please be added to portage ASAP?

------- Comment #3 From Mike Basinger 2004-09-21 09:05:50 0000 -------
Needs to be added to portage, what can done to speed up this process.

------- Comment #4 From Peter Johanson (RETIRED) 2004-09-27 08:43:31 0000 -------
Dunno why this was assigned just to me.

I was slowed down by some massive hardware failures recently, but i'm working on getting back to things. Either i'll get to this soon, or someone else in the mobile herd will get this going. Sorry for the delays.

------- Comment #5 From Henrik Brix Andersen 2004-10-02 01:12:51 0000 -------
Note: We should add both 1.0 and 1.0.1 since 1.0 is the stable version and
1.0.1 is a test release.

------- Comment #6 From Henrik Brix Andersen 2004-10-07 03:21:18 0000 -------
I have working ebuilds for these - testing locally now.

When I've verified that they are functional I will commit them to portage. I will attach the ebuilds here to allow others to test.

------- Comment #7 From Henrik Brix Andersen 2004-10-07 03:27:19 0000 -------
Created an attachment (id=41272) [edit]
Patch for xsupplicant-0.8b.ebuild -> xsupplicant-1.0.ebuild

------- Comment #8 From Henrik Brix Andersen 2004-10-07 03:27:51 0000 -------
Created an attachment (id=41274) [edit]
Patch for xsupplicant-0.8b.ebuild -> xsupplicant-1.0.1.ebuild

------- Comment #9 From Christian Skarby 2004-10-11 12:44:46 0000 -------
To me this seems related to bug 53042, even though the xsupplicant version is
newer.

------- Comment #10 From Henrik Brix Andersen 2004-10-11 13:07:50 0000 -------
*** Bug 53042 has been marked as a duplicate of this bug. ***

------- Comment #11 From Henrik Brix Andersen 2004-10-11 13:08:50 0000 -------
You're right. Thank you.

------- Comment #12 From Christian Skarby 2004-10-12 13:27:11 0000 -------
And while I'm at it. Your ebuild probably satisfies bug 44737 aswell. As
commented in bug 53042, the COPYING-file distrubuted with the source has a
GPL-2 header.

------- Comment #13 From Henrik Brix Andersen 2004-10-12 13:56:23 0000 -------
Thanks, added as blocker

------- Comment #14 From Antti Mäkelä 2004-10-21 06:06:29 0000 -------
I tried both the 1.0.1 and 1.0 versions of the ebuilds. Neither of them worked
for me. Do I need some dependency?

1.0 ebuilds log:

gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_
STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\"
-DVERSION=\"cvs-c
urrent\" -DYYTEXT_POINTER=1 -DLILENDIAN=1 -DNO_PWD_RESET=1 -DOPENSSL_NO_KRB5=1
-
DLINUX=1 -DHAVE_OPENSSL=1 -DLINUX_WIRELESS_EXT=1  -DEAP_SIM_ENABLE  -I. -I.
-I/u
sr/include/openssl -Isrc/cardif/linux    -ggdb -march=pentium2 -O3
-fomit-frame-
pointer -pipe -Wall  -c -o eapleap.o `test -f 'eap_types/leap/eapleap.c' ||
echo './'`eap_types/leap/eapleap.c
eap_types/sim/sm_handler.c:146: error: syntax error before "g_sc_context"
eap_types/sim/sm_handler.c:146: warning: type defaults to `int' in declaration
of `g_sc_context'
eap_types/sim/sm_handler.c:146: warning: data definition has no type or storage
class
eap_types/sim/sm_handler.c:147: error: syntax error before "g_card_hdl"
eap_types/sim/sm_handler.c:147: warning: type defaults to `int' in declaration
of `g_card_hdl'
eap_types/sim/sm_handler.c:147: warning: data definition has no type or storage
class
eap_types/sim/sm_handler.c:148: error: syntax error before "scir"
eap_types/sim/sm_handler.c:148: warning: type defaults to `int' in declaration
of `scir'
eap_types/sim/sm_handler.c:148: warning: data definition has no type or storage
class
eap_types/sim/sm_handler.c:151: error: syntax error before "readerstrlen"
eap_types/sim/sm_handler.c:151: warning: type defaults to `int' in declaration
of `readerstrlen'
eap_types/sim/sm_handler.c:151: warning: data definition has no type or storage
class
eap_types/sim/sm_handler.c: In function `print_sc_error':
eap_types/sim/sm_handler.c:160: error: `SCARD_S_SUCCESS' undeclared (first use
in this function)
eap_types/sim/sm_handler.c:160: error: (Each undeclared identifier is reported
only once
eap_types/sim/sm_handler.c:160: error: for each function it appears in.)
eap_types/sim/sm_handler.c:163: error: `SCARD_E_CANCELLED' undeclared (first
use in this function)
eap_types/sim/sm_handler.c:166: error: `SCARD_E_CANT_DISPOSE' undeclared (first
use in this function)
eap_types/sim/sm_handler.c:169: error: `SCARD_E_INSUFFICIENT_BUFFER' undeclared
(first use in this function)
eap_types/sim/sm_handler.c:172: error: `SCARD_E_INVALID_ATR' undeclared (first
use in this function)
eap_types/sim/sm_handler.c:175: error: `SCARD_E_INVALID_HANDLE' undeclared
(first use in this function)
eap_types/sim/sm_handler.c:178: error: `SCARD_E_INVALID_PARAMETER' undeclared
(first use in this function)
eap_types/sim/sm_handler.c:181: error: `SCARD_E_INVALID_TARGET' undeclared
(first use in this function)
eap_types/sim/sm_handler.c:184: error: `SCARD_E_INVALID_VALUE' undeclared
(first use in this function)
eap_types/sim/sm_handler.c:187: error: `SCARD_E_NO_MEMORY' undeclared (first
use in this function)
eap_types/sim/sm_handler.c:190: error: `SCARD_F_COMM_ERROR' undeclared (first
use in this function)
eap_types/sim/sm_handler.c:193: error: `SCARD_F_INTERNAL_ERROR' undeclared
(first use in this function)
.... (loads of other definition errors)

eap_types/sim/sm_handler.c:474: error: `SCARD_PROTOCOL_T0' undeclared (first
use in this function)
eap_types/sim/sm_handler.c:479: error: `SCARD_E_NO_SMARTCARD' undeclared (first
use in this function)
eap_types/sim/sm_handler.c:491: error: `dwState' undeclared (first use in this
function)
eap_types/sim/sm_handler.c:492: error: `dwProtocol' undeclared (first use in
this function)
eap_types/sim/sm_handler.c:493: error: `dwAtrLen' undeclared (first use in this
function)
eap_types/sim/sm_handler.c:493: error: `MAX_ATR_SIZE' undeclared (first use in
this function)
eap_types/sim/sm_handler.c:494: error: `size' undeclared (first use in this
function)
eap_types/sim/sm_handler.c:495: error: `mszReaders' undeclared (first use in
this function)
eap_types/sim/sm_handler.c:495: error: syntax error before "malloc"
eap_types/sim/sm_handler.c:497: error: `pbAtr' undeclared (first use in this
function)
eap_types/sim/sm_handler.c:498: warning: implicit declaration of function
`SCardStatus'
eap_types/sim/sm_handler.c:510: error: `SCARD_ABSENT' undeclared (first use in
this function)
eap_types/sim/sm_handler.c:513: error: `SCARD_PRESENT' undeclared (first use in
this function)
eap_types/sim/sm_handler.c:516: error: `SCARD_SWALLOWED' undeclared (first use
in this function)
eap_types/sim/sm_handler.c:519: error: `SCARD_POWERED' undeclared (first use in
this function)
eap_types/sim/sm_handler.c:525: error: `len' undeclared (first use in this
function)
eap_types/sim/sm_handler.c: In function `close_smartcard':
eap_types/sim/sm_handler.c:676: warning: implicit declaration of function
`SCardDisconnect'
eap_types/sim/sm_handler.c:676: error: `SCARD_UNPOWER_CARD' undeclared (first
use in this function)
eap_types/sim/sm_handler.c:677: error: `SCARD_S_SUCCESS' undeclared (first use
in this function)
eap_types/sim/sm_handler.c:684: warning: implicit declaration of function
`SCardReleaseContext'
make[1]: *** [sm_handler.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/xsupplicant-1.0/work/xsupplicant/src'
make: *** [all-recursive] Error 1


Version 1.0.1 gives me:

gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\"
-DVERSION=\"1.0.1\" -DYYTEXT_POINTER=1 -DLILENDIAN=1 -DNO_PWD_RESET=1
-DOPENSSL_NO_KRB5=1 -DLINUX=1 -DHAVE_OPENSSL=1 -DLINUX_WIRELESS_EXT=1 
-DEAP_SIM_ENABLE  -I. -I. -I/usr/include/openssl    -ggdb -march=pentium2 -O3
-fomit-frame-pointer -pipe -Wall  -c statemachine.c
In file included from config.c:127:
eap_types/sim/eapsim.h:130: error: syntax error before "SCARDCONTEXT"
eap_types/sim/eapsim.h:130: warning: no semicolon at end of struct or union
eap_types/sim/eapsim.h:131: warning: type defaults to `int' in declaration of
`shdl'
eap_types/sim/eapsim.h:131: warning: data definition has no type or storage
class
eap_types/sim/eapsim.h:134: error: syntax error before '}' token
In file included from config.c:128:
eap_types/aka/eapaka.h:127: error: syntax error before "SCARDCONTEXT"
eap_types/aka/eapaka.h:127: warning: no semicolon at end of struct or union
eap_types/aka/eapaka.h:128: warning: type defaults to `int' in declaration of
`shdl'
eap_types/aka/eapaka.h:128: warning: data definition has no type or storage
class
eap_types/aka/eapaka.h:131: error: syntax error before '}' token
make[2]: *** [config.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/xsupplicant-1.0.1/work/xsupplicant-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xsupplicant-1.0.1/work/xsupplicant-1.0.1/src'
make: *** [all-recursive] Error 1

!!! ERROR: net-misc/xsupplicant-1.0.1 failed.

Is there some dependency that should be included?

------- Comment #15 From Henrik Brix Andersen 2004-10-21 06:17:26 0000 -------
Yeah, I'm aware of those bugs.

Seems the gsm USE flag isn't properly respected. You should be able to install with USE="gsm".

------- Comment #16 From Sebastian Roeder 2004-12-22 16:01:26 0000 -------
I have the same error message as written in comment #15, but I have set the USE
flag for gsm (I`ve tested both the manual method and the
/etc/portage/package.use). I used xsupplicant 1.0.1 from above and it worked
well for me with an older gentoo (about 4 weeks) - but on my new gentoo (with
e.g. the new stable portage) it doesn`t compile. What else could it if not gsm
and  what extra information is needed about my install (sorry, I`m new to the
bugzilla)?

Sebastian 

------- Comment #17 From Sebastian Roeder 2005-01-06 14:37:38 0000 -------
OK, finaly xsupplicant compiles just fine - I didn`t notice that I installed
pcsc-lite 1.2.9.beta6 (from ~x86) instead of 1.2.0 from x86. This testing
release of pcsc-lite puts some files into /usr/include/PCSC/ instead of
/usr/include as expected by the ebuild. (This should be taken into account,
once the newer ebuild of pcsc-lite is marked as stable).  

------- Comment #18 From Henrik Brix Andersen 2005-01-09 06:46:17 0000 -------
Fixed InCVS.

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