Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154994 - net-misc/xsupplicant tnc and gsm support
Summary: net-misc/xsupplicant tnc and gsm support
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Highest enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: http://open1x.sourceforge.net/
Whiteboard:
Keywords:
: 259738 (view as bug list)
Depends on: 154993
Blocks: CVE-2006-5601
  Show dependency tree
 
Reported: 2006-11-13 03:49 UTC by dago
Modified: 2014-09-07 12:51 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/xsupplicant-1.2.8.ebuild (xsupplicant-1.2.8.ebuild,1.64 KB, text/plain)
2006-11-13 03:55 UTC, dago
Details
new ebuild with kernel >= 2.6.19 support (xsupplicant-1.2.8.ebuild,1.86 KB, text/plain)
2007-02-25 13:17 UTC, Marco Marzetti
Details
xsupplicant-1.2.8-linux-headers.patch (xsupplicant-1.2.8-linux-headers.patch,1.99 KB, patch)
2008-01-25 20:01 UTC, Gregorio Guidi
Details | Diff
xsupplicant-1.2.8.ebuild (xsupplicant-1.2.8.ebuild,1.68 KB, text/plain)
2008-01-25 20:13 UTC, Gregorio Guidi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dago 2006-11-13 03:49:47 UTC
Xsupplicant has now reached v1.2.8

New feature : since 1.2.6, support for tnc. Add use flag & depends on bug 154993.
Comment 1 dago 2006-11-13 03:55:41 UTC
Created attachment 101822 [details]
/xsupplicant-1.2.8.ebuild

Proposed ebuild, almost the same as 1.2.2 + addition of tnc feature
Comment 2 Marco Marzetti 2007-02-25 13:17:05 UTC
Created attachment 111191 [details]
new ebuild with kernel >= 2.6.19 support

Added a self-made patch for kernel >= 2.6.19 support
Comment 3 Martin Mokrejš 2007-09-05 00:51:32 UTC
Marco, are you sure the patch is fine?

