source: basicnet/netlibs/curl.xml@ 0efc3f3

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 0efc3f3 was 0efc3f3, checked in by Ag Hatzimanikas <ag@…>, 14 years ago

Updated to curl-7.19.7

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

  • Property mode set to 100644
File size: 6.9 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 "ftp://gd.tuwien.ac.at/utils/archivers/curl/curl-&curl-version;.tar.bz2">-->
9 <!ENTITY curl-download-ftp " ">
10 <!ENTITY curl-md5sum "ecb2e37e45c9933e2a963cabe03670ab">
11 <!ENTITY curl-size "2.9 MB">
12 <!ENTITY curl-buildsize "33 MB">
13 <!ENTITY curl-time "0.5 SBU (additional 0.9 SBU to run the test suite)">
14]>
15
16<sect1 id="curl" xreflabel="cURL-&curl-version;">
17 <?dbhtml filename="curl.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>cURL-&curl-version;</title>
25
26 <indexterm zone="curl">
27 <primary sortas="a-cURL">cURL</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to cURL</title>
32
33 <para>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 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>
40
41 &lfs65_checked;
42
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>
64
65 <bridgehead renderas="sect3">cURL Dependencies</bridgehead>
66
67 <bridgehead renderas="sect4">Optional</bridgehead>
68 <para role="optional"><!-- <xref linkend="pkgconfig"/>, -->
69 <xref linkend="openssl"/> or <xref linkend="gnutls"/>,
70 <xref linkend="openldap"/>,
71 <xref linkend="libidn"/>,
72 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
73 <ulink url="http://www.libssh2.org">libssh2</ulink>
74 (for secure transfers),
75 <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
76 <ulink url="http://www.vintela.com/resources/topics/spnego/">SPNEGO</ulink>, and
77 <ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink></para>
78
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
83 <ulink url="http://valgrind.org/">Valgrind</ulink> (not used if building
84 the shared library)</para> -->
85
86 <para condition="html" role="usernotes">User Notes:
87 <ulink url="&blfs-wiki;/curl"/></para>
88
89 </sect2>
90
91 <sect2 role="installation">
92 <title>Installation of cURL</title>
93
94 <para>Install <application>cURL</application> by running the following
95 commands:</para>
96
97<screen><userinput>./configure --prefix=/usr &amp;&amp;
98make</userinput></screen>
99
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>
105
106 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
107
108<screen role='root'><userinput>make install &amp;&amp;
109find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm &amp;&amp;
110install -v -d -m755 /usr/share/doc/curl-&curl-version; &amp;&amp;
111cp -v -R docs/* /usr/share/doc/curl-&curl-version;</userinput></screen>
112
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
118 <para><option>--with-gssapi</option>:
119 This parameter adds <application>Kerberos 5</application> support to
120 <filename class="libraryfile">libcurl</filename>.</para>
121
122 <para><option>--with-libssh2</option>:
123 This parameter adds SSH2 protocol support to
124 <filename class="libraryfile">libcurl</filename>.</para>
125
126 <para><option>--without-ssl --with-gnutls</option>:
127 To build with <application>GnuTLS</application>
128 support instead of <application>OpenSSL</application> for SSL/TLS.</para>
129
130 <para><command>find docs -name "Makefile*" -o -name "*.1"
131 -o -name "*.3" | xargs rm</command>: This command removes man files
132 from the source tree that have already been installed by the
133 <command>make install</command> command.</para>
134
135 </sect2>
136
137 <sect2 role="content">
138 <title>Contents</title>
139
140 <segmentedlist>
141 <segtitle>Installed Programs</segtitle>
142 <segtitle>Installed Library</segtitle>
143 <segtitle>Installed Directories</segtitle>
144
145 <seglistitem>
146 <seg>curl and curl-config</seg>
147 <seg>libcurl.{so,a}</seg>
148 <seg>/usr/include/curl, /usr/share/curl
149 and /usr/share/doc/curl-&curl-version;</seg>
150 </seglistitem>
151 </segmentedlist>
152
153 <variablelist>
154 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
155 <?dbfo list-presentation="list"?>
156 <?dbhtml list-presentation="table"?>
157
158 <varlistentry id="curl-prog">
159 <term><command>curl</command></term>
160 <listitem>
161 <para>is a command line tool for transferring files with URL syntax.
162 </para>
163 <indexterm zone="curl curl-prog">
164 <primary sortas="b-curl">curl</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 <varlistentry id="curl-config">
170 <term><command>curl-config</command></term>
171 <listitem>
172 <para>prints information about the last compile, like libraries
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>
179
180 <varlistentry id="libcurl">
181 <term><filename class='libraryfile'>libcurl.{so,a}</filename></term>
182 <listitem>
183 <para>provides the API functions required by
184 <command>curl</command> and other programs.</para>
185 <indexterm zone="curl libcurl">
186 <primary sortas="c-libcurl">libcurl.{so,a}</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 </variablelist>
192
193 </sect2>
194
195</sect1>
Note: See TracBrowser for help on using the repository browser.