package/mosquitto: bump to version 1.5.7
authorPeter Korsgaard <peter@korsgaard.com>
Thu, 14 Feb 2019 08:41:16 +0000 (09:41 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 14 Feb 2019 20:51:08 +0000 (21:51 +0100)
Bugfix release, fixing a number of issues discovered post-1.5.6.

Drop patches as they are now included upstream.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mosquitto/0001-Fix-build-failure-when-using-WITH_ADNS-yes.patch [deleted file]
package/mosquitto/0002-Don-t-require-C99-compiler.patch [deleted file]
package/mosquitto/mosquitto.hash
package/mosquitto/mosquitto.mk

diff --git a/package/mosquitto/0001-Fix-build-failure-when-using-WITH_ADNS-yes.patch b/package/mosquitto/0001-Fix-build-failure-when-using-WITH_ADNS-yes.patch
deleted file mode 100644 (file)
index 3e79a17..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-From 9378016b19521aa6c281f475267c5cb67ea967d1 Mon Sep 17 00:00:00 2001
-From: "Roger A. Light" <roger@atchoo.org>
-Date: Fri, 8 Feb 2019 21:34:08 +0000
-Subject: [PATCH] Fix build failure when using WITH_ADNS=yes
-
-[Peter: drop ChangeLog.txt modification]
-Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
----
- src/bridge.c  | 2 +-
- 1 files changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/bridge.c b/src/bridge.c
-index 6e4b94f..d9611f0 100644
---- a/src/bridge.c
-+++ b/src/bridge.c
-@@ -228,7 +228,7 @@ int bridge__connect_step3(struct mosquitto_db *db, struct mosquitto *context)
- {
-       int rc;
--      rc = net__socket_connect_step3(context, context->bridge->addresses[context->bridge->cur_address].address, context->bridge->addresses[context->bridge->cur_address].port, NULL, false);
-+      rc = net__socket_connect_step3(context, context->bridge->addresses[context->bridge->cur_address].address);
-       if(rc > 0){
-               if(rc == MOSQ_ERR_TLS){
-                       net__socket_close(db, context);
--- 
-2.11.0
-
diff --git a/package/mosquitto/0002-Don-t-require-C99-compiler.patch b/package/mosquitto/0002-Don-t-require-C99-compiler.patch
deleted file mode 100644 (file)
index 7ca4090..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-From 04e89450c0aeb0e6fdff58aca3cffce10b29fb98 Mon Sep 17 00:00:00 2001
-From: "Roger A. Light" <roger@atchoo.org>
-Date: Sat, 9 Feb 2019 13:52:09 +0000
-Subject: [PATCH] Don't require C99 compiler.
-
-[Peter: drop ChangeLog.txt modification]
-Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
----
- src/persist.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/src/persist.c b/src/persist.c
-index 2f40086..13b34d2 100644
---- a/src/persist.c
-+++ b/src/persist.c
-@@ -720,6 +720,7 @@ static int persist__msg_store_chunk_restore(struct mosquitto_db *db, FILE *db_fp
-       struct mosquitto_msg_store *stored = NULL;
-       struct mosquitto_msg_store_load *load;
-       char *err;
-+      int i;
-       payload.ptr = NULL;
-@@ -749,7 +750,7 @@ static int persist__msg_store_chunk_restore(struct mosquitto_db *db, FILE *db_fp
-               read_e(db_fptr, &i16temp, sizeof(uint16_t));
-               source_port = ntohs(i16temp);
-               if(source_port){
--                      for(int i=0; i<db->config->listener_count; i++){
-+                      for(i=0; i<db->config->listener_count; i++){
-                               if(db->config->listeners[i].port == source_port){
-                                       source.listener = &db->config->listeners[i];
-                                       break;
--- 
-2.11.0
-
index da28c4f67fe14e688b20cd8173f8672bf8ce8bc2..17a467a72154f0052460e9726cc6fe3fab2db794 100644 (file)
@@ -1,5 +1,5 @@
 # Locally calculated after checking gpg signature
-sha256 d5bdc13cc668350026376d57fc14de10aaee029f6840707677637d15e0751a40  mosquitto-1.5.6.tar.gz
+sha256 d4024c3388502d50be4192991e90d66dfb344376104df3f63846c9f201779955  mosquitto-1.5.7.tar.gz
 
 # License files
 sha256 cc77e25bafd40637b7084f04086d606f0a200051b61806f97c93405926670bc1  LICENSE.txt
index 962fe66049ea74808a115fa028f3fffc306d2a52..d17fae5df6d25416cf8d1dbdef6fc74f307777b4 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MOSQUITTO_VERSION = 1.5.6
+MOSQUITTO_VERSION = 1.5.7
 MOSQUITTO_SITE = https://mosquitto.org/files/source
 MOSQUITTO_LICENSE = EPL-1.0 or EDLv1.0
 MOSQUITTO_LICENSE_FILES = LICENSE.txt epl-v10 edl-v10