mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
curl: add PACKAGECONFIG options for less common / legacy protocols
As a result of this commit, the following protocols will now be disabled by default: DICT GOPHER IMAP IMAPS POP3 POP3S RTSP SMTP SMTPS TELNET TFTP Also add a PACKAGECONFIG option for libidn (previously disabled unconditionally). (From OE-Core rev: b26634900d487a22eef41e9e077d35fb347d4c29) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
19045bab71
commit
1f3e1d1e3f
@@ -21,20 +21,34 @@ PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d
|
||||
PACKAGECONFIG_class-native = "ipv6 ssl zlib"
|
||||
PACKAGECONFIG_class-nativesdk = "ipv6 ssl zlib"
|
||||
|
||||
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
||||
PACKAGECONFIG[ssl] = "--with-ssl --with-random=/dev/urandom,--without-ssl,openssl"
|
||||
PACKAGECONFIG[dict] = "--enable-dict,--disable-dict,"
|
||||
PACKAGECONFIG[gnutls] = "--with-gnutls,--without-gnutls,gnutls"
|
||||
PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_LIBDIR}/../,--without-zlib,zlib"
|
||||
PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump"
|
||||
PACKAGECONFIG[gopher] = "--enable-gopher,--disable-gopher,"
|
||||
PACKAGECONFIG[imap] = "--enable-imap,--disable-imap,"
|
||||
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
||||
PACKAGECONFIG[ldap] = "--enable-ldap,--disable-ldap,"
|
||||
PACKAGECONFIG[ldaps] = "--enable-ldaps,--disable-ldaps,"
|
||||
PACKAGECONFIG[libidn] = "--with-libidn,--without-libidn,libidn"
|
||||
PACKAGECONFIG[libssh2] = "--with-libssh2,--without-libssh2,libssh2"
|
||||
PACKAGECONFIG[pop3] = "--enable-pop3,--disable-pop3,"
|
||||
PACKAGECONFIG[proxy] = "--enable-proxy,--disable-proxy,"
|
||||
PACKAGECONFIG[rtmpdump] = "--with-librtmp,--without-librtmp,rtmpdump"
|
||||
PACKAGECONFIG[rtsp] = "--enable-rtsp,--disable-rtsp,"
|
||||
PACKAGECONFIG[smb] = "--enable-smb,--disable-smb,"
|
||||
PACKAGECONFIG[smtp] = "--enable-smtp,--disable-smtp,"
|
||||
PACKAGECONFIG[ssl] = "--with-ssl --with-random=/dev/urandom,--without-ssl,openssl"
|
||||
PACKAGECONFIG[telnet] = "--enable-telnet,--disable-telnet,"
|
||||
PACKAGECONFIG[tftp] = "--enable-tftp,--disable-tftp,"
|
||||
PACKAGECONFIG[zlib] = "--with-zlib=${STAGING_LIBDIR}/../,--without-zlib,zlib"
|
||||
|
||||
EXTRA_OECONF = "--without-libidn \
|
||||
--enable-crypto-auth \
|
||||
--disable-ldap \
|
||||
--disable-ldaps \
|
||||
--with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \
|
||||
EXTRA_OECONF = " \
|
||||
--enable-crypto-auth \
|
||||
--with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \
|
||||
--without-libmetalink \
|
||||
--without-libpsl \
|
||||
--without-nghttp2 \
|
||||
"
|
||||
|
||||
# see https://lists.yoctoproject.org/pipermail/poky/2013-December/009435.html
|
||||
# We should ideally drop ac_cv_sizeof_off_t from site files but until then
|
||||
EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'largefile', 'ac_cv_sizeof_off_t=8', '', d)}"
|
||||
|
||||
Reference in New Issue
Block a user