mosquitto: refresh patches and sync with Debian packaging

Also add patch from debian to mqtt_protocol.h header file

Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gianfranco Costamagna 2020-03-08 09:00:06 +01:00 committed by Khem Raj
parent 7e6305da8e
commit 9f6d45379e
3 changed files with 16 additions and 3 deletions

View File

@ -9,11 +9,9 @@ Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
lib/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index e1521f12a..14ba12739 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -88,6 +88,8 @@ set_target_properties(libmosquitto PROPERTIES
@@ -89,6 +89,8 @@
OUTPUT_NAME mosquitto
VERSION ${VERSION}
SOVERSION 1

View File

@ -0,0 +1,14 @@
Description: Also install mqtt_protocol.h, as is done in Makefile
Author: Gianfranco Costamagna <locutusofborg@debian.org>
Bug-Debian: https://bugs.debian.org/951116
Forwarded: https://github.com/eclipse/mosquitto/pull/1599
Last-Update: 2020-02-15
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -114,4 +114,4 @@
install(TARGETS libmosquitto_static ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}")
endif (WITH_STATIC_LIBRARIES)
-install(FILES mosquitto.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")
+install(FILES mqtt_protocol.h mosquitto.h DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}")

View File

@ -17,6 +17,7 @@ DEPENDS = "uthash"
SRC_URI = "http://mosquitto.org/files/source/mosquitto-${PV}.tar.gz \
file://mosquitto.init \
file://1571.patch \
file://install-protocol.patch \
"
SRC_URI[md5sum] = "52f5078ec18aaf623b14dfb121fd534b"