source: basicnet/netlibs/curl.xml@ 7f109f5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 7f109f5 was 7f109f5, checked in by Randy McMurchy <randy@…>, 14 years ago

Updated to cURL-7.20.0

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8320 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.9 KB
RevLine 
[bf8ac01]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[a2d8572]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[8e2075c]6
[1363324e]7 <!ENTITY curl-download-http "http://curl.haxx.se/download/curl-&curl-version;.tar.bz2">
[2b8421c]8 <!--<!ENTITY curl-download-ftp "ftp://gd.tuwien.ac.at/utils/archivers/curl/curl-&curl-version;.tar.bz2">-->
9 <!ENTITY curl-download-ftp " ">
[7f109f5]10 <!ENTITY curl-md5sum "3dda78c4a808d9a779dc3a2ae81b47d8">
11 <!ENTITY curl-size "2.0 MB">
12 <!ENTITY curl-buildsize "30 MB">
13 <!ENTITY curl-time "0.6 SBU (additional 0.9 SBU to run the test suite)">
[a2d8572]14]>
15
[377584f]16<sect1 id="curl" xreflabel="cURL-&curl-version;">
[bf8ac01]17 <?dbhtml filename="curl.html"?>
[dc775a26]18
[bf8ac01]19 <sect1info>
20 <othername>$LastChangedBy$</othername>
[55329727]21 <date>$Date$</date>
[bf8ac01]22 </sect1info>
[dc775a26]23
[3e89149]24 <title>cURL-&curl-version;</title>
[dc775a26]25
[bf8ac01]26 <indexterm zone="curl">
[3e89149]27 <primary sortas="a-cURL">cURL</primary>
[bf8ac01]28 </indexterm>
[dc775a26]29
[bf8ac01]30 <sect2 role="package">
[3e89149]31 <title>Introduction to cURL</title>
[dc775a26]32
[2ca26748]33 <para>The <application>cURL</application> package contains
[32a8ca3]34 <command>curl</command> and its support library
35 <filename class="libraryfile">libcurl</filename>. This is useful for
36 transferring files with URL syntax to any of the following protocols:
37 FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS and FILE.
38 This ability to both download and upload files can be incorporated into other
39 programs to support functions like streaming media.</para>
[dc775a26]40
[2b8421c]41 &lfs65_checked;
42
[bf8ac01]43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing='compact'>
45 <listitem>
46 <para>Download (HTTP): <ulink url="&curl-download-http;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download (FTP): <ulink url="&curl-download-ftp;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download MD5 sum: &curl-md5sum;</para>
53 </listitem>
54 <listitem>
55 <para>Download size: &curl-size;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated disk space required: &curl-buildsize;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated build time: &curl-time;</para>
62 </listitem>
63 </itemizedlist>
[dc775a26]64
[3e89149]65 <bridgehead renderas="sect3">cURL Dependencies</bridgehead>
[dc775a26]66
[bf8ac01]67 <bridgehead renderas="sect4">Optional</bridgehead>
[358241d1]68 <para role="optional"><!-- <xref linkend="pkgconfig"/>, -->
[d5404360]69 <xref linkend="openssl"/> or <xref linkend="gnutls"/>,
[2ca26748]70 <xref linkend="openldap"/>,
[fcd6bf9d]71 <xref linkend="libidn"/>,
[2ca26748]72 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
[0efc3f3]73 <ulink url="http://www.libssh2.org">libssh2</ulink>
[32a8ca3]74 (for secure transfers),
[2ca26748]75 <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
[fcd6bf9d]76 <ulink url="http://www.vintela.com/resources/topics/spnego/">SPNEGO</ulink>, and
[bf8ac01]77 <ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink></para>
[dc775a26]78
[c5e7d76]79 <bridgehead renderas="sect4">Optional for Running the Test Suite</bridgehead>
80 <para role="optional"><xref linkend="stunnel"/> (for the HTTPS and FTPS tests)</para>
81
82 <!-- and
[1c65bfd]83 <ulink url="http://valgrind.org/">Valgrind</ulink> (not used if building
[c5e7d76]84 the shared library)</para> -->
[dc775a26]85
[061ec9d]86 <para condition="html" role="usernotes">User Notes:
87 <ulink url="&blfs-wiki;/curl"/></para>
88
[bf8ac01]89 </sect2>
[dc775a26]90
[bf8ac01]91 <sect2 role="installation">
[3e89149]92 <title>Installation of cURL</title>
[dc775a26]93
[2ca26748]94 <para>Install <application>cURL</application> by running the following
[bf8ac01]95 commands:</para>
[dc775a26]96
[bf8ac01]97<screen><userinput>./configure --prefix=/usr &amp;&amp;
98make</userinput></screen>
[dc775a26]99
[4880b3d2]100 <para>To test the results, issue: <command>make check</command>. Note that
101 if you have <application>Stunnel</application> and
102 <application>TCP Wrapper</application> installed and you wish to perform
103 the HTTPS tests, you'll need to have an unrestrictive
104 <filename>/etc/hosts.deny</filename> file.</para>
[dc775a26]105
[bf8ac01]106 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[dc775a26]107
[bf8ac01]108<screen role='root'><userinput>make install &amp;&amp;
[11436b7]109find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm &amp;&amp;
[951fac10]110install -v -d -m755 /usr/share/doc/curl-&curl-version; &amp;&amp;
[bf8ac01]111cp -v -R docs/* /usr/share/doc/curl-&curl-version;</userinput></screen>
[dc775a26]112
[bf8ac01]113 </sect2>
[dc775a26]114
[bf8ac01]115 <sect2 role="commands">
116 <title>Command Explanations</title>
[dc775a26]117
[2ca26748]118 <para><option>--with-gssapi</option>:
119 This parameter adds <application>Kerberos 5</application> support to
[bf8ac01]120 <filename class="libraryfile">libcurl</filename>.</para>
[dc775a26]121
[b834dfc7]122 <para><option>--with-libssh2</option>:
123 This parameter adds SSH2 protocol support to
124 <filename class="libraryfile">libcurl</filename>.</para>
125
[32a8ca3]126 <para><option>--without-ssl --with-gnutls</option>:
[2b8421c]127 To build with <application>GnuTLS</application>
128 support instead of <application>OpenSSL</application> for SSL/TLS.</para>
[32a8ca3]129
[6473e74]130 <para><command>find docs -name "Makefile*" -o -name "*.1"
[546a1b6]131 -o -name "*.3" | xargs rm</command>: This command removes man files
[7f109f5]132 and makefiles from the doc source tree that will be installed by its
133 following commands.</para>
[11436b7]134
[bf8ac01]135 </sect2>
[dc775a26]136
[bf8ac01]137 <sect2 role="content">
138 <title>Contents</title>
[dc775a26]139
[bf8ac01]140 <segmentedlist>
141 <segtitle>Installed Programs</segtitle>
142 <segtitle>Installed Library</segtitle>
143 <segtitle>Installed Directories</segtitle>
[dc775a26]144
[bf8ac01]145 <seglistitem>
146 <seg>curl and curl-config</seg>
[061ec9d]147 <seg>libcurl.{so,a}</seg>
[2ca26748]148 <seg>/usr/include/curl, /usr/share/curl
[bf8ac01]149 and /usr/share/doc/curl-&curl-version;</seg>
150 </seglistitem>
151 </segmentedlist>
[dc775a26]152
[bf8ac01]153 <variablelist>
154 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
155 <?dbfo list-presentation="list"?>
156 <?dbhtml list-presentation="table"?>
[dc775a26]157
[bf8ac01]158 <varlistentry id="curl-prog">
159 <term><command>curl</command></term>
160 <listitem>
[32a8ca3]161 <para>is a command line tool for transferring files with URL syntax.
162 </para>
[bf8ac01]163 <indexterm zone="curl curl-prog">
164 <primary sortas="b-curl">curl</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
[dc775a26]168
[bf8ac01]169 <varlistentry id="curl-config">
170 <term><command>curl-config</command></term>
171 <listitem>
[2ca26748]172 <para>prints information about the last compile, like libraries
[bf8ac01]173 linked to and prefix setting.</para>
174 <indexterm zone="curl curl-config">
175 <primary sortas="b-curl-config">curl-config</primary>
176 </indexterm>
177 </listitem>
178 </varlistentry>
[dc775a26]179
[bf8ac01]180 <varlistentry id="libcurl">
[061ec9d]181 <term><filename class='libraryfile'>libcurl.{so,a}</filename></term>
[bf8ac01]182 <listitem>
[2ca26748]183 <para>provides the API functions required by
[bf8ac01]184 <command>curl</command> and other programs.</para>
185 <indexterm zone="curl libcurl">
[061ec9d]186 <primary sortas="c-libcurl">libcurl.{so,a}</primary>
[bf8ac01]187 </indexterm>
188 </listitem>
189 </varlistentry>
[dc775a26]190
[bf8ac01]191 </variablelist>
[dc775a26]192
[bf8ac01]193 </sect2>
[dc775a26]194
[f45b1953]195</sect1>
Note: See TracBrowser for help on using the repository browser.