summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/openconnect/openconnect_8.03.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-connectivity/openconnect/openconnect_8.03.bb')
-rw-r--r--meta-networking/recipes-connectivity/openconnect/openconnect_8.03.bb12
1 files changed, 5 insertions, 7 deletions
diff --git a/meta-networking/recipes-connectivity/openconnect/openconnect_8.03.bb b/meta-networking/recipes-connectivity/openconnect/openconnect_8.03.bb
index ec36a375a..974ff4547 100644
--- a/meta-networking/recipes-connectivity/openconnect/openconnect_8.03.bb
+++ b/meta-networking/recipes-connectivity/openconnect/openconnect_8.03.bb
@@ -2,11 +2,14 @@ SUMMARY = "Open client for Cisco AnyConnect VPN"
2LICENSE = "LGPLv2.1" 2LICENSE = "LGPLv2.1"
3LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=243b725d71bb5df4a1e5920b344b86ad" 3LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=243b725d71bb5df4a1e5920b344b86ad"
4 4
5SRC_URI = "git://git.infradead.org/users/dwmw2/openconnect.git" 5SRC_URI = " \
6 git://git.infradead.org/users/dwmw2/openconnect.git \
7 file://0001-trojans-tncc-wrapper.py-convert-to-python3.patch \
8"
6SRCREV = "ea73851969ae7a6ea54fdd2d2b8c94776af24b2a" 9SRCREV = "ea73851969ae7a6ea54fdd2d2b8c94776af24b2a"
7 10
8DEPENDS = "vpnc libxml2 krb5 gettext-native" 11DEPENDS = "vpnc libxml2 krb5 gettext-native"
9RDEPENDS_${PN} = "bash python" 12RDEPENDS_${PN} = "bash python3-core"
10 13
11PACKAGECONFIG ??= "gnutls lz4 libproxy" 14PACKAGECONFIG ??= "gnutls lz4 libproxy"
12 15
@@ -24,8 +27,3 @@ inherit autotools pkgconfig
24 27
25EXTRA_OECONF += "--with-vpnc-script=${SYSROOT_DESTDIR}${sysconfdir}/vpnc/vpnc-script \ 28EXTRA_OECONF += "--with-vpnc-script=${SYSROOT_DESTDIR}${sysconfdir}/vpnc/vpnc-script \
26 --disable-static" 29 --disable-static"
27
28do_configure_append() {
29 # script has /usr/bin/python2 path hardcoded
30 sed -i -e 's=python2\.*=python=g' ${S}/trojans/tncc-wrapper.py
31}