FreeBSD Bugzilla – Attachment 191923 Details for
Bug 227063
[NEW PORT] net-im/matterircd: IRC bridge for Mattermost and Slack
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
UIDs, GIDs & net-im/matterircd initial commit
42wim-matterircd.diff (text/plain), 5.38 KB, created by
Andreas E
on 2018-03-29 12:19:23 UTC
(
hide
)
Description:
UIDs, GIDs & net-im/matterircd initial commit
Filename:
MIME Type:
Creator:
Andreas E
Created:
2018-03-29 12:19:23 UTC
Size:
5.38 KB
patch
obsolete
>Index: GIDs >=================================================================== >--- GIDs (revision 465865) >+++ GIDs (working copy) >@@ -830,7 +830,7 @@ > # free: 887 > vuls:*:888: > mattermost:*:889: >-# free: 890 >+matterircd:*:890: > # free: 891 > # free: 892 > # free: 893 >Index: UIDs >=================================================================== >--- UIDs (revision 465865) >+++ UIDs (working copy) >@@ -836,7 +836,7 @@ > # free: 887 > vuls:*:888:888::0:0:VULnerability Scanner:/var/db/vuls:/usr/sbin/nologin > mattermost:*:889:889::0:0:Mattermost:/usr/local/www/mattermost:/usr/sbin/nologin >-# free: 890 >+matterircd:*:890:890::0:0:Matterircd:/nonexistent:/usr/sbin/nologin > # free: 891 > # free: 892 > # free: 893 >Index: net-im/matterircd/Makefile >=================================================================== >--- net-im/matterircd/Makefile (nonexistent) >+++ net-im/matterircd/Makefile (working copy) >@@ -0,0 +1,44 @@ >+# $FreeBSD$ >+ >+PORTNAME= matterircd >+PORTVERSION= 0.16.7 >+DISTVERSIONPREFIX= v >+CATEGORIES= net-im >+ >+MAINTAINER= norrland@nullbyte.se >+COMMENT= IRC bridge for MatterMost >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 >+ >+BUILD_DEPENDS= go>=1.8:lang/go >+ >+USES= go >+ >+USE_RC_SUBR= matterircd >+ >+USE_GITHUB= yes >+GH_ACCOUNT= 42wim >+GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME} >+ >+MATTERIRCD_USER= matterircd >+MATTERIRCD_GROUP= matterircd >+ >+USERS= ${MATTERIRCD_USER} >+GROUPS= ${MATTERIRCD_GROUP} >+ >+PLIST_FILES= bin/${GO_PKGNAME} \ >+ ${ETCDIR}/${GO_PKGNAME}.toml.example >+ >+do-build: >+ @cd ${WRKSRC}/${GH_SUBDIR} && \ >+ ${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build >+ >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/matterircd ${STAGEDIR}${PREFIX}/bin/matterircd >+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/matterircd >+ ${CP} ${WRKSRC}/matterircd.toml.example ${STAGEDIR}${PREFIX}/etc/matterircd/matterircd.toml.example >+ >+.include <bsd.port.mk> > >Property changes on: net-im/matterircd/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: net-im/matterircd/distinfo >=================================================================== >--- net-im/matterircd/distinfo (nonexistent) >+++ net-im/matterircd/distinfo (working copy) >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1522178987 >+SHA256 (42wim-matterircd-v0.16.7_GH0.tar.gz) = 3f9ef394d79c36990a9fff4b809a974d6f0e401377c4fd182de46fa8aefc1ca8 >+SIZE (42wim-matterircd-v0.16.7_GH0.tar.gz) = 1595920 > >Property changes on: net-im/matterircd/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: net-im/matterircd/files/matterircd.in >=================================================================== >--- net-im/matterircd/files/matterircd.in (nonexistent) >+++ net-im/matterircd/files/matterircd.in (working copy) >@@ -0,0 +1,48 @@ >+#!/bin/sh >+# $FreeBSD$ >+ >+# PROVIDE: matterircd >+# REQUIRE: DAEMON NETWORKING >+# BEFORE: LOGIN >+# KEYWORD: shutdown >+ >+# Add the following lines to /etc/rc.conf to enable matterircd: >+# matterircd_enable="YES" >+# >+# matterircd_enable (bool): Set to YES to enable matterircd >+# Default: NO >+# matterircd_conf (str): matterircd configuration file >+# Default: ${PREFIX}/etc/matterircd.toml >+# matterircd_user (str): matterircd daemon user >+# Default: matterircd >+# matterircd_group (str): matterircd daemon group >+# Default: matterircd >+# matterircd_flags (str): Extra flags passed to matterircd >+# >+ >+. /etc/rc.subr >+ >+name="matterircd" >+rcvar=matterircd_enable >+load_rc_config $name >+ >+: ${matterircd_enable:="NO"} >+: ${matterircd_user:="matterircd"} >+: ${matterircd_group:="matterircd"} >+: ${matterircd_flags:=""} >+: ${matterircd_conf:="%%PREFIX%%/etc/matterircd/matterircd.toml"} >+: ${matterircd_options:="${matterircd_flags} -conf=${matterircd_conf}"} >+ >+# daemon >+matterircd_pidfile="/var/run/${name}.pid" >+procname="%%PREFIX%%/bin/${name}" >+command=/usr/sbin/daemon >+start_cmd="matterircd_startcmd_daemon" >+ >+matterircd_startcmd_daemon() >+{ >+ echo "Starting ${name}." >+ /usr/sbin/daemon -p ${matterircd_pidfile} -u ${matterircd_user} -S -T ${name} ${procname} ${matterircd_options} >+} >+ >+run_rc_command "$1" > >Property changes on: net-im/matterircd/files/matterircd.in >___________________________________________________________________ >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: net-im/matterircd/pkg-descr >=================================================================== >--- net-im/matterircd/pkg-descr (nonexistent) >+++ net-im/matterircd/pkg-descr (working copy) >@@ -0,0 +1,3 @@ >+Matterircd - IRC bridge for Mattermost >+ >+WWW: https://github.com/42wim/matterircd > >Property changes on: net-im/matterircd/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
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 Diff
View Attachment As Raw
Flags:
norrland
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 227063
: 191923