From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by arago-project.org (Postfix) with ESMTPS id E3B6052A5F for ; Fri, 30 Jan 2015 18:47:15 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id t0UIlECc002963 for ; Fri, 30 Jan 2015 12:47:15 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id t0UIlDAJ003054 for ; Fri, 30 Jan 2015 12:47:13 -0600 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.3.224.2; Fri, 30 Jan 2015 12:47:14 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id t0UIlDiS031988; Fri, 30 Jan 2015 12:47:13 -0600 Date: Fri, 30 Jan 2015 13:47:12 -0500 From: Denys Dmytriyenko To: Sam Nelson Message-ID: <20150130184712.GK21328@edge> References: <1422585948-19345-1-git-send-email-sam.nelson@ti.com> <1422585948-19345-2-git-send-email-sam.nelson@ti.com> MIME-Version: 1.0 In-Reply-To: <1422585948-19345-2-git-send-email-sam.nelson@ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: meta-arago@arago-project.org Subject: Re: [PATCH v2 2/2] strongswan: Add pkcs11 plugin X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2015 18:47:16 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Ack On Thu, Jan 29, 2015 at 09:45:48PM -0500, Sam Nelson wrote: > - Enable pkcs11 plugin to add softhsm for secure store > > Signed-off-by: Sam Nelson > > --- > 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 > > 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 9dbc509..de281eb 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,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" > -- > 1.7.9.5 > > _______________________________________________ > meta-arago mailing list > meta-arago@arago-project.org > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago