- aptitude install build-essential libgmp3-dev gawk flex bison kernel-source-<yo linux> kernel-headers-<yo linux><yo arch>
- get patch and patch kernel,build and install
When config kernel,NB! This is VERY important the following value has got to be removed:
< > PF_KEY sockets
This is the NETKEY option in the kernel, we will disable this one so we can
make room for KLIPS :)
idea from here.
-
1 2 3 4 5 6 7 8 9
cd /usr/srcwget http://www.openswan.org/download/openswan-2.4.15.tar.gzwget http://www.openswan.org/download/openswan-2.4.15.kernel-2.4-klips.patch.gztar -xvjf kernel-source<yo linux>cd kernel-source<yo linux>cp -r ../kernel-headers-<yo linux>/* .patch -p1 < some/patch/openswan-2.4.15.kernel-2.4-klips.patchmake oldconfig or make menuconfigmake dep bzImage install
- build openswan userland tool
1 2 3
cd some/src/openswan-2.4.15make KERNELSRC=/usr/src/kernel-source<yo linux> programs modulemake KERNELSRC=/usr/src/kernel-source<yo linux> install minstall- when succeeded build log
0 件のコメント:
コメントを投稿