openconnect: update to 8.02

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Oleksandr Kravchuk 2019-03-16 15:49:36 +01:00 committed by Khem Raj
parent 5ea50a0474
commit 01a7a78196

View File

@ -2,7 +2,11 @@ SUMMARY = "Open client for Cisco AnyConnect VPN"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=243b725d71bb5df4a1e5920b344b86ad"
SRC_URI = "git://git.infradead.org/users/dwmw2/openconnect.git"
SRCREV = "6487ee8763e1b6345718684909aca970befbc49d"
DEPENDS = "vpnc libxml2 krb5 gettext-native"
RDEPENDS_${PN} = "bash python"
PACKAGECONFIG ??= "gnutls lz4 libproxy"
@ -14,10 +18,7 @@ PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy,"
# not config defaults
PACKAGECONFIG[pcsc-lite] = "--with-libpcsclite,--without-libpcsclite,pcsc-lite,"
PV = "7.08"
SRCREV = "9697bea0e50952cab57063238b43a7099e498cbb"
SRC_URI = "git://git.infradead.org/users/dwmw2/openconnect.git"
PV = "8.02"
S = "${WORKDIR}/git"
@ -25,3 +26,8 @@ inherit autotools pkgconfig
EXTRA_OECONF += "--with-vpnc-script=${SYSROOT_DESTDIR}${sysconfdir}/vpnc/vpnc-script \
--disable-static"
do_configure_append() {
# script has /usr/bin/python2 path hardcoded
sed -i -e 's=python2\.*=python=g' ${S}/trojans/tncc-wrapper.py
}