From 37edb9ed637d20da218bcc8a7f68ff404b71497d Mon Sep 17 00:00:00 2001
From: Karl Palsson <karlp@tweak.net.au>
Date: Sun, 13 Dec 2020 21:55:06 +0000
Subject: [PATCH] mosquitto: bump to 2.0.2

Full changelog: https://mosquitto.org/blog/2020/12/version-2-0-2-released/

* Enables DHE ciphers
* Improved response time with http_dir and websockets

Drops a patch no longer required due to upstream fixes.

Signed-off-by: Karl Palsson <karlp@etactica.com>
---
 net/mosquitto/Makefile                             |  4 ++--
 .../patches/50-strip-host-includes-m_ctrl.patch    | 14 --------------
 2 files changed, 2 insertions(+), 16 deletions(-)
 delete mode 100644 net/mosquitto/patches/50-strip-host-includes-m_ctrl.patch

diff --git a/net/mosquitto/Makefile b/net/mosquitto/Makefile
index df9484da5..e934c7013 100644
--- a/net/mosquitto/Makefile
+++ b/net/mosquitto/Makefile
@@ -9,7 +9,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mosquitto
-PKG_VERSION:=2.0.0
+PKG_VERSION:=2.0.2
 PKG_RELEASE:=1
 PKG_LICENSE:=EPL-2.0
 PKG_LICENSE_FILES:=LICENSE.txt
@@ -17,7 +17,7 @@ PKG_CPE_ID:=cpe:/a:eclipse:mosquitto
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://mosquitto.org/files/source/
-PKG_HASH:=ca8c21d1b04037df27639de9ea8f82fa73e1cbd24e83e6394ed67b537c4b6d86
+PKG_HASH:=5ea9ebf0a5ed3e95cecd75f30ebcf84f054584eff5617ac0f2e60428d3ad9707
 
 include $(INCLUDE_DIR)/package.mk
 
diff --git a/net/mosquitto/patches/50-strip-host-includes-m_ctrl.patch b/net/mosquitto/patches/50-strip-host-includes-m_ctrl.patch
deleted file mode 100644
index 603d5d0e8..000000000
--- a/net/mosquitto/patches/50-strip-host-includes-m_ctrl.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff --git a/apps/mosquitto_ctrl/Makefile b/apps/mosquitto_ctrl/Makefile
-index 59b23596..3a4843bf 100644
---- a/apps/mosquitto_ctrl/Makefile
-+++ b/apps/mosquitto_ctrl/Makefile
-@@ -8,8 +8,7 @@ else
- LIBMOSQ:=../../lib/libmosquitto.a
- endif
- 
--LOCAL_CPPFLAGS:=-I/usr/include/cjson -I/usr/local/include/cjson -I../mosquitto_passwd
--LOCAL_LDFLAGS:=-L/usr/local/lib
-+LOCAL_CPPFLAGS:=-I../mosquitto_passwd
- 
- OBJS=	mosquitto_ctrl.o \
- 		client.o \