blob: a486cf0e057690006ded4add376a14d398b252be [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 \
Andrew Geissler82c905d2020-04-13 13:39:40 -05007"
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -05008SRCREV = "9d287e40c57233190a51b6434ba7345370e36f38"
Brad Bishop19323692019-04-05 15:28:33 -04009
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010DEPENDS = "vpnc libxml2 krb5 gettext-native"
Andrew Geissler82c905d2020-04-13 13:39:40 -050011RDEPENDS_${PN} = "bash python3-core vpnc-script"
Patrick Williamsddad1a12017-02-23 20:36:32 -060012
13PACKAGECONFIG ??= "gnutls lz4 libproxy"
14
15# config defaults
16PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls,"
17PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4,"
18PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy,"
19
20# not config defaults
21PACKAGECONFIG[pcsc-lite] = "--with-libpcsclite,--without-libpcsclite,pcsc-lite,"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050022
Patrick Williamsb48b7b42016-08-17 15:04:38 -050023S = "${WORKDIR}/git"
24
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050025inherit autotools pkgconfig bash-completion
Patrick Williamsb48b7b42016-08-17 15:04:38 -050026
Andrew Geissler82c905d2020-04-13 13:39:40 -050027EXTRA_OECONF += "--with-vpnc-script=${sysconfdir}/vpnc/vpnc-script \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050028 --disable-static"
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050029
30do_install_append() {
31 rm ${D}/usr/libexec/openconnect/hipreport-android.sh
32}