Skip to contentSkip to conversation

strongswan: Add append recipe for strongswan v5.1.1 to remove GPLV3 dependency

PATCH In review Sam Nelson 2 participants 4 messages Jan 30, 2015

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH v2 1/2 strongswan: Add append recipe for strongswan v5.1.1 to remove GPLV3 dependency

- Remove GMP dependency which has GPLV3 content

---
Changes from previous version
- Used _remove to remove gmp dependancy and flags
---

---
 .../strongswan/strongswan_5.1.1.bbappend           |    7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend
meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend new file +7 -0
new file mode 100644
index 0000000..9dbc509
@@ -0,0 +1,7 @@
+PR_append = "-arago0"
+
+DEPENDS_remove = "gmp"
+
+EXTRA_OECONF_remove = "--enable-gmp"
+
+EXTRA_OECONF += "--disable-gmp"
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH v2 2/2 strongswan: Add pkcs11 plugin

- Enable pkcs11 plugin to add softhsm for secure store

---
Changes from previous patch
- Updated using += option
---

---
 .../strongswan/files/strongswan_libsecstore.patch  |   16 ++++++++++++++++
 .../strongswan/strongswan_5.1.1.bbappend           |    9 ++++++++-
 2 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 meta-arago-extras/recipes-support/strongswan/files/strongswan_libsecstore.patch
meta-arago-extras/recipes-support/strongswan/files/strongswan_libsecstore.patch new file +16 -0
new file mode 100644
index 0000000..c16b05e
@@ -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
++        }
++      }
++    }
++  }
+ }
meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend +8 -1
index 9dbc509..de281eb 100644
@@ -1,7 +1,14 @@
 PR_append = "-arago0"
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
 
 DEPENDS_remove = "gmp"
 
 EXTRA_OECONF_remove = "--enable-gmp"
 
-EXTRA_OECONF += "--disable-gmp"
+EXTRA_OECONF += "--disable-gmp \
+        --enable-ctr \
+        --enable-pkcs11 \
+        --disable-tools \
+"
+
+SRC_URI += "file://strongswan_libsecstore.patch"
Signature · 1 line
1.7.9.5
#3 lore raw
In reply to Sam Nelson

Ack

Quoted 33 lines · Sam Nelson

- Remove GMP dependency which has GPLV3 content

---
Changes from previous version
- Used _remove to remove gmp dependancy and flags
---

---
 .../strongswan/strongswan_5.1.1.bbappend           |    7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend
meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend new file +7 -0
new file mode 100644
index 0000000..9dbc509
@@ -0,0 +1,7 @@
+PR_append = "-arago0"
+
+DEPENDS_remove = "gmp"
+
+EXTRA_OECONF_remove = "--enable-gmp"
+
+EXTRA_OECONF += "--disable-gmp"
Signature · 6 lines
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
#2 lore raw

Re: [PATCH v2 2/2] strongswan: Add pkcs11 plugin

In reply to Sam Nelson

Ack

Quoted 63 lines · Sam Nelson

- Enable pkcs11 plugin to add softhsm for secure store

---
Changes from previous patch
- Updated using += option
---

---
 .../strongswan/files/strongswan_libsecstore.patch  |   16 ++++++++++++++++
 .../strongswan/strongswan_5.1.1.bbappend           |    9 ++++++++-
 2 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 meta-arago-extras/recipes-support/strongswan/files/strongswan_libsecstore.patch
meta-arago-extras/recipes-support/strongswan/files/strongswan_libsecstore.patch new file +16 -0
new file mode 100644
index 0000000..c16b05e
@@ -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
++        }
++      }
++    }
++  }
+ }
meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend +8 -1
index 9dbc509..de281eb 100644
@@ -1,7 +1,14 @@
 PR_append = "-arago0"
+FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
 
 DEPENDS_remove = "gmp"
 
 EXTRA_OECONF_remove = "--enable-gmp"
 
-EXTRA_OECONF += "--disable-gmp"
+EXTRA_OECONF += "--disable-gmp \
+        --enable-ctr \
+        --enable-pkcs11 \
+        --disable-tools \
+"
+
+SRC_URI += "file://strongswan_libsecstore.patch"
Signature · 6 lines
1.7.9.5

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago