Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497628 - kde-misc/plasma-nm: OpenConnect support.
Summary: kde-misc/plasma-nm: OpenConnect support.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo KDE team
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-09 15:12 UTC by Hongjiu Zhang
Modified: 2014-03-12 15:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild (plasma-nm-0.9.3.2.ebuild,1.30 KB, text/plain)
2014-01-10 03:39 UTC, Hongjiu Zhang
Details
Automagic patch (plasma-nm-openconnect-automagic.patch,481 bytes, patch)
2014-01-10 03:39 UTC, Hongjiu Zhang
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hongjiu Zhang 2014-01-09 15:12:10 UTC
If openconnect is not installed in the system, this plasma addon does not have support for this VPN. According to the Kubuntu bug report, users need to first install openconnect and rebuild the software. Right now there is no USE flag of openconnect available for this package, unlike kde-misc/networkmanagement.

Reproducible: Always
Comment 1 Hongjiu Zhang 2014-01-10 03:39:23 UTC
Created attachment 367540 [details]
Ebuild

Not fully tested.
Comment 2 Hongjiu Zhang 2014-01-10 03:39:44 UTC
Created attachment 367542 [details, diff]
Automagic patch
Comment 3 Hongjiu Zhang 2014-02-01 17:48:23 UTC
I just tested this patch by emerge openconnect && USE="-openconnect" emerge plasma-nm && emerge -C openconnect. Portage didn't report any @preserve-rebuild requirement. I believe this should work.
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2014-03-12 15:09:05 UTC
Comment on attachment 367542 [details, diff]
Automagic patch

vpn/openconnect/CMakeLists.txt:
> macro_optional_find_package(OpenConnect ${MINIMUM_OPENCONNECT_VERSION_REQUIRED})
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2014-03-12 15:10:16 UTC
Comment on attachment 367540 [details]
Ebuild

macro_optional_find_package(OpenConnect ${MINIMUM_OPENCONNECT_VERSION_REQUIRED}) handled with:
> $(cmake-utils_use_find_package openconnect OpenConnect)
Comment 6 Johannes Huber (RETIRED) gentoo-dev 2014-03-12 15:12:31 UTC
Thanks for reporting. This is fixed in cvs now. Please sync in some hours to get the changes.

+
+  12 Mar 2014; Johannes Huber <johu@gentoo.org>
+  +files/plasma-nm-0.9.3.3-openconnect-build.patch, -plasma-nm-0.9.3.2.ebuild,
+  metadata.xml, plasma-nm-0.9.3.3.ebuild:
+  Introduce USE flag openconnect, bug #497628. Remove old.
+