source: basicnet/netlibs/curl.xml@ 4880b3d2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 4880b3d2 was 4880b3d2, checked in by Randy McMurchy <randy@…>, 18 years ago

Added a note to the cURL instructions about TCP Wrapper and cURL's test suite

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

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