Commit d0811ed3 by Rémi Verschelde

Thirdparty: Fill copyright for lws, miniupnpc, clipper

Rename `lws` to `libwebsockets` which is its library name. Add missing license file for mbedtls.
parent 7d392cd6
...@@ -7,7 +7,7 @@ Import('env_modules') ...@@ -7,7 +7,7 @@ Import('env_modules')
env_lws = env_modules.Clone() env_lws = env_modules.Clone()
thirdparty_dir = "#thirdparty/lws/" thirdparty_dir = "#thirdparty/libwebsockets/"
helper_dir = "win32helpers/" helper_dir = "win32helpers/"
thirdparty_sources = [ thirdparty_sources = [
"client/client.c", "client/client.c",
...@@ -67,7 +67,7 @@ else: ...@@ -67,7 +67,7 @@ else:
env_lws.add_source_files(env.modules_sources, thirdparty_sources) env_lws.add_source_files(env.modules_sources, thirdparty_sources)
env_lws.Append(CPPPATH=[thirdparty_dir]) env_lws.Append(CPPPATH=[thirdparty_dir])
wrapper_includes = ["#thirdparty/lws/mbedtls_wrapper/include/" + inc for inc in ["internal", "openssl", "platform", ""]] wrapper_includes = ["#thirdparty/libwebsockets/mbedtls_wrapper/include/" + inc for inc in ["internal", "openssl", "platform", ""]]
env_lws.Prepend(CPPPATH=wrapper_includes) env_lws.Prepend(CPPPATH=wrapper_includes)
if env['builtin_mbedtls']: if env['builtin_mbedtls']:
......
...@@ -15,6 +15,7 @@ Important: Some files have Godot-made changes. ...@@ -15,6 +15,7 @@ Important: Some files have Godot-made changes.
They are marked with `// -- GODOT start --` and `// -- GODOT end --` They are marked with `// -- GODOT start --` and `// -- GODOT end --`
comments. comments.
## bullet ## bullet
- Upstream: https://github.com/bulletphysics/bullet3 - Upstream: https://github.com/bulletphysics/bullet3
...@@ -76,6 +77,7 @@ Important: Some files have Godot-made changes. ...@@ -76,6 +77,7 @@ Important: Some files have Godot-made changes.
They are marked with `// -- GODOT start --` and `// -- GODOT end --` They are marked with `// -- GODOT start --` and `// -- GODOT end --`
comments. comments.
## fonts ## fonts
### Noto Sans ### Noto Sans
...@@ -175,6 +177,7 @@ Important: Some files have Godot-made changes. ...@@ -175,6 +177,7 @@ Important: Some files have Godot-made changes.
They are marked with `// -- GODOT start --` and `// -- GODOT end --` They are marked with `// -- GODOT start --` and `// -- GODOT end --`
comments. comments.
## libtheora ## libtheora
- Upstream: https://www.theora.org - Upstream: https://www.theora.org
...@@ -246,12 +249,13 @@ File extracted from upstream source: ...@@ -246,12 +249,13 @@ File extracted from upstream source:
- Also copy `win32helpers/` from `win32port/` - Also copy `win32helpers/` from `win32port/`
- `mbedtls_wrapper/include/platform/ssl_port.h` has a small change to check for OSX and FreeBSD (missing `malloc.h`). - `mbedtls_wrapper/include/platform/ssl_port.h` has a small change to check for OSX and FreeBSD (missing `malloc.h`).
The bug is fixed in upstream master via `LWS_HAVE_MALLOC_H`, but not in the 2.4.1 branch (as the file structure has changed). The bug is fixed in upstream master via `LWS_HAVE_MALLOC_H`, but not in the 2.4.1 branch (as the file structure has changed).
- You might need to apply the patch in `thirdparty/lws/mbedtls_verify.diff` (port of PR 1215) to future `2.4.x` releases if it does not get cherry picked. - You might need to apply the patch in `thirdparty/libwebsockets/mbedtls_verify.diff` (port of PR 1215) to future `2.4.x` releases if it does not get cherry picked.
Important: `lws_config.h` and `lws_config_private.h` contains custom Important: `lws_config.h` and `lws_config_private.h` contains custom
Godot build configurations, check them out when updating. Godot build configurations, check them out when updating.
## mbedTLS
## mbedtls
- Upstream: https://tls.mbed.org/ - Upstream: https://tls.mbed.org/
- Version: 2.8.0 - Version: 2.8.0
...@@ -264,6 +268,7 @@ File extracted from upstream release tarball `mbedtls-2.8.0-apache.tgz`: ...@@ -264,6 +268,7 @@ File extracted from upstream release tarball `mbedtls-2.8.0-apache.tgz`:
Be sure to check the Godot addition to only redfine it when undefined or `< 0x0501` (PRed upstream). Be sure to check the Godot addition to only redfine it when undefined or `< 0x0501` (PRed upstream).
- Applied the patch in `thirdparty/mbedtls/1453.diff` (PR 1453). Soon to be merged upstream. Check it out at next update. - Applied the patch in `thirdparty/mbedtls/1453.diff` (PR 1453). Soon to be merged upstream. Check it out at next update.
## miniupnpc ## miniupnpc
- Upstream: https://github.com/miniupnp/miniupnp/tree/master/miniupnpc - Upstream: https://github.com/miniupnp/miniupnp/tree/master/miniupnpc
...@@ -272,6 +277,7 @@ File extracted from upstream release tarball `mbedtls-2.8.0-apache.tgz`: ...@@ -272,6 +277,7 @@ File extracted from upstream release tarball `mbedtls-2.8.0-apache.tgz`:
The only modified file is miniupnpcstrings.h, which was created for Godot (is usually autogenerated by cmake). The only modified file is miniupnpcstrings.h, which was created for Godot (is usually autogenerated by cmake).
## minizip ## minizip
- Upstream: http://www.zlib.net - Upstream: http://www.zlib.net
...@@ -301,6 +307,10 @@ Collection of single-file libraries used in Godot components. ...@@ -301,6 +307,10 @@ Collection of single-file libraries used in Godot components.
* Upstream: http://episec.com/people/edelkind/c.html * Upstream: http://episec.com/people/edelkind/c.html
* Version: latest, as of April 2017 * Version: latest, as of April 2017
* License: Public Domain * License: Public Domain
- `clipper.{cpp,hpp}`
* Upstream: https://sourceforge.net/projects/polyclipping
* Version: 6.4.2
* License: BSL-1.0
- `fastlz.{c,h}` - `fastlz.{c,h}`
* Upstream: https://github.com/ariya/FastLZ * Upstream: https://github.com/ariya/FastLZ
* Version: git (f121734, 2007) * Version: git (f121734, 2007)
...@@ -369,6 +379,7 @@ Files extracted from the upstream source: ...@@ -369,6 +379,7 @@ Files extracted from the upstream source:
- All .h files in `src/` - All .h files in `src/`
- LICENSE.txt - LICENSE.txt
## opus ## opus
- Upstream: https://opus-codec.org - Upstream: https://opus-codec.org
......
diff --git a/thirdparty/lws/client/ssl-client.c b/thirdparty/lws/client/ssl-client.c diff --git a/thirdparty/libwebsockets/client/ssl-client.c b/thirdparty/libwebsockets/client/ssl-client.c
index 6626e0844..962c6e3cb 100644 index 6626e0844..962c6e3cb 100644
--- a/thirdparty/lws/client/ssl-client.c --- a/thirdparty/libwebsockets/client/ssl-client.c
+++ b/thirdparty/lws/client/ssl-client.c +++ b/thirdparty/libwebsockets/client/ssl-client.c
@@ -176,11 +176,7 @@ lws_ssl_client_bio_create(struct lws *wsi) @@ -176,11 +176,7 @@ lws_ssl_client_bio_create(struct lws *wsi)
#endif #endif
#else #else
...@@ -15,10 +15,10 @@ index 6626e0844..962c6e3cb 100644 ...@@ -15,10 +15,10 @@ index 6626e0844..962c6e3cb 100644
#else #else
#ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME #ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME
SSL_set_tlsext_host_name(wsi->ssl, hostname); SSL_set_tlsext_host_name(wsi->ssl, hostname);
diff --git a/thirdparty/lws/mbedtls_wrapper/platform/ssl_pm.c b/thirdparty/lws/mbedtls_wrapper/platform/ssl_pm.c diff --git a/thirdparty/libwebsockets/mbedtls_wrapper/platform/ssl_pm.c b/thirdparty/libwebsockets/mbedtls_wrapper/platform/ssl_pm.c
index 63504919c..4e3d61109 100644 index 63504919c..4e3d61109 100644
--- a/thirdparty/lws/mbedtls_wrapper/platform/ssl_pm.c --- a/thirdparty/libwebsockets/mbedtls_wrapper/platform/ssl_pm.c
+++ b/thirdparty/lws/mbedtls_wrapper/platform/ssl_pm.c +++ b/thirdparty/libwebsockets/mbedtls_wrapper/platform/ssl_pm.c
@@ -218,7 +218,7 @@ static int ssl_pm_reload_crt(SSL *ssl) @@ -218,7 +218,7 @@ static int ssl_pm_reload_crt(SSL *ssl)
struct x509_pm *crt_pm = (struct x509_pm *)ssl->cert->x509->x509_pm; struct x509_pm *crt_pm = (struct x509_pm *)ssl->cert->x509->x509_pm;
......
Unless specifically indicated otherwise in a file, files are licensed
under the Apache 2.0 license, as can be found in: apache-2.0.txt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment