Re: [OE-core] [PATCH v3 1/2] openssl-1.1: rework packaging

2018-06-11 Thread Alexander Kanavin
2018-06-11 20:54 GMT+03:00 Peter Kjellerstedt :

> Any reason the openssl-c_rehash.sh reimplementation of c_rehash
> as a shell script is not used for target with openssl-1.1? It is
> currently used for both native and target for openssl-1.0, and
> native for openssl-1.1. Using it would avoid the dependency on
> perl for target, which at least for us is not an option to have
> (and we do need c_rehash for target).

Basically I do not want to maintain a custom script for the target to
keep it equivalent with an actively developed upstream implementation.
If you raise the perl issue to upstream and convince them to use the
shell version, that'd be best.

Alex
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v3 1/2] openssl-1.1: rework packaging

2018-06-11 Thread Peter Kjellerstedt
> -Original Message-
> From: openembedded-core-boun...@lists.openembedded.org
> [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of
> Alexander Kanavin
> Sent: den 11 juni 2018 14:45
> To: Andrej Valek 
> Cc: OE-core 
> Subject: Re: [OE-core] [PATCH v3 1/2] openssl-1.1: rework packaging
> 
> On 06/11/2018 09:19 AM, Andrej Valek wrote:
> > Hi Alex,
> >
> > I have tested your branch and seems to be, that openssl is working
> > correctly.
> >
> > We are now using original (perl) c_rehash script, but dependency to perl
> > is missing. Are you ok with adding runtime dependency to bin package?
> > Just for notice, it will install perl on target.
> 
> Yes, of course. If c_rehash needs perl interpreter to run, then it has
> to pull it in.
> 
> Alex

Any reason the openssl-c_rehash.sh reimplementation of c_rehash 
as a shell script is not used for target with openssl-1.1? It is 
currently used for both native and target for openssl-1.0, and 
native for openssl-1.1. Using it would avoid the dependency on 
perl for target, which at least for us is not an option to have 
(and we do need c_rehash for target).

//Peter

-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v3 1/2] openssl-1.1: rework packaging

2018-06-11 Thread Alexander Kanavin

On 06/11/2018 09:19 AM, Andrej Valek wrote:

Hi Alex,

I have tested your branch and seems to be, that openssl is working
correctly.

We are now using original (perl) c_rehash script, but dependency to perl
is missing. Are you ok with adding runtime dependency to bin package?
Just for notice, it will install perl on target.


Yes, of course. If c_rehash needs perl interpreter to run, then it has 
to pull it in.


Alex
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v3 1/2] openssl-1.1: rework packaging

2018-06-11 Thread Andrej Valek
Hi Alex,

I have tested your branch and seems to be, that openssl is working
correctly.

We are now using original (perl) c_rehash script, but dependency to perl
is missing. Are you ok with adding runtime dependency to bin package?
Just for notice, it will install perl on target.

BR,
Andrej

On 06/08/18 17:57, Alexander Kanavin wrote:
> 2018-06-08 17:04 GMT+03:00 Andrej Valek :
>> The main idea is to have libssl and libcrypto in separate packages.
>> This saves space if only single library is needed and also some recipes
>> (in other layers) depend on these library packages.
>> Together with this other packages like in 1.0.x were created.
>> The only difference is that openssl 1.1 has additional package openssl-bin.
>>
>> Patch original c_rehash instead of overriding it with our own.
>> After applying patch from Debian c_rehash is working.
> 
> Can you split this in two different commits please?
> 
> Alex
> 
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v3 1/2] openssl-1.1: rework packaging

2018-06-08 Thread Alexander Kanavin
2018-06-08 17:04 GMT+03:00 Andrej Valek :
> The main idea is to have libssl and libcrypto in separate packages.
> This saves space if only single library is needed and also some recipes
> (in other layers) depend on these library packages.
> Together with this other packages like in 1.0.x were created.
> The only difference is that openssl 1.1 has additional package openssl-bin.
>
> Patch original c_rehash instead of overriding it with our own.
> After applying patch from Debian c_rehash is working.

Can you split this in two different commits please?

Alex
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core