From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by mx.groups.io with SMTP id smtpd.web09.11491.1603164606726650000 for ; Mon, 19 Oct 2020 20:30:07 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: gmail.com, ip: 209.85.221.66, mailfrom: fede.evol@gmail.com) Received: by mail-wr1-f66.google.com with SMTP id j7so298768wrt.9 for ; Mon, 19 Oct 2020 20:30:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=B9AJthaF3pCbtgp7LI68URY7D9vGdTZIQF6F4q3Co18=; b=JidioMs7csDqKyds0ksRyz3B8LmJWdO7ayndHe9NwBWHFeip3HAtxBdwLhvDfgD+HO SGMa+qVnBm5WCXRZTyM00PskItrp5sAI2C1AlpkCVwmzfa66D83oSPWRfQp99eKSCi3S /yZeGSRmYRrmYNk2z7LE6F4xWerT1pM1dLu2mTKN+enA5QcoPHWEvyWCFlmP6SxUUd8b RbAUrJsD45yQgVQ+uZK6pqah13EmwT/XnpoO6ya1mhmKF38W+Dau4PEXzi2QeJY60c9J XuCeLWXycR05cqG5SyHzDSNBxS9IbnTPIoRVpUjqcQKehW5irvP/+cFqNZk9vdiLoMuI nOpw== X-Gm-Message-State: AOAM530HBanhIB9a43DSUGonkEQO0GJsU+HGBAnsVzvI7rnSw64TamSf fj7mhPYkBMQ76woJ+up0JLQYrkP6W7NmcukhemJeQm1fE5RlSg== X-Google-Smtp-Source: ABdhPJziXFdZgT6BBEstusAvTTOEYoRdQCONCA/yHu8c3LXWfbJtutaaGaK8T/syOwI4Ph4JCIWVA36/1F6DEfo+8wk= X-Received: by 2002:a5d:66d2:: with SMTP id k18mr925353wrw.229.1603164604945; Mon, 19 Oct 2020 20:30:04 -0700 (PDT) MIME-Version: 1.0 References: <163F9594C568AA0B.19204@lists.yoctoproject.org> In-Reply-To: <163F9594C568AA0B.19204@lists.yoctoproject.org> From: "Federico Pellegrin" Date: Tue, 20 Oct 2020 05:29:53 +0200 Message-ID: Subject: Re: [yocto] [PATCH 1/1] openssl: Add c_rehash to misc package and add perl runtime dependency To: yocto@lists.yoctoproject.org Content-Type: multipart/alternative; boundary="000000000000cb58f505b211d832" --000000000000cb58f505b211d832 Content-Type: text/plain; charset="UTF-8" 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 < fede@evolware.org> 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 and CA.pl) so the added perl dependency will fix those too. > > [YOCTO #14083] > > Signed-off-by: Federico Pellegrin > --- > meta/recipes-connectivity/openssl/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 > b/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb > index 815955837b..66d8851426 100644 > --- a/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb > +++ b/meta/recipes-connectivity/openssl/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 > > > > --000000000000cb58f505b211d832 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

c_rehash= implemented in perl is back (in history was moved to shell for
some t= ime), 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 d= ependency will fix those too.

[YOCTO #14083]

Signed-off-by: F= ederico Pellegrin <fede@evolware.org>
---
=C2=A0meta/recipes-connectivity/opens= sl/openssl_1.1.1g.bb= | 3 ++-
=C2=A01 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb b/meta/recipes-connectivi= ty/openssl/openssl_1= .1.1g.bb
index 815955837b..66d8851426 100644
--- a/meta/recipes-c= onnectivity/openssl/= openssl_1.1.1g.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.1.1g.bb
@@ -1= 95,13 +195,14 @@ FILES_openssl-conf =3D "${sysconfdir}/ssl/openssl.cnf= \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0${libdir}/ssl-1.1/openssl.cnf* \
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"
=C2= =A0FILES_${PN}-engines =3D "${libdir}/engines-1.1"
-FILES_${P= N}-misc =3D "${libdir}/ssl-1.1/misc"
+FILES_${PN}-misc =3D &qu= ot;${libdir}/ssl-1.1/misc ${bindir}/c_rehash"
=C2=A0FILES_${PN} =3D= + "${libdir}/ssl-1.1/*"
=C2=A0FILES_${PN}_append_class-natives= dk =3D " ${SDKPATHNATIVE}/environment-setup.d/openssl.sh"
=C2= =A0
=C2=A0CONFFILES_openssl-conf =3D "${sysconfdir}/ssl/openssl.cn= f"
=C2=A0
=C2=A0RRECOMMENDS_libcrypto +=3D "openssl-conf&qu= ot;
+RDEPENDS_${PN}-misc =3D "perl"
=C2=A0RDEPENDS_${PN}-pt= est +=3D "openssl-bin perl perl-modules bash"
=C2=A0
=C2=A0= RDEPENDS_${PN}-bin +=3D "openssl-conf"
--
2.26.2



--000000000000cb58f505b211d832--