Accepting request 752489 from home:mnhauke

- Update to version 1.6.8
  Broker:
  * Various fixes for `allow_zero_length_clientid` config, where
    this option was not being set correctly.
  * Fix incorrect memory tracking causing problems with
    memory_limit option.
  * Fix subscription topics being limited to 200 characters instead
    of 200 hierarchy levels.
  * Only a single CRL could be loaded at once. This has been fixed.
  * Fix problems with reloading config when `per_listener_settings`
    was true.
  * Fix retained messages with an expiry interval not being expired
    after being restored from persistence.
  * Fix messages with an expiry interval being sent without an
    expiry interval property just before they were expired.
  * Fix TLS Websockets clients not receiving messages after taking
    over a previous connection.
  * Fix MQTT 3.1.1 clients using clean session false, or MQTT 5.0
    clients using session-expiry-interval set to infinity never
    expiring, even when the global `persistent_client_expiration`
    option was set.
  Client library:
  * Fix publish properties not being passed to on_message_v5
    callback for QoS 2 messages.
  * Fix documentation issues in mosquitto.h.
  * Document `mosquitto_connect_srv()`.
  Clients:
  * Fix duplicate cfg definition in rr_client.
  * Fix `mosquitto_pub -l` hang when stdin stream ends.
  * Fix `mosquitto_pub -l` not sending the final line of stdin if

OBS-URL: https://build.opensuse.org/request/show/752489
OBS-URL: https://build.opensuse.org/package/show/network:messaging:mqtt/mosquitto?expand=0&rev=30
This commit is contained in:
Martin Hauke 2019-11-29 21:28:23 +00:00 committed by Git OBS Bridge
parent 3a15df254d
commit a3a8976033
7 changed files with 61 additions and 38 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bcd31a8fbbd053fee328986fadd8666d3058357ded56b9782f7d4f19931d178e
size 591062

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEoNbuodyuSaY1o7Lwd5si37PnF7cFAl2LTQIACgkQd5si37Pn
F7fZXhAAvSCpyKkMdXjKgnRw1CmQL9hDOfY1wdLzpDIn42MUhTHgu/tLtoqSQtsR
whdv9fxjwB74S1Cv1Ai61q8vssVUhz5MrXENPwDVADXayMP+GxmArJei0BMTf1t0
w72Vrr8l++iZTko4tVA+vI+ScQxRE2YehtkCXx+IaR15eIpllOUIpe+rfZmvCpsI
Rsegwia93y9MwrNr15Bn32SKVp4YkLcBkYr2RXnm8Q/D9lXcyWpT2W2OHuN8J9Fb
0GrnCjItynGDtXwaIEkO/Ae5+P52dABEIzUDD+WoubErg3rpV1Z7LsMFEvXGjxhp
On8j+QWfxKj4UQs0g8CqxhCyoZUIvbDKJukbmUUfU8+/g7us4+BhBLQZKjre7pI7
zANQQn4IMRgDBnlEyu6dIE0h1sFFi35nJOjxLV9eZbieGZNi7UXhgbl+H74o7TUK
+QexWFhZQFMhZa5BWCtCO4Ha8XBzHdF6gCpHqktF6/0vhN8ADwjooZ9bsluLe7LT
WCk0dgJ2nZOvQJp6UvV0pQVaCoKmUUgGZy2CR5AEbQZSrZ4DS3CffZQZYYVBImc0
B88Ba17aMbDjTWOtQJwmge9VK6gYY/8Lpv6jOIxPR77WkodkpSBiCtaSYTpYFAqC
+bgdSLlTlFFyJNGCYdzH/8Wq7XCSfTnBzWaNcIr26+kUpgnIcwA=
=PRjp
-----END PGP SIGNATURE-----

