[OE-core] [PATCH] curl: Modify PACKAGECONFIG to enable openssl
Li, Xin
lixin.fnst at cn.fujitsu.com
Fri Jun 12 09:23:23 UTC 2015
> -----Original Message-----
> From: Anders Darander [mailto:anders at chargestorm.se]
> Sent: Friday, June 12, 2015 4:29 PM
> To: Li, Xin/李 欣
> Cc: openembedded-core at lists.openembedded.org
> Subject: Re: [OE-core] [PATCH] curl: Modify PACKAGECONFIG to enable openssl
>
> * Li xin <lixin.fnst at cn.fujitsu.com> [150612 05:41]:
>
> > Enabled openssl defalutly to use https, just like Ubuntu and Red Hat do.
>
> > Signed-off-by: Li Xin <lixin.fnst at cn.fujitsu.com>
> > ---
>
> > -PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6",
> "", d)} gnutls zlib"
> > +PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6",
> "", d)} ssl zlib"
>
> I think you need to motivate why you're changing from gnutls to ssl
> (openssl) here.
> Not that I'm personally against it. I've occasionally done the same thing locally. But
> this is a change of the defaults, and the default dependencies. Thus, it needs to
> have a good motivation.
Thank you for your reply.
Yes, the motivation is not clear here. I will do some additional test and then add much more comments.
> > PACKAGECONFIG_class-native = "ipv6 ssl zlib"
> > PACKAGECONFIG_class-nativesdk = "ipv6 ssl zlib"
>
> > @@ -36,6 +36,7 @@ EXTRA_OECONF = "--without-libidn \
> > --disable-ldap \
> > --disable-ldaps \
> >
> > --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \
> > + --with-libssh2 \
>
> NACK.
>
> We have a PACKAGECONFIG för libssh2, which defaults to off. Do /not/ enable it
> directly in EXTRA_OECONF. This will break builds (at least the determinism of
> builds).
May be it is not right.
I will send patch V2.
Cheers,
Li xin
More information about the Openembedded-core
mailing list