Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52733 - cisco-vpnclient-3des supports up to version 4.0.3b, but I only have 4.0.4a
Summary: cisco-vpnclient-3des supports up to version 4.0.3b, but I only have 4.0.4a
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Jay Pfeifer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-01 15:52 UTC by Aaron Christensen
Modified: 2004-08-11 17:56 UTC (History)
2 users (show)

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


Attachments
An update to cisco-vpnclient-3des package to work with version 4.0.4.A (cisco-vpnclient-3des-4.0.4a.ebuild,1.68 KB, text/plain)
2004-06-01 15:56 UTC, Aaron Christensen
Details
Replace the old driver_build_CC.patch for updated version of cisco vpn and remove -D__GNUC__ (driver_build_CC-r1.patch,192 bytes, patch)
2004-06-01 16:00 UTC, Aaron Christensen
Details | Diff
updateed ebuild for 4.0.4b (cisco-vpnclient-3des-4.0.4b.ebuild,2.29 KB, application/octet-stream)
2004-06-14 10:06 UTC, Jesse Becker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Christensen 2004-06-01 15:52:25 UTC
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.
Comment 1 Aaron Christensen 2004-06-01 15:56:56 UTC
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".
Comment 2 Aaron Christensen 2004-06-01 16:00:37 UTC
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
Comment 3 Jesse Becker 2004-06-02 12:04:48 UTC
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).
Comment 4 Jesse Becker 2004-06-02 12:06:12 UTC
Just to clarify:  Don't include the patch to the driver_build_CC.patch patch. :-)
Comment 5 FL 2004-06-05 10:37:04 UTC
i don't know but i have problems to get the module working on >2.6.6 kernels (even with 4.04B)
Comment 6 Aaron Christensen 2004-06-07 09:34:18 UTC
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...
Comment 7 Jesse Becker 2004-06-14 10:06:18 UTC
Created attachment 33235 [details]
updateed ebuild for 4.0.4b

Update .ebuild for version 4.0.4b
Comment 8 Jesse Becker 2004-06-14 10:07:25 UTC
Just uploaded the ebuild I've been using the last few weeks.
Comment 9 Jay Pfeifer (RETIRED) gentoo-dev 2004-08-11 17:56:07 UTC
version 4.0.5 is in portage.