## SECTION=networking menuconfig LIBCURL tristate prompt "libcurl " select LIBC_RT select ZLIB select OPENSSL if LIBCURL_SSL select LIBSSH2 if LIBCURL_LIBSSH2 select CA_CERTIFICATES if LIBCURL_SSL_CA_CERTIFICATES && RUNTIME help curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, cookies, user+password authentication (Basic, Digest, NTLM, Negotiate, kerberos...), file transfer resume, proxy tunneling and a busload of other useful tricks. if LIBCURL config LIBCURL_CURL bool "install curl program" config LIBCURL_HTTP bool "http" default y config LIBCURL_COOKIES bool "cookies support" depends on LIBCURL_HTTP config LIBCURL_FTP bool "ftp" default y config LIBCURL_TFTP bool "tftp" config LIBCURL_FILE bool "file" config LIBCURL_SSL bool "ssl" if LIBCURL_SSL choice prompt "Central CA certificate storage" config LIBCURL_SSL_NOCA bool "No CA storage " config LIBCURL_SSL_CAPATH bool "custom CA directory" config LIBCURL_SSL_CABUNDLE bool "custom CA bundle " config LIBCURL_SSL_CA_CERTIFICATES bool "use ca-certificates" endchoice config LIBCURL_SSL_CA_CERTIFICATES_PATH bool depends on LIBCURL_SSL_CA_CERTIFICATES default CA_CERTIFICATES_CERTS endif config LIBCURL_SSL_CAPATH_PATH string "CA directory path" if LIBCURL_SSL_CAPATH default "/etc/ssl/certs" if LIBCURL_SSL_CAPATH || (LIBCURL_SSL_CA_CERTIFICATES && LIBCURL_SSL_CA_CERTIFICATES_PATH) default "no" config LIBCURL_SSL_CABUNDLE_PATH string "CA bundle path" if LIBCURL_SSL_CABUNDLE default "/etc/ssl/certs/ca-certificates.crt" if LIBCURL_SSL_CABUNDLE || (LIBCURL_SSL_CA_CERTIFICATES && !LIBCURL_SSL_CA_CERTIFICATES_PATH) default "no" config LIBCURL_CRYPTO_AUTH bool "cryptographic authentication" config LIBCURL_LIBSSH2 bool "scp/sftp (via libssh2)" endif