Commit Graph

2640 Commits

Author SHA1 Message Date
Peter Stevenson
8a44e5940c Systemd service changes for updated pid path.
Signed-off-by: Peter Stevenson <pete@ihut.co.uk>
2020-12-17 00:24:10 +00:00
Pierre Hallot
57d2818a3d
Fix appending CMake module path to existing path
The code would simply append the folder with no separator, resulting in an invalid path if the variable was not empty.
Now properly append it.

Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
2020-12-14 11:26:12 +01:00
Pierre Hallot
ddb0f21ab5
Set cmake_minimum_required first as recommended in the documentation
https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html
"Note Call the cmake_minimum_required() command at the beginning of the top-level CMakeLists.txt file even before calling the project() command. It is important to establish version and policy settings before invoking other commands whose behavior they may affect."

Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
2020-12-14 11:26:09 +01:00
Pierre Hallot
4dcfe5424f
Remove CMAKE_LEGACY_CYGWIN_WIN32 which is not needed anymore
According to this from the mailing list, it is no longer required since the minimum cmake required is 3.0.

https://cmake.org/pipermail/cmake/2014-July/058048.html
"The code that emits the warning is run by "project()". Since you do not have an explicit project() call in your top-level CMakeLists.txt CMake adds one to the top implicitly. [1]
A project file that explicitly calls project() after requiring CMake >= 2.8.4 should make the warning go away."

Signed-off-by: Pierre Hallot <hallotpierre@gmail.com>
2020-12-14 11:25:23 +01:00
Roger Light
113603168b Fix LWT not being sent on client takeover.
This was not happening for the case when the existing session wasn't
being continued.

Closes #1946. Thanks to Rory Piper.
2020-12-13 23:11:02 +00:00
Roger Light
74f3285cf8 Fix generic docker build.
Closes #1945. Thanks to Andreas Schildbach.
2020-12-13 21:11:42 +00:00
Roger Light
f63386bf4a Fix mosquitto_passwd -b using username as password.
Only applies if if `-c` is not also used.

Closes #1949. Thanks to J. Augusto de Oliveira.
2020-12-13 20:32:30 +00:00
Roger A. Light
abac67299f Fix excessive CPU use on non-Linux systems when the open file limit is set high.
Closes #1947. Thanks to Patrick TJ McPhee.
2020-12-12 22:10:42 +00:00
Roger A. Light
f7dc138157 Fix install target when using WITH_CJSON=no.
Closes #1938. Thanks to apple3306 and JulianCaruso.
2020-12-11 00:07:11 +00:00
Roger A. Light
cc47eaba09 Bump version number and update webpage. 2020-12-10 23:37:57 +00:00
Roger A. Light
ecf6f9079a Fix build regression for WITH_WEBSOCKETS=yes on non-Linux systems. 2020-12-10 23:33:46 +00:00
Roger A. Light
38b930776c Update docker builds 2020-12-10 15:11:21 +00:00
Roger A. Light
f9259a2ba0 Merge branch 'fixes' 2020-12-10 14:39:28 +00:00
Roger A. Light
2307c9fa07 Update web pages. 2020-12-10 14:39:16 +00:00
Roger A. Light
36eb5ca0c9 Bump changelog date. 2020-12-10 14:31:47 +00:00
Roger A. Light
757902bcf8 Improve struct packing. 2020-12-10 12:52:11 +00:00
Roger A. Light
37ce51703f Fix websockets listeners not causing the main loop not to wake up.
Closes #1936. Thanks to sectokia.
2020-12-10 12:31:52 +00:00
Roger A. Light
f54360d228 Don't install example plugins. 2020-12-09 22:37:55 +00:00
Roger A. Light
66b680af34 Bump version number. 2020-12-09 22:30:06 +00:00
Roger A. Light
39ba40fd53 Fix letsencrypt instruction typo.
Closes #1939. Thanks to Frank Tegtmeyer.
2020-12-09 22:30:06 +00:00
Roger A. Light
d8dcfd75fe lib: Fix DH group not being set for TLS connections.
This meant ciphers using DHE couldn't be used.

Closes #1925. Closes #1476. Thanks to Jonathan Sönnerup, Valerii
Demeshko, and sectokia.
2020-12-09 22:30:06 +00:00
Roger A. Light
b7f0161f52 Fix DH group not being set for TLS connections.
This meant ciphers using DHE couldn't be used.

Closes #1925. Closes #1476. Thanks to Jonathan Sönnerup, Valerii
Demeshko, and sectokia.
2020-12-09 15:40:45 +00:00
Roger A. Light
0d3512144f Remove defunct stickers link. 2020-12-09 14:08:37 +00:00
Roger A. Light
bdfa5e714a Fix mosquitto_passwd -U 2020-12-09 14:08:37 +00:00
Roger A. Light
9968e35981 Fix websockets connections on Windows blocking subsequent connections.
Closes #1934. Thanks to sectokia.
2020-12-09 11:39:53 +00:00
Roger A. Light
0d747673d3 Distribute cmake/ and snap/ directories in tar. 2020-12-06 23:12:04 +00:00
Roger A. Light
74faabc7c1 Fix invalid free 2020-12-06 21:27:26 +00:00
Roger A. Light
3047374693 Drop hard coded linker flags. 2020-12-06 07:43:59 +00:00
Roger A. Light
c25229c13a Fix build using WITH_TLS=no when the openssl headers aren't available. 2020-12-04 23:44:38 +00:00
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