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

Git Clone URL: https://aur.archlinux.org/networkmanager-openconnect-multiprotocol-git.git (read-only)
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: grazzolini
Last Packager: grazzolini
Votes: 2
Popularity: 0.007960
First Submitted: 2017-08-17 18:55
Last Updated: 2017-08-17 18:55

Latest Comments

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!