packages/fff: Add some mqtt packages #24

Closed
ChristianD wants to merge 3 commits from ChristianD/firmware:mqtt into master
2 changed files with 37 additions and 0 deletions
Showing only changes of commit 706736eeca - Show all commits

View File

@ -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:= \
ChristianD marked this conversation as resolved Outdated

fehlt \

fehlt \
+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
ChristianD marked this conversation as resolved Outdated

Prepare und Configure weg.

Prepare und Configure weg.
$(eval $(call BuildPackage,fff-mqtt))

View File

@ -0,0 +1,3 @@
uci set fff.mqtt=mqtt
exit 0
ChristianD marked this conversation as resolved Outdated

uci batch wegen einer Zeile ist irgendwie komisch, ich würde hier einfach

uci set fff.mqtt=mqtt

machen. Außer du hast vor, dass später noch zu erweitern.

uci batch wegen einer Zeile ist irgendwie komisch, ich würde hier einfach `uci set fff.mqtt=mqtt` machen. Außer du hast vor, dass später noch zu erweitern.