Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Open client for Cisco AnyConnect VPN" |
| 2 | LICENSE = "LGPLv2.1" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=243b725d71bb5df4a1e5920b344b86ad" |
| 4 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 5 | SRC_URI = "git://git.infradead.org/users/dwmw2/openconnect.git" |
| 6 | SRCREV = "6487ee8763e1b6345718684909aca970befbc49d" |
| 7 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 8 | DEPENDS = "vpnc libxml2 krb5 gettext-native" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 9 | RDEPENDS_${PN} = "bash python" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 10 | |
| 11 | PACKAGECONFIG ??= "gnutls lz4 libproxy" |
| 12 | |
| 13 | # config defaults |
| 14 | PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls," |
| 15 | PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4," |
| 16 | PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy," |
| 17 | |
| 18 | # not config defaults |
| 19 | PACKAGECONFIG[pcsc-lite] = "--with-libpcsclite,--without-libpcsclite,pcsc-lite," |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 20 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 21 | PV = "8.02" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 22 | |
| 23 | S = "${WORKDIR}/git" |
| 24 | |
| 25 | inherit autotools pkgconfig |
| 26 | |
| 27 | EXTRA_OECONF += "--with-vpnc-script=${SYSROOT_DESTDIR}${sysconfdir}/vpnc/vpnc-script \ |
| 28 | --disable-static" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 29 | |
| 30 | do_configure_append() { |
| 31 | # script has /usr/bin/python2 path hardcoded |
| 32 | sed -i -e 's=python2\.*=python=g' ${S}/trojans/tncc-wrapper.py |
| 33 | } |