diff options
-rw-r--r-- | app-admin/aerospike-amc-community/Manifest | 1 | ||||
-rw-r--r-- | app-admin/aerospike-amc-community/aerospike-amc-community-3.6.12.ebuild | 64 |
2 files changed, 65 insertions, 0 deletions
diff --git a/app-admin/aerospike-amc-community/Manifest b/app-admin/aerospike-amc-community/Manifest index 650d011602b0..eeed2d8bfac6 100644 --- a/app-admin/aerospike-amc-community/Manifest +++ b/app-admin/aerospike-amc-community/Manifest @@ -1,5 +1,6 @@ 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.11.all.x86_64.deb 1434296 SHA256 435d68f20f9a98d2569c294d850bfac5d00eaca680dbe5c697955d6b6df82c9c SHA512 e6396d8328f1021bbe4505bd63d4b4835857f151d58e0bb089f18ad7b3115d4893e9b3aaac18321f26150e6d1d2f15eadcd39d2f361af145426dee0c8fd9e90d WHIRLPOOL 99fee74cf99ba081f7ad61fc839a3ddc150fe9580325cc5ab40f2aeb254348856bde554240c2f39ec49dd4979cae7f03fe2d9d5ad3c6af4d181caeaefb627ddf +DIST aerospike-amc-community-3.6.12.all.x86_64.deb 1436482 SHA256 9120e3b3ed144f19ce84a3d7b36a3fa1a61dff82e1e318efa81c834bb6cdb339 SHA512 d02e02db2c041bdb4ed8392dc2703840fc7eec5a7de8f5bbb24db61538631302c94f0bcffe8e31c8e03ec2ca35b8ea82f49d713cdfe2c1e14d0a078b53fb9695 WHIRLPOOL 4147051729ce90b61e29db031f879ee740c53c55a3da39504ca78931a3a859ed31376b177b2fd00ad6269961c44623a7664e8126e63281b9bec34f53f7272237 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.12.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.12.ebuild new file mode 100644 index 000000000000..942b7c99157c --- /dev/null +++ b/app-admin/aerospike-amc-community/aerospike-amc-community-3.6.12.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 +} |