[Openswan Users] IPSEC/Pluto terminating

Paul Wouters paul at xelerance.com
Tue Sep 8 20:25:09 EDT 2009


On Wed, 9 Sep 2009, Warren Pountain wrote:

> I have attempted to follow your instructions on how to build the rpm
> file for 2.6.23dr3 after I downloaded 2.6.14-1.e15_3.3.src.rpm but I get
> the following error when running
>
> rpmbuild -ba /usr/src/redhat/SPECS/openswan.spec
>
> [root at fw warren]# rpmbuild -ba /usr/src/redhat/SPECS/openswan.spec

> + echo 'Patch #1 (openswan-2.6-examples.patch):'
> Patch #1 (openswan-2.6-examples.patch):
> + patch -p1 -s
> Reversed (or previously applied) patch detected!  Assume -R? [n] n
> Apply anyway? [n] n
> 1 out of 1 hunk ignored -- saving rejects to file
> programs/examples/l2tp-cert.conf.in.rej
> Reversed (or previously applied) patch detected!  Assume -R? [n] n
> Apply anyway? [n] n
> 1 out of 1 hunk ignored -- saving rejects to file
> programs/examples/l2tp-psk.conf.in.rej
> Reversed (or previously applied) patch detected!  Assume -R? [n] n
> Apply anyway? [n] n
> 1 out of 1 hunk ignored -- saving rejects to file
> programs/examples/Makefile.rej
> Reversed (or previously applied) patch detected!  Assume -R? [n] n
> Apply anyway? [n] n
> 1 out of 1 hunk ignored -- saving rejects to file
> programs/examples/sysctl.conf.in.rej
> 1 out of 1 hunk FAILED -- saving rejects to file programs/Makefile.rej
> error: Bad exit status from /var/tmp/rpm-tmp.13605 (%prep)

It looks like some patches are applied that are already in the newer version
of openswan. Look in the spec file for %patch lines and see which one you
need to comment out.

Paul


More information about the Users mailing list