[OE-core] [PATCH] openssl: create package for openssl configuration file

Qiang Chen qiang.chen at windriver.com
Wed Oct 30 09:35:35 UTC 2013


On 10/30/2013 12:03 AM, Paul Eggleton wrote:

> On Tuesday 29 October 2013 08:36:49 Saul Wold wrote:
>> On 10/27/2013 10:15 PM, qiang.chen at windriver.com wrote:
>>> From: Qiang Chen <qiang.chen at windriver.com>
>>>
>>> * Add the openssl-conf package to the list of packages to
>>>
>>>     be created.  This package contains the openssl.cnf file
>>>     which is used by both the openssl executable in the
>>>     openssl package and the libcrypto library.
>>>
>>> * This is to avoid messages like:
>>>       WARNING: can't open config file: /usr/lib/ssl/openssl.cnf
>>>
>>> * When running "openssl req" to request and generate a certificate
>>>
>>>     the command will fail without the openssl.cnf file being
>>>     installed on the target system.
>>>
>>> * Made this package an RRECOMMENDS for libcrypto since:
>>> 	* libcrypto is a RDEPENDS for the openssl package
>>> 	* Users can specify a configuration file at another
>>> 	
>>>         location so it is not stricly required and many
>>>         commands will work without it (with warnings)
>>>
>>> Signed-off-by: Chase Maupin <Chase.Maupin at ti.com>
>>> Signed-off-by: Qiang Chen <qiang.chen at windriver.com>
>>> ---
>>>
>>>    meta/recipes-connectivity/openssl/openssl.inc |   12 ++++++++++--
>>>    1 file changed, 10 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/meta/recipes-connectivity/openssl/openssl.inc
>>> b/meta/recipes-connectivity/openssl/openssl.inc index 78ff7ae..f4b786a
>>> 100644
>>> --- a/meta/recipes-connectivity/openssl/openssl.inc
>>> +++ b/meta/recipes-connectivity/openssl/openssl.inc
>>> @@ -33,13 +33,21 @@ export AS = "${CC} -c"
>>>
>>>    inherit pkgconfig siteinfo multilib_header
>>>
>>> -PACKAGES =+ "libcrypto libssl ${PN}-misc"
>>> +PACKAGES =+ "libcrypto libssl ${PN}-misc openssl-conf"
>> How about ${BPN}-conf here instead?
> Does this work when two multilib variants produce the same package name? I
> suspect you'll get warnings.

Hi Paul,

I will verify this problem before I send V2 patch.


Thanks.
Qiang

>
> Cheers,
> Paul
>
>



More information about the Openembedded-core mailing list