aboutsummaryrefslogtreecommitdiff
path: root/libs/libwebsockets
Commit message (Collapse)AuthorAge
* libwebsockets: Fix -Werror=enum-int-mismatch in ↵Oskari Rauta2023-07-01
| | | | | | | | | | | | | | | | | lws_tls_server_abort_connection() with gcc 13 libwebsockets fails with -Werror=enum-int-mismatch with both SSL variants. These 2 patches work out that issue. Problem is mentioned as a issue in openwrt/packages#20949 and instead of overriding issue with appropriate CFLAGS, this approach was suggested for me as it's been made as a PR (for openssl) at warmcat/libwebsockets#2824 Second patch for mbedtls, was made by me using same approach as was used of openssl. Eventually these propably will be merged into libwebsockets mainstream. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* libwebsockets: update PKG_RELEASEJohn Crispin2023-01-04
| | | | | Fixes: df13b03e50 ("libwebsockets: fix uloop support") Signed-off-by: John Crispin <john@phrozen.org>
* libwebsockets: fix uloop supportJohn Crispin2023-01-03
| | | | | | | | | | The commit adding uloop support failed to actually install the .so and add the correct dependencies. [2022/12/26 18:19:38:1835] E: lws_create_context: failed to load evlib_uloop Fixes: 1557ac367a ("libwebsockets: enable built in uloop support") Signed-off-by: John Crispin <john@phrozen.org>
* libwebsockets: fix recursive dependencyJosef Schlehofer2022-10-26
| | | | | | | | | | | | | | | | | | While running `make menuconfig`, it was discovered then there is a recursive dependency like this: tmp/.config-package.in:59138:error: recursive dependency detected! tmp/.config-package.in:59138: symbol PACKAGE_libwebsockets-openssl is selected by PACKAGE_libwebsockets-mbedtls tmp/.config-package.in:59122: symbol PACKAGE_libwebsockets-mbedtls depends on PACKAGE_libwebsockets-openssl It is not possible with the recently added conflicts that two packages (OpenSSL and full variant, which uses OpenSSL as well), which are almost the same provides the same named package libwebsockets as their conflict - Mbed TLS. Fixes: 676c5c72b5eeb583da2603e399fac085fa442c59 ("libwebsockets: OpenSSL and mbedTLS variants should conflict") Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* libwebsockets: OpenSSL and mbedTLS variants should conflictJosef Schlehofer2022-10-25
| | | | | | | They provide the same files, but they don't conflict to each other, this means that users can install them side by side. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* libwebsockets: full variant provides OpenSSLJosef Schlehofer2022-10-25
| | | | | | | | | | | | | For some time, it is not possible to install ttyd and mosquitto-ssl at the same time, so let's solve it that libwebsockets-full provides libwebsockets-openssl. This allows to install ttyd and mosquitto at the same time. Also, we need to add conflict, because we should not have installed libwebsockets-openssl and libwebsockets-full at the same time as they provides the same files. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* libs/libwebsockets: Update to 4.3.xKarl Palsson2022-09-26
| | | | | | | | | | | Changes since 4.2 are extensive, as always. https://libwebsockets.org/git/libwebsockets/tree/changelog?h=v4.3-stable#n4 Eg, Adds CBOR, support for reduced memory CA verification, cookie jars, mqtt client gains qos2, mbedtls v3, fault injection apis, better support for event loops. Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: fix compilation with GCC12Rosen Penev2022-06-09
| | | | | | Upstream backport. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libwebsockets: fix compilation with newer GCCRosen Penev2022-02-14
| | | | | | Errors on uninitialized variable. No idea why only on powerpc64. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libwebsockets: enable external poll supportKarl Palsson2021-08-25
| | | | | | | | | | This was removed and then re-added, but defaulted off upstream. It's still listed as "not recommended" but still absolutely essential for many apps for performance. Fixes: https://github.com/eclipse/mosquitto/issues/2284 Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: avoid a compilation error due to a missing uloopRonny Kotzschmar2021-08-20
| | | | | | | | | | | | | | | | | | | With a clean build environment and at least two parallel jobs a compilation error may occur: ... -- Looking for uv/version.h - found libubox include dir: ULOOP_INCLUDE_DIRS-NOTFOUND libubox libraries: ULOOP_LIBRARIES-NOTFOUND ... CMake Error in lib/event-libs/uloop/CMakeLists.txt: Found relative path while evaluating include directories of "websockets-evlib_uloop": "ULOOP_INCLUDE_DIRS-NOTFOUND" ... Signed-off-by: Ronny Kotzschmar <ro.ok@me.com>
* libwebsockets: enable built in uloop supportKarl Palsson2021-08-03
| | | | | | | | | uloop is always available on OpenWrt, so build in LWS's uloop support by default. Size difference of .ipk is 683 bytes, or about 0.5%. No known applications use this at present, but it seems better to proactively offer it. Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: Bump to 4.2.1Karl Palsson2021-08-03
| | | | | | Changelog at: https://libwebsockets.org/git/libwebsockets/tree/changelog?id=8a580b59b23d204ca72028370e97a8f6aa0c9202 Signed-off-by: Karl Palsson <karlp@etactica.com>
* treewide: back to cmake.mkRosen Penev2021-06-12
| | | | | | Ninja was merged to base and therefore we can now use normal cmake.mk Signed-off-by: Rosen Penev <rosenp@gmail.com>
* treewide: build CMake projects with NinjaRosen Penev2021-03-27
| | | | | | | | | | | | | | | | | | | | faster to compile. A small selection of packages was tested going from: Executed in 696.30 secs fish external usr time 82.98 mins 395.00 micros 82.98 mins sys time 9.02 mins 0.00 micros 9.02 mins to: Executed in 592.20 secs fish external usr time 84.84 mins 361.00 micros 84.84 mins sys time 8.85 mins 57.00 micros 8.85 mins Tested by running make -j 12 and wiping staging/build_dir/target_x Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libwebsockets: update to 4.1.6Karl Palsson2021-03-15
| | | | | | | | | | | | | | | | | | This is a major version bump, from 3.x to 4.x, and continues the path towards a mail client. New features: * ntp client * dns resolver * mqtt client * number humanizing string helpers License change upstream. cmake options tweaked to match current upstream defaults again. Tested with mosquitto and ttyd. Signed-off-by: Karl Palsson <karlp@etactica.com>
* Revert "libwebsockets: move to 3.2.1"Karl Palsson2020-08-21
| | | | | | | | | | | | | | This reverts commit 7066486fbbfa1bb73fee74911a8306e3a534a6fe. LWS 3.2.x and 4.0.x are broken on ath79 and malta-be, (at least) See https://github.com/warmcat/libwebsockets/issues/2008 and https://github.com/openwrt/packages/issues/13085 Restore a functional 3.1 release until upstream release. Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: move to 3.2.1Karl Palsson2020-01-09
| | | | | | | | 3.2.x is formally "not maintained" and people should stick with 3.1.x until a new release of the master branch occurs. However, in reality, 3.2.1 has been released, with performance improvements and fixes. Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: enable unix socket support in the full buildMathew McBride2020-01-08
| | | | | | | | This functionality can be used by downstream applications such as ttyd to present their HTTP service as a unix domain socket rather than a TCP server. Signed-off-by: Mathew McBride <matt@traverse.com.au>
* treewide: Use default PKG_BUILD_DIR when possibleJeffery To2019-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes lines that set PKG_BUILD_DIR when the set value is no different from the default value. Specifically, the line is removed if the assigned value is: * $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) The default PKG_BUILD_DIR was updated[1] to incorporate BUILD_VARIANT if it is set, so now this is identical to the default value. * $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_SOURCE_SUBDIR) if PKG_SOURCE_SUBDIR is set to $(PKG_NAME)-$(PKG_VERSION), making it the same as the previous case * $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) This is the same as the default PKG_BUILD_DIR when there is no BUILD_VARIANT. * $(BUILD_DIR)/[name]-$(PKG_VERSION) where [name] is a string that is identical to PKG_NAME [1]: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=e545fac8d968864a965edb9e50c6f90940b0a6c9 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* libwebsockets: bump to 3.1.0Karl Palsson2018-12-10
| | | | | | | | | | | | | | | | | | Drops an openssl deprecation patch applied upstream. Changes since 3.0.0, the following list of websocket related features: * gzip+brotli compression in the webserver * threadpools * string tokenizers * http reverse proxies * managed disk cache Full changes at https://libwebsockets.org/git/libwebsockets/tree/changelog?id=89eedcaa94e1c8a97ea3af10642fd224bcea068f#n4 Tested on ath79, and classic usage of libwebsockets to provide websockets support to a C application. Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: Fix build without deprecated OpenSSL APIsRosen Penev2018-11-09
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libwebsockets: bump to 3.0.1Karl Palsson2018-09-12
| | | | | | | | | As usual, LWS upstream completely failed to maintain their changelog. Skimming the git log by hand, probably the biggest change of note here is fixed compatibility with openssl 1.1.0 Tested on ath79. Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: Update to 3.0.0Rosen Penev2018-07-05
| | | | | | | | | Removed upstreamed patch. Also added a patch to fix Travis. Signed-off-by: Rosen Penev <rosenp@gmail.com> Tested-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: remove build hostnameAlexander Couzens2017-12-11
| | | | | | | Using the build hostname breaks reproducible builds. The patch is already merged upstream Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* libwebsockets: bump to version 2.4.1Karl Palsson2017-12-11
| | | | | | No changelog entry upstream unfortunately. Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: Upgrade to 2.4.0 and drop wolfssl for mbedtlsKarl Palsson2017-10-25
| | | | | | | | Libwebsockets 2.4.0 now includes mbedtls as a first class citizen. Drop the problematic and poorly supported wolf/cyassl variant and add mbedtls variant instead. Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: rename cyassl variant to wolfsslKarl Palsson2017-09-01
| | | | | | | libwolfssl doesn't exist yet, but at least get all the names right as much as we can. Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: fix build for cyassl variantAlexandru Ardelean2017-09-01
| | | | | | | | Looks like the cyassl redirect to wolfssl does not work flawlessly in libwebsockets. Tested with libwolfssl 3.12.0 & 3.10.0 from LEDE. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* libwebsockets: bump to 2.2.1Karl Palsson2017-05-05
| | | | | | | | | | | | Changelog is https://github.com/warmcat/libwebsockets/blob/v2.2.1/changelog Since 2.0.3, the last version packaged, banner highlights are: * mountains of work on lws being it's own webserver * fixes apparently, but they don't get changelog entries. Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: fix typos referencing package nameDenis Osvald2017-03-28
| | | | | | | | | | In commit f82287cf5c1b2acd (treewide: use name in define and eval lines) two typos were committed as result of replacing PKG_NAME macro with actual package name. Undo those typos here to make the affected variants installable. Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
* treewide: use name in define and eval linesStijn Tintel2017-03-08
| | | | | | | | | | | | | | | For consistency, use full name instead of $(PKG_NAME) in define and eval lines for all packages. I've seen reviews that asked to do this before, and I am asking the same during reviews now. To avoid this in the future, fix this treewide so when people use existing packages as example, we will not have to request this change anymore. This makes all packages consistent with both LEDE and OpenWrt base repositories. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* libwebsockets: use tarball releases instead of gitDenis Osvald2016-10-13
| | | | Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
* libwebsockets: bump to v2.0.3Denis Osvald2016-10-13
| | | | Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
* libwebsockets: add full variant with libuv, plugins, CGIDenis Osvald2016-10-11
| | | | Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
* libwebsockets: Upgrade to latest stable release.Karl Palsson2016-08-26
| | | | | | | | | Fairly major bump from 1.7.x to 2.0.2. Changelog (mostly) available at: https://github.com/warmcat/libwebsockets/blob/v2.0-stable/changelog Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: Update maintainer emailKarl Palsson2016-08-26
| | | | | Signed-off-by: Karl Palsson <karlp@remake.is> Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: bump to 1.7.5Karl Palsson2016-04-05
| | | | | | | | Minor fixes, see https://github.com/warmcat/libwebsockets/blob/v1.7-stable/changelog for full changelog. Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: Bump version to 1.7.3Karl Palsson2016-03-08
| | | | | | Latest "stable" release from 1.7.x branch. Signed-off-by: Karl Palsson <karlp@etactica.com>
* libwebsockets: bump to v1.6.2Karl Palsson2016-01-25
| | | | | | | | Many user api changes, largely to cleanup and make more consistent. Full changelog available at http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/tree/changelog Signed-off-by: Karl Palsson <karlp@remake.is>
* libwebsockets: Correctly enable IPv6 supportKarl Palsson2016-01-25
| | | | Signed-off-by: Karl Palsson <karlp@remake.is>
* libwebsockets: Bump to version 1.5Karl Palsson2015-11-05
| | | | | | | | | Very minor changes in this release, but best to keep up. Full changelog available at http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/tree/changelog Signed-off-by: Karl Palsson <karlp@remake.is>
* all: get rid of kmod-ipv6 dependenciesSteven Barth2015-10-06
| | | | Signed-off-by: Steven Barth <steven@midlink.org>
* libwebsockets: Add maintainer/url infoKarl Palsson2015-05-07
| | | | | | I added the package originally, guess I should maintain it. Signed-off-by: Karl Palsson <karlp@remake.is>
* libwebsockets: update to 1.4.x release.Karl Palsson2015-05-07
| | | | | | | | | | This changes the ABI and .so number, so it is only suitable for trunk packages. A patch included upstream has been dropped. Full changelog: https://github.com/warmcat/libwebsockets/blob/master/changelog Signed-off-by: Karl Palsson <karlp@remake.is>
* libwebsockets: don't use github conflicting tag archives (#1051)Nicolas Thill2015-05-01
| | | | Signed-off-by: Nicolas Thill <nico@openwrt.org>
* libs: libwebsockets: add latest released versionKarl Palsson2014-12-18
This includes a patch for cyassl building that has been committed upstream, but not released. There's no SPDX license identifier for LGPL + static linking exception, so I've used "LGPL-2.1+exception" as suggested at http://lwn.net/Articles/378329/ See also: https://github.com/warmcat/libwebsockets/issues/170 Signed-off-by: Karl Palsson <karlp@remake.is>