mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
net/msoak: New port
Subscribe to different MQTT brokers and topics simultaneously, and soak up what they have to offer. WWW: https://github.com/jpmens/msoak PR: 243127 Reviewed by: Jan-Piet Mens <ports@jpmens.net> (maintainer)
This commit is contained in:
parent
e50ab2a372
commit
261ad60e13
@ -474,6 +474,7 @@
|
||||
SUBDIR += mrouted
|
||||
SUBDIR += mrtparse
|
||||
SUBDIR += msend
|
||||
SUBDIR += msoak
|
||||
SUBDIR += mtr
|
||||
SUBDIR += mtr-nox11
|
||||
SUBDIR += multicat
|
||||
|
28
net/msoak/Makefile
Normal file
28
net/msoak/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
PORTNAME= msoak
|
||||
DISTVERSION= 0.8
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= ports@jpmens.net
|
||||
COMMENT= Subscribe to different MQTT brokers and topics simultaneously
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libmosquitto.so:net/mosquitto \
|
||||
libconfig.so:devel/libconfig
|
||||
|
||||
USES= localbase:ldflags lua:53+
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= jpmens
|
||||
|
||||
CFLAGS+= -I${LUA_INCDIR}
|
||||
LDFLAGS+= -llua-${LUA_VER} -lmosquitto -lconfig
|
||||
MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
|
||||
BINDIR=${PREFIX}/bin MANDIR=${MANPREFIX}/man
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/msoak
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/example.* ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/msoak/distinfo
Normal file
3
net/msoak/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1578314385
|
||||
SHA256 (jpmens-msoak-0.8_GH0.tar.gz) = b9d7d25eb5203a7c5f2b6fa2ec19bca20ef589488562ac8901f54f3ca9056ace
|
||||
SIZE (jpmens-msoak-0.8_GH0.tar.gz) = 141831
|
10
net/msoak/pkg-descr
Normal file
10
net/msoak/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
msoak is a utility with which to simultaneously subscribe to an
|
||||
arbitrary number of topics on any number of MQTT brokers and
|
||||
optionally modify or normalize received payloads before printing
|
||||
them out. This utility was created to back up to a central location
|
||||
messages received by a handfull of brokers, instead of launching
|
||||
(and having to monitor success of) a large number of mosquitto_sub(1)
|
||||
programs.
|
||||
|
||||
|
||||
WWW: https://github.com/jpmens/msoak
|
4
net/msoak/pkg-plist
Normal file
4
net/msoak/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
bin/msoak
|
||||
man/man1/msoak.1.gz
|
||||
%%EXAMPLESDIR%%/example.config
|
||||
%%EXAMPLESDIR%%/example.lua
|
Loading…
x
Reference in New Issue
Block a user