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