forked from freifunk-franken/firmware
packages/fff: Add package fff-mqtt
This package provides mosquitto and default settings. mosquitto is used for mqtt communication. With mqtt we can use a distributed mqtt broker for decentralized communication. We can use this for monitoring data or router configuration. Signed-off-by: Christian Dresel <freifunk@dresel.systems> Acked-by: Fabian Bläse <fabian@blaese.de>
This commit is contained in:
parent
eb4dcf6585
commit
7afe5fd767
|
@ -0,0 +1,34 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=fff-mqtt
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/fff-mqtt
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/fff-mqtt
|
||||
SECTION:=base
|
||||
CATEGORY:=Freifunk
|
||||
TITLE:=Freifunk-Franken mqtt configuration
|
||||
URL:=https://www.freifunk-franken.de
|
||||
DEPENDS:= \
|
||||
+fff-config \
|
||||
+libmosquitto-ssl \
|
||||
+mosquitto-client-ssl \
|
||||
+mosquitto-ssl
|
||||
endef
|
||||
|
||||
define Package/fff-mqtt/description
|
||||
This package provides mosquitto and settings
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
# nothing
|
||||
endef
|
||||
|
||||
define Package/fff-mqtt/install
|
||||
$(CP) ./files/* $(1)/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,fff-mqtt))
|
|
@ -0,0 +1,3 @@
|
|||
uci set fff.mqtt=mqtt
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue