I have access to vpnclient-linux-4.0.4.A-k9.tar.gz through work and thought I'd try to get it running on gentoo. I was able to by editing the existing files for cisco-vpnclient-3des-4.0.3b-r4.ebuild and the patch file for gcc files/driver_build_CC.patch. I don't know how to test for the other two problems that were patched (files/atheros.patch & files/register_netdevice.patch), so I've removed them. Maybe they were fixed by cisco? Anyway, I've created the files cicso-vpnclient-3des-4.0.4a.ebuild and files/driver_build_CC-r1.ptach and was able to emerge them, so they appear to work... Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 32499 [details] An update to cisco-vpnclient-3des package to work with version 4.0.4.A The only real changes here are in the src_unpack function. I removed the second two patches (for atheros and register_netdevice) and changed the patch for the driver_build script allowing for compilers other than "cc".
Created attachment 32503 [details, diff] Replace the old driver_build_CC.patch for updated version of cisco vpn and remove -D__GNUC__ K, I don't know so much about this stuff, but I updated this patch so it doesn't add the -D__GNUC__ option to the CFLAGS variable. This seemed to break the build because it would say it was already defined and that it couldn't get access to /lib/moduls/${KV}/build
The reason the -D__GNU__ bit is there for compiler detection. It is automatically defined by gcc, but not icc; if you use icc (as I, and a handful of other people do), then this must be explictitly defined for the code to compile. Please do not include this patch. Additionally, there are several other changes that I had to make in order to get the ebuild to work with gentoo-dev-sources-2.6.5-r1. I'll post the ebuild, and other changes I made as well once I have everything tested. The old patch for register_netdevice appears to be included in the main kernel source now, and the atheros patch appears to no longer work (it applies sanely, but generates bogus code).
Just to clarify: Don't include the patch to the driver_build_CC.patch patch. :-)
i don't know but i have problems to get the module working on >2.6.6 kernels (even with 4.04B)
Comment on attachment 32499 [details] An update to cisco-vpnclient-3des package to work with version 4.0.4.A Okay, sorry about the driver_build_CC.patch. I went back and found that I had hosed the patch by (I've never messed with patch, before... hm) Anyway, I did some rebuilding and ended up reinstalling this, and the ebuild I submitted works with the original driver_build_CC.patch. Sorry. Anyway, the rest works fine after removing the -r1 from that line. I'm working on a 2.4 kernel with gentoo sources using gcc. Hope this helps...
Created attachment 33235 [details] updateed ebuild for 4.0.4b Update .ebuild for version 4.0.4b
Just uploaded the ebuild I've been using the last few weeks.
version 4.0.5 is in portage.