[Openswan Users] patch natt & openswn 2.4.5

sasa sasa at shoponweb.it
Thu Apr 27 01:06:46 CEST 2006


"Giovani Moda" wrote:

> patch if you'd like to keep this kernel. But I strongly suggest you run an 
> "yum upgrade", upgrade your system and build openswan on a 
> kernel-2.6.12-1.1381, wich is the latest kernel release for FC3. That

..I have updated kernel version but I have this error:

+ echo 'Patch #3 (openswan-2.4.5.kernel-2.6-natt.patch):'
Patch #3 (openswan-2.4.5.kernel-2.6-natt.patch):
+ patch -p1 -s
1 out of 9 hunks FAILED -- saving rejects to file net/ipv4/udp.c.rej
error: Bad exit status from /var/tmp/rpm-tmp.76388 (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.76388 (%prep)

..my '/usr/src/redhat/SPEC/kernel-2.6.spec':

Patch3: openswan-2.4.5.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

..with openswan-2.4.4 I haven't problems.
Thanks.

------
Salvatore. 



More information about the Users mailing list