View | Details | Raw Unified | Return to bug 243127
Collapse All | Expand All

(-)b/net/msoak/Makefile (+29 lines)
Added Link Here
1
PORTNAME=	msoak
2
DISTVERSION=	0.8
3
CATEGORIES=	net
4
5
MAINTAINER=	ports@jpmens.net
6
COMMENT=	Subscribe to different MQTT brokers and topics simultaneously
7
8
LICENSE=	GPLv2+
9
LICENSE_FILE=	${WRKSRC}/LICENSE
10
11
LIB_DEPENDS=	libmosquitto.so:net/mosquitto \
12
		libconfig.so:devel/libconfig
13
14
USES=		localbase:ldflags lua:53+
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	jpmens
17
18
CFLAGS+=	-I${LUA_INCDIR}
19
LDFLAGS+=	-llua-${LUA_VER} -lmosquitto -lconfig
20
MAKE_ARGS+=	CC="${CC}" CFLAGS="${CFLAGS}"
21
MAKE_ARGS+=	LDFLAGS="${LDFLAGS}"
22
MAKE_ARGS+=	BINDIR=${PREFIX}/bin MANDIR=${MANPREFIX}/man
23
24
post-install:
25
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/msoak
26
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
27
	${INSTALL_DATA} ${WRKSRC}/example.* ${STAGEDIR}${EXAMPLESDIR}
28
29
.include <bsd.port.mk>
(-)b/net/msoak/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1578314385
2
SHA256 (jpmens-msoak-0.8_GH0.tar.gz) = b9d7d25eb5203a7c5f2b6fa2ec19bca20ef589488562ac8901f54f3ca9056ace
3
SIZE (jpmens-msoak-0.8_GH0.tar.gz) = 141831
(-)b/net/msoak/pkg-descr (+10 lines)
Added Link Here
1
msoak is a utility with which to simultaneously subscribe to an
2
arbitrary number of topics on any number of MQTT brokers and
3
optionally modify or normalize received payloads before printing
4
them out. This utility was created to back up to a central location
5
messages received by a handfull of brokers, instead of launching
6
(and having to monitor success of) a large number of mosquitto_sub(1)
7
programs.
8
9
10
WWW: https://github.com/jpmens/msoak
(-)b/net/msoak/pkg-plist (+4 lines)
Added Link Here
1
bin/msoak
2
man/man1/msoak.1.gz
3
%%EXAMPLESDIR%%/example.config
4
%%EXAMPLESDIR%%/example.lua

Return to bug 243127