blob: 7a61f74e31e28e21bfbbd5ea8742db0c2e9dcf6e [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 = " \
Andrew Geissler595f6302022-01-24 19:11:47 +00006 git://git.infradead.org/users/dwmw2/openconnect.git;branch=master \
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"
Patrick Williams213cb262021-08-07 19:21:33 -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
Patrick Williams213cb262021-08-07 19:21:33 -050030do_install:append() {
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050031 rm ${D}/usr/libexec/openconnect/hipreport-android.sh
32}