Roger A. Light
699654b999
Don't update homebrew in travis, it takes an age otherwise.
2020-12-04 23:23:58 +00:00
Roger A. Light
791c63372b
Fix cjson include paths.
2020-12-04 22:15:19 +00:00
Roger Light
5679a4d432
Merge pull request #1930 from etactica/crosss-fixes20
...
apps: mosquitto_ctrl: don't hard set paths
2020-12-04 22:00:28 +00:00
Karl Palsson
58a06f3331
apps: mosquitto_ctrl: don't hard set paths
...
In a cross compile environment, these paths will be added elsewhere, and
in a local environment, they should already be covered by the system
compiler. Simply drop them.
Signed-off-by: Karl Palsson <karlp@etactica.com>
2020-12-04 21:45:06 +00:00
Roger A. Light
122e6ecfd3
Docker: Verify sha256 sums for lws/cjson.
2020-12-03 21:07:01 +00:00
Roger A. Light
00cf75dafc
Add v2.0.0 post.
2020-12-03 16:35:20 +00:00
Roger A. Light
25d5b8cbb0
Update download page for new release.
2020-12-03 16:14:56 +00:00
Roger A. Light
fc51063d54
Migration guide, plus dynsec doc update, plus toc.
2020-12-03 16:14:56 +00:00
Roger A. Light
3a7670507a
Windows installer path fixes.
2020-12-03 14:02:43 +00:00
Roger A. Light
6ad5f19aef
CMake build fixes for Windows.
2020-12-03 14:02:17 +00:00
Roger A. Light
2801d5c128
Fix snapcraft build.
2020-12-03 13:26:47 +00:00
Roger A. Light
7a26cc259c
Update docker hashes.
2020-12-03 00:14:38 +00:00
Roger A. Light
c00671af5c
Rename and update.
2020-12-03 00:06:21 +00:00
Roger A. Light
3433192041
Fix Docker 2.0 source path
2020-12-02 23:27:53 +00:00
Roger A. Light
09ee0c31f5
Build fix for Xcode 12.
...
Closes #1831 . Thanks to Tristan79 and andreas-kluge.
2020-12-02 22:47:34 +00:00
Roger A. Light
74db0e977f
Merge branch 'develop'
2020-12-02 22:44:26 +00:00
Roger A. Light
016d2c1719
Merge branch 'fixes' into develop
2020-12-02 22:44:09 +00:00
Roger A. Light
faa56fbb3d
Docker files for 2.0
2020-12-02 22:43:42 +00:00
Roger A. Light
1636e47202
libressl does not support SSL_CTX_set_ciphersuites.
2020-12-02 22:39:48 +00:00
Roger A. Light
5b6c2c9d0b
Update snap package for 2.0
2020-12-02 22:31:42 +00:00
Roger A. Light
845be8bead
Fix dist target.
2020-12-02 21:51:30 +00:00
Roger A. Light
163d6bf60f
Update Windows installers for new files.
2020-12-02 20:58:41 +00:00
Roger A. Light
6904fac6a4
Bump version number and changelog.
2020-12-02 20:54:13 +00:00
Roger A. Light
d6fe93aa51
ctrl: --force not supported.
2020-12-02 20:39:07 +00:00
Roger A. Light
6fe3279436
Build fixes from Windows changes.
2020-12-02 20:38:21 +00:00
Roger A. Light
ea1d496299
Reply to $CONTROL QoS>0 msgs even if WITH_CONTROL disabled.
2020-12-02 19:49:17 +00:00
Roger A. Light
27a160d127
Enable WITH_CONTROL in cmake.
2020-12-02 19:49:15 +00:00
Roger A. Light
26ffe1300a
Various Windows build fixes.
2020-12-02 19:49:14 +00:00
Nikolay Raspopov
71845d28ac
Fixed some VS2017 compilation error and warnings ( #1916 )
...
* Fixed some VS2017 compilation errors and warnings.
Signed-off-by: raspopov <raspopov@cherubicsoft.com>
2020-12-02 15:59:45 +00:00
Roger A. Light
2687d18214
macOS build fixes.
2020-12-02 15:50:33 +00:00
Roger A. Light
550c54701e
Fix cmake build when cjson not available.
2020-12-02 15:50:33 +00:00
Pierre Hallot
8f0bdd5fd3
Find package libwebsockets if the option is ON.
...
Otherwise, if the package is not installed, configuration will work, but building will fail.
Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
2020-12-02 11:54:28 +00:00
Pierre Hallot
2afc5783a9
CMake: Move cJSON check out of the plugin check since it is required elsewhere
...
Some client/app code also optionally use cJSON, however it won't be found if plugins are disabled.
Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
2020-12-02 11:28:51 +00:00
Pierre Hallot
6293e13142
Fix CMake warning about cJSON name mismatch
...
CMake Warning (dev) at /usr/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:424 (message):
The package name passed to `find_package_handle_standard_args` (CJSON) does
not match the name of the calling package (cJSON). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
cmake/FindcJSON.cmake:23 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:125 (FIND_PACKAGE)
This warning is for project developers. Use -Wno-dev to suppress it.
Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
2020-12-02 11:28:51 +00:00
Roger A. Light
828e7ae130
More conversion fixes.
2020-12-02 10:41:58 +00:00
Roger A. Light
42f09b8add
Build fixes
2020-12-02 10:36:00 +00:00
Roger A. Light
d291effdcf
Fix mosquitto_ctrl Makefile build yes/no based on deps.
2020-12-02 10:31:25 +00:00
Roger A. Light
df1802d8f1
Fix client state conversion warnings.
2020-12-02 10:26:22 +00:00
Roger A. Light
27967f8885
Prevent possible unitialised use.
2020-12-02 10:10:21 +00:00
Roger A. Light
9e6efd2f32
Stop listeners before removing clients to avoid use after free.
2020-12-02 09:41:12 +00:00
Roger A. Light
232a759320
Log client port on new connections.
...
Closes #1911 . Thanks to twegener-embertec.
2020-12-01 22:38:59 +00:00
Roger A. Light
a7f044bcea
Respect receive-maximum on bridges.
2020-12-01 21:38:56 +00:00
Roger A. Light
3731535298
Add SPDX license identifiers.
2020-12-01 20:46:56 +00:00
Roger A. Light
04c110183c
Bridge support for MQTT v5 maximum-qos.
2020-12-01 18:15:29 +00:00
Roger A. Light
ca4b23486b
Bridges now obey MQTT v5 server-keepalive.
2020-12-01 16:08:05 +00:00
Roger A. Light
e030ca45cd
Fix connack error printing.
2020-12-01 15:57:37 +00:00
Roger A. Light
0c22f475ff
Fix bridges incorrectly setting Wills to manage remote notifications.
...
This is for when `notifications_local_only` was set true.
Closes #1902 . Thanks to marcinkowskip.
2020-12-01 14:33:13 +00:00
Roger A. Light
7d05f70fe1
Fix mosq_test.py to_string() on Python 3
2020-12-01 14:27:39 +00:00
Roger A. Light
b34dcd2a67
Final remove support for legacy libwebsockets
...
This means libwebsockets < 2.4.0.
2020-12-01 13:41:14 +00:00
Roger A. Light
730fc34539
Build fix for WITH_TLS=no.
2020-12-01 13:40:03 +00:00