FreeBSD Bugzilla – Attachment 101066 Details for
Bug 140445
New Port: net/rsmb Really Small Message Broker
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 4.74 KB, created by
Andrew Stevenson
on 2009-11-10 14:30:05 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Andrew Stevenson
Created:
2009-11-10 14:30:05 UTC
Size:
4.74 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># rsmb ># rsmb/Makefile ># rsmb/distinfo ># rsmb/pkg-descr ># rsmb/pkg-plist ># rsmb/files ># rsmb/files/rsmbd.in ># rsmb/files/broker.cfg ># >echo c - rsmb >mkdir -p rsmb > /dev/null 2>&1 >echo x - rsmb/Makefile >sed 's/^X//' >rsmb/Makefile << '3969df1b91f939716e789b6aa3e846a6' >X# New ports collection makefile for: rsmb >X# Date created: 9 Nov 2009 >X# Whom: Andrew Stevenson <andrew@ugh.net.au> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= rsmb >XPORTVERSION= 1.1.0 >XCATEGORIES= net linux >XMASTER_SITES= # >XDISTNAME= ${PORTNAME}_${PORTVERSION} >X >XMAINTAINER= andrew@ugh.net.au >XCOMMENT= Really Small Message Broker, an MQTT supporting server >X >XNO_BUILD= yes >XNO_WRKSUBDIR= yes >XUSE_ZIP= yes >XUSE_LINUX= yes >XIA32_BINARY_PORT= yes >XRESTRICTED= Please visit http://www.alphaworks.ibm.com/tech/rsmb/download to agree to the license and download ${DISTFILES} >XUSE_RC_SUBR= rsmbd >XPLIST_SUB= PORTVERSION=${PORTVERSION} >X >X.include <bsd.port.pre.mk> >X >X.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) >XDISTFILE_INSTRUCTIONS= ${RESTRICTED} >X.endif >X >Xpre-fetch: >X.if defined(DISTFILE_INSTRUCTIONS) >X @${ECHO} "${DISTFILE_INSTRUCTIONS}" >X @${FALSE} >X.endif >X >Xdo-install: >X.if !defined(NOPORTDOCS) >X ${MKDIR} ${DOCSDIR} >X ${INSTALL_MAN} ${WRKSRC}/gettingstarted.htm ${DOCSDIR} >X.endif >X ${MKDIR} ${PREFIX}/libexec/rsmb >X ${INSTALL_PROGRAM} ${WRKSRC}/broker.redhat ${PREFIX}/libexec/rsmb/broker >X ${INSTALL_DATA} ${WRKSRC}/Messages.${PORTVERSION} ${PREFIX}/libexec/rsmb/ >X ${INSTALL_DATA} ${FILESDIR}/broker.cfg ${PREFIX}/etc/broker.cfg.dist >X >X.include <bsd.port.post.mk> >3969df1b91f939716e789b6aa3e846a6 >echo x - rsmb/distinfo >sed 's/^X//' >rsmb/distinfo << '9965497e6e5e81e9d0878efb182a7cf6' >XMD5 (rsmb_1.1.0.zip) = a9ab25a15cae3780cefaa2559b1d740d >XSHA256 (rsmb_1.1.0.zip) = 2b188c2f79e3e194468b96b220fd3daaae78b844f8a51e4ec05b02fb79683f6f >XSIZE (rsmb_1.1.0.zip) = 385330 >9965497e6e5e81e9d0878efb182a7cf6 >echo x - rsmb/pkg-descr >sed 's/^X//' >rsmb/pkg-descr << '0df888f7682c3abfcf8cd7dadf76e865' >XThis is a port of IBM's Really Small Message Broker (RSMB). RSMB is a small >Xmessage broker that implements the MQTT protocol (http://mqtt.org/). >X >XThis port installs the Linux binary for use with the Linuxulator. >X >XWWW: http://www.alphaworks.ibm.com/tech/rsmb >0df888f7682c3abfcf8cd7dadf76e865 >echo x - rsmb/pkg-plist >sed 's/^X//' >rsmb/pkg-plist << '4864841818656930a5cd75cca078c2ae' >Xlibexec/rsmb/broker >Xlibexec/rsmb/Messages.%%PORTVERSION%% >Xetc/broker.cfg.dist >X@dirrm libexec/rsmb >X%%PORTDOCS%%%%DOCSDIR%%/gettingstarted.htm >X%%PORTDOCS%%@dirrm %%DOCSDIR%% >4864841818656930a5cd75cca078c2ae >echo c - rsmb/files >mkdir -p rsmb/files > /dev/null 2>&1 >echo x - rsmb/files/rsmbd.in >sed 's/^X//' >rsmb/files/rsmbd.in << '06a3c9876a7f50482ba23fd3ac444d65' >X#!/bin/sh >X >X# PROVIDE: rsmbd >X# REQUIRE: NETWORKING >X# >X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf >X# to enable this service: >X# >X# rsmbd_enable (bool): Set to NO by default. >X# Set it to YES to enable rsmbd. >X# rsmbd_config (path): Unset by default. >X# >X >X. %%RC_SUBR%% >X >Xname="rsmbd" >Xrcvar=`set_rcvar` >Xeval "${name}_installdir=\${${name}_installdir:-'%%PREFIX%%/libexec/rsmb'}" >Xeval "command=\${${name}_installdir}/broker" >X >Xstart_cmd="${name}_start" >X >Xload_rc_config $name >X >Xeval "${rcvar}=\${${rcvar}:-'NO'}" >X >Xrsmbd_start() { >X echo "Starting ${name}." >X cd %%PREFIX%%/libexec/rsmb && %%PREFIX%%/libexec/rsmb/broker ${rsmbd_config} > /dev/null 2>&1 & >X} >X >Xrun_rc_command "$1" >X >06a3c9876a7f50482ba23fd3ac444d65 >echo x - rsmb/files/broker.cfg >sed 's/^X//' >rsmb/files/broker.cfg << 'eaaad013d307f13ca2c2a8f2cf37a8cb' >X# Example configuration file for RSMB. See gettingstarted.htm for details. >X >X# specify the port on which to listen >X#port 1883 >X >X# limit the number of concurrent clients (-1 is no limit) >X#max_connections -1 >X >X# limit the number of messages that can be queued for an individual >X# subscription >X#max_queued_messages 100 >X >X# save retained messages and durable subscriptions to disk on shutdown and >X# restore on startup >X#persistence false >X >X# directory to use to store persistence files (if persistence is true) >X#persistence_location /var/spool/rsmb >X >X# specify the logging level. 30 is no extra logging, 20 includes protocol >X# tracing and 10 includes everything. logs are published to the topic >X# '$SYS/broker/log' >X#trace_level 30 >X >X# the MQTT bridge can be used to connect one instance of RSMB to another (or >X# indeed any MQTT capable broker) for the purpose of exchanging messages. >X# >X#connection MyOtherBroker >X#address broker.example.org:1883 >X#topic # >eaaad013d307f13ca2c2a8f2cf37a8cb >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 140445
: 101066