From: Karl Palsson <ka...@remake.is>

This includes UCI support for a new config option, bridge_tls_version.
Add bridge tls vesion support

Updates mosquitto, the MQTT broker, and client libraries to version
1.2.2, from version 1.2.0.  Changes are bugfixes, most relevant to
OpenWrt being that the -nossl package variant actually builds again,
and greatly improved SSL performance.

This includes the full changes for 1.2.3:
http://mosquitto.org/2013/12/version-1-2-3-released/

This includes the full changes for 1.2.2:
http://mosquitto.org/2013/10/version-1-2-2-released/

This includes the full changes for 1.2.1:
http://mosquitto.org/2013/09/version-1-2-1-released/

Signed-off-by: Karl Palsson <ka...@remake.is>
---
 net/mosquitto/Makefile                    | 4 ++--
 net/mosquitto/files/mosquitto.uci.convert | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/net/mosquitto/Makefile b/net/mosquitto/Makefile
index f4ba8ed..45250c8 100644
--- a/net/mosquitto/Makefile
+++ b/net/mosquitto/Makefile
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mosquitto
-PKG_VERSION:=1.2
+PKG_VERSION:=1.2.3
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://mosquitto.org/files/source/
-PKG_MD5SUM:=424bfd84a7c923ccc2ea36c8bee558b2
+PKG_MD5SUM:=0874beeff51b3c64d4a7b2d5f9498288
 
 
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
 
diff --git a/net/mosquitto/files/mosquitto.uci.convert 
b/net/mosquitto/files/mosquitto.uci.convert
index f8991a3..7932ef1 100644
--- a/net/mosquitto/files/mosquitto.uci.convert
+++ b/net/mosquitto/files/mosquitto.uci.convert
@@ -80,5 +80,9 @@ if [ $HATE_SECTION_COUNT -gt 0 ]; then
         if [ $? -eq 0 ]; then
             echo "bridge_psk $BRIDGEPSK" >> $TCONF
         fi
+        BRIDGETLSVERSION=$(uci -q get mosquitto.@bridge[-$i].tls_version)
+        if [ $? -eq 0 ]; then
+            echo "bridge_tls_version $BRIDGETLSVERSION" >> $TCONF
+        fi
     done
 fi
-- 
1.8.3.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to