diff options
author | chleun.moon <chleun.moon@samsung.com> | 2017-04-20 11:00:24 +0900 |
---|---|---|
committer | chleun.moon <chleun.moon@samsung.com> | 2017-04-20 11:00:58 +0900 |
commit | 6289f6a099afd889a013f895fca9df34028c2fb7 (patch) | |
tree | 1e5f88972bb0a66f0ed1817b7cbb4c49b1a8ff9a /packaging | |
parent | d21359e658ca906a560143a81ac1ea6e765e9dd4 (diff) | |
parent | 13294d79e3412a68c541fd6a22840bf85521a420 (diff) | |
download | connman-6289f6a099afd889a013f895fca9df34028c2fb7.tar.gz connman-6289f6a099afd889a013f895fca9df34028c2fb7.tar.bz2 connman-6289f6a099afd889a013f895fca9df34028c2fb7.zip |
Merge branch 'ipsec' into tizen
Change-Id: I2ecaece689f43bb0c03c9c5929274bfe43e346b0
Signed-off-by: cheoleun <chleun.moon@samsung.com>
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/connman.spec | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec index 6f12bbb2..f9a90f6d 100755 --- a/packaging/connman.spec +++ b/packaging/connman.spec @@ -1,5 +1,6 @@ %bcond_with connman_openconnect %bcond_without connman_openvpn +%bcond_without connman_ipsec %bcond_without connman_vpnd Name: connman @@ -13,6 +14,7 @@ Source0: %{name}-%{version}.tar.gz BuildRequires: systemd-devel BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(libiptc) BuildRequires: pkgconfig(xtables) BuildRequires: pkgconfig(libsmack) @@ -24,6 +26,10 @@ BuildRequires: openconnect %if %{with connman_openvpn} BuildRequires: openvpn %endif +%if %{with connman_ipsec} +BuildRequires: strongswan +BuildRequires: pkgconfig(openssl) +%endif BuildRequires: ca-certificates-devel BuildRequires: readline-devel #%systemd_requires @@ -64,6 +70,17 @@ Requires: openvpn OpenVPN support for Connman. %endif +%if %{with connman_ipsec} +%package plugin-ipsec +Summary: IPsec Support for Connman +Requires: %{name} = %{version} +Requires: strongswan +BuildRequires: pkgconfig(openssl) + +%description plugin-ipsec +OpenVPN support for Connman. +%endif + %if %{with connman_vpnd} %package connman-vpnd Summary: VPN Support for Connman @@ -136,6 +153,9 @@ chmod +x bootstrap %if %{with connman_openvpn} --enable-openvpn \ %endif +%if %{with connman_ipsec} + --enable-ipsec \ +%endif %if 0%{?enable_connman_features} %connman_features \ %endif @@ -272,6 +292,14 @@ systemctl daemon-reload %license COPYING %endif +%if %{with connman_ipsec} +%files plugin-ipsec +%manifest %{name}.manifest +%{_libdir}/%{name}/plugins-vpn/ipsec.so +%{_libdir}/%{name}/scripts/ipsec-script +%{_datadir}/dbus-1/system-services/net.connman.vpn.service +%endif + %if %{with connman_vpnd} %files connman-vpnd %manifest %{name}.manifest |