www-apps/mattermost: versions bump
This commit is contained in:
parent
14f8413486
commit
1c57fdf49a
@ -15,8 +15,10 @@ DIST mattermost-5.16.5-webapp.tar.gz 21160065 BLAKE2B b1626833265479e265ae11695d
|
||||
DIST mattermost-5.16.5.tar.gz 16451252 BLAKE2B b13112fd41dcd9cd60b4d8e68304715a5c1d843e1de7a288c1521783ce491ff388b8bd65862a2e5a345ed1c7fcb46ab8e0c51fdf7c9030832ba1c3a5ebdb97d2 SHA512 a17f1ce1d9b42fde950c278616e103a4e6b210342b141a64350b49ffa37312f374853014bd467ec067c1f01f640cf9d3fb176dd7ecb9b21f405ed59aa39ce47b
|
||||
DIST mattermost-5.17.3-webapp.tar.gz 21171164 BLAKE2B 167280b0f3f6c3e84e0330d8505e30b2fa6ebb2f4fa1e0d705d9319f774bb21d449adb7e544b2232c0daaf9819153b6f53c41258dcf602267280d99f9948cb58 SHA512 9221d728035fd75fe4597a2cd5ed0915daa6a8c3512b065b95fe410e123b7a9ad9c37844b1cfdf5904894dbcac7ac65e598e3f6561880c67ae48e33586727b77
|
||||
DIST mattermost-5.17.3.tar.gz 16453059 BLAKE2B 4f22d0334ebe6250bdb7d3e2051d399e58f60084c7bb3e8bff5343cc84a1d1d7394cbad21f69cf9cb9848fd483adc185e6b99789fc2d95a2dc8d729bbcf9913a SHA512 66b2180496e2022574cdf680a1e57ed780dcb8f507604a01304c1ea1ce65b2aa7a30c0e4db07ef6bd31bfb43ad1ed153f31c21032cc71c693a89cd10f9344064
|
||||
DIST mattermost-5.18.1-webapp.tar.gz 21285723 BLAKE2B 2eb04eb7999f9748166fdd110bfd3c679a78eb7c38f1faa9cbc5cb1f495219b4448fde9cb61dff49c319a76a32390750c7552dfafa8727b11fb8d64be9733bdb SHA512 138b9a7690188a6bb2b9249e50a0cfe6941c4038c895bf3e7651d40a97d35f2ca2e1da2c94180a5ac944798166df36f5bdada65aa0ffc7ed5dbe4676d0b04cea
|
||||
DIST mattermost-5.18.1.tar.gz 16589377 BLAKE2B f0c1cad5e03c2eb7688fc4b6a51e7beec028521fa38388c6e16a97c4c19d6c27abdb9aec1c865b961fca75cad3e2a9dc12d15f5da0005eb28c6c4b1ffdf5a19d SHA512 f60ed5265b31e9e787ac762ef0701bf7c07c8e5d955f827ca9c3a8f6359667e5c7ba6bb4e1c748c4a3e2b5c58143a3809d9b3f2f8edde6037c3c7e5563e7a277
|
||||
DIST mattermost-5.18.2-webapp.tar.gz 21285722 BLAKE2B b9dfa870220180f04408591bed4fd18cadd99a4f351df34eaf23acca19cd5dff8c2de72a83dc62c7cf4bd7bead41f8ebd36ade59a50c7fc189a78bd484e7e575 SHA512 973d83aa4b5ec5c55fc2ae3c4acbd946a07c9aed360a930b27d2e7af3680aefff1615926e60fca5b7b9b1f36d4ada741f8ed6747f38fefba64af71a34b37ee06
|
||||
DIST mattermost-5.18.2.tar.gz 16589579 BLAKE2B 124f88643d3994bcce0fe302c4c9e6e00f5c54e194a06dff1eb9822438e6c2a73d19cf320faa667787a806f6db817445a05c4e0518bdfe2ef04f4ef5ffb77f33 SHA512 651044b03b3528605a1d80e0e23c6563aa0a7601a1b65ec88614f8b8d03e3a9929b080c55e6668a55282aa9180b38365dbb6c561604d888855133530d9f9b6fa
|
||||
DIST mattermost-5.19.0-webapp.tar.gz 21289427 BLAKE2B d7bd6675ec949fa784e061b380c6bcd4f2a1c2335d17b7cb95fb11ed2e0dd6a6d7daf5d4a3b26211a995adde943ee2773afc1297e46fc190f975237d3a6ffe39 SHA512 e379f78bdcb5aa16649f14c469f0065b2a249d1f7ad874366296ea064df013d5642baf12d90042480a0e26c4486dd728b12fbede5513a2ad50a628c6b1565979
|
||||
DIST mattermost-5.19.0.tar.gz 16589728 BLAKE2B fd4acb14cc49b1758a03e5c3ea31ebc84caf984b2a90cb84d566c54dbd5a13d1bf421cac1d8f9616b6f0518cd52efb85e4502aa112335ac75e30cf94eb4cd821 SHA512 e76f802dce7cd8ea67ecd7d6dea19a550720a42d9aaac56de6c200afd82c24809f878710918f5fa6de026c40f4fd77a2fd6088a37bff4d4c537c7a26febe7d62
|
||||
DIST mattermost-5.7.3-webapp.tar.gz 21030492 BLAKE2B 5e279bd32bf8f091cd7b32376f475d32132a2c42c9f36b5c0f81bb280e83678d7ce2e554385149ad06a8bf48979d90d0ce9055bdb732f19289636e86f609fcc8 SHA512 8393c7759fc1e570236fecba0eaefb3d3822d4b9268be90699f088d84719e1b35339ebeb93d4a1fd96ad750fdca551e149ce156517dd1c551889dd8c51c299f4
|
||||
DIST mattermost-5.7.3.tar.gz 10294270 BLAKE2B ce24c07cb5681830ccb8d50583c67b3696aac02a8c4c8b99c1f69253994aeb6fe0c589e3450e5ad386cf145e10da954420b2c7ca856e47f9c385c939339d6fd3 SHA512 b820f63724d19f00be000ce9997a5e56900ceadbee4986028f2a4d78279cbfbc68b328cf96148fc246ba402ceb191b8f46d092b3cb4d9289ae262ba03d440540
|
||||
DIST mattermost-5.8.2-webapp.tar.gz 21064090 BLAKE2B 1db786cc27522a85919ea9bfa3dfaa78d59a86d35218015239576395e263957a214af84d0300769c0f6019bb4a532972f27ab59e61faa98a82efd9f52cef5af2 SHA512 8683148797821f73d69c6184417af5d9bfe4bab57c4dc8fd9a588f6be2cd037b5bc5f09a4ae757688e3a89d2904d97eb9df996fc95a14b8ac03c37ca08e8c556
|
||||
@ -31,7 +33,8 @@ DIST mattermost-team-5.14.5-linux-amd64.tar.gz 152144968 BLAKE2B 93be5c02959dac1
|
||||
DIST mattermost-team-5.15.5-linux-amd64.tar.gz 152165967 BLAKE2B 605533edbc171c23826fb886fdcf95773c872f4d90c27dc98e139b14383c0a334822a7e8391085dc429c7b3b41b2d5f5b1e30195598da03069dc1120ec08022a SHA512 e0f7fd1fe24b2e8fac33f6286c2625a2fb884d166e113bf33ba3f341f38cba9b5859df05034ba55740bba8c6df9f9c395826116ffbd15501482491d0681a6bc2
|
||||
DIST mattermost-team-5.16.5-linux-amd64.tar.gz 152459667 BLAKE2B 8662cea204da0c369ccbf19ef01430ebfd23da6b9adef5bc25ced310a032bd7f09d53efcb75978445f241d94cedde580f3d8bc6bff21145981cf6ef88c123253 SHA512 f11d88524342cea07e1e9445b627b32193f0bfb192e54aca892c290e1f49a18c88ee7d3b8ddc3a246205191a050a9dc90f8a130a962115a772cbfba5cd561901
|
||||
DIST mattermost-team-5.17.3-linux-amd64.tar.gz 152511203 BLAKE2B 6317f59b039149c4a2b2cc2bf6ebc9594bd488da219990e136c9459ae1b6c435482aba9e83ac9c0a70767c2239174dbd810ca967d40a7a7ffccb6570bc26de8f SHA512 9a09904a2ca985b3a08d7ee560845dea26ac5c7f698ac3f229d8a5dafb79f9ee3d2d7a36cce1683d5794569c764f5250c47a2144bf487bc2ef0ca1ece0ddda40
|
||||
DIST mattermost-team-5.18.1-linux-amd64.tar.gz 152976270 BLAKE2B 6c4c927dbdce1dfc97d5c616649683837d2fcdd7a3577b10e4d4df84ef77447a047991cf413c4cb4523326ca85f40865d3bf5391bf354d967e98dafc496f6990 SHA512 7530a982db59cb3680bc242603486f65088876c6e7e9e87f6fb20bc7751580152d909453271ab604f896d5769db1004bfff2791df7ec0c929cbc8c4c8ba55c4c
|
||||
DIST mattermost-team-5.18.2-linux-amd64.tar.gz 152977829 BLAKE2B cef07d07ae9a4195aba27624e06b00b3751d3010f839a178020c21e00ffebac096b0f3e3221f6e9684db4880d861b507b58c73d2a43ae5c5bf6250b4fad10803 SHA512 9e461098620b4a6eee27ea1a656b1fd435bb541f3a11db9787bd3ad68b6b0f11513924954da81137440d4dc5665d0961e95b0803c61e9aeca6bc9577cd70baf5
|
||||
DIST mattermost-team-5.19.0-linux-amd64.tar.gz 152974045 BLAKE2B 5a8553fb04862b5039afb6f932679357bcfda7be529e30f52b1e12f8734378dc4beb8f0285dcc93ff369947b61052d109b8ad8a6ea55cb1c22cdc03238a16f9d SHA512 0ecac6842d0ec2adcab0a3c8394d43efc73bf0a3f9240726defc1fbc591e258f139b292c985d7f3e6a33bccce2a2697d2c02d76b42c841f0cf6eba2858135bc6
|
||||
DIST mattermost-team-5.7.3-linux-amd64.tar.gz 100498232 BLAKE2B 3dceb5e5b0f46136bdd75d2f9cdc5d401d636d413e0ee4fa1b95be4be4eac5d592db3e406624eba997db878c5629633eeec0bf988f12b2550863a1e84db01a4e SHA512 2235b2cfafb9045f09c25303e1b549cda1c86bff2353fdb4bb8508a312594205ac03d439acf7c0256ab8011dd9e489b5b1123d0c481ea042dcd44b294cc27c8a
|
||||
DIST mattermost-team-5.8.2-linux-amd64.tar.gz 96603708 BLAKE2B 6995d51e08052d9e99f42b92f44e2d36bec2f498b7347994ffa71dd0e904536b56a137f8e76582da78ffa412c09c96947c29844d95777ec6074703ccc403142c SHA512 ec5aa8070cf128d4c167cc77b6b7802505cd5a63cc002a40eaebdfafa4faf9bc6c4b6dbee6a787ded58a45f19d4780b93144a1fa365076f1ed704b644ef1da03
|
||||
DIST mattermost-team-5.9.8-linux-amd64.tar.gz 103252676 BLAKE2B d4c49d1a9d5150417ca4be8ae875bdd115473e4dcae05768e74a27f3ee6d9d3e2167d281df21fc72cac0f2b5a654ca1340aab2fd3ca1e463a594745c4f5611de SHA512 b65d57e881e6447db788d5af67db7321867487a7fd2f41d8846284c4cdb9103e324026a7cdeb1e6faed0726bd7554ca36ee4311ed545f69b3926bc4ec9379941
|
||||
@ -43,7 +46,8 @@ EBUILD mattermost-5.14.5.ebuild 3645 BLAKE2B c65ceec27a81969d6e69670df5bd728af48
|
||||
EBUILD mattermost-5.15.5.ebuild 3645 BLAKE2B c65ceec27a81969d6e69670df5bd728af48e650d638375abe796460c616d7a7654ada89102f0e996ecb100214296e937246656399f3d3f5833f734d182e403c6 SHA512 08ab48a7527c8d551f4844f0b043046e9bda8ad982869ffae64b7a90c08e911923d58b6d0d3fe07ebeff1de8f960a1c1d2e7db7f7fd64acc1dd3b3fbeea575e9
|
||||
EBUILD mattermost-5.16.5.ebuild 3645 BLAKE2B c65ceec27a81969d6e69670df5bd728af48e650d638375abe796460c616d7a7654ada89102f0e996ecb100214296e937246656399f3d3f5833f734d182e403c6 SHA512 08ab48a7527c8d551f4844f0b043046e9bda8ad982869ffae64b7a90c08e911923d58b6d0d3fe07ebeff1de8f960a1c1d2e7db7f7fd64acc1dd3b3fbeea575e9
|
||||
EBUILD mattermost-5.17.3.ebuild 3645 BLAKE2B c65ceec27a81969d6e69670df5bd728af48e650d638375abe796460c616d7a7654ada89102f0e996ecb100214296e937246656399f3d3f5833f734d182e403c6 SHA512 08ab48a7527c8d551f4844f0b043046e9bda8ad982869ffae64b7a90c08e911923d58b6d0d3fe07ebeff1de8f960a1c1d2e7db7f7fd64acc1dd3b3fbeea575e9
|
||||
EBUILD mattermost-5.18.1.ebuild 3652 BLAKE2B c5f84e1b236af5452af4ffa06560c1d0e94cde43fc4915dab65fcafada10231cc61922e4dec67fd3f7ad3c09aee44f8bdcbab3284a58a20964bc41215c63ffba SHA512 9b60837ed47101b93afa5a6942f297500acdfe057f993315ebe652bee90949e58bc855b63a59fb58b89f37ab240721ecb1501c6cc8dc1e799f3dfe45ab1bfdc8
|
||||
EBUILD mattermost-5.18.2.ebuild 3652 BLAKE2B c5f84e1b236af5452af4ffa06560c1d0e94cde43fc4915dab65fcafada10231cc61922e4dec67fd3f7ad3c09aee44f8bdcbab3284a58a20964bc41215c63ffba SHA512 9b60837ed47101b93afa5a6942f297500acdfe057f993315ebe652bee90949e58bc855b63a59fb58b89f37ab240721ecb1501c6cc8dc1e799f3dfe45ab1bfdc8
|
||||
EBUILD mattermost-5.19.0.ebuild 3652 BLAKE2B c5f84e1b236af5452af4ffa06560c1d0e94cde43fc4915dab65fcafada10231cc61922e4dec67fd3f7ad3c09aee44f8bdcbab3284a58a20964bc41215c63ffba SHA512 9b60837ed47101b93afa5a6942f297500acdfe057f993315ebe652bee90949e58bc855b63a59fb58b89f37ab240721ecb1501c6cc8dc1e799f3dfe45ab1bfdc8
|
||||
EBUILD mattermost-5.7.3.ebuild 3884 BLAKE2B a84f7de64f9dbc46b26885027bb141cc3d668c8743e95263dea50f2b4e7cdc48dd01b13e789d2930606ed7163f22347b55bdd8d4719d5004df5a1f52e6afd810 SHA512 b3feaa2c8ecae3044ce414ccabdf0887756fd31a07a1e130802a0fc7bd4a9142219b10b528b0d2def3381e6da80e4f63f06e12e33194bfaea475976b6b351662
|
||||
EBUILD mattermost-5.8.2.ebuild 3884 BLAKE2B a84f7de64f9dbc46b26885027bb141cc3d668c8743e95263dea50f2b4e7cdc48dd01b13e789d2930606ed7163f22347b55bdd8d4719d5004df5a1f52e6afd810 SHA512 b3feaa2c8ecae3044ce414ccabdf0887756fd31a07a1e130802a0fc7bd4a9142219b10b528b0d2def3381e6da80e4f63f06e12e33194bfaea475976b6b351662
|
||||
EBUILD mattermost-5.9.8.ebuild 3884 BLAKE2B a84f7de64f9dbc46b26885027bb141cc3d668c8743e95263dea50f2b4e7cdc48dd01b13e789d2930606ed7163f22347b55bdd8d4719d5004df5a1f52e6afd810 SHA512 b3feaa2c8ecae3044ce414ccabdf0887756fd31a07a1e130802a0fc7bd4a9142219b10b528b0d2def3381e6da80e4f63f06e12e33194bfaea475976b6b351662
|
||||
|
113
www-apps/mattermost/mattermost-5.19.0.ebuild
Normal file
113
www-apps/mattermost/mattermost-5.19.0.ebuild
Normal file
@ -0,0 +1,113 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_PN=github.com/mattermost/mattermost-server
|
||||
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
SRC_URI="https://github.com/mattermost/mattermost-server/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
build-client? ( https://github.com/mattermost/mattermost-webapp/archive/v${PV}.tar.gz -> ${P}-webapp.tar.gz )
|
||||
!build-client? ( https://releases.mattermost.com/${PV}/mattermost-team-${PV}-linux-amd64.tar.gz )"
|
||||
|
||||
DESCRIPTION="Open source Slack-alternative in Golang and React"
|
||||
HOMEPAGE="https://mattermost.com"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="+build-client"
|
||||
DEPEND=">=dev-lang/go-1.13
|
||||
build-client? ( sys-apps/yarn )"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/src/github.com/mattermost/mattermost-server"
|
||||
|
||||
src_unpack() {
|
||||
mkdir -p "${WORKDIR}/bin/" "${WORKDIR}/src/github.com/mattermost/"
|
||||
default
|
||||
mv "${WORKDIR}/mattermost-server-${PV}" "${WORKDIR}/src/github.com/mattermost/mattermost-server"
|
||||
use build-client && mv "${WORKDIR}/mattermost-webapp-${PV}" "${WORKDIR}/src/github.com/mattermost/mattermost-webapp"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# We are not using docker, no need to stop it.
|
||||
sed -r -i "${S}/Makefile" \
|
||||
-e 's/^clean: stop-docker/clean:/'
|
||||
|
||||
# Enforce build hash to Gentoo (Enterprise hash is already set to
|
||||
# none), instead of the official git hash value.
|
||||
sed -r -i "${S}/Makefile" \
|
||||
-e "s/^(\s*)BUILD_HASH(_ENTERPRISE)? =.*/\1BUILD_HASH\2 = Gentoo \(${CHOST}\)/"
|
||||
|
||||
# The Go programming language only supports 8 instruction sets, therefore
|
||||
# we cannot rely on ${CARCH} and need to cast manually.
|
||||
# src.: https://golang.org/doc/install/source#introduction
|
||||
case "${CHOST}" in
|
||||
i686*)
|
||||
sed -r -i "${S}/build/release.mk" \
|
||||
-e "s/amd64/386/"
|
||||
;;
|
||||
armv8*|aarch64*)
|
||||
sed -r -i "${S}/build/release.mk" \
|
||||
-e "s/amd64/arm64/"
|
||||
;;
|
||||
arm*)
|
||||
sed -r -i "${S}/build/release.mk" \
|
||||
-e "s/amd64/arm/"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Remove platform specific lines from the Makefile from the line beginning
|
||||
# with that statement to the end of file (we do not care of the additional
|
||||
# file copy, nor the tar compression defined below the file).
|
||||
sed '/# ----- PLATFORM SPECIFIC -----/,//d' -i "${S}/build/release.mk"
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export BUILD_NUMBER="${PVR}"
|
||||
export LANG=C
|
||||
export GOPATH="${WORKDIR}"
|
||||
export LDFLAGS=""
|
||||
|
||||
emake build-linux
|
||||
use build-client && emake build-client && emake package
|
||||
emake config-reset
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install -dm755 \
|
||||
"${D}/usr/share/webapps" \
|
||||
"${D}/var/log/${PN}" \
|
||||
"${D}/usr/share/doc/${PN}" || die
|
||||
|
||||
if use build-client; then
|
||||
cp -a "${S}/dist/${PN}" "${D}"/usr/share/webapps/ || die
|
||||
else
|
||||
install -dm755 "${D}/usr/share/webapps/${PN}" || die
|
||||
cp -a "${WORKDIR}/${PN}/client" "${WORKDIR}/${PN}/fonts" "${WORKDIR}/${PN}/i18n" "${WORKDIR}/${PN}/templates" "${D}/usr/share/webapps/${PN}" || die
|
||||
fi
|
||||
|
||||
rm -rf \
|
||||
"${D}/usr/share/webapps/${PN}/logs" \
|
||||
"${D}/usr/share/webapps/${PN}/plugins" \
|
||||
"${D}/usr/share/webapps/${PN}/MIT-COMPILED-LICENSE.md" \
|
||||
"${D}/usr/share/webapps/${PN}/NOTICE.txt" \
|
||||
"${D}/usr/share/webapps/${PN}/README.md" || die
|
||||
|
||||
keepdir "/var/log/${PN}/"
|
||||
keepdir "/var/lib/${PN}/plugins/"
|
||||
ln -s "/var/log/${PN}/" "${D}/usr/share/webapps/${PN}/logs" || die
|
||||
ln -s "/var/lib/${PN}/plugins/" "${D}/usr/share/webapps/${PN}/plugins" || die
|
||||
|
||||
insinto /etc/
|
||||
sed -e 's@"Directory": ".*"@"Directory": "/var/lib/mattermost/"@g' \
|
||||
-e 's@tcp(dockerhost:3306)@unix(/run/mysqld/mysqld.sock)@g' \
|
||||
-i "${S}/config/config.json" || die
|
||||
newins "${S}/config/config.json" mattermost.json
|
||||
|
||||
dodoc NOTICE.txt README.md
|
||||
|
||||
dobin "${WORKDIR}/bin/${PN}"
|
||||
newinitd "${FILESDIR}/${PN}.init" "${PN}"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user