source: networking/netlibs/curl.xml@ 2a3a49a

systemd-13485
Last change on this file since 2a3a49a was 2a3a49a, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Update to cURL-7.45.0
Update to ICU-56.1
Update to gstreamer.1.6.0
Update to ISO-Codes-3.62
Update to gst-plugins-base-1.6.0
Update to gsettings-desktop-schemas-3.18.0
Update to glib-networking-2.46.1
Update to libsoup-2.52.1
Update to at-spi2-core-2.18.1
Update to at-spi2-atk-2.18.1
Update to gtk+-3.18.2
Update to BlueZ-5.35
Update to PulseAudio-7.0
Update to v4l-utils-1.8.0
Update to gst-plugins-good-1.6.0
Plenty of tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16529 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.5 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.lzma">
8 <!ENTITY curl-download-ftp " ">
9 <!ENTITY curl-md5sum "c9a0a77f71fdc6b0f925bc3e79eb77f6">
10 <!ENTITY curl-size "2.7 MB">
11 <!ENTITY curl-buildsize "53 MB (with tests)">
12 <!ENTITY curl-time "2.6 SBU (with 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 a 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 &lfs78_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 <xref linkend="libidn"/>,
88 <xref linkend="mitkrb"/>,
89 <xref linkend="openldap"/>,
90 <xref linkend="samba"/>,
91 <ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink>,
92 <ulink url="https://launchpad.net/libmetalink/">libmetalink</ulink>,
93 <ulink url="http://www.libssh2.org">libssh2</ulink>, and
94 <ulink url="http://spnego.sourceforge.net/">
95 SPNEGO</ulink>
96 </para>
97
98 <bridgehead renderas="sect4">Optional for Running the Test Suite</bridgehead>
99 <para role="optional">
100 <xref linkend="stunnel"/> (for the HTTPS and FTPS tests) and
101 <xref linkend="valgrind"/>
102 </para>
103
104 <para condition="html" role="usernotes">User Notes:
105 <ulink url="&blfs-wiki;/curl"/>
106 </para>
107 </sect2>
108
109 <sect2 role="installation">
110 <title>Installation of cURL</title>
111
112 <para>
113 Install <application>cURL</application> by running the following
114 commands:
115 </para>
116
117<screen><userinput>./configure --prefix=/usr \
118 --disable-static \
119 --enable-threaded-resolver &amp;&amp;
120make</userinput></screen>
121
122<!-- <para>
123 Running the test suite is optional. About 2% of the tests fail. Increase
124 in test time by each failed test is about 10%. Tests SBU above was
125 obtained disabling failing tests, with:
126 </para>
127
128<screen><userinput>cat &gt;&gt; tests/data/DISABLED &lt;&lt; "EOF"
129<literal>564
130700
131701
132703
133706
134707
135708
136709
137710
138711
139712</literal>
140EOF</userinput></screen>
141
142 <para>
143 and running <command>make test</command>.
144 </para> -->
145
146 <para>
147 To test the results, issue: <command>make test</command>.
148 </para>
149
150 <para>
151 Now, as the <systemitem class="username">root</systemitem>
152 user:
153 </para>
154
155<screen role="root"><userinput>make install &amp;&amp;
156find docs \( -name Makefile\* -o -name \*.1 -o -name \*.3 \) -exec rm {} \; &amp;&amp;
157install -v -dm755 /usr/share/doc/curl-&curl-version; &amp;&amp;
158cp -rv docs/* /usr/share/doc/curl-&curl-version;</userinput></screen>
159 </sect2>
160
161 <sect2 role="commands">
162 <title>Command Explanations</title>
163
164 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
165 href="../../xincludes/static-libraries.xml"/>
166
167 <para>
168 <parameter>--enable-threaded-resolver</parameter>: This switch enables
169 <application>cURL</application>'s builtin threaded DNS resolver.
170 </para>
171
172 <para>
173 <option>--with-gssapi</option>: This parameter adds
174 <application>Kerberos 5</application> support to
175 <filename class="libraryfile">libcurl</filename>.
176 </para>
177
178 <para>
179 <option>--without-ssl --with-gnutls</option>: Use to
180 build with <application>GnuTLS</application> support
181 instead of <application>OpenSSL</application> for SSL/TLS.
182 </para>
183
184 <para>
185 <command>find docs \( -name Makefile\* -o -name \*.1 -o -name \*.3 \)
186 -exec rm {} \;</command>: This command removes
187 <filename>Makefiles</filename> and man files from the documentation
188 directory that would otherwise be installed by the commands that follow.
189 </para>
190
191 </sect2>
192
193 <sect2 role="content">
194 <title>Contents</title>
195
196 <segmentedlist>
197 <segtitle>Installed Programs</segtitle>
198 <segtitle>Installed Library</segtitle>
199 <segtitle>Installed Directories</segtitle>
200
201 <seglistitem>
202 <seg>
203 curl and curl-config
204 </seg>
205 <seg>
206 libcurl.so
207 </seg>
208 <seg>
209 /usr/include/curl and
210 /usr/share/doc/curl-&curl-version;
211 </seg>
212 </seglistitem>
213 </segmentedlist>
214
215 <variablelist>
216 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
217 <?dbfo list-presentation="list"?>
218 <?dbhtml list-presentation="table"?>
219
220 <varlistentry id="curl-prog">
221 <term><command>curl</command></term>
222 <listitem>
223 <para>
224 is a command line tool for transferring files with URL syntax.
225 </para>
226 <indexterm zone="curl curl-prog">
227 <primary sortas="b-curl">curl</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 <varlistentry id="curl-config">
233 <term><command>curl-config</command></term>
234 <listitem>
235 <para>
236 prints information about the last compile, like libraries
237 linked to and prefix setting.
238 </para>
239 <indexterm zone="curl curl-config">
240 <primary sortas="b-curl-config">curl-config</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 <varlistentry id="libcurl">
246 <term><filename class="libraryfile">libcurl.so</filename></term>
247 <listitem>
248 <para>
249 provides the API functions required by
250 <command>curl</command> and other programs.
251 </para>
252 <indexterm zone="curl libcurl">
253 <primary sortas="c-libcurl">libcurl.so</primary>
254 </indexterm>
255 </listitem>
256 </varlistentry>
257
258 </variablelist>
259
260 </sect2>
261
262</sect1>
Note: See TracBrowser for help on using the repository browser.