Commit ee1a3cc0 authored by root's avatar root

Version bump

parent 4e7af4b3
AUX rocket-chat-conf.d 83 BLAKE2B 27729f417514f46ccd8e7b6e223f4bd8e2557e01d193b9cc95a6ae1573f0fab69e6d6b2de2d22c148b823c7f20337686b1b87d5e74a444f54af737194e8e20d5 SHA512 8fd21b3ee9c1c4300cd7febffd87265ba369849ee1f5a8d23cf19656d8c87a1974a2698a56ca7e121e040b2a31be08aefd5e8038863bdf94d41fc6bef40b644b
AUX rocket-chat-init.d 1117 BLAKE2B df8bc1e90017bd326d5b59613044a83eb553984870e87c491ab58abbe2f0d57da83d6f526c0ce42c7bbcb34db84eccaa781898e1ff110fddb6bd5cb5b449d33d SHA512 2a5e61bd0fceda54272694dae954995ce55dd510c0d79023eaa090a51ba099ddfcea863b4cd0386b9b210d7375965f6c6c27b72982ec8cdda8634c66886cba86
DIST rocket-chat-1.0.4.tar.gz 162562375 BLAKE2B 9334eb7154efcf0f6210f4b56e12dffe4b13b2e42e03cee53402484935815a98772ebadc05d8f530b4cca3e6985faf80667bfdd0abae7f80ae774f577d79c3a6 SHA512 4aaa1612d7189811f1fc703772d42984498622feb4678905dc55264029c629e3ea90e43043068860ab83665f2e84b033e9c613950d02de47a1185eb77fdd3b70
DIST rocket-chat-1.1.4.tar.gz 141043952 BLAKE2B 85aa202303c559ff8a9f2d7c8428bb03bc7a4f7d0fa1e0c6e2eba52bfbf23fdcfb7aa985e90604cf8a56cec5d91d77b8ccb51f244291530e2550eaf1e9a49591 SHA512 b96a9f363a2d928c6b6a35a20cbdb218302d0612823e225f083410b91679f30d0caca7bd2a8f032ba1713d5bcf6a7eb559d22937c00e158433f98537e7cbff7b
DIST rocket-chat-1.2.3.tar.gz 141016863 BLAKE2B 7c6782335c5ae43d3ad8c1e32fc49d3d18f24796eea5cdc09790849646eaf94015f247b60560756723fd7f362f050dce570d361650741e2023d521b442b60f47 SHA512 54bc023be880509547f67c047f3b2d3e808ac03d9c47838319fb17a960f52f711110166a259404612de3a2c1c3a94e0e8728942b419cac31d76e71eece99b583
EBUILD rocket-chat-1.0.4.ebuild 1800 BLAKE2B 15de442a5d5c2c7233e25d07038e88a910942753eda8fb017426ba549d9b08578c8686b3116ce1a274ddafcd95f87d5c4afdbde530b41baea9f1973a49412c7d SHA512 297324e319451ee151e98c15d3da3acfe1e45cd6b687f658872526fcf78e0164d306840ced74c0b9fa487bcad48c7379d67abfb59d5d8120c6fa94b620ac7635
DIST rocket-chat-1.3.0.tar.gz 142337276 BLAKE2B 8a830fd4062cfc0f2321d5af11ec13cf53a158772293e43d0f7a9274e01c78ec9d527f971704cf7904a697e7e55a7ceb40db83ae3ec8f0feda7ddd9ea521dfb5 SHA512 aedbae333e53c3d25bd73b946dc52822950fb4975bd5a1a664dfe79f73583f8e68fbd92f06a2e40e8c3be639130c7e0280f320a0a60c70a2e78396e21b834df9
EBUILD rocket-chat-1.1.4.ebuild 1800 BLAKE2B 15de442a5d5c2c7233e25d07038e88a910942753eda8fb017426ba549d9b08578c8686b3116ce1a274ddafcd95f87d5c4afdbde530b41baea9f1973a49412c7d SHA512 297324e319451ee151e98c15d3da3acfe1e45cd6b687f658872526fcf78e0164d306840ced74c0b9fa487bcad48c7379d67abfb59d5d8120c6fa94b620ac7635
EBUILD rocket-chat-1.2.3.ebuild 1800 BLAKE2B 15de442a5d5c2c7233e25d07038e88a910942753eda8fb017426ba549d9b08578c8686b3116ce1a274ddafcd95f87d5c4afdbde530b41baea9f1973a49412c7d SHA512 297324e319451ee151e98c15d3da3acfe1e45cd6b687f658872526fcf78e0164d306840ced74c0b9fa487bcad48c7379d67abfb59d5d8120c6fa94b620ac7635
EBUILD rocket-chat-1.3.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