[Openswan Users] IPSEC/Pluto terminating
Warren Pountain
Warren at onebyte.net
Tue Sep 8 19:04:35 EDT 2009
Hi Paul,
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
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.13605
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf openswan-2.6.23dr3
+ /bin/gzip -dc /usr/src/redhat/SOURCES/openswan-2.6.23dr3.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd openswan-2.6.23dr3
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ find doc/examples -type f -print0
+ xargs -0 chmod a-x
+ find doc -name .gitignore -print0
+ xargs -0 rm -v
removed `doc/.gitignore'
removed `doc/manpage.d/.gitignore'
+ rm -rf programs/readwriteconf
+ 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)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.13605 (%prep)
Can you tell me where I'm going wrong?
Thanks,
Warren
-----Original Message-----
From: Paul Wouters [mailto:paul at xelerance.com]
Sent: 08 September 2009 17:31
To: Warren Pountain
Cc: users at openswan.org
Subject: RE: [Openswan Users] IPSEC/Pluto terminating
On Mon, 7 Sep 2009, Warren Pountain wrote:
> Unfortunately there is no source RPM found. Does that mean I need to
> remove the rpm?
No, you will just need to manually go through a mirror site for you that
has the SRPM listed somewhere, and download it manually.
Paul
> -----Original Message-----
> From: Paul Wouters [mailto:paul at xelerance.com]
> Sent: 07 September 2009 22:57
> To: Warren Pountain
> Cc: users at openswan.org
> Subject: RE: [Openswan Users] IPSEC/Pluto terminating
>
> On Mon, 7 Sep 2009, Warren Pountain wrote:
>
>> I've downloaded 2.6.22 but before I compile and install will it
> upgrade
>> the existing installation and keep the tunnels already created or
will
>> in install as new?
>
> Yes.
> However, you don't want an rpm install plus a source install, as you'd
> end up with two. So you'd have to remove the rpm.
>
> Easiest is to build as rpm.
>
> yum install yum-utils
> yumdownloader --source openswan
> rpm -hiv openswan-2.6.*.src.rpm
> mv openswan-2.6.23dr3.tar.gz /usr/src/redhat/SOURCES/
> (edit /usr/src/redhat/SPECS/openswan.spec and update the version
number)
> rpmbuild -ba /usr/src/redhat/SPECS/openswan.spec
>
> that should build rpms which you can use to upgrade via rpm -Uhv.
>
> I'd recommend 2.6.23dr3 over 2.6.22. It will be released as 2.6.23
> tomorrow.
>
> Paul
> This message is private and confidential. If you have received this
message in error, please notify us and remove it from your system. Any
views expressed in this message are those of the individual sender,
except where the sender specifies and with authority, states them to be
the views of Onebyte. This email has been scanned for viruses and has
been certified as clean by Symantec, Kapersky & Clam AV. Onebyte is the
trading name of Landmark Computer Services and is a limited company
registered in England & Wales. Registered number: 5329402. Registered
Office 145-157 St. John Street, London, EC1V 4PY
>
This message is private and confidential. If you have received this message in error, please notify us and remove it from your system. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Onebyte. This email has been scanned for viruses and has been certified as clean by Symantec, Kapersky & Clam AV. Onebyte is the trading name of Landmark Computer Services and is a limited company registered in England & Wales. Registered number: 5329402. Registered Office 145-157 St. John Street, London, EC1V 4PY
More information about the Users
mailing list