mosquitto: add termux-services script

This commit is contained in:
Henrik Grimler 2020-07-02 21:21:20 +02:00
parent 00a23a71f2
commit d9a29c8581
2 changed files with 10 additions and 2 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="MQTT library"
TERMUX_PKG_LICENSE="EPL-1.0"
TERMUX_PKG_MAINTAINER="Nathaniel Wesley Filardo @nwf"
TERMUX_PKG_VERSION=1.6.10
TERMUX_PKG_REVISION=3
TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL=https://mosquitto.org/files/source/mosquitto-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=92d1807717f0f6d57d1ac1207ffdb952e8377e916c7b0bb4718f745239774232
TERMUX_PKG_DEPENDS="c-ares, libc++, libwebsockets, openssl"
@ -14,3 +14,4 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DWITH_THREADING=OFF
-DWITH_TLS_PSK=OFF
-DWITH_WEBSOCKETS=ON"
TERMUX_PKG_SERVICE_SCRIPT=("mosquitto" 'exec mosquitto 2>&1')

View File

@ -1,3 +1,10 @@
TERMUX_SUBPKG_DEPENDS="libuuid"
TERMUX_SUBPKG_INCLUDE="bin/ share/man/ etc/"
TERMUX_SUBPKG_INCLUDE="
bin/
share/man/
etc/
var/service/mosquitto/run
var/service/mosquitto/down
var/service/mosquitto/log/run
"
TERMUX_SUBPKG_DESCRIPTION="MQTT version 3.1/3.1.1 compatible message broker and clients"