summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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-4.0.19-r2.ebuild (renamed from app-admin/aerospike-amc-community/aerospike-amc-community-4.0.19-r1.ebuild)20
-rw-r--r--app-admin/aerospike-amc-community/aerospike-amc-community-5.0.0.ebuild28
-rw-r--r--app-admin/aerospike-amc-community/metadata.xml2
4 files changed, 40 insertions, 11 deletions
diff --git a/app-admin/aerospike-amc-community/Manifest b/app-admin/aerospike-amc-community/Manifest
index 99df19ce3226..3f22bd57b7c4 100644
--- a/app-admin/aerospike-amc-community/Manifest
+++ b/app-admin/aerospike-amc-community/Manifest
@@ -1 +1,2 @@
DIST aerospike-amc-community-4.0.19.tar.gz 7868527 BLAKE2B 69835bdf3d7f1a4b23cd63bb7344c50b6bbbdc04fd55b2d6ec5783a429a442fa6cdf985c77cb4ac73f8ac0663ed2524c8d7a853e970cc086335cf810fd9eaecf SHA512 821de8569bf020b9a2b829e71aab5d48d25639620468aa0b3ed28dc24e0d57bc61be60939425c0a69c418602fa2fbf5ef60f1870edb3f04fa40a2a2aca281218
+DIST aerospike-amc-community-5.0.0.tar.gz 11741635 BLAKE2B cfcbbeb3148a03d4b5381306b42c12886a05a64c3dccd203caa3a1ce411a62908260bc5f9835b8b54f1e1edc2e4c3ba8b9ad19226a87af6da52a49f6d10119b8 SHA512 6db8c5cb79f57d44cbfbc904851b4bef36415d1402ac06f47900c66e59731de78fddc2956e89499c42366ab10ec3662f694b5e1a651f785e5644d014d7165402
diff --git a/app-admin/aerospike-amc-community/aerospike-amc-community-4.0.19-r1.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-4.0.19-r2.ebuild
index d1d21c1ab7be..3f3727b13907 100644
--- a/app-admin/aerospike-amc-community/aerospike-amc-community-4.0.19-r1.ebuild
+++ b/app-admin/aerospike-amc-community/aerospike-amc-community-4.0.19-r2.ebuild
@@ -1,24 +1,24 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils user
+EAPI=7
DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server"
HOMEPAGE="http://www.aerospike.com"
SRC_URI="http://www.aerospike.com/download/amc/${PV}/artifact/linux -> ${P}.tar.gz"
+S="${WORKDIR}"
+
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=""
-
-RDEPEND=""
-DEPEND="${RDEPEND}"
-S=$WORKDIR
+RDEPEND="
+ acct-group/aerospike-amc
+ acct-user/aerospike-amc
+"
src_install() {
- cp -r "$S/"* "$D"
- rm "${D}/etc/init.d/*"
+ cp -r "${S}/"* "${ED}"
+ rm "${ED}/etc/init.d/*"
newinitd "${FILESDIR}/amc.init.4" amc
}
diff --git a/app-admin/aerospike-amc-community/aerospike-amc-community-5.0.0.ebuild b/app-admin/aerospike-amc-community/aerospike-amc-community-5.0.0.ebuild
new file mode 100644
index 000000000000..07fdde3f4da5
--- /dev/null
+++ b/app-admin/aerospike-amc-community/aerospike-amc-community-5.0.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="aerospike-amc-enterprise-${PV}-linux"
+
+DESCRIPTION="Web UI based monitoring tool for Aerospike Community Edition Server"
+HOMEPAGE="https://www.aerospike.com"
+SRC_URI="https://github.com/aerospike-community/amc/releases/download/${PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ acct-group/aerospike-amc
+ acct-user/aerospike-amc
+"
+
+QA_PREBUILT="/opt/amc/amc"
+
+src_install() {
+ cp -r "${S}"/* "${ED}" || die
+ rm "${ED}"/etc/init.d/amc || die
+ newinitd "${FILESDIR}/amc.init.4" amc
+}
diff --git a/app-admin/aerospike-amc-community/metadata.xml b/app-admin/aerospike-amc-community/metadata.xml
index 8c5a5301197b..9dc24d2ae538 100644
--- a/app-admin/aerospike-amc-community/metadata.xml
+++ b/app-admin/aerospike-amc-community/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>patrick@gentoo.org</email>