Package Details: openconnect-git 8.10.r753.gb0e53bfa-1

Git Clone URL: https://aur.archlinux.org/openconnect-git.git (read-only, click to copy)
Package Base: openconnect-git
Description: Open client for Cisco AnyConnect VPN
Upstream URL: http://www.infradead.org/openconnect.html
Licenses: GPL
Conflicts: openconnect
Provides: libopenconnect.so, openconnect
Submitter: bidulock
Maintainer: bidulock
Last Packager: bidulock
Votes: 10
Popularity: 0.000000
First Submitted: 2016-04-18 09:23 (UTC)
Last Updated: 2022-01-24 20:48 (UTC)

Required by (20)

Sources (1)

Latest Comments

1 2 Next › Last »

TTimo commented on 2023-11-26 14:44 (UTC) (edited on 2023-11-26 14:45 (UTC) by TTimo)

(fix submitted upstream in case you want to pick it up early in the AUR https://gitlab.com/openconnect/openconnect/-/merge_requests/505)

may want to add libxml2 in the depends line also?

TTimo commented on 2023-11-25 00:45 (UTC)

I've started getting a compile error:

gpst.c: In function 'gpst_xml_or_error':
gpst.c:242:19: error: implicit declaration of function 'xmlReadMemory'; did you mean 'xmlInitMemory'? [-Werror=implicit-function-declaration]
  242 |         xml_doc = xmlReadMemory(response, strlen(response), NULL, NULL,
      |                   ^~~~~~~~~~~~~
      |                   xmlInitMemory

tleydxdy commented on 2022-01-24 03:37 (UTC)

seems like configure need to add --libexecdir=/usr/lib, since the package now places some files under /usr/libexec which is not a thing on arch.

jvybihal commented on 2021-10-07 07:55 (UTC) (edited on 2021-10-07 07:55 (UTC) by jvybihal)

@bidulock great! One more request, please add provides=($_pkgname 'libopenconnect.so') so it can be used with networkmanager-openconnect :) Thank you.

bidulock commented on 2021-10-07 06:28 (UTC)

@jvybihal thanks for the fix. Also fixed non-executable (by other than root) /etc/vpnc/vpnc-script.

jvybihal commented on 2021-10-06 13:53 (UTC) (edited on 2021-10-06 13:54 (UTC) by jvybihal)

Please replace python2 dependency with python and run ./configure using /usr/bin/python, otherwise it does not build. Thanks.

diff --git a/PKGBUILD b/PKGBUILD
index a8f6f4e..bbc076f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 pkgname=openconnect-git
 _pkgname=openconnect
-pkgver=8.10.r176.gb5b50c29
+pkgver=8.10.r682.g5ddd857f
 pkgrel=1
 pkgdesc="Open client for Cisco AnyConnect VPN"
 arch=('i686' 'x86_64')
@@ -10,7 +10,7 @@ license=('GPL')
 url="http://www.infradead.org/openconnect.html"
 depends=('libxml2' 'gnutls' 'libproxy' 'vpnc' 'krb5' 'lz4' 'pcsclite' 'trousers' 'stoken'
                'oath-toolkit')
-makedepends=('intltool' 'python2' 'git')
+makedepends=('intltool' 'python' 'git')
 options=('!emptydirs')
 provides=($_pkgname)
 conflicts=($_pkgname)
@@ -27,7 +27,7 @@ pkgver() {
 build() {
   cd $pkgname
   ./autogen.sh
-  PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
+  PYTHON=/usr/bin/python ./configure --prefix=/usr \
       --sbindir=/usr/bin \
       --disable-static \
       --without-gnutls

Jaakkonen commented on 2021-02-17 17:22 (UTC)

The development has moved to gitlab https://gitlab.com/openconnect/openconnect

For me the package fails to build because the old git repo doesn't give any info on git describe. Please also update the python requirement to version 3 like the main repo openconnect has

btaidm commented on 2017-11-09 19:55 (UTC)

I marked vpnc as out of date. The vpnc-script that is packaged is from 2014.

f3flight commented on 2017-05-26 18:32 (UTC)

Instead of vpnc dependency, can we ship http://git.infradead.org/users/dwmw2/vpnc-scripts.git (which has improvements relevant to openconnect, compared to what is shipped in vpnc) and install it somewhere like /etc/openconnect ? Then just change default path as a patch against the git sources, post-clone.

h0tw1r3 commented on 2016-08-18 03:20 (UTC)

Version bump is not necessary for git packages.