strongswan: Add append recipe for strongswan v5.1.1 to remove GPLV3 dependency
PATCH 1/2 strongswan: Add append recipe for strongswan v5.1.1 to remove GPLV3 dependency
- Remove GMP dependency which has GPLV3 content
Signed-off-by Sam Nelson <[email protected]>
--- .../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
meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend new file +8 -0
@@ -0,0 +1,8 @@ +PR_append = "-arago0" + +DEPENDS = "openssl flex-native flex bison-native" + +EXTRA_OECONF = "--disable-gmp \ + --enable-openssl \ + --without-lib-prefix \ +"
Signature · 1 line
1.7.9.5
PATCH 2/2 strongswan: Add pkcs11 plugin
- Enable pkcs11 plugin to add softhsm for secure store
Signed-off-by Sam Nelson <[email protected]>
--- .../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
meta-arago-extras/recipes-support/strongswan/files/strongswan_libsecstore.patch new file +16 -0
@@ -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 +6 -0
@@ -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 \ "
Signature · 1 line
1.7.9.5
Quoted 14 lines · Sam Nelson
- Remove GMP dependency which has GPLV3 content
Signed-off-by Sam Nelson <[email protected]>--- .../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.bbappendmeta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend new file +0
-0
meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend line 3
Quoted 3 lines
meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend new file +3
-0@@ -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.
Quoted 11 lines
meta-arago-extras/recipes-support/strongswan/strongswan_5.1.1.bbappend new file +4
-0+EXTRA_OECONF = "--disable-gmp \ + --enable-openssl \ + --without-lib-prefix \ +"Signature · 6 lines
1.7.9.5 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago