www/mattermost-server: Update to 5.10.0

PR:		237509
Submitted by:	geraud@gcu.info
Approved by:	loic.blot@unix-experience.fr (maintainer)
This commit is contained in:
Steve Wills 2019-05-03 11:42:24 +00:00
parent f39d3f0284
commit fe2d974330
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500721
4 changed files with 8 additions and 8 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= mattermost-server
PORTVERSION= 5.6.2
PORTVERSION= 5.10.0
DISTVERSIONPREFIX= v
CATEGORIES= www
@ -35,8 +35,8 @@ GROUPS= ${MATTERMOSTD_GROUP}
pre-build:
@${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}
@cd ${WRKSRC} && \
${MV} api4 app cmd doc einterfaces imports jobs manualtesting \
mlog migrations model plugin services store utils web wsapi vendor \
${MV} api4 app cmd config doc einterfaces imports jobs manualtesting \
mlog migrations model plugin services store testlib utils web wsapi vendor \
${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}
do-build:
@ -46,7 +46,7 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/mattermost ${STAGEDIR}${PREFIX}/bin/mattermostd
${MKDIR} ${STAGEDIR}${PREFIX}/etc/mattermost
${INSTALL_DATA} ${WRKSRC}/config/default.json ${STAGEDIR}${PREFIX}/etc/mattermost/config.json.sample
${INSTALL_DATA} ${WRKSRC}/src/github.com/${GH_ACCOUNT_DEFAULT}/${PORTNAME}/config/default.json ${STAGEDIR}${PREFIX}/etc/mattermost/config.json.sample
${MKDIR} ${STAGEDIR}${WWWDIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} 'fonts i18n templates' ${STAGEDIR}${WWWDIR}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1545771660
SHA256 (mattermost-mattermost-server-v5.6.2_GH0.tar.gz) = bb8f47045f23e4c8750da806183531b612706da84bdc7b818a735276369c2dcd
SIZE (mattermost-mattermost-server-v5.6.2_GH0.tar.gz) = 10285985
SHA256 (mattermost-mattermost-server-v5.10.0_GH0.tar.gz) = 56f3391ad0c4df2369bc0c8d6ac15907a7bc4c21e8df0ff236285f8202c856a2
SIZE (mattermost-mattermost-server-v5.10.0_GH0.tar.gz) = 16743454

View file

@ -36,6 +36,7 @@ load_rc_config $name
: ${mattermostd_flags:="--disableconfigwatch"}
: ${mattermostd_facility:="daemon"}
: ${mattermostd_priority:="info"}
: ${mattermostd_tag:="mattermostd"}
: ${mattermostd_conf:="%%PREFIX%%/etc/mattermost/config.json"}
: ${mattermostd_options:="${mattermostd_flags} --config=${mattermostd_conf}"}
@ -49,7 +50,7 @@ mattermostd_startcmd_daemon()
{
echo "Starting ${name}."
cd /usr/local/www/mattermost && \
/usr/sbin/daemon -p ${mattermostd_pidfile} -S -s ${mattermostd_priority} -l ${mattermostd_facility} \
/usr/sbin/daemon -p ${mattermostd_pidfile} -S -s ${mattermostd_priority} -l ${mattermostd_facility} -T ${mattermostd_tag} \
-u ${mattermostd_user} ${procname} ${mattermostd_options}
}

View file

@ -18,7 +18,6 @@ etc/mattermost/config.json.sample
%%WWWDIR%%/i18n/uk.json
%%WWWDIR%%/i18n/zh-CN.json
%%WWWDIR%%/i18n/zh-TW.json
%%WWWDIR%%/templates/complete_saml_extension_body.html
%%WWWDIR%%/templates/deactivate_body.html
%%WWWDIR%%/templates/email_change_body.html
%%WWWDIR%%/templates/email_change_verify_body.html