mosquitto/snap/snapcraft.yaml

70 lines
1.5 KiB
YAML
Raw Normal View History

name: mosquitto
2018-03-21 23:05:53 +00:00
version: 1.4.15
2017-02-21 12:02:02 +00:00
summary: Eclipse Mosquitto MQTT broker
description: This is a message broker that supports version 3.1 and 3.1.1 of the MQTT
protocol.
MQTT provides a method of carrying out messaging using a publish/subscribe
model. It is lightweight, both in terms of bandwidth usage and ease of
implementation. This makes it particularly useful at the edge of the network
where a sensor or other simple device may be implemented using an arduino for
example.
confinement: strict
grade: stable
2017-02-21 12:02:02 +00:00
apps:
mosquitto:
command: launcher.sh
2017-02-21 12:02:02 +00:00
daemon: simple
restart-condition: always
plugs: [network, network-bind]
2018-04-12 11:37:49 +00:00
pub:
command: usr/bin/mosquitto_pub
plugs: [network]
sub:
command: usr/bin/mosquitto_sub
plugs: [network]
2017-02-21 12:02:02 +00:00
parts:
script:
plugin: dump
source: snap/
prime:
- default_config.conf
- launcher.sh
config:
plugin: dump
source: .
prime:
- mosquitto.conf
2017-02-21 12:02:02 +00:00
mosquitto:
plugin: make
2018-04-12 11:37:49 +00:00
make-parameters: ["prefix=/usr", "WITH_SRV=no"]
2017-02-21 12:02:02 +00:00
source: https://github.com/eclipse/mosquitto
source-type: git
build-packages:
- libssl-dev
- uuid-dev
2017-02-21 19:38:52 +00:00
- xsltproc
2017-02-22 07:49:39 +00:00
- docbook-xsl
- gcc
- g++
2017-02-21 12:02:02 +00:00
stage-packages:
- libssl1.0.0
- libuuid1
2017-02-21 13:25:51 +00:00
- libc-ares2
2017-02-21 12:02:02 +00:00
prime:
2018-04-12 11:37:49 +00:00
- usr/sbin/mosquitto
- usr/bin/mosquitto_pub
- usr/bin/mosquitto_sub
- usr/lib/libmosquitto.so*
- lib/*-linux-gnu/libcrypto.so*
- lib/*-linux-gnu/libssl.so*
- lib/*-linux-gnu/libuuid.so*