<feed xmlns='http://www.w3.org/2005/Atom'>
<title>curl/CMake, branch master</title>
<subtitle>cURL mirror with patches applied
</subtitle>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/'/>
<entry>
<title>CMake: add HTTP/3 support (ngtcp2+nghttp3, quiche)</title>
<updated>2020-05-10T21:36:41+00:00</updated>
<author>
<name>Peter Wu</name>
<email>peter@lekensteyn.nl</email>
</author>
<published>2020-05-08T21:13:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=5bfc874a359c229adf82ab7495c8f7d28dea992e'/>
<id>5bfc874a359c229adf82ab7495c8f7d28dea992e</id>
<content type='text'>
Add three new CMake Find modules (using the curl license, but I grant
others the right to apply the CMake BSD license instead).

This CMake config is simpler than the autotools one because it assumes
ngtcp2 and nghttp3 to be used together. Another difference is that this
CMake config checks whether QUIC is actually supported by the TLS
library (patched OpenSSL or boringssl) since this can be a common
configuration mistake that could result in build errors later.

Unlike autotools, CMake does not warn you that the features are
experimental. The user is supposed to already know that and read the
documentation. It requires a very special build environment anyway.

Tested with ngtcp2+OpenSSL+nghttp3 and quiche+boringssl, both built from
current git master. Use `LD_DEBUG=files src/curl |&amp; grep need` to figure
out which features (libldap-2.4, libssh2) to disable due to conflicts
with boringssl.

Closes #5359
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add three new CMake Find modules (using the curl license, but I grant
others the right to apply the CMake BSD license instead).

This CMake config is simpler than the autotools one because it assumes
ngtcp2 and nghttp3 to be used together. Another difference is that this
CMake config checks whether QUIC is actually supported by the TLS
library (patched OpenSSL or boringssl) since this can be a common
configuration mistake that could result in build errors later.

Unlike autotools, CMake does not warn you that the features are
experimental. The user is supposed to already know that and read the
documentation. It requires a very special build environment anyway.

Tested with ngtcp2+OpenSSL+nghttp3 and quiche+boringssl, both built from
current git master. Use `LD_DEBUG=files src/curl |&amp; grep need` to figure
out which features (libldap-2.4, libssh2) to disable due to conflicts
with boringssl.

Closes #5359
</pre>
</div>
</content>
</entry>
<entry>
<title>cmake: Avoid MSVC C4273 warnings in send/recv checks</title>
<updated>2020-04-14T21:07:18+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2020-04-13T13:20:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=89f1e639f6a8d1f4dfb309b95f49028f6c826d47'/>
<id>89f1e639f6a8d1f4dfb309b95f49028f6c826d47</id>
<content type='text'>
We use `check_c_source_compiles` to check possible send/recv signatures
by reproducing the forward declarations from system headers.  On Windows
the `winsock2.h` header adds dll linkage settings to its forward
declaration.  If ours does not match the compiler warns:

    warning C4273: 'recv': inconsistent dll linkage

Add `WINSOCK_API_LINKAGE` to our test signatures when it is defined so
that our linkage is consistent with that from `winsock2.h`.

Fixes #4764
Closes #5232
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We use `check_c_source_compiles` to check possible send/recv signatures
by reproducing the forward declarations from system headers.  On Windows
the `winsock2.h` header adds dll linkage settings to its forward
declaration.  If ours does not match the compiler warns:

    warning C4273: 'recv': inconsistent dll linkage

Add `WINSOCK_API_LINKAGE` to our test signatures when it is defined so
that our linkage is consistent with that from `winsock2.h`.

Fixes #4764
Closes #5232
</pre>
</div>
</content>
</entry>
<entry>
<title>copyright: fix out-of-date copyright ranges and missing headers</title>
<updated>2020-03-24T14:05:59+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-03-23T13:44:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=9a8b3b3e131359aea1cac650fb6ac331fbe2047c'/>
<id>9a8b3b3e131359aea1cac650fb6ac331fbe2047c</id>
<content type='text'>
Reported by the new script 'scripts/copyright.pl'. The script has a
regex whitelist for the files that don't need copyright headers.

Removed three (mostly usesless) README files from docs/

Closes #5141
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by the new script 'scripts/copyright.pl'. The script has a
regex whitelist for the files that don't need copyright headers.

Removed three (mostly usesless) README files from docs/

Closes #5141
</pre>
</div>
</content>
</entry>
<entry>
<title>cmake: add support for building with wolfSSL</title>
<updated>2020-03-16T21:56:50+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-03-12T16:18:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=37a05418820dfcdb68bc0d535e76e63945b45917'/>
<id>37a05418820dfcdb68bc0d535e76e63945b45917</id>
<content type='text'>
My working build cmdline:

$ cmake -DCMAKE_PREFIX_PATH=$HOME/build-wolfssl -DCMAKE_USE_WOLFSSL=ON .

Assisted-by: Brad King
Closes #5095
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
My working build cmdline:

$ cmake -DCMAKE_PREFIX_PATH=$HOME/build-wolfssl -DCMAKE_USE_WOLFSSL=ON .

Assisted-by: Brad King
Closes #5095
</pre>
</div>
</content>
</entry>
<entry>
<title>CMake: clean up and improve build procedures</title>
<updated>2020-03-01T04:14:16+00:00</updated>
<author>
<name>Rolf Eike Beer</name>
<email>eb@emlix.com</email>
</author>
<published>2020-02-24T12:34:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=fc9312f7175fa36300b3ba6534b54bcd0d00ab7e'/>
<id>fc9312f7175fa36300b3ba6534b54bcd0d00ab7e</id>
<content type='text'>
- remove check for unsupported old CMake versions

