[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[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 " ">
|
---|
[6bd5fae] | 9 | <!ENTITY curl-md5sum "f4f37253c5f1ad9ee85fa6215fdfeb42">
|
---|
| 10 | <!ENTITY curl-size "2.6 MB">
|
---|
[1aa19207] | 11 | <!ENTITY curl-buildsize "42 MB (add 18 MB for tests)">
|
---|
| 12 | <!ENTITY curl-time "0.2 SBU (with parallelism=4; add 4.1 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 |
|
---|
[99c90fa] | 38 | &lfs121_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 |
|
---|
[7b231190] | 87 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 88 | <para role="recommended">
|
---|
[afb30af9] | 89 | <xref linkend="libpsl"/>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
[7b231190] | 92 | <note>
|
---|
| 93 | <para>
|
---|
| 94 | While there is an option to build the package without libpsl, both
|
---|
| 95 | the upstream developers and the BLFS editors alike highly recommend
|
---|
| 96 | not disabling support for libpsl due to severe security implications.
|
---|
| 97 | </para>
|
---|
| 98 | </note>
|
---|
| 99 |
|
---|
| 100 | <bridgehead renderas="sect4">Recommended at runtime</bridgehead>
|
---|
[355495ce] | 101 | <para role="recommended">
|
---|
[7b231190] | 102 | <xref role="runtime" linkend="make-ca"/>
|
---|
[355495ce] | 103 | </para>
|
---|
| 104 |
|
---|
[bf8ac01] | 105 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[355495ce] | 106 | <para role="optional">
|
---|
[47d5a9e5] | 107 | <xref linkend="brotli"/>,
|
---|
[4464d405] | 108 | <xref linkend="c-ares"/>,
|
---|
[2eb903f] | 109 | <xref linkend="gnutls"/>,
|
---|
[531f138] | 110 | <xref linkend="libidn2"/>,
|
---|
[fee79e2] | 111 | <xref linkend="libssh2"/>,
|
---|
[355495ce] | 112 | <xref linkend="mitkrb"/>,
|
---|
[0c702b61] | 113 | <xref linkend="nghttp2"/>,
|
---|
[fad8db2] | 114 | <xref linkend="openldap"/>,
|
---|
[2b4a33b] | 115 | <!-- cURL implements the SMB client with own code. Samba is only
|
---|
| 116 | used for /usr/bin/ntlm_auth helper. The path is correctly
|
---|
| 117 | guessed even if Samba is not installed, so "runtime". -->
|
---|
| 118 | <xref role='runtime' linkend="samba"/>
|
---|
| 119 | (runtime, for NTLM authentication),
|
---|
[0fc5bfd7] | 120 | <ulink url="https://www.gnu.org/software/gsasl/">gsasl</ulink>,
|
---|
[84fe2e9] | 121 | <ulink url="https://www.secureauth.com/labs/open-source-tools/impacket/">impacket</ulink>,
|
---|
[fad8db2] | 122 | <ulink url="https://launchpad.net/libmetalink/">libmetalink</ulink>,
|
---|
[75e3e09] | 123 | <ulink url="https://rtmpdump.mplayerhq.hu/">librtmp</ulink>,
|
---|
[8558044] | 124 | <ulink url="https://github.com/ngtcp2/ngtcp2/">ngtcp2</ulink>,
|
---|
[a4b38ab] | 125 | <!--<ulink url="https://tls.mbed.org/">mbed TLS</ulink> (formerly known as
|
---|
| 126 | PolarSSL), and -->
|
---|
| 127 | <!-- mbedTLS/PolarSSL support was removed in 7.65.1 -->
|
---|
[6d05912] | 128 | <ulink url="https://github.com/cloudflare/quiche">quiche</ulink>, and
|
---|
[17aa21c] | 129 | <ulink url="https://spnego.sourceforge.net/">SPNEGO</ulink>
|
---|
[355495ce] | 130 | </para>
|
---|
| 131 |
|
---|
[d714f22] | 132 | <bridgehead renderas="sect4">Optional if Running the Test Suite</bridgehead>
|
---|
[355495ce] | 133 | <para role="optional">
|
---|
[d714f22] | 134 | <!-- stunnel is still listed in the docs as required, but 7.58.0
|
---|
| 135 | tests completed happily without it, although the test for unit1323
|
---|
| 136 | reported that the tool set in the test case does not exist - ken -->
|
---|
[a63158d] | 137 | <xref linkend="apache"/> and
|
---|
[4f59c449] | 138 | <xref linkend="stunnel"/> (for the HTTPS and FTPS tests),
|
---|
| 139 | <xref linkend="openssh"/>, and
|
---|
[1ad3510e] | 140 | <xref linkend="valgrind"/> (this will slow the tests down and may cause failures.)
|
---|
[355495ce] | 141 | </para>
|
---|
[c5e7d76] | 142 |
|
---|
[bf8ac01] | 143 | </sect2>
|
---|
[dc775a26] | 144 |
|
---|
[bf8ac01] | 145 | <sect2 role="installation">
|
---|
[3e89149] | 146 | <title>Installation of cURL</title>
|
---|
[ebf49423] | 147 |
|
---|
[355495ce] | 148 | <para>
|
---|
| 149 | Install <application>cURL</application> by running the following
|
---|
| 150 | commands:
|
---|
| 151 | </para>
|
---|
[dc775a26] | 152 |
|
---|
[58d5000] | 153 | <screen><userinput>./configure --prefix=/usr \
|
---|
[30b7db74] | 154 | --disable-static \
|
---|
[42d1ab6] | 155 | --with-openssl \
|
---|
[30b7db74] | 156 | --enable-threaded-resolver \
|
---|
[038b4c75] | 157 | --with-ca-path=/etc/ssl/certs &&
|
---|
[bf8ac01] | 158 | make</userinput></screen>
|
---|
[dc775a26] | 159 |
|
---|
[8ffdb08] | 160 | <!--
|
---|
[58d5000] | 161 | For version 7.54.1 I got:
|
---|
| 162 | TESTDONE: 869 tests out of 869 reported OK: 100%
|
---|
| 163 | TESTDONE: 1092 tests were considered during 1080 seconds
|
---|
[8ffdb08] | 164 |
|
---|
| 165 | <para>
|
---|
[2ca3997] | 166 | Running the test suite is optional. About 2% of the tests fail. Increase
|
---|
| 167 | in test time by each failed test is about 10%. Tests SBU above was
|
---|
| 168 | obtained disabling failing tests, with:
|
---|
[355495ce] | 169 | </para>
|
---|
[bfc3945] | 170 |
|
---|
| 171 | 2017-10-29 - bdubbs
|
---|
| 172 | For version 7.56.1 I had a lot of test failures which included long
|
---|
| 173 | timeouts. Could not determine the cause of the timeouts or failures,
|
---|
| 174 | but I was missing c-ares, MIT Kerberos, ldap, samba, and the six
|
---|
| 175 | external packages.
|
---|
[e024fe4] | 176 |
|
---|
[8558044] | 177 | 2017-12-01 - bdubbs
|
---|
[e024fe4] | 178 | Still a lot of test failures. I did have c-ares, Kerberos, and ldap
|
---|
| 179 | installed this time. Best guess is that servers are not available.
|
---|
[7549592] | 180 |
|
---|
| 181 | 2018-08-01 - renodr
|
---|
| 182 | No test failures, but I didn't have any of the optional dependencies except
|
---|
| 183 | for c-ares and libidn2. I might re-run this test suite before release with
|
---|
| 184 | all of the optional deps, but right now, it isn't a priority - rather
|
---|
| 185 | the security fix is.
|
---|
[8ffdb08] | 186 | -->
|
---|
[ffa8c7f] | 187 |
|
---|
| 188 | <para>
|
---|
[8558044] | 189 | To run the test suite, issue: <command>make test</command>.
|
---|
[1aa19207] | 190 | <!--One test, <filename>1477</filename>, is known to fail due to
|
---|
| 191 | a missing file in the curl tarball.--> Some tests are flaky,
|
---|
[1bc4e7b3] | 192 | so if some tests have failed it's possible to
|
---|
[2347983d] | 193 | run a test again with: <command>(cd tests; ./runtests.pl
|
---|
| 194 | <replaceable><test ID></replaceable>)</command> (the ID of
|
---|
| 195 | failed tests are shown in the <quote><computeroutput>These test cases
|
---|
[afb30af9] | 196 | failed:</computeroutput></quote> message). If you run the tests after
|
---|
| 197 | the package has been installed, some tests may fail because the man
|
---|
| 198 | pages were deleted by the 'find' command in the installation instructions
|
---|
| 199 | below.
|
---|
[6666fad] | 200 | </para>
|
---|
| 201 | <!-- Two (of 857) tests
|
---|
| 202 | fail for unknown reasons, and all tests fail is valgrind is installed. Moving
|
---|
| 203 | valgrind out of $PATH is recommended if you wish to run the test suite while
|
---|
[8558044] | 204 | it is installed.
|
---|
[6666fad] | 205 |
|
---|
[c18fd2e6] | 206 | Added by Pierre for curl-7.59.0:
|
---|
| 207 | no stunnel, no valgrind, no options
|
---|
| 208 | Warning: smb server unexpectedly alive
|
---|
| 209 | Warning: dict server unexpectedly alive
|
---|
| 210 | TESTDONE: 950 tests out of 951 reported OK: 99%
|
---|
[8558044] | 211 | TESTFAIL: These test cases failed: 1148
|
---|
[c18fd2e6] | 212 | TESTDONE: 1189 tests were considered during 362 seconds.
|
---|
| 213 | __________
|
---|
| 214 |
|
---|
[d714f22] | 215 | if stunnel and valgrind are not installed, and also most options
|
---|
| 216 | (I had rtmpdump), the tests complete without problems.
|
---|
| 217 | Warning: smb server unexpectedly alive
|
---|
| 218 | Warning: dict server unexpectedly alive
|
---|
| 219 | TESTDONE: 938 tests out of 938 reported OK: 100%
|
---|
| 220 | TESTDONE: 1175 tests were considered during 355 seconds.
|
---|
| 221 | and no. I don't have smb - so commenting the rest of this:
|
---|
[8558044] | 222 | To run the test suite, issue: <command>make test</command>. Many tests
|
---|
[e024fe4] | 223 | may fail that depend on optional dependencies that may not be installed
|
---|
[8558044] | 224 | or upstream servers that may not be available, especially for tests
|
---|
[e024fe4] | 225 | numbered 700 and above.
|
---|
[8558044] | 226 | Test time may be significantly increase due to hanging tests that fail.
|
---|
[85d14e15] | 227 | __________
|
---|
| 228 | Added by Bruce for curl-7.60.0:
|
---|
| 229 | TESTDONE: 957 tests out of 959 reported OK: 99%
|
---|
[8558044] | 230 | TESTFAIL: These test cases failed: 1139 1140
|
---|
[85d14e15] | 231 | TESTDONE: 1196 tests were considered during 1184 seconds.
|
---|
| 232 | From the logs, both appear to be ipv6 releated.
|
---|
[7549592] | 233 |
|
---|
| 234 | ==========
|
---|
| 235 | Added by Douglas for curl-7.61.0:
|
---|
| 236 | TESTDONE: 961 tests out of 961 reported OK: 100%
|
---|
| 237 | TESTDONE: 1202 tests were considered during 338 seconds.
|
---|
| 238 | I only have c-ares and libidn2 installed, I will likely try before release
|
---|
| 239 | with all optional dependencies in the book installed.
|
---|
[5a66d6ac] | 240 |
|
---|
| 241 | =========
|
---|
| 242 | 7.61.1 NOTE: The test suite is extremely noisy, complaining about verification errors.
|
---|
| 243 | It's possible this is due to openssl-1.1.1, BUT 79/79 tests report as 100% OK. I had
|
---|
| 244 | c-ares, libpsl, and libidn1/2 installed. - Doug
|
---|
[7a05ab42] | 245 |
|
---|
| 246 | ========
|
---|
| 247 | 7.62.0: All tests passed. libpsl, c-ares, libssh2, libidn2 installed.
|
---|
| 248 | All 1098 tests report OK.
|
---|
[7f6d672] | 249 |
|
---|
| 250 | =======
|
---|
| 251 | Added by Douglas for curl-7.64.0:
|
---|
| 252 | TESTDONE: 1022 tests out of 1023 reported OK: 99%
|
---|
| 253 | TESTFAIL: These tests cases failed: 323
|
---|
| 254 | TESTDONE: 1235 tests were considered during 1279 seconds.
|
---|
| 255 | For dependencies, I had c-ares, gnutls, libidn2, libpsl, krb5, libssh2, nghttp2,
|
---|
| 256 | OpenLDAP, Samba, stunnel, and Valgrind installed.
|
---|
[731bf37a] | 257 | =======
|
---|
| 258 | Added by bdubbs for curl-7.64.1:
|
---|
| 259 | TESTDONE: 1022 tests out of 1025 reported OK: 99%
|
---|
| 260 | TESTFAIL: These test cases failed: 323 1139 1140
|
---|
| 261 | TESTDONE: 1242 tests were considered during 1483 seconds
|
---|
[a4b38ab] | 262 |
|
---|
| 263 | =======
|
---|
| 264 | Added by renodr for curl-7.65.1:
|
---|
| 265 | TESTDONE: 996 tests out of 997 reported OK: 99%
|
---|
| 266 | TESTFAIL: These test cases failed: 1560
|
---|
| 267 | TESTDONE: 1249 tests were considered during 1091 seconds.
|
---|
[03790ef] | 268 | All dependencies except for externals installed.
|
---|
| 269 | =======
|
---|
| 270 | Added by bdubbs for curl-7.65.2:
|
---|
| 271 | TESTDONE: 1034 tests out of 1036 reported OK: 99%
|
---|
| 272 | TESTFAIL: These test cases failed: 323 1560
|
---|
| 273 | TESTDONE: 1254 tests were considered during 1362 seconds.
|
---|
| 274 | Time above does not include test build time.
|
---|
[a4b38ab] | 275 | All dependencies except for externals installed.
|
---|
[6666fad] | 276 | =======
|
---|
| 277 | Added by bdubbs for curl-7.65.3:
|
---|
| 278 | TESTDONE: 1031 tests out of 1036 reported OK: 99%
|
---|
| 279 | TESTFAIL: These test cases failed: 323 1139 1140 1173 1560
|
---|
| 280 | TESTDONE: 1254 tests were considered during 1364 seconds.
|
---|
| 281 |
|
---|
[8558044] | 282 | The tests that fail seem to be somewhat random. What happened between
|
---|
[6666fad] | 283 | yesterday and today that that tests 1139 1140 1173 now fail?
|
---|
| 284 |
|
---|
[4f09d49] | 285 | =======
|
---|
| 286 | Added by bdubbs for curl-7.68.0:
|
---|
| 287 | TESTDONE: 1066 tests out of 1071 reported OK: 99%
|
---|
| 288 | TESTFAIL: These test cases failed: 323 1139 1140 1173 1560
|
---|
| 289 | TESTDONE: 1290 tests were considered during 1515 seconds.
|
---|
| 290 |
|
---|
[b115946] | 291 | =======
|
---|
| 292 | Added by bdubbs for curl-7.69.0:
|
---|
| 293 | TESTDONE: 074 tests out of 1079 reported OK: 99%
|
---|
| 294 | TESTFAIL: These test cases failed: 323 1139 1140 1173 1560
|
---|
| 295 | TESTDONE: 1320 tests were considered during 1514 seconds.
|
---|
| 296 |
|
---|
[83f8954] | 297 | For curl-7.69.1, 1082 tests out of 1086 reported OK. 1560 now passes.
|
---|
| 298 | 1330 tests were considered during 1528 seconds.
|
---|
| 299 |
|
---|
[84fe2e9] | 300 | ======
|
---|
| 301 | Added by renodr for curl-7.70.0:
|
---|
| 302 | TESTDONE: 1062 tests out of 1062 reported OK: 100%
|
---|
| 303 | TESTDONE: 1352 tests were considered during 1218 seconds.
|
---|
| 304 | Tests were ran with all dependencies present except for stunnel.
|
---|
| 305 | impacket only seems to add one extra test to the mix as well.
|
---|
[6d05912] | 306 |
|
---|
| 307 | ======
|
---|
| 308 | Added by renodr for curl-7.71.0:
|
---|
| 309 | TESTDONE: 1072 tests out of 1072 reported OK: 100%
|
---|
| 310 | TESTDONE: 1364 tests were considered during 1202 seconds.
|
---|
| 311 | Tests were run similarly to 7.70.0 - all deps except for stunnel.
|
---|
[e3a68e4] | 312 |
|
---|
| 313 | ======
|
---|
| 314 | Added by renodr for curl-7.71.1:
|
---|
| 315 | TESTDONE: 1076 tests out of 1076 reported OK: 100%
|
---|
| 316 | TESTDONE: 1368 tests were considered during 1207 seconds.
|
---|
| 317 | Tests were run similarly to 7.71.0, including impacket, but no stunnel.
|
---|
[365c6fb] | 318 |
|
---|
| 319 | ======
|
---|
| 320 | Added by renodr for curl-7.72.0:
|
---|
| 321 | TESTDONE: 1094 tests out of 1097 reported OK: 99%
|
---|
[8558044] | 322 | TESTFAIL: These test cases failed: 1700 1701 1702
|
---|
[365c6fb] | 323 | TESTDONE: 1374 tests were considered during 1285 seconds.
|
---|
| 324 | Tests have all BLFS dependencies with the exception of stunnel;
|
---|
| 325 | and the optional impacket python module was installed.
|
---|
| 326 | Tests seem to be failing due to a missing 'nghttpx' executable
|
---|
| 327 | used to start a test server.
|
---|
[14726fe] | 328 |
|
---|
| 329 | ======
|
---|
| 330 | Added by renodr for curl-7.73.0:
|
---|
| 331 | TESTDONE: 1121 tests out of 1121 reported OK: 100%
|
---|
| 332 | TESTDONE: 1387 tests were considered during 1303 seconds.
|
---|
| 333 | Tests have all BLFS dependencies installed with the exception of stunnel,
|
---|
| 334 | as well as the optional impacket installed.
|
---|
[21d18f7e] | 335 |
|
---|
| 336 | ======
|
---|
| 337 | Added by renodr for curl-7.74.0:
|
---|
| 338 | TESTDONE: 1119 tests out of 1119 reported OK: 100%
|
---|
| 339 | TESTDONE: 1388 tests were considered during 1370 seconds.
|
---|
| 340 | Tests have all BLFS dependencies installed, as well as impacket.
|
---|
| 341 | stunnel not installed.
|
---|
[284be226] | 342 |
|
---|
| 343 | ======
|
---|
| 344 | Added by bdubbs for curl-7.79.0:
|
---|
| 345 | TESTDONE: 1432 tests were considered during 1543 seconds.
|
---|
| 346 | TESTDONE: 1208 tests out of 1212 reported OK: 99%
|
---|
| 347 |
|
---|
| 348 | Tests have all BLFS dependencies installed but without impacket.
|
---|
[fb25573] | 349 |
|
---|
| 350 | ======
|
---|
| 351 | Added by plabs for curl-7.79.1:
|
---|
| 352 | TESTDONE: 1434 tests were considered during 1652 seconds.
|
---|
| 353 | TESTDONE: 1171 tests out of 1171 reported OK: 100%
|
---|
| 354 | Tests have all BLFS dependencies installed except stunnel but without impacket.
|
---|
[e1155db] | 355 | ====
|
---|
| 356 | bdubbs curl-7.83.0 2022-04-28
|
---|
| 357 | TESTDONE: 1497 tests were considered during 1666 seconds.
|
---|
| 358 | TESTDONE: 1252 tests out of 1256 reported OK: 99%
|
---|
| 359 | TESTFAIL: These test cases failed: 1139 1140 1173 1177
|
---|
[10428aa] | 360 | ====
|
---|
[2cb4b95] | 361 | Added by xry111 for curl-7.85.0 on 2022-09-01:
|
---|
[10428aa] | 362 | With:
|
---|
| 363 | all BLFS dependencies but stunnel installed
|
---|
[2cb4b95] | 364 | libssh2-2.10.0 patched with libssh2-1.10.0-upstream_fix-1.patch
|
---|
[10428aa] | 365 | with-{gssapi,libssh2} enable-threaded-resolver
|
---|
| 366 | TESTDONE: 1520 tests were considered during 508 seconds.
|
---|
| 367 | TESTDONE: 1327 tests out of 1328 reported OK: 99%
|
---|
| 368 | TESTFAIL: These test cases failed: 1459
|
---|
| 369 | It is a SCP test for bad .known_hosts file and fails because of a mismatch
|
---|
| 370 | of error codes, I don't think it indicated a serious issue.
|
---|
[d608866] | 371 | [renodr] - Test results for 7.85.0 (2022-09-03), no libssh2 enabled or gssapi
|
---|
| 372 | TESTDONE: 1528 tests were considered during 2041 seconds.
|
---|
| 373 | TESTDONE: 1326 tests out of 1326 reported OK: 100%
|
---|
[0516cd2] | 374 |
|
---|
| 375 | [renodr] - Test results for 7.87.0 (2022-12-30)
|
---|
| 376 | TESTDONE: 1559 tests were considered during 2112 seconds.
|
---|
| 377 | TESTDONE: 1342 tests out of 1342 reported OK: 100%
|
---|
| 378 | libssh2 installed and enabled
|
---|
[1f0e7ec] | 379 |
|
---|
| 380 | [renodr] - Test results for 8.0.1 (2023-03-27)
|
---|
| 381 | TESTDONE: 1593 tests were considered during 4761 seconds.
|
---|
| 382 | TESTDONE: 1356 tests out of 1356 reported OK: 100%
|
---|
| 383 | All BLFS dependencies installed.
|
---|
| 384 | Note that if I move /usr/bin/valgrind to a place where it can't be found, I get
|
---|
| 385 | TESTDONE: 1593 tests were considered during 595 seconds.
|
---|
| 386 | TESTDONE: 1356 tests out of 1356 reported OK: 100%
|
---|
| 387 | It appears that every test is now run under valgrind.
|
---|
[f2232252] | 388 |
|
---|
| 389 | [renodr] - Test results for 8.2.1 (2023-07-26)
|
---|
| 390 | TESTDONE: 1611 tests were considered during 2129 seconds.
|
---|
| 391 | TESTDONE: 1369 tests out of 1369 reported OK: 100%
|
---|
| 392 | All BLFS dependencies installed, and run under valgrind.
|
---|
[3b3b59f] | 393 |
|
---|
| 394 | [renodr] - Test results for 8.3.0 (2023-09-14)
|
---|
| 395 | TESTDONE: 1635 tests were considered during 4068 seconds.
|
---|
| 396 | TESTDONE: 1386 tests out of 1387 reported OK: 99%
|
---|
| 397 | TESTFAIL: These test cases failed: 1474
|
---|
| 398 | All BLFS dependencies installed, and run under valgrind. Test 1474 is flaky.
|
---|
[4f59c449] | 399 |
|
---|
| 400 | [renodr] - Test results for 8.4.0 (2023-10-11)
|
---|
| 401 | TESTDONE: 1646 tests were considered during 2290 seconds.
|
---|
| 402 | TESTDONE: 1449 tests out of 1452 reported OK: 99%
|
---|
| 403 | TESTFAIL: These test cases failed: 1474 3021 3022
|
---|
| 404 | All BLFS dependencies are installed, and the tests were run with Valgrind
|
---|
| 405 | installed as well. Test 3021 and 3022 fails due to incompatibilities with
|
---|
| 406 | our version of SSH. See https://github.com/curl/curl/issues/12096
|
---|
| 407 | Test 1474 is still flaky.
|
---|
[1aa19207] | 408 |
|
---|
| 409 | [bdubbs] - Test results for 8.6.0 (2024-02-01)
|
---|
| 410 | TESTDONE: 1673 tests were considered during 395 seconds.
|
---|
| 411 | TESTDONE: 1355 tests out of 1360 reported OK: 99%
|
---|
| 412 | TESTFAIL: These test cases failed: 1139 1140 1173 1177 1477
|
---|
| 413 | Run without valgrind.
|
---|
| 414 | Tests seem to looking for man pages that are missing.
|
---|
[afb30af9] | 415 | - renodr: this is because tests were run after the man pages were deleted by
|
---|
| 416 | the find command after 'make install'
|
---|
[85d14e15] | 417 | -->
|
---|
[f346a49] | 418 |
|
---|
[355495ce] | 419 | <para>
|
---|
| 420 | Now, as the <systemitem class="username">root</systemitem>
|
---|
| 421 | user:
|
---|
| 422 | </para>
|
---|
[dc775a26] | 423 |
|
---|
[874fec7f] | 424 | <screen role="root"><userinput>make install &&
|
---|
[5ee1266] | 425 |
|
---|
[b5969599] | 426 | rm -rf docs/examples/.deps &&
|
---|
| 427 |
|
---|
[a752ca7] | 428 | find docs \( -name Makefile\* -o \
|
---|
| 429 | -name \*.1 -o \
|
---|
| 430 | -name \*.3 -o \
|
---|
| 431 | -name CMakeLists.txt \) -delete &&
|
---|
[e024fe4] | 432 |
|
---|
[a752ca7] | 433 | cp -v -R docs -T /usr/share/doc/curl-&curl-version;</userinput></screen>
|
---|
[0c02dcb] | 434 |
|
---|
| 435 | <para>
|
---|
[1f0e7ec] | 436 | To run some simple verification tests on the newly installed
|
---|
| 437 | <command>curl</command>, issue the following commands:
|
---|
[75e3e09] | 438 | <command>curl --trace-ascii debugdump.txt https://www.example.com/</command>
|
---|
[0c02dcb] | 439 | and
|
---|
[75e3e09] | 440 | <command>curl --trace-ascii d.txt --trace-time https://example.com/</command>.
|
---|
[0c02dcb] | 441 | Inspect the locally created trace files <filename>debugdump.txt</filename>
|
---|
[1f0e7ec] | 442 | and <filename>d.txt</filename>, which contains version information,
|
---|
| 443 | downloaded files information, etc. One file has the time for each action logged.
|
---|
[0c02dcb] | 444 | </para>
|
---|
[bf8ac01] | 445 | </sect2>
|
---|
[dc775a26] | 446 |
|
---|
[bf8ac01] | 447 | <sect2 role="commands">
|
---|
| 448 | <title>Command Explanations</title>
|
---|
[dc775a26] | 449 |
|
---|
[c627795] | 450 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 451 | href="../../xincludes/static-libraries.xml"/>
|
---|
[5ee1266] | 452 |
|
---|
[fdd7a91] | 453 | <para>
|
---|
| 454 | <parameter>--enable-threaded-resolver</parameter>: This switch enables
|
---|
| 455 | <application>cURL</application>'s builtin threaded DNS resolver.
|
---|
| 456 | </para>
|
---|
| 457 |
|
---|
[30b7db74] | 458 | <para>
|
---|
[038b4c75] | 459 | <parameter>--with-ca-path=/etc/ssl/certs</parameter>: This
|
---|
[2198a32] | 460 | switch sets the location of the BLFS Certificate Authority store.
|
---|
[30b7db74] | 461 | </para>
|
---|
| 462 |
|
---|
[42d1ab6] | 463 | <para>
|
---|
[a62f518] | 464 | <parameter>--with-openssl</parameter>: This parameter chooses
|
---|
[3026cde] | 465 | <application>OpenSSL</application> as SSL/TLS implementation.
|
---|
| 466 | This seems mandatory now.
|
---|
[42d1ab6] | 467 | </para>
|
---|
| 468 |
|
---|
[355495ce] | 469 | <para>
|
---|
| 470 | <option>--with-gssapi</option>: This parameter adds
|
---|
| 471 | <application>Kerberos 5</application> support to
|
---|
| 472 | <filename class="libraryfile">libcurl</filename>.
|
---|
| 473 | </para>
|
---|
| 474 |
|
---|
| 475 | <para>
|
---|
[3b3b59f] | 476 | <option>--without-ssl --with-gnutls</option>: Use this switch to
|
---|
[355495ce] | 477 | build with <application>GnuTLS</application> support
|
---|
| 478 | instead of <application>OpenSSL</application> for SSL/TLS.
|
---|
| 479 | </para>
|
---|
[b834dfc7] | 480 |
|
---|
[038b4c75] | 481 | <para>
|
---|
[5c3f3856] | 482 | <option>--with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt</option>: Use
|
---|
[038b4c75] | 483 | this switch instead of <parameter>--with-ca-path</parameter> if
|
---|
| 484 | building with <application>GnuTLS</application> support
|
---|
| 485 | instead of <application>OpenSSL</application> for SSL/TLS.
|
---|
| 486 | </para>
|
---|
| 487 |
|
---|
[7f6d672] | 488 | <para>
|
---|
[a62f518] | 489 | <option>--with-libssh2</option>: This parameter adds
|
---|
[7f6d672] | 490 | <application>SSH</application> support to cURL. This is disabled
|
---|
| 491 | by default.
|
---|
| 492 | </para>
|
---|
| 493 |
|
---|
[a4b38ab] | 494 | <para>
|
---|
[a62f518] | 495 | <option>--enable-ares</option>: This parameter adds
|
---|
[10428aa] | 496 | support for DNS resolution through the c-ares library. It overrides
|
---|
| 497 | <parameter>--enable-threaded-resolver</parameter> and is not widely
|
---|
| 498 | tested by the editors.
|
---|
[a4b38ab] | 499 | </para>
|
---|
| 500 |
|
---|
[355495ce] | 501 | <para>
|
---|
[5ee1266] | 502 | <command>find docs ... -exec rm {} \;</command>: This command removes
|
---|
[355495ce] | 503 | <filename>Makefiles</filename> and man files from the documentation
|
---|
[4949bda0] | 504 | directory that would otherwise be installed by the commands that follow.
|
---|
[355495ce] | 505 | </para>
|
---|
[32a8ca3] | 506 |
|
---|
[bf8ac01] | 507 | </sect2>
|
---|
[dc775a26] | 508 |
|
---|
[bf8ac01] | 509 | <sect2 role="content">
|
---|
| 510 | <title>Contents</title>
|
---|
[dc775a26] | 511 |
|
---|
[bf8ac01] | 512 | <segmentedlist>
|
---|
| 513 | <segtitle>Installed Programs</segtitle>
|
---|
| 514 | <segtitle>Installed Library</segtitle>
|
---|
| 515 | <segtitle>Installed Directories</segtitle>
|
---|
[dc775a26] | 516 |
|
---|
[bf8ac01] | 517 | <seglistitem>
|
---|
[355495ce] | 518 | <seg>
|
---|
[c18fd2e6] | 519 | curl and curl-config
|
---|
[355495ce] | 520 | </seg>
|
---|
| 521 | <seg>
|
---|
| 522 | libcurl.so
|
---|
| 523 | </seg>
|
---|
| 524 | <seg>
|
---|
| 525 | /usr/include/curl and
|
---|
| 526 | /usr/share/doc/curl-&curl-version;
|
---|
| 527 | </seg>
|
---|
[bf8ac01] | 528 | </seglistitem>
|
---|
| 529 | </segmentedlist>
|
---|
[dc775a26] | 530 |
|
---|
[bf8ac01] | 531 | <variablelist>
|
---|
| 532 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 533 | <?dbfo list-presentation="list"?>
|
---|
| 534 | <?dbhtml list-presentation="table"?>
|
---|
[dc775a26] | 535 |
|
---|
[bf8ac01] | 536 | <varlistentry id="curl-prog">
|
---|
| 537 | <term><command>curl</command></term>
|
---|
| 538 | <listitem>
|
---|
[355495ce] | 539 | <para>
|
---|
[4c24eb0a] | 540 | is a command line tool for transferring files with URL syntax
|
---|
[32a8ca3] | 541 | </para>
|
---|
[bf8ac01] | 542 | <indexterm zone="curl curl-prog">
|
---|
| 543 | <primary sortas="b-curl">curl</primary>
|
---|
| 544 | </indexterm>
|
---|
| 545 | </listitem>
|
---|
| 546 | </varlistentry>
|
---|
[dc775a26] | 547 |
|
---|
[bf8ac01] | 548 | <varlistentry id="curl-config">
|
---|
| 549 | <term><command>curl-config</command></term>
|
---|
| 550 | <listitem>
|
---|
[355495ce] | 551 | <para>
|
---|
| 552 | prints information about the last compile, like libraries
|
---|
[4c24eb0a] | 553 | linked to and prefix setting
|
---|
[355495ce] | 554 | </para>
|
---|
[bf8ac01] | 555 | <indexterm zone="curl curl-config">
|
---|
| 556 | <primary sortas="b-curl-config">curl-config</primary>
|
---|
| 557 | </indexterm>
|
---|
| 558 | </listitem>
|
---|
| 559 | </varlistentry>
|
---|
[dc775a26] | 560 |
|
---|
[bf8ac01] | 561 | <varlistentry id="libcurl">
|
---|
[874fec7f] | 562 | <term><filename class="libraryfile">libcurl.so</filename></term>
|
---|
[bf8ac01] | 563 | <listitem>
|
---|
[355495ce] | 564 | <para>
|
---|
| 565 | provides the API functions required by
|
---|
[4c24eb0a] | 566 | <command>curl</command> and other programs
|
---|
[355495ce] | 567 | </para>
|
---|
[bf8ac01] | 568 | <indexterm zone="curl libcurl">
|
---|
[874fec7f] | 569 | <primary sortas="c-libcurl">libcurl.so</primary>
|
---|
[bf8ac01] | 570 | </indexterm>
|
---|
| 571 | </listitem>
|
---|
| 572 | </varlistentry>
|
---|
[355495ce] | 573 |
|
---|
[bf8ac01] | 574 | </variablelist>
|
---|
[355495ce] | 575 |
|
---|
[bf8ac01] | 576 | </sect2>
|
---|
[355495ce] | 577 |
|
---|
[f45b1953] | 578 | </sect1>
|
---|