From bab75d1f1f8c59a37b9d358b57eb96bba2713fde Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Tue, 14 Apr 2020 09:32:58 +0200 Subject: [PATCH] net-misc/curl: add ftp, gopher, telnet and tftp USE flags Enable control over FTP, Gopher, Telnet and TFTP protocols. Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Jakov Smolic Signed-off-by: Luka Perkov Signed-off-by: Anthony G. Basile --- net-misc/curl/curl-7.69.1.ebuild | 10 +++++----- net-misc/curl/metadata.xml | 4 ++++ 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/net-misc/curl/curl-7.69.1.ebuild b/net-misc/curl/curl-7.69.1.ebuild index e97bf1695bd7..d550be9c1cb8 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 +imap ipv6 kerberos ldap metalink +pop3 +progress-meter rtmp samba +smtp ssh ssl static-libs test threads" +IUSE="adns alt-svc brotli +ftp gopher http2 idn +imap ipv6 kerberos ldap metalink +pop3 +progress-meter rtmp samba +smtp ssh ssl static-libs test telnet +tftp 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" @@ -164,8 +164,8 @@ multilib_src_configure() { --enable-dict \ --disable-esni \ --enable-file \ - --enable-ftp \ - --enable-gopher \ + $(use_enable ftp) \ + $(use_enable gopher) \ --enable-http \ $(use_enable imap) \ $(use_enable ldap) \ @@ -177,8 +177,8 @@ multilib_src_configure() { $(use_enable samba smb) \ $(use_with ssh libssh2) \ $(use_enable smtp) \ - --enable-telnet \ - --enable-tftp \ + $(use_enable telnet) \ + $(use_enable tftp) \ --enable-tls-srp \ $(use_enable adns ares) \ --enable-cookies \ diff --git a/net-misc/curl/metadata.xml b/net-misc/curl/metadata.xml index b7a3ad548600..8d7bc1a2c2d3 100644 --- a/net-misc/curl/metadata.xml +++ b/net-misc/curl/metadata.xml @@ -8,6 +8,8 @@ Enable alt-svc support Enable brotli compression support + Enable FTP support + Enable Gopher protocol 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 @@ -18,6 +20,8 @@ Enable the progress meter Enable Simple Mail Transfer Protocol support Enable crypto engine support (via openssl if USE='-gnutls -nss') + Enable Telnet protocol support + Enable TFTP support Enable RTMP Streaming Media support -- 2.26.2