[Openswan Users] openswan 2.4.10 and kernel 2.6.22; missing klips patch - also change in status of the KLIPS patch in
Paul Wouters
paul at xelerance.com
Sun Dec 2 16:17:07 EST 2007
On Sun, 2 Dec 2007, John Lumby wrote:
> > Indeed. The patch is garbled and missing the most part. please try:
> >
> > export KERNELSRC=/your/linux/tree
> > make kpatch
> >
> > then apply the resulting patch.
> >
> > Paul
>
> Thanks - this also answered my earlier posting concerning the KLIPS patch in 2.4.10.
>
> In my case, I found that after applying the patch, but before recompiling my kernel, I had to patch the patch as follows.
> Based on comments I read in the source prologues, I think that the various blocks of
> #ifdef CONFIG_KLIPS_ALG
> ,,,
> #endif
> in several c fies in /net/ipsec
> should all be unconditionalised, i.e. remove those macro lines, but I found it easier simply to turn the macro on always.
That setting was changed in Makefile.inc:
~> grep CONFIG_KLIPS_ALG Makefile.inc
KLIPSCOMPILE=-O3 -DCONFIG_KLIPS_ALG
Are you overriding the KLIPSCOMPILE setting? Or did you copy in an older Makefile.inc?
Paul
More information about the Users
mailing list