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

Submitted by Federico Pellegrin on Nov. 10, 2020, 4:20 a.m. | Patch ID: 177916

Details

Message ID CAM6O0Zj3fRQkqTtfDs4s-AdQo6OQgmgc3db4wXG75oyMNZdmyw@mail.gmail.com
State New
Headers show

Commit Message

Federico Pellegrin Nov. 10, 2020, 4:20 a.m.
The following changes since commit f075071761172c69f8ae2be5868d51ef9ef646e7:

  conf: update for release 3.2 (2020-11-09 13:16:13 +0000)

are available in the Git repository at:

  git://push.yoctoproject.org/poky-contrib fedepell/bug14083

Federico Pellegrin (1):
  openssl: Add c_rehash to misc package and add perl runtime dependency


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]

Signed-off-by: Federico Pellegrin <fede@evolware.org>

---
 meta/recipes-connectivity/openssl/openssl_1.1.1h.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

 RDEPENDS_${PN}-bin += "openssl-conf"
-- 
2.26.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#144435): https://lists.openembedded.org/g/openembedded-core/message/144435
Mute This Topic: https://lists.openembedded.org/mt/78153554/1003190
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1h.bb
b/meta/recipes-connectivity/openssl/openssl_1.1.1h.bb
index eb11fe3960..1827167201 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.1.1h.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.1.1h.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"