source: basicnet/netlibs/curl.xml@ 358241d1

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 358241d1 was 358241d1, checked in by Randy McMurchy <randy@…>, 15 years ago

Removed unnecessary references to pkgconfig as it is now in LFS

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

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