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