[Openswan Users]

Paul Wouters paul at xelerance.com
Fri Dec 2 19:57:01 CET 2005


On Fri, 2 Dec 2005, sasa wrote:

> For to install nat-t patch (for then use her with klips) I can use
> "openswan-2.4.4.kernel-2.6-natt.patch.gz" in this mode:
>
> ..expand a compressed file "openswan-2.4.4.kernel-2.6-natt.patch.gz" in
>
> #/usr/src/redhat/SOURCES
>
> ..then modify "/usr/src/redhat/SPEC/kernel-2.6.spec" in this mode:
>
> Patch1961: openswan-2.4.4.kernel-2.6-natt.patch
> ..
> ..
> %patch1961 -p1
>
> ..
> cp -fv %{all_arch_configs}
> for configfile in *.config
> do
>        echo "CONFIG_IPSEC_NAT_TRAVERSAL=y" >> $configfile
> done
>
> ..then in directory "/usr/src/redhat/SPECS" I execute:
>
> #rpmbuild -bp --target=i686 kernel-2.6.spec
>
> ..at this point I can make a rpm files with klips/nat-t support in this mode:
>
> # rpmbuild -bb openswan.spec --define 'buildklips 1' --define 'kversion
> 2.6.9-1.667'
>

Yes. Though what I did was modify the SOURCES/linux*config* files so I did not need
to do the echo stuff you're doing. (my kernel natt rpm is on ftp.openswan.org/kernel/)

Paul


More information about the Users mailing list