[oe] [meta-oe][PATCH] openconnect: add recipe

Martin Jansa martin.jansa at gmail.com
Fri Apr 1 11:27:04 UTC 2016


On Mon, Mar 28, 2016 at 04:19:33PM +0300, Ioan-Adrian Ratiu wrote:
> openconnect is a FOSS VPN client designed to work with Cisco AnyConnect
> and Pulse Connect Secure (Juniper SSL).
> 
> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu at ni.com>
> ---
>  .../recipes-connectivity/openconnect/openconnect_git.bb  | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>  create mode 100644 meta-networking/recipes-connectivity/openconnect/openconnect_git.bb
> 
> diff --git a/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb b/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb
> new file mode 100644
> index 0000000..241de30
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb
> @@ -0,0 +1,16 @@
> +SUMMARY = "Open client for Cisco AnyConnect VPN"
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=243b725d71bb5df4a1e5920b344b86ad"
> +
> +DEPENDS = "vpnc libxml2 gnutls"

It is trying to check vpnc-script on host:

| configure: Applying feature macros for GNU build
| configure: error: /etc/vpnc/vpnc-script does not seem to be executable.
|  OpenConnect will not function correctly without a vpnc-script.
|  See http://www.infradead.org/openconnect/vpnc-script.html for more details.
| 
|  If you are building a distribution package, please ensure that your
|  packaging is correct, and that a vpnc-script will be installed when the
|  user installs your package. You should provide a --with-vpnc-script=
|  argument to this configure script, giving the full path where the script
|  will be installed.
| 
|  The standard location is /etc/vpnc/vpnc-script. To bypass this error and
|  build OpenConnect to use the script from this location, even though it is
|  not present at the time you are building OpenConnect, pass the argument
|  "--with-vpnc-script=/etc/vpnc/vpnc-script"
| NOTE: The following config.log files may provide further information.
| WARNING: exit code 1 from a shell command.
| NOTE: /home/jenkins/anaconda/build-webos-wearable-master/build/BUILD/work/qemux86-webos-linux/openconnect/7.06-r0/build/config.log

> +
> +PV = "7.06"
> +
> +SRCREV = "35542d52202672b8c12ecc63867432128244013a"
> +SRC_URI = "git://git.infradead.org/users/dwmw2/openconnect.git"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit autotools pkgconfig
> +
> +EXTRA_OECONF += "--disable-static"
> -- 
> 2.7.4
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20160401/b0462a4b/attachment-0002.sig>


More information about the Openembedded-devel mailing list