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
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
[1363324e]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">
[b834dfc7]9 <!ENTITY curl-md5sum "c299c5e0f20f633791b4c4f7ced4effe">
10 <!ENTITY curl-size "2.1 MB">
[c5e7d76]11 <!ENTITY curl-buildsize "33 MB">
[546a1b6]12 <!ENTITY curl-time "0.5 SBU (additional 0.9 SBU to run the test suite)">
[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
[2ca26748]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
[bf8ac01]36 functions like streaming media.</para>
[dc775a26]37
[bf8ac01]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>
[dc775a26]59
[3e89149]60 <bridgehead renderas="sect3">cURL Dependencies</bridgehead>
[dc775a26]61
[bf8ac01]62 <bridgehead renderas="sect4">Optional</bridgehead>
[4dbbf634]63 <para role="optional"><xref linkend="pkgconfig"/>,
[d5404360]64 <xref linkend="openssl"/> or <xref linkend="gnutls"/>,
[2ca26748]65 <xref linkend="openldap"/>,
[fcd6bf9d]66 <xref linkend="libidn"/>,
[2ca26748]67 <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
[f4f612d]68 <ulink url="http://www.libssh2.org/wiki/index.php/Main_Page">libssh2</ulink>,
[2ca26748]69 <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>,
[fcd6bf9d]70 <ulink url="http://www.vintela.com/resources/topics/spnego/">SPNEGO</ulink>, and
[bf8ac01]71 <ulink url="http://daniel.haxx.se/projects/c-ares/">c-ares</ulink></para>
[dc775a26]72
[c5e7d76]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
[2ca26748]77 <ulink url="http://valgrind.kde.org/">Valgrind</ulink> (not used if building
[c5e7d76]78 the shared library)</para> -->
[dc775a26]79
[061ec9d]80 <para condition="html" role="usernotes">User Notes:
81 <ulink url="&blfs-wiki;/curl"/></para>
82
[bf8ac01]83 </sect2>
[dc775a26]84
[bf8ac01]85 <sect2 role="installation">
[3e89149]86 <title>Installation of cURL</title>
[dc775a26]87
[2ca26748]88 <para>Install <application>cURL</application> by running the following
[bf8ac01]89 commands:</para>
[dc775a26]90
[bf8ac01]91<screen><userinput>./configure --prefix=/usr &amp;&amp;
92make</userinput></screen>
[dc775a26]93
[4880b3d2]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>
[dc775a26]99
[bf8ac01]100 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[dc775a26]101
[bf8ac01]102<screen role='root'><userinput>make install &amp;&amp;
[11436b7]103find docs -name "Makefile*" -o -name "*.1" -o -name "*.3" | xargs rm &amp;&amp;
[951fac10]104install -v -d -m755 /usr/share/doc/curl-&curl-version; &amp;&amp;
[bf8ac01]105cp -v -R docs/* /usr/share/doc/curl-&curl-version;</userinput></screen>
[dc775a26]106
[bf8ac01]107 </sect2>
[dc775a26]108
[bf8ac01]109 <sect2 role="commands">
110 <title>Command Explanations</title>
[dc775a26]111
[2ca26748]112 <para><option>--with-gssapi</option>:
113 This parameter adds <application>Kerberos 5</application> support to
[bf8ac01]114 <filename class="libraryfile">libcurl</filename>.</para>
[dc775a26]115
[b834dfc7]116 <para><option>--with-libssh2</option>:
117 This parameter adds SSH2 protocol support to
118 <filename class="libraryfile">libcurl</filename>.</para>
119
[6473e74]120 <para><command>find docs -name "Makefile*" -o -name "*.1"
[546a1b6]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>
[11436b7]124
[bf8ac01]125 </sect2>
[dc775a26]126
[bf8ac01]127 <sect2 role="content">
128 <title>Contents</title>
[dc775a26]129
[bf8ac01]130 <segmentedlist>
131 <segtitle>Installed Programs</segtitle>
132 <segtitle>Installed Library</segtitle>
133 <segtitle>Installed Directories</segtitle>
[dc775a26]134
[bf8ac01]135 <seglistitem>
136 <seg>curl and curl-config</seg>
[061ec9d]137 <seg>libcurl.{so,a}</seg>
[2ca26748]138 <seg>/usr/include/curl, /usr/share/curl
[bf8ac01]139 and /usr/share/doc/curl-&curl-version;</seg>
140 </seglistitem>
141 </segmentedlist>
[dc775a26]142
[bf8ac01]143 <variablelist>
144 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
145 <?dbfo list-presentation="list"?>
146 <?dbhtml list-presentation="table"?>
[dc775a26]147
[bf8ac01]148 <varlistentry id="curl-prog">
149 <term><command>curl</command></term>
150 <listitem>
[2ca26748]151 <para>is a client that can get documents from or send documents to
[bf8ac01]152 any of the following protocols: HTTP, HTTPS (needs <xref
[2ca26748]153 linkend="openssl"/>), FTP, GOPHER, DICT, TELNET, LDAP (needs
[bf8ac01]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>
[dc775a26]160
[bf8ac01]161 <varlistentry id="curl-config">
162 <term><command>curl-config</command></term>
163 <listitem>
[2ca26748]164 <para>prints information about the last compile, like libraries
[bf8ac01]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>
[dc775a26]171
[bf8ac01]172 <varlistentry id="libcurl">
[061ec9d]173 <term><filename class='libraryfile'>libcurl.{so,a}</filename></term>
[bf8ac01]174 <listitem>
[2ca26748]175 <para>provides the API functions required by
[bf8ac01]176 <command>curl</command> and other programs.</para>
177 <indexterm zone="curl libcurl">
[061ec9d]178 <primary sortas="c-libcurl">libcurl.{so,a}</primary>
[bf8ac01]179 </indexterm>
180 </listitem>
181 </varlistentry>
[dc775a26]182
[bf8ac01]183 </variablelist>
[dc775a26]184
[bf8ac01]185 </sect2>
[dc775a26]186
[f45b1953]187</sect1>
Note: See TracBrowser for help on using the repository browser.