- do not link to c-ares library twice

- modernize custom Find modules

    - FindLibSSH2:
        - pass version to FPHSA to show it in the output
        - use LIBSSH2_VERSION define to extract the version number in
          one shot. This variable exists in the header for 10 years.
        - remove unneeded code

    - FindNGHTTP2.cmake:
        - drop needless FPHSA argument
        - mark found variables as advanced

    - FindNSS.cmake:
        - show version number

    - FindCARES.cmake:
        - drop default paths
        - use FPHSA instead of checking things by hand

- remove needless explict variable dereference

- simplify count_true()

- allow all policies up to version 3.16 to be set to NEW

- do not rerun check for -Wstrict-aliasing=3 every time

In contrast to every other compiler flag this has a = in it, which CMake
can't have in a variable name.

- only read the interesting strings from curlver.h

Reviewed-by: Peter Wu

Closes https://github.com/curl/curl/pull/4975
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- remove check for unsupported old CMake versions

- do not link to c-ares library twice

- modernize custom Find modules

    - FindLibSSH2:
        - pass version to FPHSA to show it in the output
        - use LIBSSH2_VERSION define to extract the version number in
          one shot. This variable exists in the header for 10 years.
        - remove unneeded code

    - FindNGHTTP2.cmake:
        - drop needless FPHSA argument
        - mark found variables as advanced

    - FindNSS.cmake:
        - show version number

    - FindCARES.cmake:
        - drop default paths
        - use FPHSA instead of checking things by hand

- remove needless explict variable dereference

- simplify count_true()

- allow all policies up to version 3.16 to be set to NEW

- do not rerun check for -Wstrict-aliasing=3 every time

In contrast to every other compiler flag this has a = in it, which CMake
can't have in a variable name.

- only read the interesting strings from curlver.h

Reviewed-by: Peter Wu

Closes https://github.com/curl/curl/pull/4975
</pre>
</div>
</content>
</entry>
<entry>
<title>cmake: Improve libssh2 check on Windows</title>
<updated>2020-01-11T23:53:32+00:00</updated>
<author>
<name>nicoguillier</name>
<email>59726521+nicoguillier@users.noreply.github.com</email>
</author>
<published>2020-01-10T08:57:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=8792a592232a8578c6217a2f8a07bc5f33c3a82f'/>
<id>8792a592232a8578c6217a2f8a07bc5f33c3a82f</id>
<content type='text'>
- Add "libssh2" name to FindLibSSH2 library search.

On Windows systems, libSSH2 CMake installation may name the library
"LibSSH2".

Prior to this change cmake only checked for name "ssh2". On Linux that
works fine because it will prepend the "lib", but it doesn't do that on
Windows.

Closes https://github.com/curl/curl/pull/4804
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add "libssh2" name to FindLibSSH2 library search.

On Windows systems, libSSH2 CMake installation may name the library
"LibSSH2".

Prior to this change cmake only checked for name "ssh2". On Linux that
works fine because it will prepend the "lib", but it doesn't do that on
Windows.

Closes https://github.com/curl/curl/pull/4804
</pre>
</div>
</content>
</entry>
<entry>
<title>CMake: add support for building with the NSS vtls backend</title>
<updated>2019-12-04T21:34:02+00:00</updated>
<author>
<name>Peter Wu</name>
<email>peter@lekensteyn.nl</email>
</author>
<published>2019-11-26T22:05:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=87b9337c8f76c21c57b204e88b68c6ecf3bd1ac0'/>
<id>87b9337c8f76c21c57b204e88b68c6ecf3bd1ac0</id>
<content type='text'>
Options are cross-checked with configure.ac and acinclude.m4.
Tested on Arch Linux, untested on other platforms like Windows or macOS.

Closes #4663
Reviewed-by: Kamil Dudka
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Options are cross-checked with configure.ac and acinclude.m4.
Tested on Arch Linux, untested on other platforms like Windows or macOS.

Closes #4663
Reviewed-by: Kamil Dudka
</pre>
</div>
</content>
</entry>
<entry>
<title>TLS: add BearSSL vtls implementation</title>
<updated>2019-11-26T07:32:23+00:00</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2019-11-08T04:17:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=9b879160df01e7ddbb4770904391d3b74114302b'/>
<id>9b879160df01e7ddbb4770904391d3b74114302b</id>
<content type='text'>
Closes #4597
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #4597
</pre>
</div>
</content>
</entry>
<entry>
<title>copyrights: update all copyright notices to 2019 on files changed this year</title>
<updated>2019-11-02T22:15:56+00:00</updated>
<author>
<name>Vilhelm Prytz</name>
<email>vilhelm@prytznet.se</email>
</author>
<published>2019-10-31T20:06:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=d0319adb0c9b0931310fa57131584e15f5cba7bb'/>
<id>d0319adb0c9b0931310fa57131584e15f5cba7bb</id>
<content type='text'>
Closes #4547
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #4547
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Remove unused HAVE_LIBSSL and HAVE_LIBCRYPTO defines</title>
<updated>2019-10-05T23:18:30+00:00</updated>
<author>
<name>Paul B. Omta</name>
<email>p.b.omta@alumnus.utwente.nl</email>
</author>
<published>2019-10-04T07:55:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/curl/commit/?id=df85b86a92ac2488667acfd81d16321c73fceecf'/>
<id>df85b86a92ac2488667acfd81d16321c73fceecf</id>
<content type='text'>
Closes https://github.com/curl/curl/pull/4460
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes https://github.com/curl/curl/pull/4460
</pre>
</div>
</content>
</entry>
</feed>
