blob: 597c1920cfbda1a86f8716a255740b8eed0087d1 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Open client for Cisco AnyConnect VPN"
2LICENSE = "LGPLv2.1"
3LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=243b725d71bb5df4a1e5920b344b86ad"
4
Andrew Geissler82c905d2020-04-13 13:39:40 -05005SRC_URI = " \
6 git://git.infradead.org/users/dwmw2/openconnect.git \
7 file://0001-trojans-tncc-wrapper.py-convert-to-python3.patch \
8"
Brad Bishopc8f47122019-06-24 09:36:18 -04009SRCREV = "ea73851969ae7a6ea54fdd2d2b8c94776af24b2a"
Brad Bishop19323692019-04-05 15:28:33 -040010
Brad Bishop6e60e8b2018-02-01 10:27:11 -050011DEPENDS = "vpnc libxml2 krb5 gettext-native"
Andrew Geissler82c905d2020-04-13 13:39:40 -050012RDEPENDS_${PN} = "bash python3-core vpnc-script"
Patrick Williamsddad1a12017-02-23 20:36:32 -060013
14PACKAGECONFIG ??= "gnutls lz4 libproxy"
15
16# config defaults
17PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls,"
18PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4,"
19PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy,"
20
21# not config defaults
22PACKAGECONFIG[pcsc-lite] = "--with-libpcsclite,--without-libpcsclite,pcsc-lite,"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050023
Patrick Williamsb48b7b42016-08-17 15:04:38 -050024S = "${WORKDIR}/git"
25
26inherit autotools pkgconfig
27
Andrew Geissler82c905d2020-04-13 13:39:40 -050028EXTRA_OECONF += "--with-vpnc-script=${sysconfdir}/vpnc/vpnc-script \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050029 --disable-static"