summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-06-22 12:35:07 +0200
committerPatrick Lauer <patrick@gentoo.org>2016-06-22 12:35:42 +0200
commitf911f4dcbaf5467c1c7d84cbc4dd68bf6ab4fb86 (patch)
tree631e0593d218d043e2acd65fe07dc6b0544d8d12 /app-admin
parentwww-apps/grafana-bin: Initial import, ebuild borrowed from Adjust overlay (diff)
downloadgentoo-f911f4dcbaf5467c1c7d84cbc4dd68bf6ab4fb86.tar.gz
gentoo-f911f4dcbaf5467c1c7d84cbc4dd68bf6ab4fb86.tar.bz2
gentoo-f911f4dcbaf5467c1c7d84cbc4dd68bf6ab4fb86.zip
app-admin/aerospike-amc-community: Bump
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/aerospike-amc-community/Manifest1
-rw-r--r--app-admin/aerospike-amc-community/aerospike-amc-community-3.6.8.2.ebuild64
2 files changed, 65 insertions, 0 deletions
diff --git a/app-admin/aerospike-amc-community/Manifest b/app-admin/aerospike-amc-community/Manifest
index f2f48d815f8f..c679e9a99c39 100644
--- a/app-admin/aerospike-amc-community/Manifest
+++ b/app-admin/aerospike-amc-community/Manifest
@@ -1 +1,2 @@
+DIST aerospike-amc-community-3.6.8.2.all.x86_64.deb 1429424 SHA256 6509c10fa4af2c41aa9f2a17ad75e2f1383010bb9d12586e19858aa990b127d5 SHA512 ed1b82f825888ce2985b77d75e2e9988f87a241159fc0452af12892f66c37ec0d88f7edd2be6fce6d06184a5c09305f5e9727af48774e55b6290402fa406abc3 WHIRLPOOL 7c98bf26f9cd32461a015572fb3f7c9f6d17dff8fa28a13adbac47267db0f83d3d2139faceb1ebb89a259df20dbdd6f9b81c8cdd9f305597835e84c3f985805c
DIST aerospike-amc-community-3.6.8.all.x86_64.deb 1429404 SHA256 7c29269746a806f04c3828188a249af6407135ebcf151fe55550d84d2e8dc464 SHA512 de44333471307410461bd53266b84fdc9fa92f7115012eb4b29b3ad415dd471ca3d9bf1a7c52bec7063df02a7e600dce9366910a089751dd19163cc212574d28 WHIRLPOOL 134a8f6dbd006b9918be787f090ca762b45b4c9083f43b6f039b3f33ab1a43ef38be30e3fa31c137185e35672620eace1a2cff7615091f9a9bfab955dfa1f914
diff --git a/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.8.2.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.8.2.ebuild
new file mode 100644
index 000000000000..942b7c99157c
--- /dev/null
+++ b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.8.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils user
+
+DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server"
+HOMEPAGE="http://www.aerospike.com"
+SRC_URI="http://www.aerospike.com/artifacts/${PN}/${PV}/${P}.all.x86_64.deb"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="app-crypt/gcr
+ dev-python/eventlet
+ dev-python/flask
+ dev-python/greenlet
+ dev-python/setproctitle
+ www-servers/gunicorn"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+ default
+ mkdir "${P}"
+ tar -xf data.tar.xz -C "${S}" || die
+ tar -xzf "${S}"/opt/amc.tar.gz -C "${S}"/opt/ || die
+}
+
+src_install() {
+ mv opt/amc/amc/* opt/amc/
+ rm -rf opt/amc/amc
+ rm -f opt/amc/install
+ rm -f opt/amc/bin/uninstall
+ rm -f opt/amc/bin/amc_*.sh
+ rm -f opt/amc/bin/gunicorn
+ rm -rf opt/amc/server/site-packages/
+ rm -rf opt/amc/server/setups/
+
+ insinto /etc/logrotate.d
+ newins opt/amc/config/logrotate amc
+ rm -f opt/amc/config/logrotate
+
+ insinto /etc/cron.daily
+ newins opt/amc/config/logcron amc
+ rm -f opt/amc/config/logcron
+
+ sed -e 's@/tmp/amc.pid@/run/amc.pid@g' -i opt/amc/config/gunicorn_config.py || die
+
+ insinto /etc/amc/config
+ doins -r opt/amc/config/*
+ rm -rf opt/amc/config/
+
+ echo "${PV}" > opt/amc/amc_version
+
+ insinto /opt/amc/
+ doins -r opt/amc/*
+
+ keepdir /var/log/amc
+
+ newinitd "${FILESDIR}"/amc.init amc
+}