[Openswan Users]
sasa
sasa at shoponweb.it
Sat Dec 3 01:09:36 CET 2005
"Paul Wouters" wrote:
> 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.
...therefore if I have understood I can making the steps that I have
described for apply the patch nat-t to the kernel and obtain the rpm
installation file necessary in order to use openswan with klips and nat-t,
just ?
>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/)
.. instead to the link that you have indicated me I find the rpm file
(kernel-2.6.14-1.1637_FC4_natt.i686.rpm) necessary for installation in order
to apply to kernel the patch-nat, but then I must however create the
openswan rpm files in this mode:
# rpmbuild -bb openswan.spec --define 'buildklips 1' --define 'kversion
2.6.14-1.1637_FC4_natt'
.... in order to obtain the rpm files in order to install openswan/klips
with nat-t,
I have understood ?
thanks again.
------
Salvatore.
More information about the Users
mailing list