3
mosquitto-1.6.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7df23c81ca37f0e070574fe74414403cf25183016433d07add6134366fb45df6
size 589873

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEoNbuodyuSaY1o7Lwd5si37PnF7cFAl3gAKEACgkQd5si37Pn
F7fTHg/6AlYZdIHpRGha6svX6qcERV4OcBXUHIul4Eh3rFkRrb8pm+nvpi8rQu5L
2Op9NDrRg4+4dRAjOk0qImpTXMmCqHet/3PRC8a0tlfKr8e/zvuykSK8jDAoU19R
EO52Tran7xSRYVJM95Wo4stq34U24hc95BuEFW+6efWPEj2Ugua+M4r/ZODxQdqG
Q/uxZ78dXSkz5Ac60hEywec6b/iM0AB4C213PjqDunwSPLXn1HjrQ49ahObHc6YB
MDCtaVxB7rL7bm2m41gypyGThWrwLa+eOXOHJSLWxWAc7YhkslMQdgFkFHaC2MNJ
hVyifiw9dImUBR7vkMUnaCUpbj33HoqlUWJDOPgQ0vXJpjj3TYfNVPR9O2kHjOSu
wyvjBRDGSq2ufvLfuhpZDtRAqEsLPZqas2fnftQPgwnqOY/ro8hW3EVtOGKOcuqc
a8FG+70KNNDXpTh5rAYCZe9Z2iksrQBfmYOb9rgAems8PkirBb9QDBN+l7CSlpq8
Kuxzl3gBTbMce+W1eu3pFgbOnBUQJPv5Perw7X+AdQsnqoWg/7g94saD0MEPL4z/
5qaZgWPrIm2FP8LuK+FX9GfjjN6WJGx9DMr+uUPmIE/Qk0OfC/ee07QpAWxbII+M
i5wLyYGDTVw3r2xVOub39vE25XpR6UcoHe5ftcI3zb5TbtN2br4=
=zeoy
-----END PGP SIGNATURE-----

View File

@ -1,16 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7fc2595..d5b90b8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -111,9 +111,9 @@ install(FILES mosquitto.conf aclfile.example pskfile.example pwfile.example DEST
# ========================================
configure_file(libmosquitto.pc.in libmosquitto.pc @ONLY)
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libmosquitto.pc" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pkgconfig")
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libmosquitto.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
configure_file(libmosquittopp.pc.in libmosquittopp.pc @ONLY)
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libmosquittopp.pc" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pkgconfig")
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/libmosquittopp.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
# ========================================
# Testing

View File

@ -1,3 +1,44 @@
-------------------------------------------------------------------
Fri Nov 29 18:34:49 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Update to version 1.6.8
Broker:
* Various fixes for `allow_zero_length_clientid` config, where
this option was not being set correctly.
* Fix incorrect memory tracking causing problems with
memory_limit option.
* Fix subscription topics being limited to 200 characters instead
of 200 hierarchy levels.
* Only a single CRL could be loaded at once. This has been fixed.
* Fix problems with reloading config when `per_listener_settings`
was true.
* Fix retained messages with an expiry interval not being expired
after being restored from persistence.
* Fix messages with an expiry interval being sent without an
expiry interval property just before they were expired.
* Fix TLS Websockets clients not receiving messages after taking
over a previous connection.
* Fix MQTT 3.1.1 clients using clean session false, or MQTT 5.0
clients using session-expiry-interval set to infinity never
expiring, even when the global `persistent_client_expiration`
option was set.
Client library:
* Fix publish properties not being passed to on_message_v5
callback for QoS 2 messages.
* Fix documentation issues in mosquitto.h.
* Document `mosquitto_connect_srv()`.
Clients:
* Fix duplicate cfg definition in rr_client.
* Fix `mosquitto_pub -l` hang when stdin stream ends.
* Fix `mosquitto_pub -l` not sending the final line of stdin if
it does not end with a new line.
* Make documentation for `mosquitto_pub -l` match reality - blank
lines are sent as empty messages.
* Free memory in `mosquitto_sub` when quiting without having made
a successful connection.
- Drop patch:
* mosquitto-fix-pkgconf-path.patch (fixed upstream)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 25 20:42:16 UTC 2019 - Martin Hauke <mardnh@gmx.de> Wed Sep 25 20:42:16 UTC 2019 - Martin Hauke <mardnh@gmx.de>

View File

@ -26,7 +26,7 @@
%endif %endif
%bcond_without websockets %bcond_without websockets
Name: mosquitto Name: mosquitto
Version: 1.6.7 Version: 1.6.8
Release: 0 Release: 0
Summary: A MQTT v3.1/v3.1.1 Broker Summary: A MQTT v3.1/v3.1.1 Broker
License: EPL-1.0 License: EPL-1.0
@ -40,7 +40,6 @@ Source4: README-conf-d
Source5: README-ca_certificates Source5: README-ca_certificates
Source6: README-certs Source6: README-certs
Patch0: mosquitto-1.4.1_apparmor.patch Patch0: mosquitto-1.4.1_apparmor.patch
Patch1: mosquitto-fix-pkgconf-path.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: libcares-devel BuildRequires: libcares-devel
@ -122,7 +121,6 @@ Client for Mosquitto.
%prep %prep
%setup -q %setup -q
%patch0 -p1 %patch0 -p1
%patch1 -p1
find misc -type f -exec chmod a-x "{}" "+" find misc -type f -exec chmod a-x "{}" "+"
%build %build