* [OE-core][PATCH] openssl: extract legacy provider module to a separate package
@ 2022-04-19 11:21 Peter Marko
2022-04-29 12:27 ` Marko, Peter
0 siblings, 1 reply; 4+ messages in thread
From: Peter Marko @ 2022-04-19 11:21 UTC (permalink / raw)
To: openembedded-core; +Cc: Peter Marko
This module contains legacy cipher suites from libcrypto.
We should not need to include base package because we want
to use this part of libcrypto.
Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
meta/recipes-connectivity/openssl/openssl_3.0.2.bb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-connectivity/openssl/openssl_3.0.2.bb b/meta/recipes-connectivity/openssl/openssl_3.0.2.bb
index ff2a22c6c3..a809666aa7 100644
--- a/meta/recipes-connectivity/openssl/openssl_3.0.2.bb
+++ b/meta/recipes-connectivity/openssl/openssl_3.0.2.bb
@@ -224,7 +224,7 @@ do_install_ptest () {
# file to be installed for both the openssl-bin package and the libcrypto
# package since the openssl-bin package depends on the libcrypto package.
-PACKAGES =+ "libcrypto libssl openssl-conf ${PN}-engines ${PN}-misc"
+PACKAGES =+ "libcrypto libssl openssl-conf ${PN}-engines ${PN}-misc ${PN}-ossl-module-legacy"
FILES:libcrypto = "${libdir}/libcrypto${SOLIBS}"
FILES:libssl = "${libdir}/libssl${SOLIBS}"
@@ -235,12 +235,13 @@ FILES:${PN}-engines = "${libdir}/engines-3"
# ${prefix} comes from what we pass into --prefix at configure time (which is used for INSTALLTOP)
FILES:${PN}-engines:append:mingw32:class-nativesdk = " ${prefix}${libdir}/engines-3"
FILES:${PN}-misc = "${libdir}/ssl-3/misc ${bindir}/c_rehash"
+FILES:${PN}-ossl-module-legacy = "${libdir}/ossl-modules/legacy.so"
FILES:${PN} =+ "${libdir}/ssl-3/* ${libdir}/ossl-modules/"
FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/openssl.sh"
CONFFILES:openssl-conf = "${sysconfdir}/ssl/openssl.cnf"
-RRECOMMENDS:libcrypto += "openssl-conf"
+RRECOMMENDS:libcrypto += "openssl-conf ${PN}-ossl-module-legacy"
RDEPENDS:${PN}-misc = "perl"
RDEPENDS:${PN}-ptest += "openssl-bin perl perl-modules bash sed"
--
2.30.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: [OE-core][PATCH] openssl: extract legacy provider module to a separate package
2022-04-19 11:21 [OE-core][PATCH] openssl: extract legacy provider module to a separate package Peter Marko
@ 2022-04-29 12:27 ` Marko, Peter
2022-04-29 18:16 ` Steve Sakoman
0 siblings, 1 reply; 4+ messages in thread
From: Marko, Peter @ 2022-04-29 12:27 UTC (permalink / raw)
To: openembedded-core
This is important for seamless migration of applications to openssl3.
In particular poco from meta-oe needs this as packageconfig cannot add rdepends to a sub-package.
Could this be picked to kirkstone or do I need to send it as new patch?
Thanks,
Peter
> -----Original Message-----
> From: Marko, Peter <Peter.Marko@siemens.com>
> Sent: Tuesday, April 19, 2022 13:21
> To: openembedded-core@lists.openembedded.org
> Cc: Marko, Peter <Peter.Marko@siemens.com>
> Subject: [OE-core][PATCH] openssl: extract legacy provider module to a separate package
>
> This module contains legacy cipher suites from libcrypto.
> We should not need to include base package because we want
> to use this part of libcrypto.
>
> Signed-off-by: Peter Marko <peter.marko@siemens.com>
> ---
> meta/recipes-connectivity/openssl/openssl_3.0.2.bb | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-connectivity/openssl/openssl_3.0.2.bb b/meta/recipes-connectivity/openssl/openssl_3.0.2.bb
> index ff2a22c6c3..a809666aa7 100644
> --- a/meta/recipes-connectivity/openssl/openssl_3.0.2.bb
> +++ b/meta/recipes-connectivity/openssl/openssl_3.0.2.bb
> @@ -224,7 +224,7 @@ do_install_ptest () { # file to be installed for both the openssl-bin package and the libcrypto # package since the openssl-bin package depends on the libcrypto package.
>
> -PACKAGES =+ "libcrypto libssl openssl-conf ${PN}-engines ${PN}-misc"
> +PACKAGES =+ "libcrypto libssl openssl-conf ${PN}-engines ${PN}-misc ${PN}-ossl-module-legacy"
>
> FILES:libcrypto = "${libdir}/libcrypto${SOLIBS}"
> FILES:libssl = "${libdir}/libssl${SOLIBS}"
> @@ -235,12 +235,13 @@ FILES:${PN}-engines = "${libdir}/engines-3"
> # ${prefix} comes from what we pass into --prefix at configure time (which is used for INSTALLTOP) FILES:${PN}-engines:append:mingw32:class-nativesdk = " ${prefix}${libdir}/engines-3"
> FILES:${PN}-misc = "${libdir}/ssl-3/misc ${bindir}/c_rehash"
> +FILES:${PN}-ossl-module-legacy = "${libdir}/ossl-modules/legacy.so"
> FILES:${PN} =+ "${libdir}/ssl-3/* ${libdir}/ossl-modules/"
> FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/openssl.sh"
>
> CONFFILES:openssl-conf = "${sysconfdir}/ssl/openssl.cnf"
>
> -RRECOMMENDS:libcrypto += "openssl-conf"
> +RRECOMMENDS:libcrypto += "openssl-conf ${PN}-ossl-module-legacy"
> RDEPENDS:${PN}-misc = "perl"
> RDEPENDS:${PN}-ptest += "openssl-bin perl perl-modules bash sed"
>
> --
> 2.30.2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core][PATCH] openssl: extract legacy provider module to a separate package
2022-04-29 12:27 ` Marko, Peter
@ 2022-04-29 18:16 ` Steve Sakoman
2022-04-29 23:33 ` Christopher Larson
0 siblings, 1 reply; 4+ messages in thread
From: Steve Sakoman @ 2022-04-29 18:16 UTC (permalink / raw)
To: Peter Marko; +Cc: openembedded-core
On Fri, Apr 29, 2022 at 2:27 AM Peter Marko <peter.marko@siemens.com> wrote:
>
> This is important for seamless migration of applications to openssl3.
> In particular poco from meta-oe needs this as packageconfig cannot add rdepends to a sub-package.
> Could this be picked to kirkstone or do I need to send it as new patch?
No need to send a patch, I'll cherry-pick it in my next patch set.
Thanks,
Steve
> > -----Original Message-----
> > From: Marko, Peter <Peter.Marko@siemens.com>
> > Sent: Tuesday, April 19, 2022 13:21
> > To: openembedded-core@lists.openembedded.org
> > Cc: Marko, Peter <Peter.Marko@siemens.com>
> > Subject: [OE-core][PATCH] openssl: extract legacy provider module to a separate package
> >
> > This module contains legacy cipher suites from libcrypto.
> > We should not need to include base package because we want
> > to use this part of libcrypto.
> >
> > Signed-off-by: Peter Marko <peter.marko@siemens.com>
> > ---
> > meta/recipes-connectivity/openssl/openssl_3.0.2.bb | 5 +++--
> > 1 file changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/meta/recipes-connectivity/openssl/openssl_3.0.2.bb b/meta/recipes-connectivity/openssl/openssl_3.0.2.bb
> > index ff2a22c6c3..a809666aa7 100644
> > --- a/meta/recipes-connectivity/openssl/openssl_3.0.2.bb
> > +++ b/meta/recipes-connectivity/openssl/openssl_3.0.2.bb
> > @@ -224,7 +224,7 @@ do_install_ptest () { # file to be installed for both the openssl-bin package and the libcrypto # package since the openssl-bin package depends on the libcrypto package.
> >
> > -PACKAGES =+ "libcrypto libssl openssl-conf ${PN}-engines ${PN}-misc"
> > +PACKAGES =+ "libcrypto libssl openssl-conf ${PN}-engines ${PN}-misc ${PN}-ossl-module-legacy"
> >
> > FILES:libcrypto = "${libdir}/libcrypto${SOLIBS}"
> > FILES:libssl = "${libdir}/libssl${SOLIBS}"
> > @@ -235,12 +235,13 @@ FILES:${PN}-engines = "${libdir}/engines-3"
> > # ${prefix} comes from what we pass into --prefix at configure time (which is used for INSTALLTOP) FILES:${PN}-engines:append:mingw32:class-nativesdk = " ${prefix}${libdir}/engines-3"
> > FILES:${PN}-misc = "${libdir}/ssl-3/misc ${bindir}/c_rehash"
> > +FILES:${PN}-ossl-module-legacy = "${libdir}/ossl-modules/legacy.so"
> > FILES:${PN} =+ "${libdir}/ssl-3/* ${libdir}/ossl-modules/"
> > FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/openssl.sh"
> >
> > CONFFILES:openssl-conf = "${sysconfdir}/ssl/openssl.cnf"
> >
> > -RRECOMMENDS:libcrypto += "openssl-conf"
> > +RRECOMMENDS:libcrypto += "openssl-conf ${PN}-ossl-module-legacy"
> > RDEPENDS:${PN}-misc = "perl"
> > RDEPENDS:${PN}-ptest += "openssl-bin perl perl-modules bash sed"
> >
> > --
> > 2.30.2
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#165009): https://lists.openembedded.org/g/openembedded-core/message/165009
> Mute This Topic: https://lists.openembedded.org/mt/90559122/3617601
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [sakoman@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [OE-core][PATCH] openssl: extract legacy provider module to a separate package
2022-04-29 18:16 ` Steve Sakoman
@ 2022-04-29 23:33 ` Christopher Larson
0 siblings, 0 replies; 4+ messages in thread
From: Christopher Larson @ 2022-04-29 23:33 UTC (permalink / raw)
To: Steve Sakoman; +Cc: Peter Marko, openembedded-core
[-- Attachment #1: Type: text/plain, Size: 3746 bytes --]
Just to clarify, you can certainly make rdepends of a subpackage depend on
a packageconfig, you just use inline python to do it. There are a number of
examples of this sort of conditional in oe-core.
On Fri, Apr 29, 2022 at 11:17 AM Steve Sakoman <sakoman@gmail.com> wrote:
> On Fri, Apr 29, 2022 at 2:27 AM Peter Marko <peter.marko@siemens.com>
> wrote:
> >
> > This is important for seamless migration of applications to openssl3.
> > In particular poco from meta-oe needs this as packageconfig cannot add
> rdepends to a sub-package.
> > Could this be picked to kirkstone or do I need to send it as new patch?
>
> No need to send a patch, I'll cherry-pick it in my next patch set.
>
> Thanks,
>
> Steve
>
> > > -----Original Message-----
> > > From: Marko, Peter <Peter.Marko@siemens.com>
> > > Sent: Tuesday, April 19, 2022 13:21
> > > To: openembedded-core@lists.openembedded.org
> > > Cc: Marko, Peter <Peter.Marko@siemens.com>
> > > Subject: [OE-core][PATCH] openssl: extract legacy provider module to a
> separate package
> > >
> > > This module contains legacy cipher suites from libcrypto.
> > > We should not need to include base package because we want
> > > to use this part of libcrypto.
> > >
> > > Signed-off-by: Peter Marko <peter.marko@siemens.com>
> > > ---
> > > meta/recipes-connectivity/openssl/openssl_3.0.2.bb | 5 +++--
> > > 1 file changed, 3 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/meta/recipes-connectivity/openssl/openssl_3.0.2.bb
> b/meta/recipes-connectivity/openssl/openssl_3.0.2.bb
> > > index ff2a22c6c3..a809666aa7 100644
> > > --- a/meta/recipes-connectivity/openssl/openssl_3.0.2.bb
> > > +++ b/meta/recipes-connectivity/openssl/openssl_3.0.2.bb
> > > @@ -224,7 +224,7 @@ do_install_ptest () { # file to be installed for
> both the openssl-bin package and the libcrypto # package since the
> openssl-bin package depends on the libcrypto package.
> > >
> > > -PACKAGES =+ "libcrypto libssl openssl-conf ${PN}-engines ${PN}-misc"
> > > +PACKAGES =+ "libcrypto libssl openssl-conf ${PN}-engines ${PN}-misc
> ${PN}-ossl-module-legacy"
> > >
> > > FILES:libcrypto = "${libdir}/libcrypto${SOLIBS}"
> > > FILES:libssl = "${libdir}/libssl${SOLIBS}"
> > > @@ -235,12 +235,13 @@ FILES:${PN}-engines = "${libdir}/engines-3"
> > > # ${prefix} comes from what we pass into --prefix at configure time
> (which is used for INSTALLTOP)
> FILES:${PN}-engines:append:mingw32:class-nativesdk = "
> ${prefix}${libdir}/engines-3"
> > > FILES:${PN}-misc = "${libdir}/ssl-3/misc ${bindir}/c_rehash"
> > > +FILES:${PN}-ossl-module-legacy = "${libdir}/ossl-modules/legacy.so"
> > > FILES:${PN} =+ "${libdir}/ssl-3/* ${libdir}/ossl-modules/"
> > > FILES:${PN}:append:class-nativesdk = "
> ${SDKPATHNATIVE}/environment-setup.d/openssl.sh"
> > >
> > > CONFFILES:openssl-conf = "${sysconfdir}/ssl/openssl.cnf"
> > >
> > > -RRECOMMENDS:libcrypto += "openssl-conf"
> > > +RRECOMMENDS:libcrypto += "openssl-conf ${PN}-ossl-module-legacy"
> > > RDEPENDS:${PN}-misc = "perl"
> > > RDEPENDS:${PN}-ptest += "openssl-bin perl perl-modules bash sed"
> > >
> > > --
> > > 2.30.2
> >
> >
> >
> >
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#165054):
> https://lists.openembedded.org/g/openembedded-core/message/165054
> Mute This Topic: https://lists.openembedded.org/mt/90559122/3617123
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> kergoth@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
--
Christopher Larson
chris_larson@mentor.com, chris.larson@siemens.com, kergoth@gmail.com
Principal Software Engineer, Embedded Linux Solutions, Siemens Digital
Industries Software
[-- Attachment #2: Type: text/html, Size: 5998 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-04-29 23:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-19 11:21 [OE-core][PATCH] openssl: extract legacy provider module to a separate package Peter Marko
2022-04-29 12:27 ` Marko, Peter
2022-04-29 18:16 ` Steve Sakoman
2022-04-29 23:33 ` Christopher Larson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.