Package Details: networkmanager-openconnect-multiprotocol-git r805.e86c9b3-1

Git Clone URL: https://aur.archlinux.org/networkmanager-openconnect-multiprotocol-git.git (read-only, click to copy)
Package Base: networkmanager-openconnect-multiprotocol-git
Description: NetworkManager VPN plugin for OpenConnect - multiprotocol version
Upstream URL: https://github.com/dlenski/network-manager-openconnect
Licenses: GPL
Conflicts: networkmanager-openconnect
Provides: networkmanager-openconnect
Submitter: grazzolini
Maintainer: None
Last Packager: grazzolini
Votes: 2
Popularity: 0.000000
First Submitted: 2017-08-17 18:55
Last Updated: 2017-08-17 18:55

Dependencies (8)

Required by (1)

Sources (1)

Latest Comments

grazzolini commented on 2020-04-09 14:07

@ArchFae,

I have not been using this for a while now. One of the only reasons I've maintained this was that I needed to use the palo openconnect version. I've now orphaned the package, fell free to adopt it and make all the changes you want.

ArchFae commented on 2020-04-08 21:28

This package lists openconnect-palo-git as a dependency but the resource is not available in either AUR or main repositories. Can you please update the dependency list or provide a reference to where users are expected to acquire the dependent package?

xrayfur commented on 2018-07-19 20:04

Can't find /usr/lib/NetworkManager/nm-openconnect-auth-dialog and does not start.

If we rebase this on upstream networkmanager-openconnect PKGBUILD it works.

diff --git a/PKGBUILD b/PKGBUILD
index eb9af78..f3bbfa6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Giancarlo Razzolini <grazzolini@archlinux.org>

 pkgname=networkmanager-openconnect-multiprotocol-git
-pkgver=r805.e86c9b3
+pkgver=r807.c1b9280
 pkgrel=1
 pkgdesc="NetworkManager VPN plugin for OpenConnect - multiprotocol version"
 url="https://github.com/dlenski/network-manager-openconnect"
@@ -28,7 +28,7 @@ prepare() {
 build() {
   cd "$srcdir/$pkgname"
   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --libexecdir=/usr/lib/NetworkManager --disable-static
+    --libexecdir=/usr/lib --disable-static
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }
@@ -36,4 +36,6 @@ build() {
 package() {
   cd "$srcdir/$pkgname"
   make DESTDIR="$pkgdir" install
+  echo 'u nm-openconnect - "NetworkManager OpenConnect"' |
+    install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
 }
diff --git a/networkmanager-openconnect.install b/networkmanager-openconnect.install
index 34f7a1d..55de2cb 100644
--- a/networkmanager-openconnect.install
+++ b/networkmanager-openconnect.install
@@ -1,9 +1,7 @@
 post_install() {
-  if ! getent passwd nm-openconnect >/dev/null; then
-    useradd -r -U -d / -c 'NetworkManager OpenConnect' -s /usr/bin/nologin nm-openconnect
-  fi
+    exit 0
 }

 post_upgrade() {
-  post_install $1
+  post_install
 }

diendanyoi54 commented on 2018-05-04 03:37

I can finally use the network manager to read from ~/stokenrc when using OpenConnect for Cisco AnyConnect. Thank you!