* [PATCH] strongswan: Add back config patch for pkcs11 in 5.2.1 format
@ 2015-10-23 22:25 Sam Nelson
2015-11-03 13:18 ` Jacob Stiffler
0 siblings, 1 reply; 3+ messages in thread
From: Sam Nelson @ 2015-10-23 22:25 UTC (permalink / raw)
To: meta-arago
- 5.2.1 version of strongswan expects config in changed format.
This patch adds the pkcs11_plugin.conf file to adapt to that.
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
---
.../strongswan/files/pkcs11_plugin.conf | 15 +++++++++++++++
.../strongswan/files/strongswan_libsecstore.patch | 16 ----------------
.../strongswan/strongswan_%.bbappend | 4 ++--
3 files changed, 17 insertions(+), 18 deletions(-)
create mode 100644 meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin.conf
delete mode 100644 meta-arago-distro/recipes-support/strongswan/files/strongswan_libsecstore.patch
diff --git a/meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin.conf b/meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin.conf
new file mode 100644
index 0000000..6d8c1cb
--- /dev/null
+++ b/meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin.conf
@@ -0,0 +1,15 @@
+# strongswan.conf - strongSwan configuration file
+libstrongswan {
+
+ # 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-distro/recipes-support/strongswan/files/strongswan_libsecstore.patch b/meta-arago-distro/recipes-support/strongswan/files/strongswan_libsecstore.patch
deleted file mode 100644
index c16b05e..0000000
--- a/meta-arago-distro/recipes-support/strongswan/files/strongswan_libsecstore.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- 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-distro/recipes-support/strongswan/strongswan_%.bbappend b/meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend
index f065a63..74829e7 100644
--- a/meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend
+++ b/meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend
@@ -1,4 +1,4 @@
-PR_append = "-arago1"
+PR_append = "-arago2"
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
DEPENDS_remove = "gmp"
@@ -11,4 +11,4 @@ EXTRA_OECONF += "--disable-gmp \
--disable-tools \
"
-#SRC_URI += "file://strongswan_libsecstore.patch"
+SRC_URI += "file://pkcs11_plugin.conf"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] strongswan: Add back config patch for pkcs11 in 5.2.1 format
2015-10-23 22:25 [PATCH] strongswan: Add back config patch for pkcs11 in 5.2.1 format Sam Nelson
@ 2015-11-03 13:18 ` Jacob Stiffler
2015-11-03 19:37 ` Nelson, Sam
0 siblings, 1 reply; 3+ messages in thread
From: Jacob Stiffler @ 2015-11-03 13:18 UTC (permalink / raw)
To: Sam Nelson, meta-arago
On 10/23/2015 6:25 PM, Sam Nelson wrote:
> - 5.2.1 version of strongswan expects config in changed format.
> This patch adds the pkcs11_plugin.conf file to adapt to that.
>
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> ---
> .../strongswan/files/pkcs11_plugin.conf | 15 +++++++++++++++
> .../strongswan/files/strongswan_libsecstore.patch | 16 ----------------
> .../strongswan/strongswan_%.bbappend | 4 ++--
> 3 files changed, 17 insertions(+), 18 deletions(-)
> create mode 100644 meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin.conf
> delete mode 100644 meta-arago-distro/recipes-support/strongswan/files/strongswan_libsecstore.patch
>
> diff --git a/meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin.conf b/meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin.conf
> new file mode 100644
> index 0000000..6d8c1cb
> --- /dev/null
> +++ b/meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin.conf
> @@ -0,0 +1,15 @@
> +# strongswan.conf - strongSwan configuration file
> +libstrongswan {
> +
> + # 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-distro/recipes-support/strongswan/files/strongswan_libsecstore.patch b/meta-arago-distro/recipes-support/strongswan/files/strongswan_libsecstore.patch
> deleted file mode 100644
> index c16b05e..0000000
> --- a/meta-arago-distro/recipes-support/strongswan/files/strongswan_libsecstore.patch
> +++ /dev/null
> @@ -1,16 +0,0 @@
> ---- 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-distro/recipes-support/strongswan/strongswan_%.bbappend b/meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend
> index f065a63..74829e7 100644
> --- a/meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend
> +++ b/meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend
> @@ -1,4 +1,4 @@
> -PR_append = "-arago1"
> +PR_append = "-arago2"
> FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
>
> DEPENDS_remove = "gmp"
> @@ -11,4 +11,4 @@ EXTRA_OECONF += "--disable-gmp \
> --disable-tools \
> "
>
> -#SRC_URI += "file://strongswan_libsecstore.patch"
> +SRC_URI += "file://pkcs11_plugin.conf"
How is this file being installed?
Do you know if it is compatible with strongswan 5.3.1?
- Jake
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] strongswan: Add back config patch for pkcs11 in 5.2.1 format
2015-11-03 13:18 ` Jacob Stiffler
@ 2015-11-03 19:37 ` Nelson, Sam
0 siblings, 0 replies; 3+ messages in thread
From: Nelson, Sam @ 2015-11-03 19:37 UTC (permalink / raw)
To: Stiffler, Jacob, meta-arago@arago-project.org
> -----Original Message-----
> From: Stiffler, Jacob
> Sent: Tuesday, November 03, 2015 8:18 AM
> To: Nelson, Sam; meta-arago@arago-project.org
> Subject: Re: [meta-arago] [PATCH] strongswan: Add back config patch for
> pkcs11 in 5.2.1 format
>
>
>
> On 10/23/2015 6:25 PM, Sam Nelson wrote:
> > - 5.2.1 version of strongswan expects config in changed format.
> > This patch adds the pkcs11_plugin.conf file to adapt to that.
> >
> > Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> > ---
> > .../strongswan/files/pkcs11_plugin.conf | 15 +++++++++++++++
> > .../strongswan/files/strongswan_libsecstore.patch | 16 ----------------
> > .../strongswan/strongswan_%.bbappend | 4 ++--
> > 3 files changed, 17 insertions(+), 18 deletions(-)
> > create mode 100644 meta-arago-distro/recipes-
> support/strongswan/files/pkcs11_plugin.conf
> > delete mode 100644
> > meta-arago-distro/recipes-support/strongswan/files/strongswan_libsecst
> > ore.patch
> >
> > diff --git
> > a/meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin.con
> > f
> > b/meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin.con
> > f
> > new file mode 100644
> > index 0000000..6d8c1cb
> > --- /dev/null
> > +++ b/meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin
> > +++ .conf
> > @@ -0,0 +1,15 @@
> > +# strongswan.conf - strongSwan configuration file libstrongswan {
> > +
> > + # 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-distro/recipes-support/strongswan/files/strongswan_libsec
> > store.patch
> > b/meta-arago-distro/recipes-support/strongswan/files/strongswan_libsec
> > store.patch
> > deleted file mode 100644
> > index c16b05e..0000000
> > ---
> > a/meta-arago-distro/recipes-support/strongswan/files/strongswan_libsec
> > store.patch
> > +++ /dev/null
> > @@ -1,16 +0,0 @@
> > ---- 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-distro/recipes-
> support/strongswan/strongswan_%.bbappend
> > b/meta-arago-distro/recipes-
> support/strongswan/strongswan_%.bbappend
> > index f065a63..74829e7 100644
> > ---
> > a/meta-arago-distro/recipes-
> support/strongswan/strongswan_%.bbappend
> > +++ b/meta-arago-distro/recipes-
> support/strongswan/strongswan_%.bbappe
> > +++ nd
> > @@ -1,4 +1,4 @@
> > -PR_append = "-arago1"
> > +PR_append = "-arago2"
> > FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
> >
> > DEPENDS_remove = "gmp"
> > @@ -11,4 +11,4 @@ EXTRA_OECONF += "--disable-gmp \
> > --disable-tools \
> > "
> >
> > -#SRC_URI += "file://strongswan_libsecstore.patch"
> > +SRC_URI += "file://pkcs11_plugin.conf"
>
> How is this file being installed?
Need to add install script. I have sent update to add this.
>
> Do you know if it is compatible with strongswan 5.3.1?
I am not sure if it is compatible.
>
> - Jake
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-03 19:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-23 22:25 [PATCH] strongswan: Add back config patch for pkcs11 in 5.2.1 format Sam Nelson
2015-11-03 13:18 ` Jacob Stiffler
2015-11-03 19:37 ` Nelson, Sam
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.