The cURL package contains
curl and its support
library libcurl
. This is useful for
transferring files with URL syntax to any of the following
protocols: FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT,
LDAP, LDAPS and FILE. This ability to both download and upload
files can be incorporated into other programs to support functions
like streaming media.
This package is known to build and work properly using an LFS-7.0 platform.
Download (HTTP): http://curl.haxx.se/download/curl-7.22.0.tar.bz2
Download MD5 sum: bdb5c226d37c4a6082c70e7ef6f63060
Download size: 2.2 MB
Estimated disk space required: 37 MB
Estimated build time: 3.0 SBU (including the test suite)
OpenSSL-1.0.0e or GnuTLS-3.0.7, OpenLDAP-2.4.23, libidn-1.22, MIT Kerberos V5-1.6 or Heimdal-1.4, libssh2 (for secure transfers), krb4, SPNEGO, and c-ares
Stunnel-4.46 (for the HTTPS and FTPS tests)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/curl
Install cURL by running the following commands:
./configure --prefix=/usr && make
To test the results, issue: make
check. Note that if you have Stunnel and TCP
Wrapper installed and you wish to perform the HTTPS tests,
you'll need to have an unrestrictive /etc/hosts.deny
file.
Now, as the root
user:
make install && find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm && install -v -d -m755 /usr/share/doc/curl-7.22.0 && cp -v -R docs/* /usr/share/doc/curl-7.22.0
--with-gssapi
: This parameter adds
Kerberos 5 support to libcurl
.
--with-libssh2
: This parameter adds
SSH2 protocol support to libcurl
.
--without-ssl --with-gnutls
: To build
with GnuTLS support instead of
OpenSSL for SSL/TLS.
find docs -name "Makefile*" -o -name
"*.1" -o -name "*.3" | xargs rm: This command
removes Makefiles
and man files from
the documentation directory that would otherwise be installed by
the commands that follow.
Last updated on 2011-10-31 19:38:44 +0000