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