summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/libwebsockets
Commit message (Collapse)AuthorAgeFilesLines
* libwebsockets: remove STAGING_LIBDIR with /Martin Jansa2024-05-241-2/+2
| | | | | | | | | | | | | | | | | * after buildpath warnings fix from: https://git.openembedded.org/meta-openembedded/commit/?id=eeef1fddd9052bed4b1a91565260518eb042fed2 the LibwebsocketsTargets.cmake ends with: INTERFACE_LINK_LIBRARIES "ssl;crypto;ssl;crypto;/libcap.so;-lpthread" instead of: INTERFACE_LINK_LIBRARIES "ssl;crypto;ssl;crypto;/OE/build/.../libwebsockets/4.3.3/lib32-recipe-sysroot/usr/lib/libcap.so;-lpthread" which causes e.g. mosquitto to fail in do_compile with: ninja: error: '/libcap.so', needed by 'src/mosquitto', missing and no known rule to make it * this happens only when libwebsocket is built with libcap enabled (by libcap in DEPENDS) Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: fix buildpath warningsGerard Salvatella2024-05-191-0/+2
| | | | | | | | In order to remove absolute paths from the cmake artifacts, paths from the `$lib` folder should also be stripped off, otherwise internally linked libraries (e.g. libz) may appear. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: upgrade 4.3.2 -> 4.3.3Wang Mingyu2023-11-212-35/+2
| | | | | | | | 0001-Fix-Werror-enum-int-mismatch-in-lws_tls_server_abort.patch removed since it's included in 4.3.3 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: Support building for nativePeter Kjellerstedt2023-10-261-0/+3
| | | | | | | | | | | | | This is needed to be able to build mosquitto-native. The dependency on libcap when building for native is needed because cmake will pick up the existence of libcap from the host, but then the build fails if it is not available in the sysroot. Unfortunately, there does not seem to be any way to explicitly tell cmake to not build with libcap. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: Fix reference to TMPDIRKhem Raj2023-05-191-0/+8
| | | | | | .cmake files encoded absolute paths, fixed thusly Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: Fix build with gcc13Khem Raj2023-01-262-1/+34
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: add ipv6 in PACKAGECONFIGLivin Sunny2022-12-131-1/+1
| | | | | | | Adds a PACKAGECONFIG if ipv6 is enabled in DISTRO_FEATURES. Signed-off-by: Livin Sunny <livinsunny519@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: add error check if PACKAGECONFIG contains systemd but ↵Lukas Rusak2022-10-021-0/+5
| | | | | | DISTRO_FEATURES doesn't Signed-off-by: Lukas Rusak <lorusak@gmail.com>
* libwebsockets: add optional support for sd-event loopLukas Rusak2022-09-291-1/+4
| | | | Signed-off-by: Lukas Rusak <lorusak@gmail.com>
* libwebsockets: update to version 4.3.2Radovan Scasny2022-07-241-3/+3
| | | | | Signed-off-by: Radovan Scasny <radovan.scasny@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: Avoid absolute paths in *.cmake files in the sysrootPeter Kjellerstedt2022-05-101-0/+3
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: upgrade 4.2.1 -> 4.2.2wangmy2021-09-051-1/+1
| | | | | | | ss: sigv4: disable ctest until new auth available Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-8/+8
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* libwebsockets: Update 4.2.0 -> 4.2.1Luan Rafael Carneiro2021-07-162-58/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the library to the 4.2.1 stable release. This commit includes following changes: 8a580b59 v4.2.1 e90f005a vhost: listen: protect listen port transfer between 041baf93 mbedtls: sessions: clean session on bail path 4038a7d4 windows: align plat insert socket POLLIN handling to linux a310e16f socks5: cast for mingw3 nonposix recv args 439651fa openssl: manage _GNU_SOURCE better c042ba8c mqtt: handle NULL mqtt publish metadata 04761c4b event libs: glib: use glib.h specifically 599d318a mqtt: coverity: help coverity see we wont have an mqtt role wsi without mqtt member allocated bae99f63 tls: add option to serialize ssl handshake ff1b8ed0 tls: fix inbalanced tls restrict borrow/return calls ad3901d0 raw-proxy: fix role bind flag 4bc8b1a4 extpoll: clean up test server for Wconversion in extpoll parts eeea000c dns: handle EAI_NONAME as fatal 9e5acc05 minimal: hcmulti: modernize startup to use OPERATIONAL 55533f96 netlink: hold in COLDPLUG until we actually have some routing table contents fa1a7040 sspc: close: differentiate between ss and sspc at final wsi close 3f0fef17 gcc: gcc8 only recognizes fallthu e319b15b minimal: ws client spam: modernize with pvo and cancel service after interrupted ea4d8008 service: fix casts for EXTERNAL_POLL aea9d0ce tls-sessions: remove no stash warning 10c1b882 ss: check destroy null policy e4aa3ece ss: check serialize null policy 4141a68f ss: avoid null ss policy on req tx len de8185db ss: avoid null ss policy on req tx 526310df ss: h1: log dereferences NULL 7a283eba minimal: htt-client: send user agent and accept 3d13468e ctest: do not reuse ctest-ssp path e3da2a3b android: getnameinfo uses nonstandard size_t 8398ef79 getifaddrs: casts for android 02ae95fa non-windows: explicit cast vaarg to mode_t 7c3c179e win32: client: just do WIN32 check 4c8195df windows: only conceal mode_t on windows 0ba8df6e threadpool: disassociate wsi on close 94c50618 tls: mbedtls: fix cast for dump helper d896d401 freertos: check for forcing each time around service loop cd87bc1c cmake: tls: use CHECK_SYMBOL_EXISTS da17f018 plugin: post: check unexpected write after protocol unbind 1c935dff clean: else became a NOP 896a2e09 strexp: handle NULL better aa090fc2 cygwin: include in unix type socket init 58a34cb0 examples: embedded: keep loop running on WROVER 85f772f2 OSX: Fixed can't find clock_gettime 014aa77e core-net: Remove unused variable e1ef2301 ss: h2: handle zero length COLON_PATH for metadata 0557e919 sspc: handle nonexistent metadata cleanly 07bef6b8 coverity: ntp from blob: handle blob missing 2f9ed48d coverity: report problem in hpack_dynamic_size() to parent d155970b coverity: h->cwsi must be valid if we are handling rx on it 2d97e343 ss: split out blob into own minimal example c3dd4d05 ss: sspc: handle destroy for client_connect and request_tx Signed-off-by: Luan Rafael Carneiro <luan.rafael@ossystems.com.br> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: Update to latest on v4.2-stableKhem Raj2021-06-052-4/+60
| | | | | | | | | | | | Remove unused variable which is flagged by clang License-Update: copy secondary license texts into LICENSE as a convenience Add Apache-2.0 as well since lib/tls/mbedtls/wrapper is using it [1] https://github.com/warmcat/libwebsockets/commit/a12d5ebed672a28c16484d983885474be606cc21#diff-c693279643b8cd5d248172d9c22cb7cf4ed163a3c98c8a3f69c2717edd3eacb7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: upgrade 4.1.6 -> 4.2.0zangrc2021-04-221-2/+2
| | | | | Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: upgrade to 4.1.6Alexander Vickberg2020-12-081-6/+14
| | | | | | | | | | | | | | | Event lib support is now built into dynamically loaded plugins so package them separately and include them in RDEPENDS if enabled. Building minimal-examples with generated SDK failed due to cmake configuration had static enabled but not included into SDK. Solve this by adding static as PACKAGECONFIG option and adding ${PN}-staticdev to RDEPENDS_${PN}-dev if enabled. Remove CFLAGS_append with -Wno-error added for fixing building with Os. This looks like it's fixed in upstream. Signed-off-by: Alexander Vickberg <wickbergster@gmail.com>
* libwebsockets: update to 4.0.20Oleksandr Kravchuk2020-07-281-1/+1
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: upgrade 3.2.2 -> 4.0.1Martin Balik2020-04-251-4/+4
| | | | | Signed-off-by: Martin Balik <martin.balik@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: fix upstream check URLPierre-Jean Texier2020-03-251-0/+3
| | | | | | | | | Fixes: INFO: libwebsockets 3.2.2 2015 None 9494c66d20898ddb39483427c84f152b03cbad28 Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: upgrade 3.2.0 -> 3.2.2Pierre-Jean Texier2020-02-031-1/+1
| | | | | Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: update to 3.2.0Oleksandr Kravchuk2019-09-161-2/+2
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: Fix the build with -OsAdrian Bunk2019-08-291-0/+2
| | | | | | | | | | lib/event-libs/libuv/libuv.c: In function 'elops_destroy_context1_uv': lib/event-libs/libuv/libuv.c:519:7: error: 'm' may be used uninitialized in this function [-Werror=maybe-uninitialized] if (m) ^ Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: upgrade 3.0.0 -> 3.1.0Andreas Müller2019-02-011-1/+1
| | | | | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: fix multilib installAndreas Müller2019-02-011-0/+4
| | | | | | | | | | | | | | | | | | | | ERROR: libwebsockets-3.0.0-r0 do_package: QA Issue: libwebsockets: Files/directories were installed but not shipped in any package: | /usr/lib/libwebsockets.so | /usr/lib/libwebsockets.a | /usr/lib/libwebsockets.so.13 | /usr/lib/cmake | /usr/lib/pkgconfig | /usr/lib/cmake/libwebsockets | /usr/lib/cmake/libwebsockets/LibwebsocketsTargets-release.cmake | /usr/lib/cmake/libwebsockets/LibwebsocketsConfig.cmake | /usr/lib/cmake/libwebsockets/LibwebsocketsConfigVersion.cmake | /usr/lib/cmake/libwebsockets/LibwebsocketsTargets.cmake | /usr/lib/pkgconfig/libwebsockets_static.pc | /usr/lib/pkgconfig/libwebsockets.pc Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: rely on cmake.bbclass to put cmake package files in dev packageTrevor Woerner2018-05-291-1/+0
| | | | | | | | | | | | The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and ${datadir}/cmake end up in the dev package, so recipes no longer need to provide custom packaging rules to handles these files. http://git.openembedded.org/openembedded-core/commit/?id=d91dc4666683a96e9d03cbbd21b8a546f9069c93 Originally-conceived-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libwebsockets: update 2.1.0 -> 3.0.0Trevor Woerner2018-05-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <twoerner@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libwebsockets: switch away from github archiveTrevor Woerner2018-05-171-4/+3
| | | | | | | | | | Since we know that github archives which are automatically generated have a tendency to change their checksums[1], switch to using a git clone. [1] http://lists.openembedded.org/pipermail/openembedded-devel/2017-September/114916.html Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libwebsockets: Add recipe for version 2.1.0Fabio Berton2017-02-131-0/+28
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>