@ -21,7 +21,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSI
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / $( PKG_NAME ) / d e f a u l t
d e f i n e P a c k a g e / m o s q u i t t o / d e f a u l t
SECTION:= net
SECTION:= net
CATEGORY:= Network
CATEGORY:= Network
TITLE:= mosquitto - an MQTT message broker
TITLE:= mosquitto - an MQTT message broker
@ -31,7 +31,7 @@ define Package/$(PKG_NAME)/default
USERID:= mosquitto = 200:mosquitto= 200
USERID:= mosquitto = 200:mosquitto= 200
e n d e f
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME )
d e f i n e P a c k a g e / m o s q u i t t o - s s l
$( call Package/mosquitto/default)
$( call Package/mosquitto/default)
TITLE += ( with SSL support)
TITLE += ( with SSL support)
DEPENDS += +libopenssl +MOSQUITTO_LWS:libwebsockets-openssl
DEPENDS += +libopenssl +MOSQUITTO_LWS:libwebsockets-openssl
@ -39,18 +39,18 @@ define Package/$(PKG_NAME)
PROVIDES:= mosquitto
PROVIDES:= mosquitto
e n d e f
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) - n o s s l
$( call Package/$( PKG_NAME) /default)
d e f i n e P a c k a g e / m o s q u i t t o - n o s s l
$( call Package/mosquitto /default)
TITLE += ( without SSL support)
TITLE += ( without SSL support)
VARIANT:= nossl
VARIANT:= nossl
PROVIDES:= mosquitto
PROVIDES:= mosquitto
e n d e f
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) / c o n f i g
d e f i n e P a c k a g e / m o s q u i t t o - s s l / c o n f i g
source " $( SOURCE) /Config.in "
source " $( SOURCE) /Config.in "
e n d e f
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) / d e f a u l t / d e s c r i p t i o n
d e f i n e P a c k a g e / m o s q u i t t o / d e f a u l t / d e s c r i p t i o n
M o s q u i t t o i s a n o p e n s o u r c e ( B S D l i c e n s e d ) m e s s a g e b r o k e r t h a t i m p l e m e n t s
M o s q u i t t o i s a n o p e n s o u r c e ( B S D l i c e n s e d ) m e s s a g e b r o k e r t h a t i m p l e m e n t s
t h e M Q T T p r o t o c o l v e r s i o n 3 . 1 a n d 3 . 1 . 1 . M Q T T p r o v i d e s a l i g h t w e i g h t
t h e M Q T T p r o t o c o l v e r s i o n 3 . 1 a n d 3 . 1 . 1 . M Q T T p r o v i d e s a l i g h t w e i g h t
m e t h o d o f c a r r y i n g o u t m e s s a g i n g u s i n g a p u b l i s h / s u b s c r i b e m o d e l .
m e t h o d o f c a r r y i n g o u t m e s s a g i n g u s i n g a p u b l i s h / s u b s c r i b e m o d e l .
@ -58,13 +58,13 @@ method of carrying out messaging using a publish/subscribe model.
T h i s p a c k a g e a l s o i n c l u d e s s o m e b a s i c s u p p o r t f o r c o n f i g u r i n g v i a U C I
T h i s p a c k a g e a l s o i n c l u d e s s o m e b a s i c s u p p o r t f o r c o n f i g u r i n g v i a U C I
e n d e f
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) / d e s c r i p t i o n
$( call Package/$( PKG_NAME) /default/description)
d e f i n e P a c k a g e / m o s q u i t t o - s s l / d e s c r i p t i o n
$( call Package/mosquitto /default/description)
This package is built with SSL support
This package is built with SSL support
e n d e f
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) - n o s s l / d e s c r i p t i o n
$( call Package/$( PKG_NAME) /default/description)
d e f i n e P a c k a g e / m o s q u i t t o - n o s s l / d e s c r i p t i o n
$( call Package/mosquitto /default/description)
This package is built WITHOUT SSL support.
This package is built WITHOUT SSL support.
e n d e f
e n d e f
@ -77,7 +77,7 @@ endef
d e f i n e P a c k a g e / m o s q u i t t o - c l i e n t
d e f i n e P a c k a g e / m o s q u i t t o - c l i e n t
$( call Package/mosquitto-client/default)
$( call Package/mosquitto-client/default)
TITLE += ( With SSL support)
TITLE += ( With SSL support)
DEPENDS += +libmosquitto
DEPENDS += +libmosquitto-ssl
VARIANT:= ssl
VARIANT:= ssl
e n d e f
e n d e f
d e f i n e P a c k a g e / m o s q u i t t o - c l i e n t - n o s s l
d e f i n e P a c k a g e / m o s q u i t t o - c l i e n t - n o s s l
@ -110,7 +110,7 @@ define Package/libmosquitto/default
PROVIDES:= libmosquitto
PROVIDES:= libmosquitto
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b m o s q u i t t o
d e f i n e P a c k a g e / l i b m o s q u i t t o - s s l
$( call Package/libmosquitto/default)
$( call Package/libmosquitto/default)
TITLE += ( With SSL Support)
TITLE += ( With SSL Support)
DEPENDS += +libopenssl
DEPENDS += +libopenssl
@ -131,7 +131,7 @@ Should be useable for communicating with any MQTT v3.1/3.1.1 compatible
s e r v e r , s u c h a s I B M ' s R S M B , i n a d d i t i o n t o M o s q u i t t o
s e r v e r , s u c h a s I B M ' s R S M B , i n a d d i t i o n t o M o s q u i t t o
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b m o s q u i t t o / d e s c r i p t i o n
d e f i n e P a c k a g e / l i b m o s q u i t t o - s s l / d e s c r i p t i o n
$( call Package/libmosquitto/default/description)
$( call Package/libmosquitto/default/description)
This package is built with SSL support
This package is built with SSL support
e n d e f
e n d e f
@ -143,7 +143,7 @@ endef
d e f i n e P a c k a g e / l i b m o s q u i t t o p p
d e f i n e P a c k a g e / l i b m o s q u i t t o p p
SECTION:= libs
SECTION:= libs
CATEGORY:= Libraries
CATEGORY:= Libraries
DEPENDS:= +libmosquitto +libstdcpp
DEPENDS:= +libmosquitto-ssl +libstdcpp
TITLE:= mosquitto - client c++ library
TITLE:= mosquitto - client c++ library
e n d e f
e n d e f
@ -151,12 +151,12 @@ define Package/libmosquittopp/description
C++ Library wrapper for libmosquitto.
C++ Library wrapper for libmosquitto.
e n d e f
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) / c o n f f i l e s
d e f i n e P a c k a g e / m o s q u i t t o - s s l / c o n f f i l e s
/ e t c / m o s q u i t t o / m o s q u i t t o . c o n f
/ e t c / m o s q u i t t o / m o s q u i t t o . c o n f
/ e t c / c o n f i g / m o s q u i t t o
/ e t c / c o n f i g / m o s q u i t t o
e n d e f
e n d e f
P a c k a g e / $( PKG_NAME ) - n o s s l / conffiles = $( Package/$( PKG_NAME) /conffiles)
P a c k a g e / m o s q u i t t o - n o s s l / conffiles = $( Package/mosquitto-ssl /conffiles)
d e f i n e P a c k a g e / m o s q u i t t o / i n s t a l l / d e f a u l t
d e f i n e P a c k a g e / m o s q u i t t o / i n s t a l l / d e f a u l t
$( INSTALL_DIR) $( 1) /usr/sbin
$( INSTALL_DIR) $( 1) /usr/sbin
@ -170,7 +170,7 @@ define Package/mosquitto-nossl/install
$( call Package/mosquitto/install/default,$( 1) )
$( call Package/mosquitto/install/default,$( 1) )
e n d e f
e n d e f
d e f i n e P a c k a g e / m o s q u i t t o / i n s t a l l
d e f i n e P a c k a g e / m o s q u i t t o - s s l / i n s t a l l
$( call Package/mosquitto/install/default,$( 1) )
$( call Package/mosquitto/install/default,$( 1) )
i f e q ( $( CONFIG_MOSQUITTO_PASSWD ) , y )
i f e q ( $( CONFIG_MOSQUITTO_PASSWD ) , y )
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_DIR) $( 1) /usr/bin
@ -198,12 +198,12 @@ define Build/InstallDev
e n d e f
e n d e f
# This installs files on the target. Compare with Build/InstallDev
# This installs files on the target. Compare with Build/InstallDev
d e f i n e P a c k a g e / l i b m o s q u i t t o / i n s t a l l
d e f i n e P a c k a g e / l i b m o s q u i t t o - s s l / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( INSTALL_DIR) $( 1) /usr/lib
$( INSTALL_BIN) $( PKG_BUILD_DIR) /lib/libmosquitto.so.1 $( 1) /usr/lib/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /lib/libmosquitto.so.1 $( 1) /usr/lib/
$( LN) libmosquitto.so.1 $( 1) /usr/lib/libmosquitto.so
$( LN) libmosquitto.so.1 $( 1) /usr/lib/libmosquitto.so
e n d e f
e n d e f
P a c k a g e / l i b m o s q u i t t o - n o s s l / install = $( Package/libmosquitto/install)
P a c k a g e / l i b m o s q u i t t o - n o s s l / install = $( Package/libmosquitto-ssl /install)
d e f i n e P a c k a g e / l i b m o s q u i t t o p p / i n s t a l l
d e f i n e P a c k a g e / l i b m o s q u i t t o p p / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( INSTALL_DIR) $( 1) /usr/lib
@ -219,9 +219,9 @@ else
MAKE_FLAGS += WITH_WEBSOCKETS = $( if $( CONFIG_MOSQUITTO_LWS) ,"yes" ,"no" )
MAKE_FLAGS += WITH_WEBSOCKETS = $( if $( CONFIG_MOSQUITTO_LWS) ,"yes" ,"no" )
e n d i f
e n d i f
$( eval $ ( call BuildPackage ,$ ( PKG_NAME ) ) )
$( eval $ ( call BuildPackage ,$ ( PKG_NAME ) -nossl ) )
$( eval $ ( call BuildPackage ,libmosquitto ) )
$( eval $ ( call BuildPackage ,mosquitto -ssl ) )
$( eval $ ( call BuildPackage ,mosquitto -nossl ) )
$( eval $ ( call BuildPackage ,libmosquitto -ssl ) )
$( eval $ ( call BuildPackage ,libmosquitto -nossl ) )
$( eval $ ( call BuildPackage ,libmosquitto -nossl ) )
$( eval $ ( call BuildPackage ,libmosquittopp ) )
$( eval $ ( call BuildPackage ,libmosquittopp ) )
$( eval $ ( call BuildPackage ,mosquitto -client ) )
$( eval $ ( call BuildPackage ,mosquitto -client ) )