[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 " ">
|
---|
[3b3b59f] | 9 | <!ENTITY curl-md5sum "2fc6cf5cefa8b73e3826aa24befdccff">
|
---|
[9c85c9a] | 10 | <!ENTITY curl-size "2.5 MB">
|
---|
[3b3b59f] | 11 | <!ENTITY curl-buildsize "46 MB (add 19 MB for tests)">
|
---|
| 12 | <!ENTITY curl-time "0.3 SBU (with parallelism=4; add 15 SBU for tests (without valgrind, add 36 SBU with valgrind)">
|
---|
[a2d8572] | 13 | ]>
|
---|
| 14 |
|
---|
[377584f] | 15 | <sect1 id="curl" xreflabel="cURL-&curl-version;">
|
---|
[bf8ac01] | 16 | <?dbhtml filename="curl.html"?>
|
---|
[dc775a26] | 17 |
|
---|
| 18 |
|
---|
[3e89149] | 19 | <title>cURL-&curl-version;</title>
|
---|
[dc775a26] | 20 |
|
---|
[bf8ac01] | 21 | <indexterm zone="curl">
|
---|
[3e89149] | 22 | <primary sortas="a-cURL">cURL</primary>
|
---|
[bf8ac01] | 23 | </indexterm>
|
---|
[dc775a26] | 24 |
|
---|
[bf8ac01] | 25 | <sect2 role="package">
|
---|
[3e89149] | 26 | <title>Introduction to cURL</title>
|
---|
[dc775a26] | 27 |
|
---|
[355495ce] | 28 | <para>
|
---|
[587dc526] | 29 | The <application>cURL</application> package contains an utility
|
---|
[ea21196] | 30 | and a library used for transferring files with URL syntax to any of
|
---|
[d608866] | 31 | the following protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP,
|
---|
| 32 | HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTSP, SMB, SMBS,
|
---|
| 33 | SMTP, SMPTS, TELNET, and TFTP. Its ability to both download
|
---|
[ea21196] | 34 | and upload files can be incorporated into other programs to support
|
---|
| 35 | functions like streaming media.
|
---|
[355495ce] | 36 | </para>
|
---|
[dc775a26] | 37 |
|
---|
[ed345e7] | 38 | &lfs120_checked;
|
---|
[2b8421c] | 39 |
|
---|
[bf8ac01] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
[874fec7f] | 41 | <itemizedlist spacing="compact">
|
---|
[bf8ac01] | 42 | <listitem>
|
---|
[355495ce] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&curl-download-http;"/>
|
---|
| 45 | </para>
|
---|
[bf8ac01] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[355495ce] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&curl-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[bf8ac01] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[355495ce] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &curl-md5sum;
|
---|
| 55 | </para>
|
---|
[bf8ac01] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[355495ce] | 58 | <para>
|
---|
| 59 | Download size: &curl-size;
|
---|
| 60 | </para>
|
---|
[bf8ac01] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[355495ce] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &curl-buildsize;
|
---|
| 65 | </para>
|
---|
[bf8ac01] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[355495ce] | 68 | <para>
|
---|
| 69 | Estimated build time: &curl-time;
|
---|
| 70 | </para>
|
---|
[bf8ac01] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
[55e4a54] | 73 | <!--
|
---|
[f9cf8463] | 74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 75 | <itemizedlist spacing="compact">
|
---|
| 76 | <listitem>
|
---|
| 77 | <para>
|
---|
| 78 | Required patch:
|
---|
| 79 | <ulink url="&patch-root;/curl-&curl-version;-function_naming-1.patch"/>
|
---|
| 80 | </para>
|
---|
| 81 | </listitem>
|
---|
| 82 | </itemizedlist>
|
---|
[55e4a54] | 83 | -->
|
---|
[f9cf8463] | 84 |
|
---|
[3e89149] | 85 | <bridgehead renderas="sect3">cURL Dependencies</bridgehead>
|
---|
[dc775a26] | 86 |
|
---|
[355495ce] | 87 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 88 | <para role="recommended">
|
---|
[8558044] | 89 | <xref role="runtime" linkend="make-ca"/> (runtime)
|
---|
[355495ce] | 90 | </para>
|
---|
| 91 |
|
---|
[bf8ac01] | 92 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[355495ce] | 93 | <para role="optional">
|
---|
[47d5a9e5] | 94 | <xref linkend="brotli"/>,
|
---|
[4464d405] | 95 | <xref linkend="c-ares"/>,
|
---|
[2eb903f] | 96 | <xref linkend="gnutls"/>,
|
---|
[531f138] | 97 | <xref linkend="libidn2"/>,
|
---|
[1ad3510e] | 98 | <xref linkend="libpsl"/>,
|
---|
[fee79e2] | 99 | <xref linkend="libssh2"/>,
|
---|
[355495ce] | 100 | <xref linkend="mitkrb"/>,
|
---|
[0c702b61] | 101 | <xref linkend="nghttp2"/>,
|
---|
[fad8db2] | 102 | <xref linkend="openldap"/>,
|
---|
[2b4a33b] | 103 | <!-- cURL implements the SMB client with own code. Samba is only
|
---|
| 104 | used for /usr/bin/ntlm_auth helper. The path is correctly
|
---|
| 105 | guessed even if Samba is not installed, so "runtime". -->
|
---|
| 106 | <xref role='runtime' linkend="samba"/>
|
---|
| 107 | (runtime, for NTLM authentication),
|
---|
[0fc5bfd7] | 108 | <ulink url="https://www.gnu.org/software/gsasl/">gsasl</ulink>,
|
---|
[84fe2e9] | 109 | <ulink url="https://www.secureauth.com/labs/open-source-tools/impacket/">impacket</ulink>,
|
---|
[fad8db2] | 110 | <ulink url="https://launchpad.net/libmetalink/">libmetalink</ulink>,
|
---|
[75e3e09] | 111 | <ulink url="https://rtmpdump.mplayerhq.hu/">librtmp</ulink>,
|
---|
[8558044] | 112 | <ulink url="https://github.com/ngtcp2/ngtcp2/">ngtcp2</ulink>,
|
---|
[a4b38ab] | 113 | <!--<ulink url="https://tls.mbed.org/">mbed TLS</ulink> (formerly known as
|
---|
| 114 | PolarSSL), and -->
|
---|
| 115 | <!-- mbedTLS/PolarSSL support was removed in 7.65.1 -->
|
---|
[6d05912] | 116 | <ulink url="https://github.com/cloudflare/quiche">quiche</ulink>, and
|
---|
[17aa21c] | 117 | <ulink url="https://spnego.sourceforge.net/">SPNEGO</ulink>
|
---|
[355495ce] | 118 | </para>
|
---|
| 119 |
|
---|
[d714f22] | 120 | <bridgehead renderas="sect4">Optional if Running the Test Suite</bridgehead>
|
---|
[355495ce] | 121 | <para role="optional">
|
---|
[d714f22] | 122 | <!-- stunnel is still listed in the docs as required, but 7.58.0
|
---|
| 123 | tests completed happily without it, although the test for unit1323
|
---|
| 124 | reported that the tool set in the test case does not exist - ken -->
|
---|
[a63158d] | 125 | <xref linkend="apache"/> and
|
---|
[1f0e7ec] | 126 | <xref linkend="stunnel"/> (for the HTTPS and FTPS tests), and
|
---|
[1ad3510e] | 127 | <xref linkend="valgrind"/> (this will slow the tests down and may cause failures.)
|
---|
[355495ce] | 128 | </para>
|
---|
[c5e7d76] | 129 |
|
---|
[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>.
|
---|
[0516cd2] | 177 | <!--Four tests, 1139, 1140, 1173, and 1177, are known to fail due to
|
---|
| 178 | missing executables from the optional dependencies.-->
|
---|
[2b4a33b] | 179 | The tests related to the SMB protocol will output a message
|
---|
[10428aa] | 180 | duplicated many times complaining the Python module impacket (not a
|
---|
[2347983d] | 181 | part of BLFS) is missing and will be skipped.
|
---|
| 182 | Some tests are flaky, so if some tests have failed it's possible to
|
---|
| 183 | run a test again with: <command>(cd tests; ./runtests.pl
|
---|
| 184 | <replaceable><test ID></replaceable>)</command> (the ID of
|
---|
| 185 | failed tests are shown in the <quote><computeroutput>These test cases
|
---|
| 186 | failed:</computeroutput></quote> message).
|
---|
[6666fad] | 187 | </para>
|
---|
| 188 | <!-- Two (of 857) tests
|
---|
| 189 | fail for unknown reasons, and all tests fail is valgrind is installed. Moving
|
---|
| 190 | valgrind out of $PATH is recommended if you wish to run the test suite while
|
---|
[8558044] | 191 | it is installed.
|
---|
[6666fad] | 192 |
|
---|
[c18fd2e6] | 193 | Added by Pierre for curl-7.59.0:
|
---|
| 194 | no stunnel, no valgrind, no options
|
---|
| 195 | Warning: smb server unexpectedly alive
|
---|
| 196 | Warning: dict server unexpectedly alive
|
---|
| 197 | TESTDONE: 950 tests out of 951 reported OK: 99%
|
---|
[8558044] | 198 | TESTFAIL: These test cases failed: 1148
|
---|
[c18fd2e6] | 199 | TESTDONE: 1189 tests were considered during 362 seconds.
|
---|
| 200 | __________
|
---|
| 201 |
|
---|
[d714f22] | 202 | if stunnel and valgrind are not installed, and also most options
|
---|
| 203 | (I had rtmpdump), the tests complete without problems.
|
---|
| 204 | Warning: smb server unexpectedly alive
|
---|
| 205 | Warning: dict server unexpectedly alive
|
---|
| 206 | TESTDONE: 938 tests out of 938 reported OK: 100%
|
---|
| 207 | TESTDONE: 1175 tests were considered during 355 seconds.
|
---|
| 208 | and no. I don't have smb - so commenting the rest of this:
|
---|
[8558044] | 209 | To run the test suite, issue: <command>make test</command>. Many tests
|
---|
[e024fe4] | 210 | may fail that depend on optional dependencies that may not be installed
|
---|
[8558044] | 211 | or upstream servers that may not be available, especially for tests
|
---|
[e024fe4] | 212 | numbered 700 and above.
|
---|
[8558044] | 213 | Test time may be significantly increase due to hanging tests that fail.
|
---|
[85d14e15] | 214 | __________
|
---|
| 215 | Added by Bruce for curl-7.60.0:
|
---|
| 216 | TESTDONE: 957 tests out of 959 reported OK: 99%
|
---|
[8558044] | 217 | TESTFAIL: These test cases failed: 1139 1140
|
---|
[85d14e15] | 218 | TESTDONE: 1196 tests were considered during 1184 seconds.
|
---|
| 219 | From the logs, both appear to be ipv6 releated.
|
---|
[7549592] | 220 |
|
---|
| 221 | ==========
|
---|
| 222 | Added by Douglas for curl-7.61.0:
|
---|
| 223 | TESTDONE: 961 tests out of 961 reported OK: 100%
|
---|
| 224 | TESTDONE: 1202 tests were considered during 338 seconds.
|
---|
| 225 | I only have c-ares and libidn2 installed, I will likely try before release
|
---|
| 226 | with all optional dependencies in the book installed.
|
---|
[5a66d6ac] | 227 |
|
---|
| 228 | =========
|
---|
| 229 | 7.61.1 NOTE: The test suite is extremely noisy, complaining about verification errors.
|
---|
| 230 | It's possible this is due to openssl-1.1.1, BUT 79/79 tests report as 100% OK. I had
|
---|
| 231 | c-ares, libpsl, and libidn1/2 installed. - Doug
|
---|
[7a05ab42] | 232 |
|
---|
| 233 | ========
|
---|
| 234 | 7.62.0: All tests passed. libpsl, c-ares, libssh2, libidn2 installed.
|
---|
| 235 | All 1098 tests report OK.
|
---|
[7f6d672] | 236 |
|
---|
| 237 | =======
|
---|
| 238 | Added by Douglas for curl-7.64.0:
|
---|
| 239 | TESTDONE: 1022 tests out of 1023 reported OK: 99%
|
---|
| 240 | TESTFAIL: These tests cases failed: 323
|
---|
| 241 | TESTDONE: 1235 tests were considered during 1279 seconds.
|
---|
| 242 | For dependencies, I had c-ares, gnutls, libidn2, libpsl, krb5, libssh2, nghttp2,
|
---|
| 243 | OpenLDAP, Samba, stunnel, and Valgrind installed.
|
---|
[731bf37a] | 244 | =======
|
---|
| 245 | Added by bdubbs for curl-7.64.1:
|
---|
| 246 | TESTDONE: 1022 tests out of 1025 reported OK: 99%
|
---|
| 247 | TESTFAIL: These test cases failed: 323 1139 1140
|
---|
| 248 | TESTDONE: 1242 tests were considered during 1483 seconds
|
---|
[a4b38ab] | 249 |
|
---|
| 250 | =======
|
---|
| 251 | Added by renodr for curl-7.65.1:
|
---|
| 252 | TESTDONE: 996 tests out of 997 reported OK: 99%
|
---|
| 253 | TESTFAIL: These test cases failed: 1560
|
---|
| 254 | TESTDONE: 1249 tests were considered during 1091 seconds.
|
---|
[03790ef] | 255 | All dependencies except for externals installed.
|
---|
| 256 | =======
|
---|
| 257 | Added by bdubbs for curl-7.65.2:
|
---|
| 258 | TESTDONE: 1034 tests out of 1036 reported OK: 99%
|
---|
| 259 | TESTFAIL: These test cases failed: 323 1560
|
---|
| 260 | TESTDONE: 1254 tests were considered during 1362 seconds.
|
---|
| 261 | Time above does not include test build time.
|
---|
[a4b38ab] | 262 | All dependencies except for externals installed.
|
---|
[6666fad] | 263 | =======
|
---|
| 264 | Added by bdubbs for curl-7.65.3:
|
---|
| 265 | TESTDONE: 1031 tests out of 1036 reported OK: 99%
|
---|
| 266 | TESTFAIL: These test cases failed: 323 1139 1140 1173 1560
|
---|
| 267 | TESTDONE: 1254 tests were considered during 1364 seconds.
|
---|
| 268 |
|
---|
[8558044] | 269 | The tests that fail seem to be somewhat random. What happened between
|
---|
[6666fad] | 270 | yesterday and today that that tests 1139 1140 1173 now fail?
|
---|
| 271 |
|
---|
[4f09d49] | 272 | =======
|
---|
| 273 | Added by bdubbs for curl-7.68.0:
|
---|
| 274 | TESTDONE: 1066 tests out of 1071 reported OK: 99%
|
---|
| 275 | TESTFAIL: These test cases failed: 323 1139 1140 1173 1560
|
---|
| 276 | TESTDONE: 1290 tests were considered during 1515 seconds.
|
---|
| 277 |
|
---|
[b115946] | 278 | =======
|
---|
| 279 | Added by bdubbs for curl-7.69.0:
|
---|
| 280 | TESTDONE: 074 tests out of 1079 reported OK: 99%
|
---|
| 281 | TESTFAIL: These test cases failed: 323 1139 1140 1173 1560
|
---|
| 282 | TESTDONE: 1320 tests were considered during 1514 seconds.
|
---|
| 283 |
|
---|
[83f8954] | 284 | For curl-7.69.1, 1082 tests out of 1086 reported OK. 1560 now passes.
|
---|
| 285 | 1330 tests were considered during 1528 seconds.
|
---|
| 286 |
|
---|
[84fe2e9] | 287 | ======
|
---|
| 288 | Added by renodr for curl-7.70.0:
|
---|
| 289 | TESTDONE: 1062 tests out of 1062 reported OK: 100%
|
---|
| 290 | TESTDONE: 1352 tests were considered during 1218 seconds.
|
---|
| 291 | Tests were ran with all dependencies present except for stunnel.
|
---|
| 292 | impacket only seems to add one extra test to the mix as well.
|
---|
[6d05912] | 293 |
|
---|
| 294 | ======
|
---|
| 295 | Added by renodr for curl-7.71.0:
|
---|
| 296 | TESTDONE: 1072 tests out of 1072 reported OK: 100%
|
---|
| 297 | TESTDONE: 1364 tests were considered during 1202 seconds.
|
---|
| 298 | Tests were run similarly to 7.70.0 - all deps except for stunnel.
|
---|
[e3a68e4] | 299 |
|
---|
| 300 | ======
|
---|
| 301 | Added by renodr for curl-7.71.1:
|
---|
| 302 | TESTDONE: 1076 tests out of 1076 reported OK: 100%
|
---|
| 303 | TESTDONE: 1368 tests were considered during 1207 seconds.
|
---|
| 304 | Tests were run similarly to 7.71.0, including impacket, but no stunnel.
|
---|
[365c6fb] | 305 |
|
---|
| 306 | ======
|
---|
| 307 | Added by renodr for curl-7.72.0:
|
---|
| 308 | TESTDONE: 1094 tests out of 1097 reported OK: 99%
|
---|
[8558044] | 309 | TESTFAIL: These test cases failed: 1700 1701 1702
|
---|
[365c6fb] | 310 | TESTDONE: 1374 tests were considered during 1285 seconds.
|
---|
| 311 | Tests have all BLFS dependencies with the exception of stunnel;
|
---|
| 312 | and the optional impacket python module was installed.
|
---|
| 313 | Tests seem to be failing due to a missing 'nghttpx' executable
|
---|
| 314 | used to start a test server.
|
---|
[14726fe] | 315 |
|
---|
| 316 | ======
|
---|
| 317 | Added by renodr for curl-7.73.0:
|
---|
| 318 | TESTDONE: 1121 tests out of 1121 reported OK: 100%
|
---|
| 319 | TESTDONE: 1387 tests were considered during 1303 seconds.
|
---|
| 320 | Tests have all BLFS dependencies installed with the exception of stunnel,
|
---|
| 321 | as well as the optional impacket installed.
|
---|
[21d18f7e] | 322 |
|
---|
| 323 | ======
|
---|
| 324 | Added by renodr for curl-7.74.0:
|
---|
| 325 | TESTDONE: 1119 tests out of 1119 reported OK: 100%
|
---|
| 326 | TESTDONE: 1388 tests were considered during 1370 seconds.
|
---|
| 327 | Tests have all BLFS dependencies installed, as well as impacket.
|
---|
| 328 | stunnel not installed.
|
---|
[284be226] | 329 |
|
---|
| 330 | ======
|
---|
| 331 | Added by bdubbs for curl-7.79.0:
|
---|
| 332 | TESTDONE: 1432 tests were considered during 1543 seconds.
|
---|
| 333 | TESTDONE: 1208 tests out of 1212 reported OK: 99%
|
---|
| 334 |
|
---|
| 335 | Tests have all BLFS dependencies installed but without impacket.
|
---|
[fb25573] | 336 |
|
---|
| 337 | ======
|
---|
| 338 | Added by plabs for curl-7.79.1:
|
---|
| 339 | TESTDONE: 1434 tests were considered during 1652 seconds.
|
---|
| 340 | TESTDONE: 1171 tests out of 1171 reported OK: 100%
|
---|
| 341 | Tests have all BLFS dependencies installed except stunnel but without impacket.
|
---|
[e1155db] | 342 | ====
|
---|
| 343 | bdubbs curl-7.83.0 2022-04-28
|
---|
| 344 | TESTDONE: 1497 tests were considered during 1666 seconds.
|
---|
| 345 | TESTDONE: 1252 tests out of 1256 reported OK: 99%
|
---|
| 346 | TESTFAIL: These test cases failed: 1139 1140 1173 1177
|
---|
[10428aa] | 347 | ====
|
---|
[2cb4b95] | 348 | Added by xry111 for curl-7.85.0 on 2022-09-01:
|
---|
[10428aa] | 349 | With:
|
---|
| 350 | all BLFS dependencies but stunnel installed
|
---|
[2cb4b95] | 351 | libssh2-2.10.0 patched with libssh2-1.10.0-upstream_fix-1.patch
|
---|
[10428aa] | 352 | with-{gssapi,libssh2} enable-threaded-resolver
|
---|
| 353 | TESTDONE: 1520 tests were considered during 508 seconds.
|
---|
| 354 | TESTDONE: 1327 tests out of 1328 reported OK: 99%
|
---|
| 355 | TESTFAIL: These test cases failed: 1459
|
---|
| 356 | It is a SCP test for bad .known_hosts file and fails because of a mismatch
|
---|
| 357 | of error codes, I don't think it indicated a serious issue.
|
---|
[d608866] | 358 | [renodr] - Test results for 7.85.0 (2022-09-03), no libssh2 enabled or gssapi
|
---|
| 359 | TESTDONE: 1528 tests were considered during 2041 seconds.
|
---|
| 360 | TESTDONE: 1326 tests out of 1326 reported OK: 100%
|
---|
[0516cd2] | 361 |
|
---|
| 362 | [renodr] - Test results for 7.87.0 (2022-12-30)
|
---|
| 363 | TESTDONE: 1559 tests were considered during 2112 seconds.
|
---|
| 364 | TESTDONE: 1342 tests out of 1342 reported OK: 100%
|
---|
| 365 | libssh2 installed and enabled
|
---|
[1f0e7ec] | 366 |
|
---|
| 367 | [renodr] - Test results for 8.0.1 (2023-03-27)
|
---|
| 368 | TESTDONE: 1593 tests were considered during 4761 seconds.
|
---|
| 369 | TESTDONE: 1356 tests out of 1356 reported OK: 100%
|
---|
| 370 | All BLFS dependencies installed.
|
---|
| 371 | Note that if I move /usr/bin/valgrind to a place where it can't be found, I get
|
---|
| 372 | TESTDONE: 1593 tests were considered during 595 seconds.
|
---|
| 373 | TESTDONE: 1356 tests out of 1356 reported OK: 100%
|
---|
| 374 | It appears that every test is now run under valgrind.
|
---|
[f2232252] | 375 |
|
---|
| 376 | [renodr] - Test results for 8.2.1 (2023-07-26)
|
---|
| 377 | TESTDONE: 1611 tests were considered during 2129 seconds.
|
---|
| 378 | TESTDONE: 1369 tests out of 1369 reported OK: 100%
|
---|
| 379 | All BLFS dependencies installed, and run under valgrind.
|
---|
[3b3b59f] | 380 |
|
---|
| 381 | [renodr] - Test results for 8.3.0 (2023-09-14)
|
---|
| 382 | TESTDONE: 1635 tests were considered during 4068 seconds.
|
---|
| 383 | TESTDONE: 1386 tests out of 1387 reported OK: 99%
|
---|
| 384 | TESTFAIL: These test cases failed: 1474
|
---|
| 385 | All BLFS dependencies installed, and run under valgrind. Test 1474 is flaky.
|
---|
[85d14e15] | 386 | -->
|
---|
[f346a49] | 387 |
|
---|
[355495ce] | 388 | <para>
|
---|
| 389 | Now, as the <systemitem class="username">root</systemitem>
|
---|
| 390 | user:
|
---|
| 391 | </para>
|
---|
[dc775a26] | 392 |
|
---|
[874fec7f] | 393 | <screen role="root"><userinput>make install &&
|
---|
[5ee1266] | 394 |
|
---|
[b5969599] | 395 | rm -rf docs/examples/.deps &&
|
---|
| 396 |
|
---|
[a752ca7] | 397 | find docs \( -name Makefile\* -o \
|
---|
| 398 | -name \*.1 -o \
|
---|
| 399 | -name \*.3 -o \
|
---|
| 400 | -name CMakeLists.txt \) -delete &&
|
---|
[e024fe4] | 401 |
|
---|
[a752ca7] | 402 | cp -v -R docs -T /usr/share/doc/curl-&curl-version;</userinput></screen>
|
---|
[0c02dcb] | 403 |
|
---|
| 404 | <para>
|
---|
[1f0e7ec] | 405 | To run some simple verification tests on the newly installed
|
---|
| 406 | <command>curl</command>, issue the following commands:
|
---|
[75e3e09] | 407 | <command>curl --trace-ascii debugdump.txt https://www.example.com/</command>
|
---|
[0c02dcb] | 408 | and
|
---|
[75e3e09] | 409 | <command>curl --trace-ascii d.txt --trace-time https://example.com/</command>.
|
---|
[0c02dcb] | 410 | Inspect the locally created trace files <filename>debugdump.txt</filename>
|
---|
[1f0e7ec] | 411 | and <filename>d.txt</filename>, which contains version information,
|
---|
| 412 | downloaded files information, etc. One file has the time for each action logged.
|
---|
[0c02dcb] | 413 | </para>
|
---|
[bf8ac01] | 414 | </sect2>
|
---|
[dc775a26] | 415 |
|
---|
[bf8ac01] | 416 | <sect2 role="commands">
|
---|
| 417 | <title>Command Explanations</title>
|
---|
[dc775a26] | 418 |
|
---|
[c627795] | 419 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 420 | href="../../xincludes/static-libraries.xml"/>
|
---|
[5ee1266] | 421 |
|
---|
[fdd7a91] | 422 | <para>
|
---|
| 423 | <parameter>--enable-threaded-resolver</parameter>: This switch enables
|
---|
| 424 | <application>cURL</application>'s builtin threaded DNS resolver.
|
---|
| 425 | </para>
|
---|
| 426 |
|
---|
[30b7db74] | 427 | <para>
|
---|
[038b4c75] | 428 | <parameter>--with-ca-path=/etc/ssl/certs</parameter>: This
|
---|
[2198a32] | 429 | switch sets the location of the BLFS Certificate Authority store.
|
---|
[30b7db74] | 430 | </para>
|
---|
| 431 |
|
---|
[42d1ab6] | 432 | <para>
|
---|
[a62f518] | 433 | <parameter>--with-openssl</parameter>: This parameter chooses
|
---|
[3026cde] | 434 | <application>OpenSSL</application> as SSL/TLS implementation.
|
---|
| 435 | This seems mandatory now.
|
---|
[42d1ab6] | 436 | </para>
|
---|
| 437 |
|
---|
[355495ce] | 438 | <para>
|
---|
| 439 | <option>--with-gssapi</option>: This parameter adds
|
---|
| 440 | <application>Kerberos 5</application> support to
|
---|
| 441 | <filename class="libraryfile">libcurl</filename>.
|
---|
| 442 | </para>
|
---|
| 443 |
|
---|
| 444 | <para>
|
---|
[3b3b59f] | 445 | <option>--without-ssl --with-gnutls</option>: Use this switch to
|
---|
[355495ce] | 446 | build with <application>GnuTLS</application> support
|
---|
| 447 | instead of <application>OpenSSL</application> for SSL/TLS.
|
---|
| 448 | </para>
|
---|
[b834dfc7] | 449 |
|
---|
[038b4c75] | 450 | <para>
|
---|
[5c3f3856] | 451 | <option>--with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt</option>: Use
|
---|
[038b4c75] | 452 | this switch instead of <parameter>--with-ca-path</parameter> if
|
---|
| 453 | building with <application>GnuTLS</application> support
|
---|
| 454 | instead of <application>OpenSSL</application> for SSL/TLS.
|
---|
| 455 | </para>
|
---|
| 456 |
|
---|
[7f6d672] | 457 | <para>
|
---|
[a62f518] | 458 | <option>--with-libssh2</option>: This parameter adds
|
---|
[7f6d672] | 459 | <application>SSH</application> support to cURL. This is disabled
|
---|
| 460 | by default.
|
---|
| 461 | </para>
|
---|
| 462 |
|
---|
[a4b38ab] | 463 | <para>
|
---|
[a62f518] | 464 | <option>--enable-ares</option>: This parameter adds
|
---|
[10428aa] | 465 | support for DNS resolution through the c-ares library. It overrides
|
---|
| 466 | <parameter>--enable-threaded-resolver</parameter> and is not widely
|
---|
| 467 | tested by the editors.
|
---|
[a4b38ab] | 468 | </para>
|
---|
| 469 |
|
---|
[355495ce] | 470 | <para>
|
---|
[5ee1266] | 471 | <command>find docs ... -exec rm {} \;</command>: This command removes
|
---|
[355495ce] | 472 | <filename>Makefiles</filename> and man files from the documentation
|
---|
[4949bda0] | 473 | directory that would otherwise be installed by the commands that follow.
|
---|
[355495ce] | 474 | </para>
|
---|
[32a8ca3] | 475 |
|
---|
[bf8ac01] | 476 | </sect2>
|
---|
[dc775a26] | 477 |
|
---|
[bf8ac01] | 478 | <sect2 role="content">
|
---|
| 479 | <title>Contents</title>
|
---|
[dc775a26] | 480 |
|
---|
[bf8ac01] | 481 | <segmentedlist>
|
---|
| 482 | <segtitle>Installed Programs</segtitle>
|
---|
| 483 | <segtitle>Installed Library</segtitle>
|
---|
| 484 | <segtitle>Installed Directories</segtitle>
|
---|
[dc775a26] | 485 |
|
---|
[bf8ac01] | 486 | <seglistitem>
|
---|
[355495ce] | 487 | <seg>
|
---|
[c18fd2e6] | 488 | curl and curl-config
|
---|
[355495ce] | 489 | </seg>
|
---|
| 490 | <seg>
|
---|
| 491 | libcurl.so
|
---|
| 492 | </seg>
|
---|
| 493 | <seg>
|
---|
| 494 | /usr/include/curl and
|
---|
| 495 | /usr/share/doc/curl-&curl-version;
|
---|
| 496 | </seg>
|
---|
[bf8ac01] | 497 | </seglistitem>
|
---|
| 498 | </segmentedlist>
|
---|
[dc775a26] | 499 |
|
---|
[bf8ac01] | 500 | <variablelist>
|
---|
| 501 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 502 | <?dbfo list-presentation="list"?>
|
---|
| 503 | <?dbhtml list-presentation="table"?>
|
---|
[dc775a26] | 504 |
|
---|
[bf8ac01] | 505 | <varlistentry id="curl-prog">
|
---|
| 506 | <term><command>curl</command></term>
|
---|
| 507 | <listitem>
|
---|
[355495ce] | 508 | <para>
|
---|
[4c24eb0a] | 509 | is a command line tool for transferring files with URL syntax
|
---|
[32a8ca3] | 510 | </para>
|
---|
[bf8ac01] | 511 | <indexterm zone="curl curl-prog">
|
---|
| 512 | <primary sortas="b-curl">curl</primary>
|
---|
| 513 | </indexterm>
|
---|
| 514 | </listitem>
|
---|
| 515 | </varlistentry>
|
---|
[dc775a26] | 516 |
|
---|
[bf8ac01] | 517 | <varlistentry id="curl-config">
|
---|
| 518 | <term><command>curl-config</command></term>
|
---|
| 519 | <listitem>
|
---|
[355495ce] | 520 | <para>
|
---|
| 521 | prints information about the last compile, like libraries
|
---|
[4c24eb0a] | 522 | linked to and prefix setting
|
---|
[355495ce] | 523 | </para>
|
---|
[bf8ac01] | 524 | <indexterm zone="curl curl-config">
|
---|
| 525 | <primary sortas="b-curl-config">curl-config</primary>
|
---|
| 526 | </indexterm>
|
---|
| 527 | </listitem>
|
---|
| 528 | </varlistentry>
|
---|
[dc775a26] | 529 |
|
---|
[bf8ac01] | 530 | <varlistentry id="libcurl">
|
---|
[874fec7f] | 531 | <term><filename class="libraryfile">libcurl.so</filename></term>
|
---|
[bf8ac01] | 532 | <listitem>
|
---|
[355495ce] | 533 | <para>
|
---|
| 534 | provides the API functions required by
|
---|
[4c24eb0a] | 535 | <command>curl</command> and other programs
|
---|
[355495ce] | 536 | </para>
|
---|
[bf8ac01] | 537 | <indexterm zone="curl libcurl">
|
---|
[874fec7f] | 538 | <primary sortas="c-libcurl">libcurl.so</primary>
|
---|
[bf8ac01] | 539 | </indexterm>
|
---|
| 540 | </listitem>
|
---|
| 541 | </varlistentry>
|
---|
[355495ce] | 542 |
|
---|
[bf8ac01] | 543 | </variablelist>
|
---|
[355495ce] | 544 |
|
---|
[bf8ac01] | 545 | </sect2>
|
---|
[355495ce] | 546 |
|
---|
[f45b1953] | 547 | </sect1>
|
---|