[Openswan Users] rpm & klips patch
Paul Wouters
paul at xelerance.com
Tue Apr 18 20:12:24 CEST 2006
On Tue, 18 Apr 2006, sasa wrote:
> Hi, on Fedora Core 3 (with kernel 2.6.9-1.667) I have modified
> '/usr/src/redhat/SPEC/kernel-2.6.spec' for add:
>
> Patch606: openswan-2.4.5.kernel-2.6-klips.patch
> Patch607: openswan-2.4.5.kernel-2.6-natt.patch
> ..
> ..
> %patch606 -p1
> %patch607 -p1
> ...
> cp -fv %{all_arch_configs}
> for configfile in *.config
> do
> echo "CONFIG_IPSEC_NAT_TRAVERSAL=y" >> $configfile
> done
>
> ..after this from '/usr/src/redhat/SPECS' I run:
>
> #rpmbuild -ba --target=i686 kernel-2.6.spec
>
> ..but I have the error message:
>
> + echo 'Patch #606 (openswan-2.4.5.kernel-2.6-klips.patch):'
> Patch #606 (openswan-2.4.5.kernel-2.6-klips.patch):
> + patch -p1 -s
> + echo 'Patch #607 (openswan-2.4.5.kernel-2.6-natt.patch):'
> Patch #607 (openswan-2.4.5.kernel-2.6-natt.patch):
> + patch -p1 -s
> 2 out of 9 hunks FAILED -- saving rejects to file net/ipv4/udp.c.rej
> error: Bad exit status from /var/tmp/rpm-tmp.23576 (%prep)
> ..but with only 'openswan-2.4.5.kernel-2.6-natt.patch' I don't have problems.
Try changing the order of the two patches?
Paul
--
Building and integrating Virtual Private Networks with Openswan:
http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
More information about the Users
mailing list