X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fconnman.spec;h=f1a29fa37cf0b12e13797a1eee1e6599607c1b75;hb=4de3c3c4a9a978dcfec233275719dbc328aef241;hp=e108c84a8d056285d0741282f31c148b19c4612b;hpb=2ff3cf0e89bbdc19bc261000526562f684b29554;p=platform%2Fupstream%2Fconnman.git diff --git a/packaging/connman.spec b/packaging/connman.spec index e108c84..f1a29fa 100644 --- a/packaging/connman.spec +++ b/packaging/connman.spec @@ -1,11 +1,12 @@ %bcond_with connman_openconnect +%bcond_with connman_wireguard %bcond_without connman_openvpn %bcond_without connman_ipsec %bcond_without connman_vpnd Name: connman -Version: 1.37 -Release: 47 +Version: 1.38 +Release: 3 License: GPL-2.0+ Summary: Connection Manager Url: http://connman.net @@ -88,6 +89,16 @@ Requires: %{name} = %{version} Provides VPN support for Connman %endif +%if %{with connman_wireguard} +%package plugin-wireguard +Summary: Wireguard Support for Connman +BuildRequires: pkgconfig(libmnl) +Requires: %{name} = %{version} + +%description plugin-wireguard +Wireguard Support for Connman. +%endif + %package test Summary: Test Scripts for Connection Manager Group: Development/Tools @@ -164,6 +175,9 @@ chmod +x bootstrap %if %{with connman_ipsec} --enable-ipsec \ %endif +%if %{without connman_wireguard} + --disable-wireguard \ +%endif %if 0%{?enable_connman_features} %connman_features \ %endif @@ -290,6 +304,13 @@ systemctl daemon-reload %attr(644,root,root) %{_unitdir}/connman-vpn.service %endif +%if %{with connman_wireguard} +%files plugin-wireguard +%manifest %{name}.manifest +%{_libdir}/%{name}/plugins-vpn/wireguard.so +%license COPYING +%endif + %post extension-tv mv -f %{_unitdir}/connman.service.tv %{_unitdir}/connman.service mv -f %{_sysconfdir}/connman/main.conf.tv %{_sysconfdir}/connman/main.conf