[strongswan] Build with openssl plugin enabled

Pavel Šimerda pavlix at fedoraproject.org
Thu Jun 21 09:46:50 UTC 2012


commit 39b47e0bfa1e004f56aabb7f414828a17e6dd05e
Author: Pavel Šimerda <psimerda at redhat.com>
Date:   Thu Jun 21 11:46:45 2012 +0200

    Build with openssl plugin enabled

 strongswan.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/strongswan.spec b/strongswan.spec
index 664b2ae..c0f80dc 100644
--- a/strongswan.spec
+++ b/strongswan.spec
@@ -3,7 +3,7 @@
 
 Name:           strongswan
 Version:        5.0.0
-Release:        0.2%{snapshot}%{?dist}
+Release:        0.3%{snapshot}%{?dist}
 Summary:        An OpenSource IPsec-based VPN Solution
 Group:          System Environment/Daemons
 License:        GPLv2+
@@ -12,6 +12,7 @@ Source0:        %{name}-%{commit}.tar.gz
 BuildRequires:  gmp-devel
 BuildRequires:  libcurl-devel
 BuildRequires:  openldap-devel
+BuildRequires:	openssl-devel
 BuildRequires:  NetworkManager-devel
 BuildRequires:  NetworkManager-glib-devel
 # when building from git
@@ -55,6 +56,7 @@ echo "For migration from 4.6 to 5.0 see http://wiki.strongswan.org/projects/stro
     --sysconfdir=%{_sysconfdir}/%{name} \
     --with-ipsecdir=%{_libexecdir}/%{name} \
     --with-ipseclibdir=%{_libdir}/%{name} \
+    --enable-openssl \
     --enable-nm
 make %{?_smp_mflags}
 sed -i 's/\t/    /' src/strongswan.conf src/starter/ipsec.conf
@@ -111,6 +113,7 @@ install -D -m 755 init/sysvinit/%{name} %{buildroot}/%{_initddir}/%{name}
 %{_libdir}/%{name}/plugins/lib%{name}-kernel-netlink.so
 %{_libdir}/%{name}/plugins/lib%{name}-md5.so
 %{_libdir}/%{name}/plugins/lib%{name}-nonce.so
+%{_libdir}/%{name}/plugins/lib%{name}-openssl.so
 %{_libdir}/%{name}/plugins/lib%{name}-pem.so
 %{_libdir}/%{name}/plugins/lib%{name}-pgp.so
 %{_libdir}/%{name}/plugins/lib%{name}-pkcs1.so
@@ -188,6 +191,9 @@ fi
 %endif
 
 %changelog
+* Thu Jun 21 2012 Pavel Šimerda <psimerda at redhat.com> - 5.0.0-0.3.git20120619
+- Build with openssl plugin enabled
+
 * Wed Jun 20 2012 Pavel Šimerda <psimerda at redhat.com> - 5.0.0-0.2.git20120619
 - Add README.Fedora with link to 4.6 to 5.0 migration information
 


More information about the scm-commits mailing list