[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 |
|
---|
[92d2b83] | 7 | <!ENTITY curl-download-http "https://curl.haxx.se/download/curl-&curl-version;.tar.xz">
|
---|
[2b8421c] | 8 | <!ENTITY curl-download-ftp " ">
|
---|
[e3a68e4] | 9 | <!ENTITY curl-md5sum "b54b386057846ce3edd3584b19741569">
|
---|
| 10 | <!ENTITY curl-size "2.3 MB">
|
---|
| 11 | <!ENTITY curl-buildsize "94 MB (add 16 MB for tests)">
|
---|
| 12 | <!ENTITY curl-time "0.3 SBU (add 13 SBU for tests)">
|
---|
[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 |
|
---|
[355495ce] | 32 | <para>
|
---|
[587dc526] | 33 | The <application>cURL</application> package contains an utility
|
---|
[ea21196] | 34 | and a library used for transferring files with URL syntax to any of
|
---|
| 35 | the following protocols: FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP,
|
---|
| 36 | TELNET, DICT, LDAP, LDAPS and FILE. Its ability to both download
|
---|
| 37 | and upload files can be incorporated into other programs to support
|
---|
| 38 | functions like streaming media.
|
---|
[355495ce] | 39 | </para>
|
---|
[dc775a26] | 40 |
|
---|
[66c4901f] | 41 | &lfs91_checked;
|
---|
[2b8421c] | 42 |
|
---|
[bf8ac01] | 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
[874fec7f] | 44 | <itemizedlist spacing="compact">
|
---|
[bf8ac01] | 45 | <listitem>
|
---|
[355495ce] | 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&curl-download-http;"/>
|
---|
| 48 | </para>
|
---|
[bf8ac01] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[355495ce] | 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&curl-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
[bf8ac01] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[355495ce] | 56 | <para>
|
---|
| 57 | Download MD5 sum: &curl-md5sum;
|
---|
| 58 | </para>
|
---|
[bf8ac01] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[355495ce] | 61 | <para>
|
---|
| 62 | Download size: &curl-size;
|
---|
| 63 | </para>
|
---|
[bf8ac01] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[355495ce] | 66 | <para>
|
---|
| 67 | Estimated disk space required: &curl-buildsize;
|
---|
| 68 | </para>
|
---|
[bf8ac01] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[355495ce] | 71 | <para>
|
---|
| 72 | Estimated build time: &curl-time;
|
---|
| 73 | </para>
|
---|
[bf8ac01] | 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
[b4d7e29] | 76 | <!--
|
---|
[5f3d2fbc] | 77 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 78 | <itemizedlist spacing="compact">
|
---|
| 79 | <listitem>
|
---|
[7c56ece] | 80 | <para>
|
---|
| 81 | Patch to fix DNS resolution issues: <ulink
|
---|
| 82 | url="&patch-root;/curl-7.65.1-fix_dns_segfaults-2.patch"/>
|
---|
[5f3d2fbc] | 83 | </para>
|
---|
| 84 | </listitem>
|
---|
| 85 | </itemizedlist>
|
---|
[b4d7e29] | 86 | -->
|
---|
[5f3d2fbc] | 87 |
|
---|
[3e89149] | 88 | <bridgehead renderas="sect3">cURL Dependencies</bridgehead>
|
---|
[dc775a26] | 89 |
|
---|
[355495ce] | 90 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 91 | <para role="recommended">
|
---|
[2198a32] | 92 | <xref role="runtime" linkend="make-ca"/> (runtime)
|
---|
[355495ce] | 93 | </para>
|
---|
| 94 |
|
---|
[bf8ac01] | 95 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[355495ce] | 96 | <para role="optional">
|
---|
[47d5a9e5] | 97 | <xref linkend="brotli"/>,
|
---|
[4464d405] | 98 | <xref linkend="c-ares"/>,
|
---|
[2eb903f] | 99 | <xref linkend="gnutls"/>,
|
---|
[531f138] | 100 | <xref linkend="libidn2"/>,
|
---|
[1ad3510e] | 101 | <xref linkend="libpsl"/>,
|
---|
[fee79e2] | 102 | <xref linkend="libssh2"/>,
|
---|
[355495ce] | 103 | <xref linkend="mitkrb"/>,
|
---|
[0c702b61] | 104 | <xref linkend="nghttp2"/>,
|
---|
[fad8db2] | 105 | <xref linkend="openldap"/>,
|
---|
[4949bda0] | 106 | <xref linkend="samba"/>,
|
---|
[84fe2e9] | 107 | <ulink url="https://www.secureauth.com/labs/open-source-tools/impacket/">impacket</ulink>,
|
---|
[fad8db2] | 108 | <ulink url="https://launchpad.net/libmetalink/">libmetalink</ulink>,
|
---|
[6d05912] | 109 | <ulink url="http://rtmpdump.mplayerhq.hu/">librtmp</ulink>,
|
---|
| 110 | <ulink url="https://github.com/ngtcp2/ngtcp2/">ngtcp2</ulink>,
|
---|
[a4b38ab] | 111 | <!--<ulink url="https://tls.mbed.org/">mbed TLS</ulink> (formerly known as
|
---|
| 112 | PolarSSL), and -->
|
---|
| 113 | <!-- mbedTLS/PolarSSL support was removed in 7.65.1 -->
|
---|
[6d05912] | 114 | <ulink url="https://github.com/cloudflare/quiche">quiche</ulink>, and
|
---|
[c18fd2e6] | 115 | <ulink url="http://spnego.sourceforge.net/">SPNEGO</ulink>
|
---|
[355495ce] | 116 | </para>
|
---|
| 117 |
|
---|
[d714f22] | 118 | <bridgehead renderas="sect4">Optional if Running the Test Suite</bridgehead>
|
---|
[355495ce] | 119 | <para role="optional">
|
---|
[d714f22] | 120 | <!-- stunnel is still listed in the docs as required, but 7.58.0
|
---|
| 121 | tests completed happily without it, although the test for unit1323
|
---|
| 122 | reported that the tool set in the test case does not exist - ken -->
|
---|
[f346a49] | 123 | <xref linkend="stunnel"/> (for the HTTPS and FTPS tests) and
|
---|
[1ad3510e] | 124 | <xref linkend="valgrind"/> (this will slow the tests down and may cause failures.)
|
---|
[355495ce] | 125 | </para>
|
---|
[c5e7d76] | 126 |
|
---|
[061ec9d] | 127 | <para condition="html" role="usernotes">User Notes:
|
---|
[355495ce] | 128 | <ulink url="&blfs-wiki;/curl"/>
|
---|
| 129 | </para>
|
---|
[bf8ac01] | 130 | </sect2>
|
---|
[dc775a26] | 131 |
|
---|
[bf8ac01] | 132 | <sect2 role="installation">
|
---|
[3e89149] | 133 | <title>Installation of cURL</title>
|
---|
[b4d7e29] | 134 | <!--
|
---|
[5f3d2fbc] | 135 | <para>
|
---|
[73048b77] | 136 | First, apply a patch to fix DNS resolution issues:
|
---|
[5f3d2fbc] | 137 | </para>
|
---|
| 138 |
|
---|
[9813665] | 139 | <screen><userinput>patch -Np1 -i ../curl-7.65.1-fix_dns_segfaults-2.patch</userinput></screen>
|
---|
[b4d7e29] | 140 | -->
|
---|
[5f3d2fbc] | 141 |
|
---|
[355495ce] | 142 | <para>
|
---|
| 143 | Install <application>cURL</application> by running the following
|
---|
| 144 | commands:
|
---|
| 145 | </para>
|
---|
[dc775a26] | 146 |
|
---|
[58d5000] | 147 | <screen><userinput>./configure --prefix=/usr \
|
---|
[30b7db74] | 148 | --disable-static \
|
---|
| 149 | --enable-threaded-resolver \
|
---|
[038b4c75] | 150 | --with-ca-path=/etc/ssl/certs &&
|
---|
[bf8ac01] | 151 | make</userinput></screen>
|
---|
[dc775a26] | 152 |
|
---|
[8ffdb08] | 153 | <!--
|
---|
[58d5000] | 154 | For version 7.54.1 I got:
|
---|
| 155 | TESTDONE: 869 tests out of 869 reported OK: 100%
|
---|
| 156 | TESTDONE: 1092 tests were considered during 1080 seconds
|
---|
[8ffdb08] | 157 |
|
---|
| 158 | <para>
|
---|
[2ca3997] | 159 | Running the test suite is optional. About 2% of the tests fail. Increase
|
---|
| 160 | in test time by each failed test is about 10%. Tests SBU above was
|
---|
| 161 | obtained disabling failing tests, with:
|
---|
[355495ce] | 162 | </para>
|
---|
[bfc3945] | 163 |
|
---|
| 164 | 2017-10-29 - bdubbs
|
---|
| 165 | For version 7.56.1 I had a lot of test failures which included long
|
---|
| 166 | timeouts. Could not determine the cause of the timeouts or failures,
|
---|
| 167 | but I was missing c-ares, MIT Kerberos, ldap, samba, and the six
|
---|
| 168 | external packages.
|
---|
[e024fe4] | 169 |
|
---|
| 170 | 2017-12-01 - bdubbs
|
---|
| 171 | Still a lot of test failures. I did have c-ares, Kerberos, and ldap
|
---|
| 172 | installed this time. Best guess is that servers are not available.
|
---|
[7549592] | 173 |
|
---|
| 174 | 2018-08-01 - renodr
|
---|
| 175 | No test failures, but I didn't have any of the optional dependencies except
|
---|
| 176 | for c-ares and libidn2. I might re-run this test suite before release with
|
---|
| 177 | all of the optional deps, but right now, it isn't a priority - rather
|
---|
| 178 | the security fix is.
|
---|
[8ffdb08] | 179 | -->
|
---|
[ffa8c7f] | 180 |
|
---|
| 181 | <para>
|
---|
[731bf37a] | 182 | To run the test suite, issue: <command>make test</command>.
|
---|
[84fe2e9] | 183 | <!--Tests 323, 1139, 1140, and 1173 are known to fail.
|
---|
| 184 | A few other tests may fail randomly for unknown reasons.-->
|
---|
[6666fad] | 185 | </para>
|
---|
| 186 | <!-- Two (of 857) tests
|
---|
| 187 | fail for unknown reasons, and all tests fail is valgrind is installed. Moving
|
---|
| 188 | valgrind out of $PATH is recommended if you wish to run the test suite while
|
---|
| 189 | it is installed.
|
---|
| 190 |
|
---|
[c18fd2e6] | 191 | Added by Pierre for curl-7.59.0:
|
---|
| 192 | no stunnel, no valgrind, no options
|
---|
| 193 | Warning: smb server unexpectedly alive
|
---|
| 194 | Warning: dict server unexpectedly alive
|
---|
| 195 | TESTDONE: 950 tests out of 951 reported OK: 99%
|
---|
| 196 | TESTFAIL: These test cases failed: 1148
|
---|
| 197 | TESTDONE: 1189 tests were considered during 362 seconds.
|
---|
| 198 | __________
|
---|
| 199 |
|
---|
[d714f22] | 200 | if stunnel and valgrind are not installed, and also most options
|
---|
| 201 | (I had rtmpdump), the tests complete without problems.
|
---|
| 202 | Warning: smb server unexpectedly alive
|
---|
| 203 | Warning: dict server unexpectedly alive
|
---|
| 204 | TESTDONE: 938 tests out of 938 reported OK: 100%
|
---|
| 205 | TESTDONE: 1175 tests were considered during 355 seconds.
|
---|
| 206 | and no. I don't have smb - so commenting the rest of this:
|
---|
[5b62526] | 207 | To run the test suite, issue: <command>make test</command>. Many tests
|
---|
[e024fe4] | 208 | may fail that depend on optional dependencies that may not be installed
|
---|
| 209 | or upstream servers that may not be available, especially for tests
|
---|
| 210 | numbered 700 and above.
|
---|
[1ad3510e] | 211 | Test time may be significantly increase due to hanging tests that fail.
|
---|
[85d14e15] | 212 | __________
|
---|
| 213 | Added by Bruce for curl-7.60.0:
|
---|
| 214 | TESTDONE: 957 tests out of 959 reported OK: 99%
|
---|
| 215 | TESTFAIL: These test cases failed: 1139 1140
|
---|
| 216 | TESTDONE: 1196 tests were considered during 1184 seconds.
|
---|
| 217 | From the logs, both appear to be ipv6 releated.
|
---|
[7549592] | 218 |
|
---|
| 219 | ==========
|
---|
| 220 | Added by Douglas for curl-7.61.0:
|
---|
| 221 | TESTDONE: 961 tests out of 961 reported OK: 100%
|
---|
| 222 | TESTDONE: 1202 tests were considered during 338 seconds.
|
---|
| 223 | I only have c-ares and libidn2 installed, I will likely try before release
|
---|
| 224 | with all optional dependencies in the book installed.
|
---|
[5a66d6ac] | 225 |
|
---|
| 226 | =========
|
---|
| 227 | 7.61.1 NOTE: The test suite is extremely noisy, complaining about verification errors.
|
---|
| 228 | It's possible this is due to openssl-1.1.1, BUT 79/79 tests report as 100% OK. I had
|
---|
| 229 | c-ares, libpsl, and libidn1/2 installed. - Doug
|
---|
[7a05ab42] | 230 |
|
---|
| 231 | ========
|
---|
| 232 | 7.62.0: All tests passed. libpsl, c-ares, libssh2, libidn2 installed.
|
---|
| 233 | All 1098 tests report OK.
|
---|
[7f6d672] | 234 |
|
---|
| 235 | =======
|
---|
| 236 | Added by Douglas for curl-7.64.0:
|
---|
| 237 | TESTDONE: 1022 tests out of 1023 reported OK: 99%
|
---|
| 238 | TESTFAIL: These tests cases failed: 323
|
---|
| 239 | TESTDONE: 1235 tests were considered during 1279 seconds.
|
---|
| 240 | For dependencies, I had c-ares, gnutls, libidn2, libpsl, krb5, libssh2, nghttp2,
|
---|
| 241 | OpenLDAP, Samba, stunnel, and Valgrind installed.
|
---|
[731bf37a] | 242 | =======
|
---|
| 243 | Added by bdubbs for curl-7.64.1:
|
---|
| 244 | TESTDONE: 1022 tests out of 1025 reported OK: 99%
|
---|
| 245 | TESTFAIL: These test cases failed: 323 1139 1140
|
---|
| 246 | TESTDONE: 1242 tests were considered during 1483 seconds
|
---|
[a4b38ab] | 247 |
|
---|
| 248 | =======
|
---|
| 249 | Added by renodr for curl-7.65.1:
|
---|
| 250 | TESTDONE: 996 tests out of 997 reported OK: 99%
|
---|
| 251 | TESTFAIL: These test cases failed: 1560
|
---|
| 252 | TESTDONE: 1249 tests were considered during 1091 seconds.
|
---|
[03790ef] | 253 | All dependencies except for externals installed.
|
---|
| 254 | =======
|
---|
| 255 | Added by bdubbs for curl-7.65.2:
|
---|
| 256 | TESTDONE: 1034 tests out of 1036 reported OK: 99%
|
---|
| 257 | TESTFAIL: These test cases failed: 323 1560
|
---|
| 258 | TESTDONE: 1254 tests were considered during 1362 seconds.
|
---|
| 259 | Time above does not include test build time.
|
---|
[a4b38ab] | 260 | All dependencies except for externals installed.
|
---|
[6666fad] | 261 | =======
|
---|
| 262 | Added by bdubbs for curl-7.65.3:
|
---|
| 263 | TESTDONE: 1031 tests out of 1036 reported OK: 99%
|
---|
| 264 | TESTFAIL: These test cases failed: 323 1139 1140 1173 1560
|
---|
| 265 | TESTDONE: 1254 tests were considered during 1364 seconds.
|
---|
| 266 |
|
---|
| 267 | The tests that fail seem to be somewhat random. What happened between
|
---|
| 268 | yesterday and today that that tests 1139 1140 1173 now fail?
|
---|
| 269 |
|
---|
[4f09d49] | 270 | =======
|
---|
| 271 | Added by bdubbs for curl-7.68.0:
|
---|
| 272 | TESTDONE: 1066 tests out of 1071 reported OK: 99%
|
---|
| 273 | TESTFAIL: These test cases failed: 323 1139 1140 1173 1560
|
---|
| 274 | TESTDONE: 1290 tests were considered during 1515 seconds.
|
---|
| 275 |
|
---|
[b115946] | 276 | =======
|
---|
| 277 | Added by bdubbs for curl-7.69.0:
|
---|
| 278 | TESTDONE: 074 tests out of 1079 reported OK: 99%
|
---|
| 279 | TESTFAIL: These test cases failed: 323 1139 1140 1173 1560
|
---|
| 280 | TESTDONE: 1320 tests were considered during 1514 seconds.
|
---|
| 281 |
|
---|
[83f8954] | 282 | For curl-7.69.1, 1082 tests out of 1086 reported OK. 1560 now passes.
|
---|
| 283 | 1330 tests were considered during 1528 seconds.
|
---|
| 284 |
|
---|
[84fe2e9] | 285 | ======
|
---|
| 286 | Added by renodr for curl-7.70.0:
|
---|
| 287 | TESTDONE: 1062 tests out of 1062 reported OK: 100%
|
---|
| 288 | TESTDONE: 1352 tests were considered during 1218 seconds.
|
---|
| 289 | Tests were ran with all dependencies present except for stunnel.
|
---|
| 290 | impacket only seems to add one extra test to the mix as well.
|
---|
[6d05912] | 291 |
|
---|
| 292 | ======
|
---|
| 293 | Added by renodr for curl-7.71.0:
|
---|
| 294 | TESTDONE: 1072 tests out of 1072 reported OK: 100%
|
---|
| 295 | TESTDONE: 1364 tests were considered during 1202 seconds.
|
---|
| 296 | Tests were run similarly to 7.70.0 - all deps except for stunnel.
|
---|
[e3a68e4] | 297 |
|
---|
| 298 | ======
|
---|
| 299 | Added by renodr for curl-7.71.1:
|
---|
| 300 | TESTDONE: 1076 tests out of 1076 reported OK: 100%
|
---|
| 301 | TESTDONE: 1368 tests were considered during 1207 seconds.
|
---|
| 302 | Tests were run similarly to 7.71.0, including impacket, but no stunnel.
|
---|
[85d14e15] | 303 | -->
|
---|
[f346a49] | 304 |
|
---|
[355495ce] | 305 | <para>
|
---|
| 306 | Now, as the <systemitem class="username">root</systemitem>
|
---|
| 307 | user:
|
---|
| 308 | </para>
|
---|
[dc775a26] | 309 |
|
---|
[874fec7f] | 310 | <screen role="root"><userinput>make install &&
|
---|
[5ee1266] | 311 |
|
---|
[b5969599] | 312 | rm -rf docs/examples/.deps &&
|
---|
| 313 |
|
---|
[e024fe4] | 314 | find docs \( -name Makefile\* -o -name \*.1 -o -name \*.3 \) -exec rm {} \; &&
|
---|
| 315 |
|
---|
[e4ca0af7] | 316 | install -v -d -m755 /usr/share/doc/curl-&curl-version; &&
|
---|
[d832a872] | 317 | cp -v -R docs/* /usr/share/doc/curl-&curl-version;</userinput></screen>
|
---|
[0c02dcb] | 318 |
|
---|
| 319 | <para>
|
---|
| 320 | Simple tests to the new installed <command>curl</command>:
|
---|
| 321 | <command>curl --trace-ascii debugdump.txt http://www.example.com/</command>
|
---|
| 322 | and
|
---|
| 323 | <command>curl --trace-ascii d.txt --trace-time http://example.com/</command>.
|
---|
| 324 | Inspect the locally created trace files <filename>debugdump.txt</filename>
|
---|
| 325 | and <filename>d.txt</filename>, which contain version downloaded
|
---|
| 326 | files information, etc. One file has the time for each action logged.
|
---|
| 327 | </para>
|
---|
[bf8ac01] | 328 | </sect2>
|
---|
[dc775a26] | 329 |
|
---|
[bf8ac01] | 330 | <sect2 role="commands">
|
---|
| 331 | <title>Command Explanations</title>
|
---|
[dc775a26] | 332 |
|
---|
[c627795] | 333 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 334 | href="../../xincludes/static-libraries.xml"/>
|
---|
[5ee1266] | 335 |
|
---|
[fdd7a91] | 336 | <para>
|
---|
| 337 | <parameter>--enable-threaded-resolver</parameter>: This switch enables
|
---|
| 338 | <application>cURL</application>'s builtin threaded DNS resolver.
|
---|
| 339 | </para>
|
---|
| 340 |
|
---|
[30b7db74] | 341 | <para>
|
---|
[038b4c75] | 342 | <parameter>--with-ca-path=/etc/ssl/certs</parameter>: This
|
---|
[2198a32] | 343 | switch sets the location of the BLFS Certificate Authority store.
|
---|
[30b7db74] | 344 | </para>
|
---|
| 345 |
|
---|
[355495ce] | 346 | <para>
|
---|
| 347 | <option>--with-gssapi</option>: This parameter adds
|
---|
| 348 | <application>Kerberos 5</application> support to
|
---|
| 349 | <filename class="libraryfile">libcurl</filename>.
|
---|
| 350 | </para>
|
---|
| 351 |
|
---|
| 352 | <para>
|
---|
| 353 | <option>--without-ssl --with-gnutls</option>: Use to
|
---|
| 354 | build with <application>GnuTLS</application> support
|
---|
| 355 | instead of <application>OpenSSL</application> for SSL/TLS.
|
---|
| 356 | </para>
|
---|
[b834dfc7] | 357 |
|
---|
[038b4c75] | 358 | <para>
|
---|
[5c3f3856] | 359 | <option>--with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt</option>: Use
|
---|
[038b4c75] | 360 | this switch instead of <parameter>--with-ca-path</parameter> if
|
---|
| 361 | building with <application>GnuTLS</application> support
|
---|
| 362 | instead of <application>OpenSSL</application> for SSL/TLS.
|
---|
| 363 | </para>
|
---|
| 364 |
|
---|
[7f6d672] | 365 | <para>
|
---|
[35c18794] | 366 | <option>--with-libssh2</option>: This paramater adds
|
---|
[7f6d672] | 367 | <application>SSH</application> support to cURL. This is disabled
|
---|
| 368 | by default.
|
---|
| 369 | </para>
|
---|
| 370 |
|
---|
[a4b38ab] | 371 | <para>
|
---|
| 372 | <option>--enable-ares</option>: This paramater adds
|
---|
| 373 | support for DNS resolution through the c-ares library. It is disabled
|
---|
| 374 | by default, but does speed up DNS resolution queries.
|
---|
| 375 | </para>
|
---|
| 376 |
|
---|
[355495ce] | 377 | <para>
|
---|
[5ee1266] | 378 | <command>find docs ... -exec rm {} \;</command>: This command removes
|
---|
[355495ce] | 379 | <filename>Makefiles</filename> and man files from the documentation
|
---|
[4949bda0] | 380 | directory that would otherwise be installed by the commands that follow.
|
---|
[355495ce] | 381 | </para>
|
---|
[32a8ca3] | 382 |
|
---|
[bf8ac01] | 383 | </sect2>
|
---|
[dc775a26] | 384 |
|
---|
[bf8ac01] | 385 | <sect2 role="content">
|
---|
| 386 | <title>Contents</title>
|
---|
[dc775a26] | 387 |
|
---|
[bf8ac01] | 388 | <segmentedlist>
|
---|
| 389 | <segtitle>Installed Programs</segtitle>
|
---|
| 390 | <segtitle>Installed Library</segtitle>
|
---|
| 391 | <segtitle>Installed Directories</segtitle>
|
---|
[dc775a26] | 392 |
|
---|
[bf8ac01] | 393 | <seglistitem>
|
---|
[355495ce] | 394 | <seg>
|
---|
[c18fd2e6] | 395 | curl and curl-config
|
---|
[355495ce] | 396 | </seg>
|
---|
| 397 | <seg>
|
---|
| 398 | libcurl.so
|
---|
| 399 | </seg>
|
---|
| 400 | <seg>
|
---|
| 401 | /usr/include/curl and
|
---|
| 402 | /usr/share/doc/curl-&curl-version;
|
---|
| 403 | </seg>
|
---|
[bf8ac01] | 404 | </seglistitem>
|
---|
| 405 | </segmentedlist>
|
---|
[dc775a26] | 406 |
|
---|
[bf8ac01] | 407 | <variablelist>
|
---|
| 408 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 409 | <?dbfo list-presentation="list"?>
|
---|
| 410 | <?dbhtml list-presentation="table"?>
|
---|
[dc775a26] | 411 |
|
---|
[bf8ac01] | 412 | <varlistentry id="curl-prog">
|
---|
| 413 | <term><command>curl</command></term>
|
---|
| 414 | <listitem>
|
---|
[355495ce] | 415 | <para>
|
---|
| 416 | is a command line tool for transferring files with URL syntax.
|
---|
[32a8ca3] | 417 | </para>
|
---|
[bf8ac01] | 418 | <indexterm zone="curl curl-prog">
|
---|
| 419 | <primary sortas="b-curl">curl</primary>
|
---|
| 420 | </indexterm>
|
---|
| 421 | </listitem>
|
---|
| 422 | </varlistentry>
|
---|
[dc775a26] | 423 |
|
---|
[bf8ac01] | 424 | <varlistentry id="curl-config">
|
---|
| 425 | <term><command>curl-config</command></term>
|
---|
| 426 | <listitem>
|
---|
[355495ce] | 427 | <para>
|
---|
| 428 | prints information about the last compile, like libraries
|
---|
| 429 | linked to and prefix setting.
|
---|
| 430 | </para>
|
---|
[bf8ac01] | 431 | <indexterm zone="curl curl-config">
|
---|
| 432 | <primary sortas="b-curl-config">curl-config</primary>
|
---|
| 433 | </indexterm>
|
---|
| 434 | </listitem>
|
---|
| 435 | </varlistentry>
|
---|
[dc775a26] | 436 |
|
---|
[bf8ac01] | 437 | <varlistentry id="libcurl">
|
---|
[874fec7f] | 438 | <term><filename class="libraryfile">libcurl.so</filename></term>
|
---|
[bf8ac01] | 439 | <listitem>
|
---|
[355495ce] | 440 | <para>
|
---|
| 441 | provides the API functions required by
|
---|
| 442 | <command>curl</command> and other programs.
|
---|
| 443 | </para>
|
---|
[bf8ac01] | 444 | <indexterm zone="curl libcurl">
|
---|
[874fec7f] | 445 | <primary sortas="c-libcurl">libcurl.so</primary>
|
---|
[bf8ac01] | 446 | </indexterm>
|
---|
| 447 | </listitem>
|
---|
| 448 | </varlistentry>
|
---|
[355495ce] | 449 |
|
---|
[bf8ac01] | 450 | </variablelist>
|
---|
[355495ce] | 451 |
|
---|
[bf8ac01] | 452 | </sect2>
|
---|
[355495ce] | 453 |
|
---|
[f45b1953] | 454 | </sect1>
|
---|