>>> Emerging (1 of 1) net-misc/xsupplicant-1.2.8 to /
 * xsupplicant-1.2.8.tar.gz MD5 ;-) ...                                                                                                                                                                                         [ ok ]
 * xsupplicant-1.2.8.tar.gz RMD160 ;-) ...                                                                                                                                                                                      [ ok ]
 * xsupplicant-1.2.8.tar.gz SHA1 ;-) ...                                                                                                                                                                                        [ ok ]
 * xsupplicant-1.2.8.tar.gz SHA256 ;-) ...                                                                                                                                                                                      [ ok ]
 * xsupplicant-1.2.8.tar.gz size ;-) ...                                                                                                                                                                                        [ ok ]
 * kernel-2.6.19.patch MD5 ;-) ...                                                                                                                                                                                              [ ok ]
 * kernel-2.6.19.patch RMD160 ;-) ...                                                                                                                                                                                           [ ok ]
 * kernel-2.6.19.patch SHA1 ;-) ...                                                                                                                                                                                             [ ok ]
 * kernel-2.6.19.patch SHA256 ;-) ...                                                                                                                                                                                           [ ok ]
 * kernel-2.6.19.patch size ;-) ...                                                                                                                                                                                             [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                            [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                           [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                          [ ok ]
 * checking xsupplicant-1.2.8.tar.gz ;-) ...                                                                                                                                                                                    [ ok ]
 * checking kernel-2.6.19.patch ;-) ...                                                                                                                                                                                         [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.22.6/build
 * Found sources for kernel version:
 *     2.6.22.6
>>> Unpacking source...
>>> Unpacking xsupplicant-1.2.8.tar.gz to /var/tmp/portage/net-misc/xsupplicant-1.2.8/work
>>> Unpacking kernel-2.6.19.patch to /var/tmp/portage/net-misc/xsupplicant-1.2.8/work
unpack kernel-2.6.19.patch: file format not recognized. Ignoring.

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/net-misc/xsupplicant/files/kernel-2.6.19.patch
 *   ( kernel-2.6.19.patch )

 * 
 * ERROR: net-misc/xsupplicant-1.2.8 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_unpack
 *   ebuild.sh, line 768:   Called qa_call 'src_unpack'
 *   ebuild.sh, line 44:   Called src_unpack
 *   xsupplicant-1.2.8.ebuild, line 32:   Called epatch '/usr/portage/net-misc/xsupplicant/files/kernel-2.6.19.patch'
 *   eutils.eclass, line 161:   Called die
 * 
 * Cannot find $EPATCH_SOURCE!
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/xsupplicant-1.2.8/temp/build.log'.
 * 

 * Messages for package net-misc/xsupplicant-1.2.8:

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/portage/net-misc/xsupplicant/files/kernel-2.6.19.patch
 *   ( kernel-2.6.19.patch )
 * 
 * ERROR: net-misc/xsupplicant-1.2.8 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_unpack
 *   ebuild.sh, line 768:   Called qa_call 'src_unpack'
 *   ebuild.sh, line 44:   Called src_unpack
 *   xsupplicant-1.2.8.ebuild, line 32:   Called epatch '/usr/portage/net-misc/xsupplicant/files/kernel-2.6.19.patch'
 *   eutils.eclass, line 161:   Called die
 * 
 * Cannot find $EPATCH_SOURCE!
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/xsupplicant-1.2.8/temp/build.log'.
 * 
Comment 4 Martin Mokrejš 2007-09-05 00:56:45 UTC
The originally provided ebuild fails for me against 2.6.22.6 kernel at least:

i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xsupplicant\" -DVERSION=\"1.2.8\" -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DLILENDIAN=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DNO_PWD_RESET=1 -DOPENSSL_NO_KRB5=1 -DLINUX=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_IWLIB_H=1 -DNEW_IWLIB=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBSSL=1 -DLINUX_FRAMER=1   -I. -I. -I ../lib/libxsupconfig    -O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -DHEADERS_KERNEL -Wall  -c -o cardif_linux.o `test -f 'cardif/linux/cardif_linux.c' || echo './'`cardif/linux/cardif_linux.c
cardif/linux/cardif_linux.c:168:1: warning: "HEADERS_KERNEL" redefined
<command-line>: warning: this is the location of the previous definition
cardif/linux/cardif_linux.c:177:28: error: linux/compiler.h: No such file or directory
cardif/linux/cardif_linux.c:1510:2: warning: #warning FINISH! We get scan data results, but we still need to do something with them.
make[1]: *** [cardif_linux.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/xsupplicant-1.2.8/work/xsupplicant-1.2.8/src'
make: *** [all-recursive] Error 1
 * 
 * ERROR: net-misc/xsupplicant-1.2.8 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   xsupplicant-1.2.8.ebuild, line 47:   Called die
Comment 5 Renato Caldas 2007-09-24 15:53:52 UTC
(In reply to comment #2)
> Created an attachment (id=111191) [edit]
> new ebuild with kernel >= 2.6.19 support
> 
> Added a self-made patch for kernel >= 2.6.19 support
> 

I suppose you forgot to submit the actual patch.. and you weren't in the CC list.. 

I've compiled xsupplicant by hand and must say it's much better that wpa_supplicant in terms of reliability. So I'm for adding this supplicant to portage.
Comment 6 Gregorio Guidi 2008-01-25 20:01:53 UTC
Created attachment 141784 [details, diff]
xsupplicant-1.2.8-linux-headers.patch

Here is the patch that I use at the moment to let xsupplicant compile, if someone is interested.
Comment 7 Gregorio Guidi 2008-01-25 20:13:40 UTC
Created attachment 141786 [details]
xsupplicant-1.2.8.ebuild

And here is the ebuild that I use with the patch attached above. Note that with respect to the other proposed ebuild for 1.2.8:
- there was a space missing before ")" in RDEPEND
- "append-flags -DHEADERS_KERNEL" is not needed for me (kernel 2.6.23)
- changed conf="--enable-tnc" to conf="${conf} --enable-tnc"
- changed "emake" to "emake -j1" because I hit an error caused by parallel building (sloppy Makefile) while compiling.
- I renamed the conf.d and init.d files, and I had to patch the init.d file in this way:

        for IFACE in $INTERFACES; do
                ebegin " ${IFACE}"
+               ifconfig ${IFACE} up

                eval ARGS_IFACE=\"\$\{ARGS_$IFACE\}\"

for some reason if the interface is not up, xsupplicant fails the authentication here.

Hope this helps someone.
Comment 8 Martin Mokrejš 2008-02-06 13:52:10 UTC
The last ebuild and patch compile and install fine here at x86, linux-2.6.23.12. Thanks.
Comment 9 Martin Mokrejš 2009-02-20 15:47:00 UTC
The current ebuild in the tree gives me:


>>> Emerging (3 of 3) net-misc/xsupplicant-1.2.8 from unknown repo
 * Fetching files in the background. To view fetch progress, run
 * `tail -f /var/log/emerge-fetch.log` in another terminal.
 * xsupplicant-1.2.8.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                
 * checking ebuild checksums ;-) ...                                                                                       
 * checking auxfile checksums ;-) ...                                                                                      
 * checking miscfile checksums ;-) ...                                                                                     
>>> Unpacking source...
>>> Unpacking xsupplicant-1.2.8.tar.gz to /var/tmp/portage/net-misc/xsupplicant-1.2.8/work
 * Applying xsupplicant-1.2.8-linux-headers.patch ...
>>> Source unpacked in /var/tmp/portage/net-misc/xsupplicant-1.2.8/work
>>> Compiling source in /var/tmp/portage/net-misc/xsupplicant-1.2.8/work/xsupplicant-1.2.8 ...
 * econf: updating xsupplicant-1.2.8/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating xsupplicant-1.2.8/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share -
-pc-linux-gnu
[cut]
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/var/tmp/portage/net-misc/xsupplicant-1.2.8/work/xsupplicant-1.2.8'
make[1]: Leaving directory `/var/tmp/portage/net-misc/xsupplicant-1.2.8/work/xsupplicant-1.2.8'
!!! newconfd: /usr/local/portage/net-misc/xsupplicant/files/xsupplicant-1.2.8-conf.d does not exist
!!! newinitd: /usr/local/portage/net-misc/xsupplicant/files/xsupplicant-1.2.8-init.d does not exist
>>> Completed installing xsupplicant-1.2.8 into /var/tmp/portage/net-misc/xsupplicant-1.2.8/image/

 * QA Notice: file does not exist:
 * 
 *      newconfd: /usr/local/portage/net-misc/xsupplicant/files/xsupplicant-1.2.8-conf.d does not exist
 *      newinitd: /usr/local/portage/net-misc/xsupplicant/files/xsupplicant-1.2.8-init.d does not exist

>>> Installing net-misc/xsupplicant-1.2.8
 * 
 * To use xsupplicant-1.2.8 you must create the configuration file
 * /etc/xsupplicant.conf
 * 
 * An example configuration file has been installed as
 * /etc/xsupplicant.conf.example
 * 
Comment 10 Martin Mokrejš 2009-02-20 15:48:56 UTC
(In reply to comment #9)

> !!! newconfd:
> /usr/local/portage/net-misc/xsupplicant/files/xsupplicant-1.2.8-conf.d does not
> exist
> !!! newinitd:
> /usr/local/portage/net-misc/xsupplicant/files/xsupplicant-1.2.8-init.d does not
> exist

Forget it, sorry for the noise. Have copied over the files for 1.2.2 under teh new name.

Will somebody commit this ebuild?

Comment 11 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-05-26 11:38:57 UTC
*** Bug 259738 has been marked as a duplicate of this bug. ***
Comment 12 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-05-26 11:45:48 UTC
version 2.2.0 is now in the tree. no tnc or gsm support yet. please test...

feedback highly appreciated!

kind regards
Thilo
Comment 13 Martin Mokrejš 2010-06-03 15:42:49 UTC
(In reply to comment #12)
> version 2.2.0 is now in the tree. no tnc or gsm support yet. please test...
> 
> feedback highly appreciated!

Thanks. I just compiled and installed 2.2.0 on ~x86, the config file is now in XML so the old-one does not work for me. I will need to find some time to test the functionality.
Comment 14 Stefan Behte (RETIRED) gentoo-dev Security 2010-08-01 13:03:14 UTC
*ping* from security ;)
Comment 15 Pacho Ramos gentoo-dev 2014-09-07 12:51:39 UTC
dropped