[Openswan dev] [PATCH] Openswan .spec file for SUSE/SLES9
Paul Wouters
paul at xelerance.com
Tue Aug 21 09:34:41 EDT 2007
On Tue, 21 Aug 2007, Ruben Laban wrote:
> I had to make some small change to the provided .spec file for suse to have it
> build properly on our SUSE Linux Enterprise Server 9 buildhosts. The unified
> diff is below:
Thanks. That spec file is pretty much unmaintained. You might want to verify you
are not missing more new things from the fedora based spec file.
Paul
> --- openswan-2.4.9.orig/packaging/suse/openswan.26spec 2007-07-10 05:20:50.000000000 +0200
> +++ openswan-2.4.9/packaging/suse/openswan.26spec 2007-08-21 11:58:51.809891664 +0200
> @@ -4,7 +4,7 @@
> %define opensw_release 1suse9
> %define debug_package %{nil}
> Release: %{opensw_release}
> -Source: http://www.openswan.org/code/openswan-%{Version}.tar.gz
> +Source: http://www.openswan.org/code/openswan-%{version}.tar.gz
> BuildPreReq: gmp
> BuildRoot: %{_tmppath}/%{name}-buildroot
> Summary: Openswan IPsec userland tools
> @@ -29,12 +29,13 @@
> Openswan on a kernel with either the KLIPS or NETKEY stack.
>
> %prep
> -%setup -q -n openswan-%{Version}
> +%setup -q -n openswan-%{version}
>
> %build
> %{__make} \
> USERCOMPILE="-g %{optflags}" \
> INC_USRLOCAL=%{_prefix} \
> + FINALLIBDIR=%{_libdir}/ipsec \
> MANTREE=%{_mandir} \
> INC_RCDEFAULT=%{_initrddir} \
> programs
> @@ -45,6 +46,7 @@
> %{__make} \
> DESTDIR=%{buildroot} \
> INC_USRLOCAL=%{_prefix} \
> + FINALLIBDIR=%{_libdir}/ipsec \
> INC_RCDEFAULT=%{_initrddir} \
> MANTREE=%{buildroot}%{_mandir} \
> install
>
>
> Regards,
>
> Ruben Laban
> Systems and Network Administrator
> r.laban at ism.nl
>
> ISM eCompany
> Van Nelleweg 1
> Postbus 13043
> 3004 HA Rotterdam
> +31 (0)10 243 6000 (tel)
> +31 (0)10 243 6066 (fax)
> www.ism.nl
>
> Quality Solutions - Reliable Partner
> _______________________________________________
> Dev mailing list
> Dev at openswan.org
> http://lists.openswan.org/mailman/listinfo/dev
>
--
Building and integrating Virtual Private Networks with Openswan:
http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
More information about the Dev
mailing list