pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mattermost-server: Update installation todo section



Module Name:	pkgsrc-wip
Committed By:	Hauke Fath <hauke%NetBSD.org@localhost>
Pushed By:	hauke
Date:		Thu Mar 19 16:04:02 2026 +0100
Changeset:	475efe3e45e1032d4ccad32574988d78619cd0b4

Modified Files:
	mattermost-server/TODO

Log Message:
mattermost-server: Update installation todo section

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=475efe3e45e1032d4ccad32574988d78619cd0b4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 mattermost-server/TODO | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diffs:
diff --git a/mattermost-server/TODO b/mattermost-server/TODO
index 7f63efa257..86e5818719 100644
--- a/mattermost-server/TODO
+++ b/mattermost-server/TODO
@@ -5,7 +5,8 @@ Building Mattermost collaboration server on NetBSD
 
 ### Build
 
-Build errors from build log -- grep "^#" /var/tmp/mattermost.buildlog 
+Build errors from build log -- grep "^#" /var/tmp/mattermost.buildlog,
+or re-run 'make'
 
 # modernc.org/sqlite/lib
 ../../.gopath/pkg/mod/modernc.org/sqlite@v1.39.1/lib/sqlite_netbsd_amd64.go:112447:5: mu.enter undefined (type mutex has no field or method enter)
@@ -46,9 +47,6 @@ einterfaces/autotranslation.go:52:85: undefined: model.Translation
 Older releases have different modules error out.
 
 
-files/mattermost.sh: Convert to pkgsrc
-
-
 ### Installation
 
 Directories:
@@ -71,6 +69,19 @@ post-install:
 	cd ${GO_WRKSRC} && ${COPYTREE_SHARE} 'fonts i18n' ${STAGEDIR}${WWWDIR}
 	cd ${GO_WRKSRC}/templates && ${CP} *.html *.js ${STAGEDIR}${WWWDIR}/templates
 
+From OpenBSD port
+<https://cvsweb.openbsd.org/ports/net/mattermost-server/?sort=File>
+do-install:
+	${INSTALL_PROGRAM} ${MODGO_WORKSPACE}/bin/{mattermost,mmctl} \
+		${PREFIX}/bin/
+	${INSTALL_DATA_DIR} ${PREFIX}/share/mattermost/
+	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mattermost/
+	cp ${WRKSRC}/server/config/config.json \
+		${PREFIX}/share/examples/mattermost/
+.for _d in client fonts i18n templates
+	cp -Rp ${WRKDIR}/mattermost/${_d} ${PREFIX}/share/mattermost/
+.endfor
+
 
 ### Setup
 


Home | Main Index | Thread Index | Old Index