Skip to content

Commit

Permalink
Import matterircd-0.14.0 as chat/matterircd.
Browse files Browse the repository at this point in the history
Minimal IRC server which integrates with Mattermost and Slack.

Features:

 - support direct messages / private channels / edited messages
 - auto-join/leave to same channels as on mattermost
 - reconnects with backoff on mattermost restarts
 - support multiple users
 - support channel backlog (messages when you're disconnected from
   IRC/mattermost)
 - search messages (/msg mattermost search query)
 - scrollback support (/msg mattermost scrollback #channel limit)
 - restrict to specified mattermost instances
 - set default team/server
 - WHOIS, WHO, JOIN, LEAVE, NICK, LIST, ISON, PRIVMSG, MODE, TOPIC,
   LUSERS, AWAY, KICK, INVITE support
 - support TLS (ssl)
 - support LDAP logins (mattermost enterprise) (use your ldap
   account/pass to login)
 - &users channel that contains members of all teams (if mattermost is
   so configured) for easy messaging
 - supports mattermost roles (shows admins with @ status for now)
 - gitlab auth hack by using mmtoken cookie (see
   42wim/matterircd#29)
  • Loading branch information
jperkin committed Sep 8, 2017
1 parent 82d0b94 commit 91436e2
Show file tree
Hide file tree
Showing 4 changed files with 369 additions and 0 deletions.
24 changes: 24 additions & 0 deletions chat/matterircd/DESCR
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Minimal IRC server which integrates with Mattermost and Slack.

Features:

- support direct messages / private channels / edited messages
- auto-join/leave to same channels as on mattermost
- reconnects with backoff on mattermost restarts
- support multiple users
- support channel backlog (messages when you're disconnected from
IRC/mattermost)
- search messages (/msg mattermost search query)
- scrollback support (/msg mattermost scrollback #channel limit)
- restrict to specified mattermost instances
- set default team/server
- WHOIS, WHO, JOIN, LEAVE, NICK, LIST, ISON, PRIVMSG, MODE, TOPIC,
LUSERS, AWAY, KICK, INVITE support
- support TLS (ssl)
- support LDAP logins (mattermost enterprise) (use your ldap
account/pass to login)
- &users channel that contains members of all teams (if mattermost is
so configured) for easy messaging
- supports mattermost roles (shows admins with @ status for now)
- gitlab auth hack by using mmtoken cookie (see
https://github.com/42wim/matterircd/issues/29)
22 changes: 22 additions & 0 deletions chat/matterircd/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.1 2017/09/08 16:16:58 jperkin Exp $

DISTNAME= matterircd-0.14.0
MASTER_SITES= ${MASTER_SITE_GITHUB:=42wim/}
CATEGORIES= chat
GITHUB_TAG= v${PKGVERSION_NOREV}

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/42wim/matterircd
COMMENT= Minimal IRC server which integrates with Mattermost and Slack
LICENSE= mit

GO_DIST_BASE= ${PKGNAME_NOREV}
GO_SRCPATH= github.com/42wim/matterircd
GO_BUILD_PATTERN= ${GO_SRCPATH}

pre-configure:
${RM} -rf ${WRKSRC}/vendor/github.com/mattermost/platform/vendor/github.com/alecthomas/log4go/examples

.include "../../devel/go-golang-lru/buildlink3.mk"
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"
Loading

0 comments on commit 91436e2

Please sign in to comment.