Commit 2a4ffb31 authored by root's avatar root

Version bump

parent 276f3f84
AUX rocket-chat-conf.d 83 BLAKE2B 27729f417514f46ccd8e7b6e223f4bd8e2557e01d193b9cc95a6ae1573f0fab69e6d6b2de2d22c148b823c7f20337686b1b87d5e74a444f54af737194e8e20d5 SHA512 8fd21b3ee9c1c4300cd7febffd87265ba369849ee1f5a8d23cf19656d8c87a1974a2698a56ca7e121e040b2a31be08aefd5e8038863bdf94d41fc6bef40b644b
AUX rocket-chat-init.d 1117 BLAKE2B df8bc1e90017bd326d5b59613044a83eb553984870e87c491ab58abbe2f0d57da83d6f526c0ce42c7bbcb34db84eccaa781898e1ff110fddb6bd5cb5b449d33d SHA512 2a5e61bd0fceda54272694dae954995ce55dd510c0d79023eaa090a51ba099ddfcea863b4cd0386b9b210d7375965f6c6c27b72982ec8cdda8634c66886cba86
DIST rocket-chat-1.1.5.tar.gz 140976145 BLAKE2B 0004825c5e66daf3648d6e53ce8a0d0f1b9166da8c999dc4c09af4e7d22778cb162bce93a7ec37ad1cc630bc16adce6a3a18c52f56247aac1f5a98807ffd4688 SHA512 d81a3c3b870b184d30ae6a796b7446a65ebf35a25dd3b55d15b8fdaee792c3fa11df67e69266c9123ed1f8e298e8908bc1a851c406d108a20932c7ba8d8ec10f
DIST rocket-chat-1.2.4.tar.gz 141072439 BLAKE2B cd2eb473901b03ff999a515d54f6eb42fc8cac45f930f25b70dc41d987418340d92a34424eb41c41ac8eee0183a7465223271279990f4fce6e471858e85b659b SHA512 992f52b78af60901d087997d228bc03a754f697b31f62f3ce60ee6649970da2cbfa97a138a508907bb05d880e42ff3feebd7b7ca1ea99ee8ead73225b12b0876
DIST rocket-chat-1.3.2.tar.gz 143000743 BLAKE2B 1839672626a7a78cf1d3fc404bc4fee2d5aec8d6b90a24790b1e139580ff9a3868e78d171071cd74dd7b4a922901408a8573e89f9808783c77d0dd77862a7118 SHA512 e8f721a299b8a345d26c371e5ffef1f99b18b64e40639a13ca9f65cd414d6a29e580aaebd319fd8af218794586570f6ab3381fdd81c0cab94c57527712a14d5c
EBUILD rocket-chat-1.1.5.ebuild 1800 BLAKE2B 15de442a5d5c2c7233e25d07038e88a910942753eda8fb017426ba549d9b08578c8686b3116ce1a274ddafcd95f87d5c4afdbde530b41baea9f1973a49412c7d SHA512 297324e319451ee151e98c15d3da3acfe1e45cd6b687f658872526fcf78e0164d306840ced74c0b9fa487bcad48c7379d67abfb59d5d8120c6fa94b620ac7635
DIST rocket-chat-2.0.0.tar.gz 144688598 BLAKE2B 43e31b4821c6ed8dee012df512ec3db8e653a06a55e4a5fef4489ca1b82522fed91cd161e93acd95fb0a6ccfd62fe94278686e2324e8044415ad29f1eb618e32 SHA512 442a6a48dd18dc3b28f5fc00e79195b4604bdc4353d3289372cca87f2b54af56df8326fd79a5eae0982dc20ce0626b9359d5d9a5f24e2490399fed5533febf90
EBUILD rocket-chat-1.2.4.ebuild 1800 BLAKE2B 15de442a5d5c2c7233e25d07038e88a910942753eda8fb017426ba549d9b08578c8686b3116ce1a274ddafcd95f87d5c4afdbde530b41baea9f1973a49412c7d SHA512 297324e319451ee151e98c15d3da3acfe1e45cd6b687f658872526fcf78e0164d306840ced74c0b9fa487bcad48c7379d67abfb59d5d8120c6fa94b620ac7635
EBUILD rocket-chat-1.3.2.ebuild 1800 BLAKE2B 15de442a5d5c2c7233e25d07038e88a910942753eda8fb017426ba549d9b08578c8686b3116ce1a274ddafcd95f87d5c4afdbde530b41baea9f1973a49412c7d SHA512 297324e319451ee151e98c15d3da3acfe1e45cd6b687f658872526fcf78e0164d306840ced74c0b9fa487bcad48c7379d67abfb59d5d8120c6fa94b620ac7635
EBUILD rocket-chat-2.0.0.ebuild 1800 BLAKE2B 15de442a5d5c2c7233e25d07038e88a910942753eda8fb017426ba549d9b08578c8686b3116ce1a274ddafcd95f87d5c4afdbde530b41baea9f1973a49412c7d SHA512 297324e319451ee151e98c15d3da3acfe1e45cd6b687f658872526fcf78e0164d306840ced74c0b9fa487bcad48c7379d67abfb59d5d8120c6fa94b620ac7635
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
inherit user
DESCRIPTION="The ultimate open source web chat platform"
HOMEPAGE="https://rocket.chat/"
SRC_URI="https://cdn-download.rocket.chat/build/rocket.chat-${PV}.tgz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="dev-db/mongodb
net-libs/nodejs
media-gfx/imagemagick[jpeg,png]"
DEPEND="${RDEPEND}"
RESTRICT="network-sandbox"
NODEJS_VERSION="8.12.0"
ROCKET_DEST="/usr/share/${PN}"
ROCKET_LOG="/var/log/${PN}"
ROCKET_USER="rocket"
ROCKET_GROUP="daemon"
pkg_setup() {
enewgroup ${ROCKET_GROUP}
enewuser ${ROCKET_USER} -1 -1 ${ROCKET_DEST} "${ROCKET_GROUP}"
}
src_unpack()
{
default
mv "$WORKDIR/"* "$WORKDIR/$P"
}
src_prepare()
{
default
npm install n || die "Error installing n"
N_PREFIX="${WORKDIR}/${P}/node"
elog "Installing node v${NODEJS_VERSION} in $N_PREFIX ..."
N_PREFIX=$N_PREFIX ./node_modules/n/bin/n -q ${NODEJS_VERSION} &>/dev/null || die "Error installing node v${NODEJS_VERSION}"
PATH=$N_PREFIX/n/versions/node/$NODEJS_VERSION/bin:$PATH
elog "Using $(which node) $(node --version) ..."
elog "Installing rocker-chat ..."
pushd programs/server &>/dev/null || die "Cannot find programs/server"
npm install || die "Error in npm install in programs/server"
popd
}
src_install()
{
mkdir -p "${D}${ROCKET_DEST}"
cp -a . "${D}${ROCKET_DEST}"
keepdir "${ROCKET_LOG}"
fowners "${ROCKET_USER}:${ROCKET_GROUP}" "${ROCKET_LOG}"
# This is to enable webhook integration with script support
keepdir "${ROCKET_DEST}/.babel-cache"
fowners "${ROCKET_USER}:${ROCKET_GROUP}" "${ROCKET_DEST}/.babel-cache"
newconfd "${FILESDIR}/${PN}-conf.d" "rocket-chat"
newinitd "${FILESDIR}/${PN}-init.d" "rocket-chat"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment