Index: head/net-im/Makefile =================================================================== --- head/net-im/Makefile (revision 490579) +++ head/net-im/Makefile (revision 490580) @@ -1,209 +1,210 @@ # $FreeBSD$ # COMMENT = Instant messaging SUBDIR += centerim SUBDIR += centerim-devel SUBDIR += chattahoochie SUBDIR += climm SUBDIR += coccinella SUBDIR += convey SUBDIR += corebird SUBDIR += cutegram SUBDIR += diligent SUBDIR += echat SUBDIR += ejabberd SUBDIR += ekiga SUBDIR += emesene SUBDIR += empathy SUBDIR += farsight2 SUBDIR += farstream SUBDIR += finch SUBDIR += folks SUBDIR += fractal SUBDIR += freetalk SUBDIR += fugu SUBDIR += gajim SUBDIR += gitterdone SUBDIR += gloox SUBDIR += hotot SUBDIR += icmpchat SUBDIR += icqlib SUBDIR += jabber.el SUBDIR += jabberd SUBDIR += jarl SUBDIR += jggtrans SUBDIR += jitsi SUBDIR += kaccounts-integration SUBDIR += kaccounts-providers SUBDIR += kde-telepathy SUBDIR += kopete SUBDIR += ktp-accounts-kcm SUBDIR += ktp-approver SUBDIR += ktp-auth-handler SUBDIR += ktp-call-ui SUBDIR += ktp-common-internals SUBDIR += ktp-contact-list SUBDIR += ktp-contact-runner SUBDIR += ktp-desktop-applets SUBDIR += ktp-filetransfer-handler SUBDIR += ktp-kded-module SUBDIR += ktp-send-file SUBDIR += ktp-text-ui SUBDIR += libaccounts-glib SUBDIR += libaccounts-qt5 SUBDIR += libjreen SUBDIR += libmesode SUBDIR += libnice SUBDIR += libnice-gst010 SUBDIR += libnice-gst1 SUBDIR += libpurple SUBDIR += libqtelegram-ae SUBDIR += libsignon-glib SUBDIR += libstrophe SUBDIR += libtelepathy SUBDIR += libyahoo2 SUBDIR += licq SUBDIR += licq-icq SUBDIR += licq-jabber SUBDIR += licq-osd SUBDIR += licq-qt-gui SUBDIR += linux-telegram-desktop SUBDIR += loudmouth + SUBDIR += matterbridge SUBDIR += matterircd SUBDIR += mbpurple SUBDIR += mcabber SUBDIR += meanwhile SUBDIR += mikutter SUBDIR += mu-conference SUBDIR += openfire SUBDIR += oysttyer SUBDIR += p5-AnyEvent-XMPP SUBDIR += p5-DJabberd SUBDIR += p5-Jabber-Connection SUBDIR += p5-Jabber-Lite SUBDIR += p5-Jabber-SimpleSend SUBDIR += p5-Net-AOLIM SUBDIR += p5-Net-Async-XMPP SUBDIR += p5-Net-ICQ2000 SUBDIR += p5-Net-Jabber SUBDIR += p5-Net-NetSend SUBDIR += p5-Net-OSCAR SUBDIR += p5-Net-Stomp SUBDIR += p5-Net-XMPP SUBDIR += p5-Net-XMPP2 SUBDIR += p5-Protocol-XMPP SUBDIR += p5-SOAP-Transport-JABBER SUBDIR += papyon SUBDIR += pebrot SUBDIR += pecl-stomp2 SUBDIR += pidgin SUBDIR += pidgin-birthday-reminder SUBDIR += pidgin-bs SUBDIR += pidgin-fetion SUBDIR += pidgin-guifications SUBDIR += pidgin-hotkeys SUBDIR += pidgin-icyque SUBDIR += pidgin-latex SUBDIR += pidgin-libnotify SUBDIR += pidgin-manualsize SUBDIR += pidgin-osd SUBDIR += pidgin-pidgimpd SUBDIR += pidgin-privacy-please SUBDIR += pidgin-rocketchat SUBDIR += pidgin-sipe SUBDIR += pidgin-skype SUBDIR += pidgin-skypeweb SUBDIR += pidgin-twitter SUBDIR += pidgin-window_merge SUBDIR += poezio SUBDIR += profanity SUBDIR += prosody SUBDIR += prosody-modules SUBDIR += proxy65 SUBDIR += psi SUBDIR += psimedia SUBDIR += purple-discord SUBDIR += purple-facebook SUBDIR += purple-hangouts SUBDIR += purple-slack SUBDIR += py-fbmq SUBDIR += py-jabber SUBDIR += py-jabberbot SUBDIR += py-libturpial SUBDIR += py-matrix-synapse SUBDIR += py-nbxmpp SUBDIR += py-punjab SUBDIR += py-python-telegram-bot SUBDIR += py-skype4py SUBDIR += py-slackclient SUBDIR += py-sleekxmpp SUBDIR += py-slixmpp SUBDIR += py-telepot SUBDIR += py-toxcore-c SUBDIR += py-unmessage SUBDIR += py-xmpppy SUBDIR += py-xmpppy-irc SUBDIR += py-xmpppy-yahoo SUBDIR += qTox SUBDIR += qq SUBDIR += qxmpp SUBDIR += qxmpp-qt5 SUBDIR += ramblercontacts SUBDIR += ricochet SUBDIR += rubygem-discordrb-webhooks-blackst0ne SUBDIR += rubygem-hipchat SUBDIR += rubygem-hipchat15 SUBDIR += rubygem-lita SUBDIR += rubygem-termtter SUBDIR += rubygem-tinder SUBDIR += sayaka SUBDIR += scudcloud SUBDIR += sendxmpp SUBDIR += skype SUBDIR += skype-devel SUBDIR += skype4 SUBDIR += slack-term SUBDIR += ssh-chat SUBDIR += talkatu SUBDIR += teamwords SUBDIR += telegram SUBDIR += telegram-desktop SUBDIR += telegram-purple SUBDIR += telegramqml SUBDIR += telepathy-accounts-signon SUBDIR += telepathy-butterfly SUBDIR += telepathy-farsight SUBDIR += telepathy-farstream SUBDIR += telepathy-gabble SUBDIR += telepathy-glib SUBDIR += telepathy-haze SUBDIR += telepathy-idle SUBDIR += telepathy-logger SUBDIR += telepathy-logger-qt4 SUBDIR += telepathy-logger-qt5 SUBDIR += telepathy-mission-control SUBDIR += telepathy-python SUBDIR += telepathy-qt SUBDIR += telepathy-rakia SUBDIR += telepathy-salut SUBDIR += telepathy-sofiasip SUBDIR += tkabber SUBDIR += tkabber-plugins SUBDIR += toot SUBDIR += tox SUBDIR += toxbot SUBDIR += toxic SUBDIR += toxins SUBDIR += turpial SUBDIR += twirssi SUBDIR += twitmail SUBDIR += uTox SUBDIR += vacuum-im SUBDIR += vqcc-gtk SUBDIR += xmpp-client SUBDIR += yoono SUBDIR += zephyr .include Index: head/net-im/matterbridge/Makefile =================================================================== --- head/net-im/matterbridge/Makefile (nonexistent) +++ head/net-im/matterbridge/Makefile (revision 490580) @@ -0,0 +1,41 @@ +# $FreeBSD$ + +PORTNAME= matterbridge +PORTVERSION= 1.12.3 +DISTVERSIONPREFIX= v +CATEGORIES= net-im + +MAINTAINER= swills@FreeBSD.org +COMMENT= Chat network bridge + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= go:lang/go + +USE_GITHUB= yes +GH_ACCOUNT= 42wim +GH_SUBDIR= src/github.com/42wim/matterbridge + +USE_RC_SUBR= matterbridge + +MATTERBRIDGE_USER?= mattermost +MATTERBRIDGE_GROUP?= mattermost +USERS= ${MATTERBRIDGE_USER} +GROUPS= ${MATTERBRIDGE_GROUP} +SUB_LIST= \ + MATTERBRIDGE_USER=${MATTERBRIDGE_USER} \ + MATTERBRIDGE_GROUP=${MATTERBRIDGE_GROUP} +PLIST_SUB= \ + MATTERBRIDGE_USER=${MATTERBRIDGE_USER} \ + MATTERBRIDGE_GROUP=${MATTERBRIDGE_GROUP} + +do-build: + @cd ${WRKSRC}/src/github.com/42wim/matterbridge && \ + ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build -o bin/${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/matterbridge.toml.sample ${STAGEDIR}${PREFIX}/etc/matterbridge.toml.sample + +.include Property changes on: head/net-im/matterbridge/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-im/matterbridge/distinfo =================================================================== --- head/net-im/matterbridge/distinfo (nonexistent) +++ head/net-im/matterbridge/distinfo (revision 490580) @@ -0,0 +1,3 @@ +TIMESTAMP = 1546657042 +SHA256 (42wim-matterbridge-v1.12.3_GH0.tar.gz) = 240a76ea0c6d1cd4e671edf2684a606d052236e1140ce3c45582831f01d3ae12 +SIZE (42wim-matterbridge-v1.12.3_GH0.tar.gz) = 4719145 Property changes on: head/net-im/matterbridge/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-im/matterbridge/files/matterbridge.in =================================================================== --- head/net-im/matterbridge/files/matterbridge.in (nonexistent) +++ head/net-im/matterbridge/files/matterbridge.in (revision 490580) @@ -0,0 +1,42 @@ +#!/bin/sh +# PROVIDE: matterbridge +# REQUIRE: DAEMON NETWORKING +# KEYWORD: shutdown + +# +# Add the following line to /etc/rc.conf to enable matterbridge: +# +# matterbridge_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable matterbridge +# matterbridge_config (str): Set to "%%PREFIX%%/etc/matterbridge.toml" by default. +# Set it to path to mattermost config file +# matterbridge_user (str): Set to "%%MATTERBRIDGE_USER%%" by default. +# Set it to user to run matterbridge under +# matterbridge_group (str): Set to "%%MATTERBRIDGE_GROUP%%" by default. +# Set it to group to run matterbridge under +# matterbridge_syslogtag (str):Set to "matterbridge" by default. +# Set it to tag to be used by syslog +# + +. /etc/rc.subr + +name="matterbridge" +rcvar="matterbridge_enable" + +load_rc_config $name + +: ${matterbridge_enable:="NO"} +: ${matterbridge_config:="%%PREFIX%%/etc/matterbridge.toml"} +: ${matterbridge_user:="%%MATTERBRIDGE_USER%%"} +: ${matterbridge_group:="%%MATTERBRIDGE_GROUP%%"} +: ${matterbridge_syslogtag:="matterbridge"} + +pidfile="/var/run/matterbridge/${name}.pid" + +command="/usr/sbin/daemon" +command_args="-S -T ${matterbridge_syslogtag} -m 3 -c -p ${pidfile} env ${matterbridge_env} %%PREFIX%%/bin/matterbridge -conf ${matterbridge_config} ${matterbridge_args}" +procname=%%PREFIX%%/bin/matterbridge + +start_precmd="install -d -m 775 -o ${matterbridge_user} -g ${matterbridge_group} /var/run/matterbridge" + +run_rc_command $1 Property changes on: head/net-im/matterbridge/files/matterbridge.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/net-im/matterbridge/pkg-descr =================================================================== --- head/net-im/matterbridge/pkg-descr (nonexistent) +++ head/net-im/matterbridge/pkg-descr (revision 490580) @@ -0,0 +1,5 @@ +Bridge between mattermost, IRC, gitter, xmpp, slack, discord, telegram, +rocket.chat,hipchat (via xmpp), steam, twitch, ssh-chat, zulip and matrix with +REST API (mattermost not required!) + +WWW: https://github.com/42wim/matterbridge Property changes on: head/net-im/matterbridge/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-im/matterbridge/pkg-plist =================================================================== --- head/net-im/matterbridge/pkg-plist (nonexistent) +++ head/net-im/matterbridge/pkg-plist (revision 490580) @@ -0,0 +1,2 @@ +bin/matterbridge +@sample(%%MATTERBRIDGE_USER%%,%%MATTERBRIDGE_GROUP%%,440) etc/matterbridge.toml.sample Property changes on: head/net-im/matterbridge/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property