[Openswan Users] rpm build error

Paul Wouters paul at xelerance.com
Mon Mar 22 23:47:24 CET 2004


On Mon, 22 Mar 2004 agt-public at troglodytic.net wrote:

> Was just trying to build the rpm's from your latest openswan release and 
> ran into the errors below. Could you advise?
 
> RPM build errors:
>     Installed (but unpackaged) file(s) found:
>    /etc/ipsec.d/examples/no_oe.conf
> make: *** [final_rpm] Error 1
> [root at antimony redhat]#

Edit /usr/src/openswan-2.1.1/packaging/redhat/rpm.in

At the section:

%attr(0644,root,root)   %config(noreplace) @FINALCONFDIR@/ipsec.conf
%attr(0644,root,root)   %config(noreplace) @FINALCONFDDIR@/policies/clear
%attr(0644,root,root)   %config(noreplace) @FINALCONFDDIR@/policies/private
%attr(0644,root,root)   %config(noreplace) @FINALCONFDDIR@/policies/block
%attr(0644,root,root)   %config(noreplace) @FINALCONFDDIR@/policies/private-or-clear
%attr(0644,root,root)   %config(noreplace) @FINALCONFDDIR@/policies/clear-or-private

add the line:

%attr(0644,root,root)   %config(noreplace) @FINALCONFDDIR@/examples/no_oe.conf

I just fixed this in cvs.

Paul



More information about the Users mailing list