All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] strongswan: Add append recipe for strongswan v5.1.1 to remove GPLV3 dependency
@ 2015-01-29 19:00 Sam Nelson
  2015-01-29 19:00 ` [PATCH 2/2] strongswan: Add pkcs11 plugin Sam Nelson
  2015-01-30  1:55 ` [PATCH 1/2] strongswan: Add append recipe for strongswan v5.1.1 to remove GPLV3 dependency Denys Dmytriyenko
  0 siblings, 2 replies; 3+ messages in thread
From: Sam Nelson @ 2015-01-29 19:00 UTC (permalink / raw
  To: meta-arago

- Remove GMP dependency which has GPLV3 content

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
 .../strongswan/strongswan_5.1.1.bbappend           |    8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend

diff --git a/meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend b/meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend
new file mode 100644
index 0000000..ca19b68
--- /dev/null
+++ b/meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend
@@ -0,0 +1,8 @@
+PR_append = "-arago0"
+
+DEPENDS = "openssl flex-native flex bison-native"
+
+EXTRA_OECONF = "--disable-gmp \
+        --enable-openssl \
+        --without-lib-prefix \
+"
-- 
1.7.9.5



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

* [PATCH 2/2] strongswan: Add pkcs11 plugin
  2015-01-29 19:00 [PATCH 1/2] strongswan: Add append recipe for strongswan v5.1.1 to remove GPLV3 dependency Sam Nelson
@ 2015-01-29 19:00 ` Sam Nelson
  2015-01-30  1:55 ` [PATCH 1/2] strongswan: Add append recipe for strongswan v5.1.1 to remove GPLV3 dependency Denys Dmytriyenko
  1 sibling, 0 replies; 3+ messages in thread
From: Sam Nelson @ 2015-01-29 19:00 UTC (permalink / raw
  To: meta-arago

- Enable pkcs11 plugin to add softhsm for secure store

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
 .../strongswan/files/strongswan_libsecstore.patch  |   16 ++++++++++++++++
 .../strongswan/strongswan_5.1.1.bbappend           |    6 ++++++
 2 files changed, 22 insertions(+)
 create mode 100644 meta-arago-extras/recipes-support/strongswan/files/strongswan_libsecstore.patch

diff --git a/meta-arago-extras/recipes-support/strongswan/files/strongswan_libsecstore.patch b/meta-arago-extras/recipes-support/strongswan/files/strongswan_libsecstore.patch
new file mode 100644
index 0000000..c16b05e
--- /dev/null
+++ b/meta-arago-extras/recipes-support/strongswan/files/strongswan_libsecstore.patch
@@ -0,0 +1,16 @@
+--- strongswan-5.0.0/src/strongswan.conf	2010-10-22 10:33:30.000000000 -0400
++++ strongswan-5.0.0.libsecstore/src/strongswan.conf	2014-04-03 18:31:17.228569896 -0400
+@@ -31,4 +31,13 @@
+ 
+ 	#  set to no, the DH exponent size is optimized
+ 	#  dh_exponent_ansi_x9_42 = no
++  plugins {
++    pkcs11 {
++      modules {
++        secstore {
++          path = /usr/lib/softhsm/libsecstore.so.1
++        }
++      }
++    }
++  }
+ }
diff --git a/meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend b/meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend
index ca19b68..22c8550 100644
--- a/meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend
+++ b/meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend
@@ -1,8 +1,14 @@
 PR_append = "-arago0"
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
 
 DEPENDS = "openssl flex-native flex bison-native"
 
+SRC_URI += "file://strongswan_libsecstore.patch"
+
 EXTRA_OECONF = "--disable-gmp \
         --enable-openssl \
         --without-lib-prefix \
+        --enable-ctr \
+        --enable-pkcs11 \
+        --disable-tools \
 "
-- 
1.7.9.5



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

* Re: [PATCH 1/2] strongswan: Add append recipe for strongswan v5.1.1 to remove GPLV3 dependency
  2015-01-29 19:00 [PATCH 1/2] strongswan: Add append recipe for strongswan v5.1.1 to remove GPLV3 dependency Sam Nelson
  2015-01-29 19:00 ` [PATCH 2/2] strongswan: Add pkcs11 plugin Sam Nelson
@ 2015-01-30  1:55 ` Denys Dmytriyenko
  1 sibling, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2015-01-30  1:55 UTC (permalink / raw
  To: Sam Nelson; +Cc: meta-arago

On Thu, Jan 29, 2015 at 02:00:44PM -0500, Sam Nelson wrote:
> - Remove GMP dependency which has GPLV3 content
> 
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> ---
>  .../strongswan/strongswan_5.1.1.bbappend           |    8 ++++++++
>  1 file changed, 8 insertions(+)
>  create mode 100644 meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend
> 
> diff --git a/meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend b/meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend
> new file mode 100644
> index 0000000..ca19b68
> --- /dev/null
> +++ b/meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend
> @@ -0,0 +1,8 @@
> +PR_append = "-arago0"
> +
> +DEPENDS = "openssl flex-native flex bison-native"

Based on your description above, you want to remove gmp from the original 
DEPENDS list. You can do it like this:

DEPENDS_remove = "gmp"

Same with EXTRA_OECONF below.


> +EXTRA_OECONF = "--disable-gmp \
> +        --enable-openssl \
> +        --without-lib-prefix \
> +"
> -- 
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


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

end of thread, other threads:[~2015-01-30  1:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-29 19:00 [PATCH 1/2] strongswan: Add append recipe for strongswan v5.1.1 to remove GPLV3 dependency Sam Nelson
2015-01-29 19:00 ` [PATCH 2/2] strongswan: Add pkcs11 plugin Sam Nelson
2015-01-30  1:55 ` [PATCH 1/2] strongswan: Add append recipe for strongswan v5.1.1 to remove GPLV3 dependency Denys Dmytriyenko

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.