source: networking/netlibs/curl.xml@ 1263ab1e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1263ab1e was 0c7d410, checked in by Krejzi <krejzi@…>, 11 years ago

Package updates.

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

  • Property mode set to 100644
File size: 7.8 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
[355495ce]7 <!ENTITY curl-download-http "http://curl.haxx.se/download/curl-&curl-version;.tar.bz2">
[2b8421c]8 <!ENTITY curl-download-ftp " ">
[0c7d410]9 <!ENTITY curl-md5sum "0db5ec03a5001b42a2edc03bf63b5ceb">
10 <!ENTITY curl-size "2.6 MB">
[ea21196]11 <!ENTITY curl-buildsize "35 MB (additional 4 MB for tests)">
[345a3456]12 <!ENTITY curl-time "0.5 SBU (additional 3.5 SBU for tests)">
[a2d8572]13]>
14
[377584f]15<sect1 id="curl" xreflabel="cURL-&curl-version;">
[bf8ac01]16 <?dbhtml filename="curl.html"?>
[dc775a26]17
[bf8ac01]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
[55329727]20 <date>$Date$</date>
[bf8ac01]21 </sect1info>
[dc775a26]22
[3e89149]23 <title>cURL-&curl-version;</title>
[dc775a26]24
[bf8ac01]25 <indexterm zone="curl">
[3e89149]26 <primary sortas="a-cURL">cURL</primary>
[bf8ac01]27 </indexterm>
[dc775a26]28
[bf8ac01]29 <sect2 role="package">
[3e89149]30 <title>Introduction to cURL</title>
[dc775a26]31
[355495ce]32 <para>
[ea21196]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.
[355495ce]39 </para>
[dc775a26]40
[405c8dc]41 &lfs73_checked;
[2b8421c]42
[bf8ac01]43 <bridgehead renderas="sect3">Package Information</bridgehead>
[874fec7f]44 <itemizedlist spacing="compact">
[bf8ac01]45 <listitem>
[355495ce]46 <para>
47 Download (HTTP): <ulink url="&curl-download-http;"/>
48 </para>
[bf8ac01]49 </listitem>
50 <listitem>
[355495ce]51 <para>
52 Download (FTP): <ulink url="&curl-download-ftp;"/>
53 </para>
[bf8ac01]54 </listitem>
55 <listitem>
[355495ce]56 <para>
57 Download MD5 sum: &curl-md5sum;
58 </para>
[bf8ac01]59 </listitem>
60 <listitem>
[355495ce]61 <para>
62 Download size: &curl-size;
63 </para>
[bf8ac01]64 </listitem>
65 <listitem>
[355495ce]66 <para>
67 Estimated disk space required: &curl-buildsize;
68 </para>
[bf8ac01]69 </listitem>
70 <listitem>
[355495ce]71 <para>
72 Estimated build time: &curl-time;
73 </para>
[bf8ac01]74 </listitem>
75 </itemizedlist>
[dc775a26]76
[3e89149]77 <bridgehead renderas="sect3">cURL Dependencies</bridgehead>
[dc775a26]78
[355495ce]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
[bf8ac01]85 <bridgehead renderas="sect4">Optional</bridgehead>
[355495ce]86 <para role="optional">
87 <ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink>,
88 <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
89 <xref linkend="libidn"/>,
[c627795]90 <ulink url="https://launchpad.net/libmetalink/">libmetalink</ulink>,
[355495ce]91 <ulink url="http://www.libssh2.org">libssh2</ulink>,
92 <xref linkend="mitkrb"/>,
93 <xref linkend="openldap"/> and
94 <ulink url="http://www.vintela.com/resources/topics/spnego/">
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)
101 </para>
[c5e7d76]102
[061ec9d]103 <para condition="html" role="usernotes">User Notes:
[355495ce]104 <ulink url="&blfs-wiki;/curl"/>
105 </para>
[bf8ac01]106 </sect2>
[dc775a26]107
[bf8ac01]108 <sect2 role="installation">
[3e89149]109 <title>Installation of cURL</title>
[dc775a26]110
[355495ce]111 <para>
112 Install <application>cURL</application> by running the following
113 commands:
114 </para>
[dc775a26]115
[0c7d410]116<screen><userinput>sed -i '/--static-libs)/{N;s#echo .*#echo #;}' curl-config.in &amp;&amp;
[fdd7a91]117./configure --prefix=/usr \
118 --disable-static \
119 --enable-threaded-resolver \
120 --with-ca-path=/etc/ssl/certs &amp;&amp;
[bf8ac01]121make</userinput></screen>
[dc775a26]122
[355495ce]123 <para>
[c627795]124 To test the results, issue: <command>make check</command>.
[355495ce]125 </para>
[dc775a26]126
[355495ce]127 <para>
128 Now, as the <systemitem class="username">root</systemitem>
129 user:
130 </para>
[dc775a26]131
[874fec7f]132<screen role="root"><userinput>make install &amp;&amp;
133find docs \( -name "Makefile*" -o -name "*.1" -o -name "*.3" \) -exec rm {} \; &amp;&amp;
[951fac10]134install -v -d -m755 /usr/share/doc/curl-&curl-version; &amp;&amp;
[ad426ac]135cp -v -R docs/* /usr/share/doc/curl-&curl-version;</userinput></screen>
[bf8ac01]136 </sect2>
[dc775a26]137
[bf8ac01]138 <sect2 role="commands">
139 <title>Command Explanations</title>
[dc775a26]140
[1e62b33]141 <para>
142 <command>sed -i '/--static-libs)/{N;s#echo .*#echo #;}'
[b3aacc0]143 curl-config.in</command>: Since the static libraries have not been installed,
144 this <command>sed</command> removes the static libs line from
145 <command>curl-config</command> as it might otherwise confuse other
[0c7d410]146 applications.
[1e62b33]147 </para>
148
[c627795]149 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
150 href="../../xincludes/static-libraries.xml"/>
151
[fdd7a91]152 <para>
153 <parameter>--enable-threaded-resolver</parameter>: This switch enables
154 <application>cURL</application>'s builtin threaded DNS resolver.
155 </para>
156
[355495ce]157 <para>
158 <parameter>--with-ca-path=/etc/ssl/certs</parameter>: This parameter
159 sets the directory to use as the path to the SSL certificates.
160 If you've not installed <xref linkend="openssl"/> or
161 <xref linkend="gnutls"/> and the <xref linkend="cacerts"/> you can
162 remove this option.
163 </para>
[9cf31e6]164
[355495ce]165 <para>
166 <option>--with-gssapi</option>: This parameter adds
167 <application>Kerberos 5</application> support to
168 <filename class="libraryfile">libcurl</filename>.
169 </para>
170
171 <para>
172 <option>--without-ssl --with-gnutls</option>: Use to
173 build with <application>GnuTLS</application> support
174 instead of <application>OpenSSL</application> for SSL/TLS.
175 </para>
[b834dfc7]176
[355495ce]177 <para>
178 <command>find docs \( -name "Makefile*" -o -name "*.1" -o -name "*.3"
179 \) -exec rm {} \;</command>: This command removes
180 <filename>Makefiles</filename> and man files from the documentation
181 directory that would otherwise be installed by the commands that
182 follow.
183 </para>
[32a8ca3]184
[bf8ac01]185 </sect2>
[dc775a26]186
[bf8ac01]187 <sect2 role="content">
188 <title>Contents</title>
[dc775a26]189
[bf8ac01]190 <segmentedlist>
191 <segtitle>Installed Programs</segtitle>
192 <segtitle>Installed Library</segtitle>
193 <segtitle>Installed Directories</segtitle>
[dc775a26]194
[bf8ac01]195 <seglistitem>
[355495ce]196 <seg>
197 curl and curl-config
198 </seg>
199 <seg>
200 libcurl.so
201 </seg>
202 <seg>
203 /usr/include/curl and
204 /usr/share/doc/curl-&curl-version;
205 </seg>
[bf8ac01]206 </seglistitem>
207 </segmentedlist>
[dc775a26]208
[bf8ac01]209 <variablelist>
210 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
211 <?dbfo list-presentation="list"?>
212 <?dbhtml list-presentation="table"?>
[dc775a26]213
[bf8ac01]214 <varlistentry id="curl-prog">
215 <term><command>curl</command></term>
216 <listitem>
[355495ce]217 <para>
218 is a command line tool for transferring files with URL syntax.
[32a8ca3]219 </para>
[bf8ac01]220 <indexterm zone="curl curl-prog">
221 <primary sortas="b-curl">curl</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
[dc775a26]225
[bf8ac01]226 <varlistentry id="curl-config">
227 <term><command>curl-config</command></term>
228 <listitem>
[355495ce]229 <para>
230 prints information about the last compile, like libraries
231 linked to and prefix setting.
232 </para>
[bf8ac01]233 <indexterm zone="curl curl-config">
234 <primary sortas="b-curl-config">curl-config</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
[dc775a26]238
[bf8ac01]239 <varlistentry id="libcurl">
[874fec7f]240 <term><filename class="libraryfile">libcurl.so</filename></term>
[bf8ac01]241 <listitem>
[355495ce]242 <para>
243 provides the API functions required by
244 <command>curl</command> and other programs.
245 </para>
[bf8ac01]246 <indexterm zone="curl libcurl">
[874fec7f]247 <primary sortas="c-libcurl">libcurl.so</primary>
[bf8ac01]248 </indexterm>
249 </listitem>
250 </varlistentry>
[355495ce]251
[bf8ac01]252 </variablelist>
[355495ce]253
[bf8ac01]254 </sect2>
[355495ce]255
[f45b1953]256</sect1>
Note: See TracBrowser for help on using the repository browser.