source: networking/netlibs/curl.xml@ 345a3456

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 345a3456 was 345a3456, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update to curl-7.28.0

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

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