All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2 1/2] vpnc: stage vpnc-script
@ 2016-04-04 12:43 Ioan-Adrian Ratiu
  2016-04-04 12:43 ` [meta-oe][PATCH v2 2/2] openconnect: add recipe Ioan-Adrian Ratiu
  0 siblings, 1 reply; 3+ messages in thread
From: Ioan-Adrian Ratiu @ 2016-04-04 12:43 UTC (permalink / raw)
  To: openembedded-devel

The vpn connection handling script is used during building openconnect
so we need to stage it.

Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
---
 meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb b/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb
index 0670c5e..ccb4494 100644
--- a/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb
+++ b/meta-networking/recipes-connectivity/vpnc/vpnc_0.5.3.bb
@@ -24,6 +24,13 @@ do_install () {
     install ${WORKDIR}/default.conf ${D}${sysconfdir}/vpnc/default.conf
 }
 
+SYSROOT_PREPROCESS_FUNCS += "vpnc_sysroot_preprocess"
+
+vpnc_sysroot_preprocess () {
+    install -d ${SYSROOT_DESTDIR}${sysconfdir}/vpnc
+    install -m 755 ${D}${sysconfdir}/vpnc/vpnc-script ${SYSROOT_DESTDIR}${sysconfdir}/vpnc
+}
+
 CONFFILES_${PN} = "${sysconfdir}/vpnc/default.conf"
 RDEPENDS_${PN} = "perl-module-io-file"
 RRECOMMENDS_${PN} = "kernel-module-tun"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [meta-oe][PATCH v2 2/2] openconnect: add recipe
  2016-04-04 12:43 [meta-oe][PATCH v2 1/2] vpnc: stage vpnc-script Ioan-Adrian Ratiu
@ 2016-04-04 12:43 ` Ioan-Adrian Ratiu
  2016-04-27 10:27   ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Ioan-Adrian Ratiu @ 2016-04-04 12:43 UTC (permalink / raw)
  To: openembedded-devel

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@ni.com>
---
 .../openconnect/openconnect_git.bb                     | 18 ++++++++++++++++++
 1 file changed, 18 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..0a8b875
--- /dev/null
+++ b/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb
@@ -0,0 +1,18 @@
+SUMMARY = "Open client for Cisco AnyConnect VPN"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=243b725d71bb5df4a1e5920b344b86ad"
+
+DEPENDS = "vpnc libxml2 gnutls"
+RDEPENDS_${PN} = "vpnc"
+
+PV = "7.06"
+
+SRCREV = "35542d52202672b8c12ecc63867432128244013a"
+SRC_URI = "git://git.infradead.org/users/dwmw2/openconnect.git"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF += "--with-vpnc-script=${SYSROOT_DESTDIR}${sysconfdir}/vpnc/vpnc-script \
+                 --disable-static"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-oe][PATCH v2 2/2] openconnect: add recipe
  2016-04-04 12:43 ` [meta-oe][PATCH v2 2/2] openconnect: add recipe Ioan-Adrian Ratiu
@ 2016-04-27 10:27   ` Martin Jansa
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Jansa @ 2016-04-27 10:27 UTC (permalink / raw)
  To: Ioan-Adrian Ratiu; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1963 bytes --]

On Mon, Apr 04, 2016 at 03:43:46PM +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@ni.com>
> ---
>  .../openconnect/openconnect_git.bb                     | 18 ++++++++++++++++++
>  1 file changed, 18 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..0a8b875
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/openconnect/openconnect_git.bb
> @@ -0,0 +1,18 @@
> +SUMMARY = "Open client for Cisco AnyConnect VPN"
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=243b725d71bb5df4a1e5920b344b86ad"
> +
> +DEPENDS = "vpnc libxml2 gnutls"
> +RDEPENDS_${PN} = "vpnc"

There are still some autodetected dependencies as shown by QA warnings:

WARN: openconnect: openconnect rdepends on krb5, but it isn't a build dependency?
WARN: openconnect: openconnect rdepends on libcomerr, but it isn't a build dependency?
WARN: openconnect: openconnect rdepends on libproxy, but it isn't a build dependency?
WARN: openconnect: openconnect rdepends on lz4, but it isn't a build dependency?
WARN: openconnect: openconnect rdepends on pcsc-lite-lib, but it isn't a build dependency?

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

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-27 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-04 12:43 [meta-oe][PATCH v2 1/2] vpnc: stage vpnc-script Ioan-Adrian Ratiu
2016-04-04 12:43 ` [meta-oe][PATCH v2 2/2] openconnect: add recipe Ioan-Adrian Ratiu
2016-04-27 10:27   ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.