From abead528514472340f6d6b833b47692251bd88da Mon Sep 17 00:00:00 2001 From: Trevor Woerner Date: Sun, 13 May 2018 08:28:43 -0400 Subject: libwebsockets: update 2.1.0 -> 3.0.0 The LICENSE checksum update was required because the LICENSE file added an initial clause, and the locations of the third-party sources changed. Here is a diff of the old and new licenses: --- LICENSE.old 2018-05-11 14:36:05.053031281 -0400 +++ LICENSE.new 2018-05-11 14:35:40.364931066 -0400 @@ -1,7 +1,13 @@ Libwebsockets and included programs are provided under the terms of the GNU Library General Public License (LGPL) 2.1, with the following exceptions: -1) Static linking of programs with the libwebsockets library does not +1) Any reference, whether in these modifications or in the GNU +Library General Public License 2.1, to this License, these terms, the +GNU Lesser Public License, GNU Library General Public License, LGPL, or +any similar reference shall refer to the GNU Library General Public +License 2.1 as modified by these paragraphs 1) through 4). + +2) Static linking of programs with the libwebsockets library does not constitute a derivative work and does not require the author to provide source code for the program, use the shared libwebsockets libraries, or link their program against a user-supplied version of libwebsockets. @@ -10,7 +16,7 @@ changes to libwebsockets must be provided under the terms of the LGPL in sections 1, 2, and 4. -2) You do not have to provide a copy of the libwebsockets license with +3) You do not have to provide a copy of the libwebsockets license with programs that are linked to the libwebsockets library, nor do you have to identify the libwebsockets license in your program or documentation as required by section 6 of the LGPL. @@ -22,26 +28,30 @@ "[program] is based in part on the work of the libwebsockets project (https://libwebsockets.org)" -3) Some sources included have their own, more liberal licenses, or options +4) Some sources included have their own, more liberal licenses, or options to get original sources with the liberal terms. Original liberal license retained - - lib/sha-1.c - 3-clause BSD license retained, link to original + - lib/misc/sha-1.c - 3-clause BSD license retained, link to original - win32port/zlib - ZLIB license (see zlib.h) + - lib/tls/mbedtls/wrapper - Apache 2.0 (only built if linked against mbedtls) Relicensed to libwebsocket license - - lib/base64-decode.c - relicensed to LGPL2.1+SLE, link to original - - lib/daemonize.c - relicensed from Public Domain to LGPL2.1+SLE, - link to original Public Domain version + - lib/misc/base64-decode.c - relicensed to LGPL2.1+SLE, link to original + - lib/misc/daemonize.c - relicensed from Public Domain to LGPL2.1+SLE, + link to original Public Domain version Public Domain (CC-zero) to simplify reuse - - test-server/*.c - - test-server/*.h + - test-apps/*.c + - test-apps/*.h + - minimal-examples/* - lwsws/* - + +------ end of exceptions + GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Signed-off-by: Trevor Woerner Signed-off-by: Armin Kuster --- .../libwebsockets/libwebsockets_2.1.0.bb | 27 ---------------------- .../libwebsockets/libwebsockets_3.0.0.bb | 27 ++++++++++++++++++++++ 2 files changed, 27 insertions(+), 27 deletions(-) delete mode 100644 meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb create mode 100644 meta-oe/recipes-connectivity/libwebsockets/libwebsockets_3.0.0.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb deleted file mode 100644 index 100f3a3541..0000000000 --- a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_2.1.0.bb +++ /dev/null @@ -1,27 +0,0 @@ -SUMMARY = "Canonical libwebsockets.org websocket library" -HOMEPAGE = "https://libwebsockets.org/" -LICENSE = "LGPL-2.1" -LIC_FILES_CHKSUM = "file://LICENSE;md5=e3393a657830d4a118c5a6ed35ba53d0" - -DEPENDS = "zlib" - -S = "${WORKDIR}/git" -SRCREV = "73557509bd15f95a1ad081a6f4fab48ff7743215" -SRC_URI = "git://github.com/warmcat/libwebsockets.git;protocol=https;" - -inherit cmake pkgconfig - -PACKAGECONFIG ?= "libuv client server http2 ssl" -PACKAGECONFIG[client] = "-DLWS_WITHOUT_CLIENT=OFF,-DLWS_WITHOUT_CLIENT=ON," -PACKAGECONFIG[http2] = "-DLWS_WITH_HTTP2=ON,-DLWS_WITH_HTTP2=OFF," -PACKAGECONFIG[ipv6] = "-DLWS_IPV6=ON,-DLWS_IPV6=OFF," -PACKAGECONFIG[libev] = "-DLWS_WITH_LIBEV=ON,-DLWS_WITH_LIBEV=OFF,libev" -PACKAGECONFIG[libuv] = "-DLWS_WITH_LIBUV=ON,-DLWS_WITH_LIBUV=OFF,libuv" -PACKAGECONFIG[server] = "-DLWS_WITHOUT_SERVER=OFF,-DLWS_WITHOUT_SERVER=ON," -PACKAGECONFIG[ssl] = "-DLWS_WITH_SSL=ON,-DLWS_WITH_SSL=OFF,openssl" -PACKAGECONFIG[testapps] = "-DLWS_WITHOUT_TESTAPPS=OFF,-DLWS_WITHOUT_TESTAPPS=ON," - -PACKAGES =+ "${PN}-testapps" - -FILES_${PN}-dev += "${libdir}/cmake" -FILES_${PN}-testapps += "${datadir}/libwebsockets-test-server/*" diff --git a/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_3.0.0.bb b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_3.0.0.bb new file mode 100644 index 0000000000..ea262f855b --- /dev/null +++ b/meta-oe/recipes-connectivity/libwebsockets/libwebsockets_3.0.0.bb @@ -0,0 +1,27 @@ +SUMMARY = "Canonical libwebsockets.org websocket library" +HOMEPAGE = "https://libwebsockets.org/" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4ce87f3facb6f911c142c8bef9bfb380" + +DEPENDS = "zlib" + +S = "${WORKDIR}/git" +SRCREV = "eaa935a80adb38b5cc4d09ce06ec987b87dcddfa" +SRC_URI = "git://github.com/warmcat/libwebsockets.git;protocol=https;" + +inherit cmake pkgconfig + +PACKAGECONFIG ?= "libuv client server http2 ssl" +PACKAGECONFIG[client] = "-DLWS_WITHOUT_CLIENT=OFF,-DLWS_WITHOUT_CLIENT=ON," +PACKAGECONFIG[http2] = "-DLWS_WITH_HTTP2=ON,-DLWS_WITH_HTTP2=OFF," +PACKAGECONFIG[ipv6] = "-DLWS_IPV6=ON,-DLWS_IPV6=OFF," +PACKAGECONFIG[libev] = "-DLWS_WITH_LIBEV=ON,-DLWS_WITH_LIBEV=OFF,libev" +PACKAGECONFIG[libuv] = "-DLWS_WITH_LIBUV=ON,-DLWS_WITH_LIBUV=OFF,libuv" +PACKAGECONFIG[server] = "-DLWS_WITHOUT_SERVER=OFF,-DLWS_WITHOUT_SERVER=ON," +PACKAGECONFIG[ssl] = "-DLWS_WITH_SSL=ON,-DLWS_WITH_SSL=OFF,openssl" +PACKAGECONFIG[testapps] = "-DLWS_WITHOUT_TESTAPPS=OFF,-DLWS_WITHOUT_TESTAPPS=ON," + +PACKAGES =+ "${PN}-testapps" + +FILES_${PN}-dev += "${libdir}/cmake" +FILES_${PN}-testapps += "${datadir}/libwebsockets-test-server/*" -- cgit 1.2.3-korg