summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-08-09 11:44:18 +0200
committerPatrick Lauer <patrick@gentoo.org>2016-08-09 11:44:26 +0200
commitb8395631032eec16802d75214b5dce1abcef7545 (patch)
treeb21977fbe2a52ace7f9ad9eab8163642d771d5ff /app-admin/aerospike-amc-community
parentdev-db/aerospike-server-community: Bump, remove old (diff)
downloadgentoo-b8395631032eec16802d75214b5dce1abcef7545.tar.gz
gentoo-b8395631032eec16802d75214b5dce1abcef7545.tar.bz2
gentoo-b8395631032eec16802d75214b5dce1abcef7545.zip
app-admin/aerospike-amc-community: Bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-admin/aerospike-amc-community')
-rw-r--r--app-admin/aerospike-amc-community/Manifest1
-rw-r--r--app-admin/aerospike-amc-community/aerospike-amc-community-3.6.10.1.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 473653cc5a6e..627ecd93b88c 100644
--- a/app-admin/aerospike-amc-community/Manifest
+++ b/app-admin/aerospike-amc-community/Manifest
@@ -1,3 +1,4 @@
+DIST aerospike-amc-community-3.6.10.1.all.x86_64.deb 1434334 SHA256 1f8424f64d2d3a609ec1a4ad30569ccbf13ac411eddb96f3e855efc396523b02 SHA512 2f9d208c501800d7a73d419347883ff9b4f8d65e76238c8676f1f04ad6c38aae2c9746ea65ed0d4ef36bcc9419a3a70b4d95f42aea72556935cdb3e82d943f05 WHIRLPOOL 5062770392f4ebe62ab616bb67b9848591cdaed334dc94476b88ede7691b6734c2fe0d91b2a7e1ca7f69c48931c194cbec630eee58281d3e8414ebf5072499e9
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
DIST aerospike-amc-community-3.6.9.all.x86_64.deb 1431182 SHA256 fb3a21ed712b134ae0fbe41bcc60ee3b62fddb1a08af660b7197528cb978d827 SHA512 67059ef2b96c4cf69b8a2edacb3edc711a18889b7eee16a038c63e8176d80e4b5ff23f126c0c16113a529e181b9c6f16601cbfa0251b0b12231ad7a23b8bc65e WHIRLPOOL c04a136ed27029503fd58c08a872fd86c9f3530b161183cb74a86db9f66150b817df05492f697214ecf8bbde3951d3b5091eea5c53787faf79888606670ddba5
diff --git a/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.10.1.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.10.1.ebuild
new file mode 100644
index 000000000000..942b7c99157c
--- /dev/null
+++ b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.10.1.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
+}