Gentoo Archives: gentoo-commits

From: Patrick Lauer <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/aerospike-amc-community/files/, app-admin/aerospike-amc-community/
Date: Fri, 11 May 2018 19:20:49
Message-Id: 1526066338.98d4a832709e1deb14ad6fb59f54bd3852ad167b.patrick@gentoo
1 commit: 98d4a832709e1deb14ad6fb59f54bd3852ad167b
2 Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 11 19:18:14 2018 +0000
4 Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
5 CommitDate: Fri May 11 19:18:58 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98d4a832
7
8 app-admin/aerospike-amc-community: Bump
9
10 Package-Manager: Portage-2.3.36, Repoman-2.3.9
11
12 app-admin/aerospike-amc-community/Manifest | 1 +
13 .../aerospike-amc-community-4.0.17.ebuild | 24 ++++++++++++++++++++++
14 app-admin/aerospike-amc-community/files/amc.init.3 | 21 +++++++++++++++++++
15 3 files changed, 46 insertions(+)
16
17 diff --git a/app-admin/aerospike-amc-community/Manifest b/app-admin/aerospike-amc-community/Manifest
18 index 55aec7b9138..fcb4bb303d2 100644
19 --- a/app-admin/aerospike-amc-community/Manifest
20 +++ b/app-admin/aerospike-amc-community/Manifest
21 @@ -5,3 +5,4 @@ DIST aerospike-amc-community-3.6.13.all.x86_64.deb 1436414 BLAKE2B cd823dd1c546f
22 DIST aerospike-amc-community-3.6.8.2.all.x86_64.deb 1429424 BLAKE2B 591f9982af0f9c696211fca341fc521b7e096f0cb57a0c0f0ff8d807422dfbcf121f31d87c7c3d89143c2e1e1bf96b2161531c3bad998cc5d3a069e545951e3f SHA512 ed1b82f825888ce2985b77d75e2e9988f87a241159fc0452af12892f66c37ec0d88f7edd2be6fce6d06184a5c09305f5e9727af48774e55b6290402fa406abc3
23 DIST aerospike-amc-community-3.6.8.all.x86_64.deb 1429404 BLAKE2B efebdb3d1d9136b0a1fcf5aa09d8c293cc552b32895070afc1557752d304a88f3da9970f178b8e30a0c8b9ac0762c18af93ab9446e3ba6e12a70b57c8d179370 SHA512 de44333471307410461bd53266b84fdc9fa92f7115012eb4b29b3ad415dd471ca3d9bf1a7c52bec7063df02a7e600dce9366910a089751dd19163cc212574d28
24 DIST aerospike-amc-community-3.6.9.all.x86_64.deb 1431182 BLAKE2B 6ba0618d048e7aa57b11a13dc92b9a838de2e26a316ae1fa35bf157656c3463e2933667dc96323648f28c5013093d59c7bf460906e2f7ff04ac3d9bd94f7e7c2 SHA512 67059ef2b96c4cf69b8a2edacb3edc711a18889b7eee16a038c63e8176d80e4b5ff23f126c0c16113a529e181b9c6f16601cbfa0251b0b12231ad7a23b8bc65e
25 +DIST aerospike-amc-community-4.0.17.tar.gz 7868123 BLAKE2B 86ada2e5af69b9306dc10b5386d21bd4459fff8a05672f289511f1b4efc27b1bd114cdd7bf9e5d6656fa3911ca111c8eabaa178a564f2ff9e6ab64c4a88a0145 SHA512 3dce8e8d435f70685498083d50818c1655faa61125391424c0ff99ea50618df4f9f3c3ddc7be5c64aba7118e75c5c3f24f7c5bfe834ba7fb504fa7d72bd00db3
26
27 diff --git a/app-admin/aerospike-amc-community/aerospike-amc-community-4.0.17.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-4.0.17.ebuild
28 new file mode 100644
29 index 00000000000..ee583da80e5
30 --- /dev/null
31 +++ b/app-admin/aerospike-amc-community/aerospike-amc-community-4.0.17.ebuild
32 @@ -0,0 +1,24 @@
33 +# Copyright 1999-2018 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +inherit eutils user
38 +
39 +DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server"
40 +HOMEPAGE="http://www.aerospike.com"
41 +SRC_URI="http://www.aerospike.com/download/amc/${PV}/artifact/linux -> ${P}.tar.gz"
42 +LICENSE="Apache-2.0"
43 +SLOT="0"
44 +KEYWORDS="~amd64"
45 +IUSE=""
46 +
47 +RDEPEND=""
48 +DEPEND="${RDEPEND}"
49 +
50 +S=$WORKDIR
51 +
52 +src_install() {
53 + cp -r "$S/"* "$D"
54 + rm "${D}/etc/init.d/*"
55 + newinitd "${FILESDIR}/amc.init.3" amc
56 +}
57
58 diff --git a/app-admin/aerospike-amc-community/files/amc.init.3 b/app-admin/aerospike-amc-community/files/amc.init.3
59 new file mode 100644
60 index 00000000000..6fd8097b18f
61 --- /dev/null
62 +++ b/app-admin/aerospike-amc-community/files/amc.init.3
63 @@ -0,0 +1,21 @@
64 +#!/sbin/openrc-run
65 +# Copyright 1999-2018 Gentoo Foundation
66 +# Distributed under the terms of the GNU General Public License v2
67 +
68 +run_dir=${run_dir:-/run}
69 +
70 +command="/opt/amc/amc"
71 +command_progress="true"
72 +retry='TERM/30/KILL/5'
73 +pidfile=${run_dir}/${SVCNAME}.pid
74 +user=${user:-root}
75 +group=${group:-root}
76 +start_stop_daemon_args="--user ${user} --group ${group}"
77 +
78 +depend() {
79 + use net
80 +}
81 +
82 +start_post() {
83 + ewaitfile 60 "${pidfile}"
84 +}