source: networking/netlibs/curl.xml@ b9e1a58

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 b9e1a58 was b9e1a58, checked in by Igor Živković <igor@…>, 11 years ago

update to curl-7.33.0

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

  • Property mode set to 100644
File size: 7.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY curl-download-http "http://curl.haxx.se/download/curl-&curl-version;.tar.bz2">
8 <!ENTITY curl-download-ftp " ">
9 <!ENTITY curl-md5sum "57409d6bf0bd97053b8378dbe0cadcef">
10 <!ENTITY curl-size "2.7 MB">
11 <!ENTITY curl-buildsize "31 MB (additional 7 MB for tests)">
12 <!ENTITY curl-time "0.5 SBU (additional 2.9 SBU for tests)">
13]>
14
15<sect1 id="curl" xreflabel="cURL-&curl-version;">
16 <?dbhtml filename="curl.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>cURL-&curl-version;</title>
24
25 <indexterm zone="curl">
26 <primary sortas="a-cURL">cURL</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to cURL</title>
31
32 <para>
33 The <application>cURL</application> package contains an utility
34 and a library used for transferring files with URL syntax to any of
35 the following protocols: FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP,
36 TELNET, DICT, LDAP, LDAPS and FILE. Its ability to both download
37 and upload files can be incorporated into other programs to support
38 functions like streaming media.
39 </para>
40
41 &lfs74_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>
47 Download (HTTP): <ulink url="&curl-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download (FTP): <ulink url="&curl-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download MD5 sum: &curl-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download size: &curl-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &curl-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &curl-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">cURL Dependencies</bridgehead>
78
79 <bridgehead renderas="sect4">Recommended</bridgehead>
80 <para role="recommended">
81 <xref linkend="cacerts"/> and
82 <xref linkend="openssl"/> or <xref linkend="gnutls"/>
83 </para>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
87 <ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink>,
88 <xref linkend="libidn"/>,
89 <ulink url="https://launchpad.net/libmetalink/">libmetalink</ulink>,
90 <ulink url="http://www.libssh2.org">libssh2</ulink>,
91 <xref linkend="mitkrb"/>,
92 <xref linkend="openldap"/> and
93 <ulink url="http://www.vintela.com/resources/topics/spnego/">
94 SPNEGO</ulink>
95 </para>
96
97 <bridgehead renderas="sect4">Optional for Running the Test Suite</bridgehead>
98 <para role="optional">
99 <xref linkend="stunnel"/> (for the HTTPS and FTPS tests)
100 </para>
101
102 <para condition="html" role="usernotes">User Notes:
103 <ulink url="&blfs-wiki;/curl"/>
104 </para>
105 </sect2>
106
107 <sect2 role="installation">
108 <title>Installation of cURL</title>
109
110 <para>
111 Install <application>cURL</application> by running the following
112 commands:
113 </para>
114
115<screen><userinput>./configure --prefix=/usr \
116 --disable-static \
117 --enable-threaded-resolver &amp;&amp;
118make</userinput></screen>
119
120 <para>
121 To test the results, issue: <command>make test</command>.
122 </para>
123
124 <para>
125 Now, as the <systemitem class="username">root</systemitem>
126 user:
127 </para>
128
129<screen role="root"><userinput>make install &amp;&amp;
130find docs \( -name "Makefile*" -o -name "*.1" -o -name "*.3" \) -exec rm {} \; &amp;&amp;
131install -v -d -m755 /usr/share/doc/curl-&curl-version; &amp;&amp;
132cp -v -R docs/* /usr/share/doc/curl-&curl-version;</userinput></screen>
133 </sect2>
134
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
139 href="../../xincludes/static-libraries.xml"/>
140
141 <para>
142 <parameter>--enable-threaded-resolver</parameter>: This switch enables
143 <application>cURL</application>'s builtin threaded DNS resolver.
144 </para>
145
146 <para>
147 <option>--with-gssapi</option>: This parameter adds
148 <application>Kerberos 5</application> support to
149 <filename class="libraryfile">libcurl</filename>.
150 </para>
151
152 <para>
153 <option>--without-ssl --with-gnutls</option>: Use to
154 build with <application>GnuTLS</application> support
155 instead of <application>OpenSSL</application> for SSL/TLS.
156 </para>
157
158 <para>
159 <command>find docs \( -name "Makefile*" -o -name "*.1" -o -name "*.3"
160 \) -exec rm {} \;</command>: This command removes
161 <filename>Makefiles</filename> and man files from the documentation
162 directory that would otherwise be installed by the commands that
163 follow.
164 </para>
165
166 </sect2>
167
168 <sect2 role="content">
169 <title>Contents</title>
170
171 <segmentedlist>
172 <segtitle>Installed Programs</segtitle>
173 <segtitle>Installed Library</segtitle>
174 <segtitle>Installed Directories</segtitle>
175
176 <seglistitem>
177 <seg>
178 curl and curl-config
179 </seg>
180 <seg>
181 libcurl.so
182 </seg>
183 <seg>
184 /usr/include/curl and
185 /usr/share/doc/curl-&curl-version;
186 </seg>
187 </seglistitem>
188 </segmentedlist>
189
190 <variablelist>
191 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
192 <?dbfo list-presentation="list"?>
193 <?dbhtml list-presentation="table"?>
194
195 <varlistentry id="curl-prog">
196 <term><command>curl</command></term>
197 <listitem>
198 <para>
199 is a command line tool for transferring files with URL syntax.
200 </para>
201 <indexterm zone="curl curl-prog">
202 <primary sortas="b-curl">curl</primary>
203 </indexterm>
204 </listitem>
205 </varlistentry>
206
207 <varlistentry id="curl-config">
208 <term><command>curl-config</command></term>
209 <listitem>
210 <para>
211 prints information about the last compile, like libraries
212 linked to and prefix setting.
213 </para>
214 <indexterm zone="curl curl-config">
215 <primary sortas="b-curl-config">curl-config</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="libcurl">
221 <term><filename class="libraryfile">libcurl.so</filename></term>
222 <listitem>
223 <para>
224 provides the API functions required by
225 <command>curl</command> and other programs.
226 </para>
227 <indexterm zone="curl libcurl">
228 <primary sortas="c-libcurl">libcurl.so</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 </variablelist>
234
235 </sect2>
236
237</sect1>
Note: See TracBrowser for help on using the repository browser.