Commit Graph

2489 Commits (57d2818a3d84369e77fe39babc452f19ff5155cf)
 

Author SHA1 Message Date
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>
5 years ago
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>
5 years ago
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>
5 years ago
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.
5 years ago
Roger Light 74f3285cf8 Fix `generic` docker build.
Closes #1945. Thanks to Andreas Schildbach.
5 years ago
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.
5 years ago
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.
5 years ago
Roger A. Light f7dc138157 Fix `install` target when using WITH_CJSON=no.
Closes #1938. Thanks to apple3306 and JulianCaruso.
5 years ago
Roger A. Light cc47eaba09 Bump version number and update webpage. 5 years ago
Roger A. Light ecf6f9079a Fix build regression for WITH_WEBSOCKETS=yes on non-Linux systems. 5 years ago
Roger A. Light 38b930776c Update docker builds 5 years ago
Roger A. Light f9259a2ba0 Merge branch 'fixes' 5 years ago
Roger A. Light 2307c9fa07 Update web pages. 5 years ago
Roger A. Light 36eb5ca0c9 Bump changelog date. 5 years ago
Roger A. Light 757902bcf8 Improve struct packing. 5 years ago
Roger A. Light 37ce51703f Fix websockets listeners not causing the main loop not to wake up.
Closes #1936. Thanks to sectokia.
5 years ago
Roger A. Light f54360d228 Don't install example plugins. 5 years ago
Roger A. Light 66b680af34 Bump version number. 5 years ago
Roger A. Light 39ba40fd53 Fix letsencrypt instruction typo.
Closes #1939. Thanks to Frank Tegtmeyer.
5 years ago
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.
5 years ago
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.
5 years ago
Roger A. Light 0d3512144f Remove defunct stickers link. 5 years ago
Roger A. Light bdfa5e714a Fix `mosquitto_passwd -U` 5 years ago
Roger A. Light 9968e35981 Fix websockets connections on Windows blocking subsequent connections.
Closes #1934. Thanks to sectokia.
5 years ago
Roger A. Light 0d747673d3 Distribute cmake/ and snap/ directories in tar. 5 years ago
Roger A. Light 74faabc7c1 Fix invalid free 5 years ago
Roger A. Light 3047374693 Drop hard coded linker flags. 5 years ago
Roger A. Light c25229c13a Fix build using WITH_TLS=no when the openssl headers aren't available. 5 years ago
Roger A. Light 699654b999 Don't update homebrew in travis, it takes an age otherwise. 5 years ago
Roger A. Light 791c63372b Fix cjson include paths. 5 years ago
Roger Light 5679a4d432
Merge pull request #1930 from etactica/crosss-fixes20
apps: mosquitto_ctrl: don't hard set paths
5 years ago
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>
5 years ago
Roger A. Light 122e6ecfd3 Docker: Verify sha256 sums for lws/cjson. 5 years ago
Roger A. Light 00cf75dafc Add v2.0.0 post. 5 years ago
Roger A. Light 25d5b8cbb0 Update download page for new release. 5 years ago
Roger A. Light fc51063d54 Migration guide, plus dynsec doc update, plus toc. 5 years ago
Roger A. Light 3a7670507a Windows installer path fixes. 5 years ago
Roger A. Light 6ad5f19aef CMake build fixes for Windows. 5 years ago
Roger A. Light 2801d5c128 Fix snapcraft build. 5 years ago
Roger A. Light 7a26cc259c Update docker hashes. 5 years ago
Roger A. Light c00671af5c Rename and update. 5 years ago
Roger A. Light 3433192041 Fix Docker 2.0 source path 5 years ago
Roger A. Light 09ee0c31f5 Build fix for Xcode 12.
Closes #1831. Thanks to Tristan79 and andreas-kluge.
5 years ago
Roger A. Light 74db0e977f Merge branch 'develop' 5 years ago
Roger A. Light 016d2c1719 Merge branch 'fixes' into develop 5 years ago
Roger A. Light faa56fbb3d Docker files for 2.0 5 years ago
Roger A. Light 1636e47202 libressl does not support SSL_CTX_set_ciphersuites. 5 years ago
Roger A. Light 5b6c2c9d0b Update snap package for 2.0 5 years ago
Roger A. Light 845be8bead Fix dist target. 5 years ago
Roger A. Light 163d6bf60f Update Windows installers for new files. 5 years ago