summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-03-11 01:44:36 -0700
committerAnas Nashif <anas.nashif@intel.com>2013-03-11 02:26:07 -0700
commit9c68e6726cd86f9d1d880ca64e64723c08bf713b (patch)
tree478a9d896c2b29893b517f1a70a1d7f18d67f8d8
parent6feae7be66cf307e59386e127563afd9d3f366f9 (diff)
downloadconnman-9c68e6726cd86f9d1d880ca64e64723c08bf713b.tar.gz
connman-9c68e6726cd86f9d1d880ca64e64723c08bf713b.tar.bz2
connman-9c68e6726cd86f9d1d880ca64e64723c08bf713b.zip
add openconnect support
-rw-r--r--packaging/connman.spec19
1 files changed, 18 insertions, 1 deletions
diff --git a/packaging/connman.spec b/packaging/connman.spec
index 316ebefe..d5e6d6fb 100644
--- a/packaging/connman.spec
+++ b/packaging/connman.spec
@@ -1,5 +1,5 @@
Name: connman
-Version: 1.11
+Version: 1.12
Release: 1
License: GPL-2.0
Summary: Connection Manager
@@ -12,6 +12,7 @@ BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libiptc)
BuildRequires: pkgconfig(xtables)
BuildRequires: pkgconfig(gnutls)
+BuildRequires: openconnect
BuildRequires: readline-devel
Requires: systemd
Requires(post): systemd
@@ -22,6 +23,15 @@ Requires(postun): systemd
Connection Manager provides a daemon for managing Internet connections
within embedded devices running the Linux operating system.
+%package plugin-openconnect
+Summary: Openconnect Support for Connman
+Group: Connectivity/Connection Management
+Requires: %{name} = %{version}
+Requires: openconnect
+
+%description plugin-openconnect
+Openconnect Support for Connman.
+
%package test
Summary: Test Scripts for Connection Manager
Group: Development/Testing
@@ -51,7 +61,9 @@ cp %{SOURCE1001} .
%configure \
--enable-threads \
--enable-client \
+ --enable-pacrunner \
--enable-wifi=builtin \
+ --enable-openconnect \
%if 0%{?enable_connman_features}
%connman_features \
%endif
@@ -84,5 +96,10 @@ ln -s ../connman.service %{buildroot}%{_unitdir}/network.target.wants/connman.se
%{_includedir}/connman/*.h
%{_libdir}/pkgconfig/*.pc
+%files plugin-openconnect
+%{_unitdir}/connman-vpn.service
+%{_libdir}/connman/plugins-vpn/openconnect.so
+%{_libdir}/connman/scripts/openconnect-script
+%{_datadir}/dbus-1/system-services/net.connman.vpn.service
%changelog