diff --git a/READMEs/README.plugin-sshd-base.md b/READMEs/README.plugin-sshd-base.md index 65d67f827..7a1241de0 100644 --- a/READMEs/README.plugin-sshd-base.md +++ b/READMEs/README.plugin-sshd-base.md @@ -47,11 +47,10 @@ the following functions: ## License -lws-ssh-base is Free Software, available under libwebsocket's LGPLv2 + -static linking exception license. +lws-ssh-base is Free Software, available under libwebsockets' MIT license. The crypto parts are available elsewhere under a BSD license. But for -simplicity the whole plugin is under LGPLv2. +simplicity the whole plugin is under MIT. ## Generating your own keys diff --git a/READMEs/README.release-policy.md b/READMEs/README.release-policy.md index 6fb457ac6..8fba92b99 100644 --- a/READMEs/README.release-policy.md +++ b/READMEs/README.release-policy.md @@ -64,9 +64,10 @@ different than that of previous versions. ![backports from master to stable](../doc-assets/lws-relpol-3.svg) If there is something you need in a later lws version that is not backported, -you need to either backport it yourself (remember that lws is LGPL and you must -provide your changes when you distribute the binary) or use a later lws version. -Using a more recent version of lws is almost always the correct way. +you need to either backport it yourself or use a later lws version. +Using a more recent version of lws (and contributing fixes and changes so you +yourself can get them easily as well as contributing for others) is almost +always the correct way. ## Stable point releases diff --git a/READMEs/README.test-apps.md b/READMEs/README.test-apps.md index 7565b43f1..dc6d0bc79 100644 --- a/READMEs/README.test-apps.md +++ b/READMEs/README.test-apps.md @@ -302,7 +302,7 @@ By default it runs in server mode ``` $ libwebsockets-test-fraggle libwebsockets test fraggle - (C) Copyright 2010-2011 Andy Green licensed under LGPL2.1 + (C) Copyright 2010-2011 Andy Green licensed under MIT Compiled with SSL support, not using it Listening on port 7681 server sees client connect @@ -318,7 +318,7 @@ give the `-c` switch and the server address at least: ``` $ libwebsockets-test-fraggle -c localhost libwebsockets test fraggle - (C) Copyright 2010-2011 Andy Green licensed under LGPL2.1 + (C) Copyright 2010-2011 Andy Green licensed under MIT Client mode Connecting to localhost:7681 denied deflate-stream extension diff --git a/lib/misc/daemonize.c b/lib/misc/daemonize.c index 060a932e6..fe9630030 100644 --- a/lib/misc/daemonize.c +++ b/lib/misc/daemonize.c @@ -7,7 +7,7 @@ * he replied it is Public Domain. Use the URL above to get the original * Public Domain version if you want it. * - * This version is LGPL2.1+SLE like the rest of libwebsockets and is + * This version is MIT like the rest of libwebsockets and is * Copyright (c)2006 - 2013 Andy Green * * diff --git a/lib/roles/h2/minihuf.c b/lib/roles/h2/minihuf.c index ee19e378e..cd51d593f 100644 --- a/lib/roles/h2/minihuf.c +++ b/lib/roles/h2/minihuf.c @@ -5,7 +5,7 @@ * * Copyright (C)2011-2014 Andy Green * - * Licensed under LGPL2 + * Licensed under MIT * * Usage: gcc minihuf.c -o minihuf && ./minihuf > huftable.h * diff --git a/lib/roles/http/minilex.c b/lib/roles/http/minilex.c index 3cb1e3369..c711dd6b4 100644 --- a/lib/roles/http/minilex.c +++ b/lib/roles/http/minilex.c @@ -5,7 +5,7 @@ * * Copyright (C)2011-2014 Andy Green * - * Licensed under LGPL2 + * Licensed under MIT * * Usage: gcc minilex.c -o minilex && ./minilex > lextable.h * diff --git a/scripts/libwebsockets.spec b/scripts/libwebsockets.spec index d5cc7b3b6..46214de50 100644 --- a/scripts/libwebsockets.spec +++ b/scripts/libwebsockets.spec @@ -4,7 +4,7 @@ Release: 1%{?dist} Summary: Websocket Server and Client Library Group: System Environment/Libraries -License: LGPLv2 with exceptions +License: MIT URL: https://libwebsockets.org Source0: %{name}-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) diff --git a/test-apps/test-client.c b/test-apps/test-client.c index 881cf8f12..73bb6d61d 100644 --- a/test-apps/test-client.c +++ b/test-apps/test-client.c @@ -589,7 +589,7 @@ int main(int argc, char **argv) memset(&info, 0, sizeof info); - lwsl_notice("libwebsockets test client - license LGPL2.1+SLE\n"); + lwsl_notice("libwebsockets test client - license MIT\n"); lwsl_notice("(C) Copyright 2010-2018 Andy Green \n"); if (argc < 2) diff --git a/test-apps/test-server.c b/test-apps/test-server.c index 5b12d394c..a2f6eeb37 100644 --- a/test-apps/test-server.c +++ b/test-apps/test-server.c @@ -475,7 +475,7 @@ int main(int argc, char **argv) /* tell the library what debug level to emit and to send it to stderr */ lws_set_log_level(debug_level, NULL); - lwsl_notice("libwebsockets test server - license LGPL2.1+SLE\n"); + lwsl_notice("libwebsockets test server - license MIT\n"); lwsl_notice("(C) Copyright 2010-2018 Andy Green \n"); printf("Using resource path \"%s\"\n", resource_path);