Skip to contentSkip to conversation

openssl: Add c_rehash to misc package and add perl runtime dependency

PATCH Federico Pellegrin 2 participants 3 messages Oct 20, 2020 – Nov 9, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Sorry, new to the process, adding the pull URL here:

https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=fedepell/bug14083

Cheers,
F.

Il giorno mar 20 ott 2020 alle ore 05:27 Federico Pellegrin < [email protected]> ha scritto:

Quoted 42 lines

c_rehash implemented in perl is back (in history was moved to shell for some time), so handle it inside the -misc package so just that one will carry the heavy runtime dependency on perl and not the whole openssl package. Note: in misc there were already before a few perl files (tsget.pl and CA.pl) so the added perl dependency will fix those too.

[YOCTO #14083]

---
 meta/recipes-connectivity/openssl/openssl_1.1.1g.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-connectivity/openssl/openssl_1.1.1g.bb +1 -1
index 815955837b..66d8851426 100644
@@ -195,13 +195,14 @@ FILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf \
                       ${libdir}/ssl-1.1/openssl.cnf* \
                       "
 FILES_${PN}-engines = "${libdir}/engines-1.1"
-FILES_${PN}-misc = "${libdir}/ssl-1.1/misc"
+FILES_${PN}-misc = "${libdir}/ssl-1.1/misc ${bindir}/c_rehash"
 FILES_${PN} =+ "${libdir}/ssl-1.1/*"
 FILES_${PN}_append_class-nativesdk = "

${SDKPATHNATIVE}/environment-setup.d/openssl.sh"

CONFFILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf"

RRECOMMENDS_libcrypto += "openssl-conf"
+RDEPENDS_${PN}-misc = "perl"
RDEPENDS_${PN}-ptest += "openssl-bin perl perl-modules bash"

RDEPENDS_${PN}-bin += "openssl-conf"
--
2.26.2

#2 lore raw
Quoted 7 lines · Federico Pellegrin

Sorry, new to the process, adding the pull URL here:

https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=fedepell/bug14083

Cheers,
F.

Hi Federico,

Sorry for the delay. We've been getting the 3.2 release out the door and participating in conferences.

Please rebase to openssl_1.1.1h and send it to the oe-core list:
   [email protected]

See: https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

We really should have a link to that site on a "Developers" page on https://www.yoctoproject.org

Stephen Jolly, can you get that to happen and if not, who can?

../Randy

Quoted 57 lines

Il giorno mar 20 ott 2020 alle ore 05:27 Federico Pellegrin <[email protected] <mailto:[email protected]>> ha scritto:

    c_rehash implemented in perl is back (in history was moved to
    shell for
    some time), so handle it inside the -misc package so just that one
    will
    carry the heavy runtime dependency on perl and not the whole openssl
    package. Note: in misc there were already before a few perl files
    (tsget.pl <http://tsget.pl> and CA.pl) so the added perl
    dependency will fix those too.

    [YOCTO #14083]

    Signed-off-by: Federico Pellegrin <[email protected]
    <mailto:[email protected]>>
    ---
     meta/recipes-connectivity/openssl/openssl_1.1.1g.bb
    <http://openssl_1.1.1g.bb> | 3 ++-
     1 file changed, 2 insertions(+), 1 deletion(-)

    diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb
    <http://openssl_1.1.1g.bb>
    b/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb
    <http://openssl_1.1.1g.bb>
    index 815955837b..66d8851426 100644
    --- a/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb
    <http://openssl_1.1.1g.bb>
    +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb
    <http://openssl_1.1.1g.bb>
    @@ -195,13 +195,14 @@ FILES_openssl-conf =
    "${sysconfdir}/ssl/openssl.cnf \
                           ${libdir}/ssl-1.1/openssl.cnf* \
                           "
     FILES_${PN}-engines = "${libdir}/engines-1.1"
    -FILES_${PN}-misc = "${libdir}/ssl-1.1/misc"
    +FILES_${PN}-misc = "${libdir}/ssl-1.1/misc ${bindir}/c_rehash"
     FILES_${PN} =+ "${libdir}/ssl-1.1/*"
     FILES_${PN}_append_class-nativesdk = "
    ${SDKPATHNATIVE}/environment-setup.d/openssl.sh"

     CONFFILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf"

     RRECOMMENDS_libcrypto += "openssl-conf"
    +RDEPENDS_${PN}-misc = "perl"
     RDEPENDS_${PN}-ptest += "openssl-bin perl perl-modules bash"

     RDEPENDS_${PN}-bin += "openssl-conf"
    -- 
    2.26.2
Signature · 2 lines
# Randy MacLeod
# Wind River Linux
#3 lore raw

Re: [yocto] [PATCH 1/1] openssl: Add c_rehash to misc package and add perl runtime dependency - resend...

In reply to Federico Pellegrin

Resend to get Stephen's correct email address.

Quoted 7 lines · Federico Pellegrin

Sorry, new to the process, adding the pull URL here:

https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=fedepell/bug14083

Cheers,
F.

Hi Federico,

Sorry for the delay. We've been getting the 3.2 release out the door and participating in conferences.

Please rebase to openssl_1.1.1h and send it to the oe-core list:
[email protected]

See: https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

We really should have a link to that site on a "Developers" page on https://www.yoctoproject.org

Stephen Jolly, can you get that to happen and if not, who can?

../Randy

Quoted 57 lines

Il giorno mar 20 ott 2020 alle ore 05:27 Federico Pellegrin <[email protected] <mailto:[email protected]>> ha scritto:

    c_rehash implemented in perl is back (in history was moved to
    shell for
    some time), so handle it inside the -misc package so just that one
    will
    carry the heavy runtime dependency on perl and not the whole openssl
    package. Note: in misc there were already before a few perl files
    (tsget.pl <http://tsget.pl> and CA.pl) so the added perl
    dependency will fix those too.

    [YOCTO #14083]

    Signed-off-by: Federico Pellegrin <[email protected]
    <mailto:[email protected]>>
    ---
     meta/recipes-connectivity/openssl/openssl_1.1.1g.bb
    <http://openssl_1.1.1g.bb> | 3 ++-
     1 file changed, 2 insertions(+), 1 deletion(-)

    diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb
    <http://openssl_1.1.1g.bb>
    b/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb
    <http://openssl_1.1.1g.bb>
    index 815955837b..66d8851426 100644
    --- a/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb
    <http://openssl_1.1.1g.bb>
    +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb
    <http://openssl_1.1.1g.bb>
    @@ -195,13 +195,14 @@ FILES_openssl-conf =
    "${sysconfdir}/ssl/openssl.cnf \
                           ${libdir}/ssl-1.1/openssl.cnf* \
                           "
     FILES_${PN}-engines = "${libdir}/engines-1.1"
    -FILES_${PN}-misc = "${libdir}/ssl-1.1/misc"
    +FILES_${PN}-misc = "${libdir}/ssl-1.1/misc ${bindir}/c_rehash"
     FILES_${PN} =+ "${libdir}/ssl-1.1/*"
     FILES_${PN}_append_class-nativesdk = "
    ${SDKPATHNATIVE}/environment-setup.d/openssl.sh"

     CONFFILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf"

     RRECOMMENDS_libcrypto += "openssl-conf"
    +RDEPENDS_${PN}-misc = "perl"
     RDEPENDS_${PN}-ptest += "openssl-bin perl perl-modules bash"

     RDEPENDS_${PN}-bin += "openssl-conf"
    -- 
    2.26.2
Signature · 2 lines
# Randy MacLeod
# Wind River Linux