source: basicnet/netlibs/curl.xml@ f4f612d

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 f4f612d was f4f612d, checked in by Thomas Trepl <thomas@…>, 16 years ago

Forgot a comma

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

  • Property mode set to 100644
File size: 6.6 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-md5sum "c299c5e0f20f633791b4c4f7ced4effe">
10 <!ENTITY curl-size "2.1 MB">
11 <!ENTITY curl-buildsize "33 MB">
12 <!ENTITY curl-time "0.5 SBU (additional 0.9 SBU to run the test suite)">
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>The <application>cURL</application> package contains
33 <command>curl</command> and its support library. This is useful for
34 transferring files with URL syntax. This ability to both
35 download and redirect files can be incorporated into other programs to support
36 functions like streaming media.</para>
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing='compact'>
40 <listitem>
41 <para>Download (HTTP): <ulink url="&curl-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&curl-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &curl-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &curl-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &curl-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &curl-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">cURL Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Optional</bridgehead>
63 <para role="optional"><xref linkend="pkgconfig"/>,
64 <xref linkend="openssl"/> or <xref linkend="gnutls"/>,
65 <xref linkend="openldap"/>,
66 <xref linkend="libidn"/>,
67 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
68 <ulink url="http://www.libssh2.org/wiki/index.php/Main_Page">libssh2</ulink>,
69 <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
70 <ulink url="http://www.vintela.com/resources/topics/spnego/">SPNEGO</ulink>, and
71 <ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink></para>
72
73 <bridgehead renderas="sect4">Optional for Running the Test Suite</bridgehead>
74 <para role="optional"><xref linkend="stunnel"/> (for the HTTPS and FTPS tests)</para>
75
76 <!-- and
77 <ulink url="http://valgrind.kde.org/">Valgrind</ulink> (not used if building
78 the shared library)</para> -->
79
80 <para condition="html" role="usernotes">User Notes:
81 <ulink url="&blfs-wiki;/curl"/></para>
82
83 </sect2>
84
85 <sect2 role="installation">
86 <title>Installation of cURL</title>
87
88 <para>Install <application>cURL</application> by running the following
89 commands:</para>
90
91<screen><userinput>./configure --prefix=/usr &amp;&amp;
92make</userinput></screen>
93
94 <para>To test the results, issue: <command>make check</command>. Note that
95 if you have <application>Stunnel</application> and
96 <application>TCP Wrapper</application> installed and you wish to perform
97 the HTTPS tests, you'll need to have an unrestrictive
98 <filename>/etc/hosts.deny</filename> file.</para>
99
100 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
101
102<screen role='root'><userinput>make install &amp;&amp;
103find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm &amp;&amp;
104install -v -d -m755 /usr/share/doc/curl-&curl-version; &amp;&amp;
105cp -v -R docs/* /usr/share/doc/curl-&curl-version;</userinput></screen>
106
107 </sect2>
108
109 <sect2 role="commands">
110 <title>Command Explanations</title>
111
112 <para><option>--with-gssapi</option>:
113 This parameter adds <application>Kerberos 5</application> support to
114 <filename class="libraryfile">libcurl</filename>.</para>
115
116 <para><option>--with-libssh2</option>:
117 This parameter adds SSH2 protocol support to
118 <filename class="libraryfile">libcurl</filename>.</para>
119
120 <para><command>find docs -name "Makefile*" -o -name "*.1"
121 -o -name "*.3" | xargs rm</command>: This command removes man files
122 from the source tree that have already been installed by the
123 <command>make install</command> command.</para>
124
125 </sect2>
126
127 <sect2 role="content">
128 <title>Contents</title>
129
130 <segmentedlist>
131 <segtitle>Installed Programs</segtitle>
132 <segtitle>Installed Library</segtitle>
133 <segtitle>Installed Directories</segtitle>
134
135 <seglistitem>
136 <seg>curl and curl-config</seg>
137 <seg>libcurl.{so,a}</seg>
138 <seg>/usr/include/curl, /usr/share/curl
139 and /usr/share/doc/curl-&curl-version;</seg>
140 </seglistitem>
141 </segmentedlist>
142
143 <variablelist>
144 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
145 <?dbfo list-presentation="list"?>
146 <?dbhtml list-presentation="table"?>
147
148 <varlistentry id="curl-prog">
149 <term><command>curl</command></term>
150 <listitem>
151 <para>is a client that can get documents from or send documents to
152 any of the following protocols: HTTP, HTTPS (needs <xref
153 linkend="openssl"/>), FTP, GOPHER, DICT, TELNET, LDAP (needs
154 <xref linkend="openldap"/> at run time) or FILE.</para>
155 <indexterm zone="curl curl-prog">
156 <primary sortas="b-curl">curl</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="curl-config">
162 <term><command>curl-config</command></term>
163 <listitem>
164 <para>prints information about the last compile, like libraries
165 linked to and prefix setting.</para>
166 <indexterm zone="curl curl-config">
167 <primary sortas="b-curl-config">curl-config</primary>
168 </indexterm>
169 </listitem>
170 </varlistentry>
171
172 <varlistentry id="libcurl">
173 <term><filename class='libraryfile'>libcurl.{so,a}</filename></term>
174 <listitem>
175 <para>provides the API functions required by
176 <command>curl</command> and other programs.</para>
177 <indexterm zone="curl libcurl">
178 <primary sortas="c-libcurl">libcurl.{so,a}</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 </variablelist>
184
185 </sect2>
186
187</sect1>
Note: See TracBrowser for help on using the repository browser.