From 7bb4db2c6dbe2502396e28ff33c769cce0dd660c Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Sun, 12 Apr 2020 11:11:26 +0200 Subject: [PATCH] net-misc/curl: add IMAP, POP3 and SMTP IUSE flags This commit enables control over IMAP, POP3 and SMTP protocols support by editing their IUSE flags. Package-Manager: Portage-2.3.89, Repoman-2.3. Signed-off-by: Jakov Smolic Signed-off-by: Luka Perkov Signed-off-by: Anthony G. Basile --- net-misc/curl/curl-7.69.1.ebuild | 8 ++++---- net-misc/curl/metadata.xml | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/net-misc/curl/curl-7.69.1.ebuild b/net-misc/curl/curl-7.69.1.ebuild index cf06aa6240da..e97bf1695bd7 100644 --- a/net-misc/curl/curl-7.69.1.ebuild +++ b/net-misc/curl/curl-7.69.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://curl.haxx.se/download/${P}.tar.xz" LICENSE="MIT" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="adns alt-svc brotli http2 idn ipv6 kerberos ldap metalink +progress-meter rtmp samba ssh ssl static-libs test threads" +IUSE="adns alt-svc brotli http2 idn +imap ipv6 kerberos ldap metalink +pop3 +progress-meter rtmp samba +smtp ssh ssl static-libs test threads" IUSE+=" curl_ssl_gnutls curl_ssl_libressl curl_ssl_mbedtls curl_ssl_nss +curl_ssl_openssl curl_ssl_winssl" IUSE+=" nghttp3 quiche" IUSE+=" elibc_Winnt" @@ -167,16 +167,16 @@ multilib_src_configure() { --enable-ftp \ --enable-gopher \ --enable-http \ - --enable-imap \ + $(use_enable imap) \ $(use_enable ldap) \ $(use_enable ldap ldaps) \ --disable-ntlm-wb \ - --enable-pop3 \ + $(use_enable pop3) \ --enable-rt \ --enable-rtsp \ $(use_enable samba smb) \ $(use_with ssh libssh2) \ - --enable-smtp \ + $(use_enable smtp) \ --enable-telnet \ --enable-tftp \ --enable-tls-srp \ diff --git a/net-misc/curl/metadata.xml b/net-misc/curl/metadata.xml index b62cf6ee3c7c..b7a3ad548600 100644 --- a/net-misc/curl/metadata.xml +++ b/net-misc/curl/metadata.xml @@ -9,11 +9,14 @@ Enable alt-svc support Enable brotli compression support Enable HTTP/2.0 support + Enable Internet Message Access Protocol support Enable HTTP/3.0 support using net-libs/nghttp3 and net-libs/ngtcp2 Enable HTTP/3.0 support using net-libs/quiche Enable SSH urls in curl using libssh2 Enable metalink support + Enable Post Office Protocol 3 support Enable the progress meter + Enable Simple Mail Transfer Protocol support Enable crypto engine support (via openssl if USE='-gnutls -nss') Enable RTMP Streaming Media support -- 2.26.2