strongswan: Add back config patch for pkcs11 in 5.2.1 format
PATCH 1/1 strongswan: Add back config patch for pkcs11 in 5.2.1 format
- 5.2.1 version of strongswan expects config in changed format. This patch adds the pkcs11_plugin.conf file to adapt to that.
--- .../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
meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin.conf new file +15 -0
@@ -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 + } + } + } + } +}
meta-arago-distro/recipes-support/strongswan/files/strongswan_libsecstore.patch deleted +0 -16
@@ -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 -+ } -+ } -+ } -+ } - }
meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend +2 -2
@@ -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"
Signature · 1 line
1.7.9.5
Quoted 66 lines · Sam Nelson
- 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 <[email protected]>--- .../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.confdelete mode 100644meta-arago-distro/recipes-support/strongswan/files/strongswan_libsecstore.patchmeta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin.conf new file +15
-0@@ -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 + } + } + } + } +}meta-arago-distro/recipes-support/strongswan/files/strongswan_libsecstore.patch deleted +0
-16@@ -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 -+ } -+ } -+ } -+ } - }meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend +1
-1@@ -1,4 +1,4 @@ -PR_append = "-arago1" +PR_append = "-arago2" FILESEXTRAPATHS_prepend := "${THISDIR}/files:" DEPENDS_remove = "gmp"
meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend EXTRA_OECONF += "--disable-gmp \ · line 14
Quoted 5 lines
meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend +1
-1@@ -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
Quoted 103 lines
-----Original Message-----
From: Stiffler, Jacob
Sent: Tuesday, November 03, 2015 8:18 AM
To: Nelson, Sam; [email protected]
Subject: Re: [meta-arago] [PATCH] strongswan: Add back config patch for pkcs11 in 5.2.1 formatQuoted 10 lines · Sam Nelson
- 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 <[email protected]>--- .../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.confQuoted 41 lines
delete mode 100644
meta-arago-distro/recipes-support/strongswan/files/strongswan_libsecst ore.patchdiff --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..6d8c1cbmeta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin new file +15
-0+++ .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/nullmeta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin line 1
Quoted 1 line
meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin new file +0
-1@@ -1,16 +0,0 @@ ---- strongswan-5.0.0/src/strongswan.conf 2010-10-2210:33:30.000000000 -0400
meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin line 2
Quoted 1 line
meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin new file +0
-1-+++ strongswan-5.0.0.libsecstore/src/strongswan.conf 2014-04-0318:31:17.228569896 -0400
Quoted 14 lines
meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin new file +0
-14-@@ -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 -+ } -+ } -+ } -+ } - }Quoted 2 lines
diff --git
a/meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend
Quoted 1 line
b/meta-arago-distro/recipes-
support/strongswan/strongswan_%.bbappend
Quoted 3 lines
index f065a63..74829e7 100644
---
a/meta-arago-distro/recipes-support/strongswan/strongswan_%.bbappend
Quoted 1 line
+++ b/meta-arago-distro/recipes-
support/strongswan/strongswan_%.bbappe
Quoted 11 lines
+++ nd
meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin new file +1
-1@@ -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 \ "
Quoted 4 lines
meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin EXTRA_OECONF += "--disable-gmp \ · line 14
Quoted 2 lines
meta-arago-distro/recipes-support/strongswan/files/pkcs11_plugin new file +1
-1-#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.
Quoted 2 lines
Do you know if it is compatible with strongswan 5.3.1?
I am not sure if it is compatible.
Quoted 2 lines
- Jake