mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-14 21:10:11 +01:00
sulu-builder: Use system login credential for mqtt auth
This commit is contained in:
parent
874151f4d3
commit
b40c4279fa
3 changed files with 11 additions and 2 deletions
|
|
@ -5,7 +5,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=sulu-builder
|
||||
PKG_VERSION:=1.0.0
|
||||
PKG_VERSION:=1.0.1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://dev.iopsys.eu/websdk/sulu-builder.git
|
||||
|
|
@ -24,7 +24,7 @@ define Package/${PKG_NAME}
|
|||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Build sulu from source
|
||||
DEPENDS:=+nginx
|
||||
DEPENDS:=+nginx +mosquitto-auth-shadow
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
|
|
@ -145,6 +145,7 @@ define Package/${PKG_NAME}/install
|
|||
$(INSTALL_DIR) $(1)/sulu
|
||||
$(INSTALL_DIR) $(1)/sulu/config
|
||||
$(INSTALL_DIR) $(1)/etc/nginx/
|
||||
$(INSTALL_DIR) $(1)/etc/mosquitto/conf.d/
|
||||
$(CP) $(PKG_BUILD_DIR)/build/dist/* $(1)/sulu
|
||||
$(CP) $(PKG_BUILD_DIR)/build/src/config/widgets/*.json $(1)/sulu/config/
|
||||
$(CP) ./files/* $(1)/
|
||||
|
|
|
|||
3
sulu-builder/files/etc/mosquitto/conf.d/obuspa.conf
Normal file
3
sulu-builder/files/etc/mosquitto/conf.d/obuspa.conf
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
listener 1883 127.0.0.1
|
||||
allow_anonymous true
|
||||
|
||||
5
sulu-builder/files/etc/mosquitto/conf.d/sulu.conf
Normal file
5
sulu-builder/files/etc/mosquitto/conf.d/sulu.conf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
listener 9001
|
||||
protocol websockets
|
||||
plugin /usr/lib/mosquitto_auth_shadow.so
|
||||
require_certificate false
|
||||
allow_anonymous false
|
||||
Loading…
Add table
Reference in a new issue