Re: [Users] kernel 2.4.18 patch required ???

From: Ken Bantoft (ken_at_freeswan.ca)
Date: Tue Dec 10 2002 - 16:12:10 CET


-----BEGIN PGP SIGNED MESSAGE-----

On Tue, 10 Dec 2002, Brendan J Simon wrote:

>
> I'm planning on using FreeSWAN 1.99 on an embedded product to implement
> IPSec. I am using kernel 2.4.18 on a PowerPC based system.
>
> Is a kernel patch required for 2.4.18 kernels or is all the code there
> in the stock standard kernel (except for the user space apps ofcourse) ?
>
> I've downloaded 1.99 and read the docs and Makefile. I'm using a
> configuration managment system called Aegis and I maintain the kernel
> under this system. I create a changeset and work on the kernel.
> Assuming that Freeswan patches are required, I would have to apply them
> to the kernel in my development directory. This is _NOT_
> /usr/src/linux. I assume that setting KERNELSRC will tell the build
> system where the kernel source is located. Yes/No ??

You will need to patch the kernel. Run "make kpatch
KERNELSRC=/path/to/src" I believe is the correct way to do what you need.

> At this stage, I only want to apply kernel patches. ie. not build all
> the user apps, etc. Can this be done? How??
>
> Can Freeswan kernel modules be developed/built outside of the kernel
> source? If so, how??

You need a kernel source tree *somewhere* to build them against, but it
doesn't have to be /usr/src/linux. Then "make insert
KERNELSRC=/path/to/src" to insert the IPSEC_CONFIG_* bits into your
.config, and then run "make oldmod KERNELSRC=/path/to/src"

> After that, I want to build all the Freeswan apps. I assume I can build
> these anywhere. If so, how ??

"make programs"

- --
Ken Bantoft The Unoffical FreeS/WAN Site:
ken_at_freeswan.ca http://www.freeswan.ca
                           PGP Key: finger ken_at_bantoft.org
"We can factor the number 15 with quantum computers. We
can also factor the number 15 with a dog trained to bark
three times." -- Robert Harley, 5/12/01, Sci.crypt

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBPfYETViWUusaxGxpAQG2dwQAucw6tmKvHWkQb2/8wsQLlTfwajdbtqqx
UFDiJ9tl158VjJxBlLj/WZU8IoPDzwsLHI1qjm5RXPMpvC6BaNLAaY9x/ZWOohkh
YqRajRkUUB4Z8ph+e73lLWEaeM3XxlO3WfSw7oUdlN5OT/9dT9m/waXz1NRbfNUV
4GYDzy0z1jE=
=490O
-----END PGP SIGNATURE-----

_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users



This archive was generated by hypermail 2.1.5 : Wed Dec 11 2002 - 05:21:06 CET