Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
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
Created an attachment (id=38337) [edit] xsupplicant-1.0.1.ebuild (Update)
Could this please be added to portage ASAP?
Needs to be added to portage, what can done to speed up this process.
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.
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.
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.
Created an attachment (id=41272) [edit] Patch for xsupplicant-0.8b.ebuild -> xsupplicant-1.0.ebuild
Created an attachment (id=41274) [edit] Patch for xsupplicant-0.8b.ebuild -> xsupplicant-1.0.1.ebuild
To me this seems related to bug 53042, even though the xsupplicant version is newer.
*** Bug 53042 has been marked as a duplicate of this bug. ***
You're right. Thank you.
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.
Thanks, added as blocker
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?
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".
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
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).
Fixed InCVS.