summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/scylla-manager-agent/Manifest18
-rw-r--r--app-admin/scylla-manager-agent/scylla-manager-agent-2.3.0.ebuild66
2 files changed, 76 insertions, 8 deletions
diff --git a/app-admin/scylla-manager-agent/Manifest b/app-admin/scylla-manager-agent/Manifest
index 5749ffb..a931f24 100644
--- a/app-admin/scylla-manager-agent/Manifest
+++ b/app-admin/scylla-manager-agent/Manifest
@@ -3,20 +3,22 @@ Hash: SHA256
AUX scylla-manager-agent.initd 771 BLAKE2B ea62fae48341e8bcd4cceb6466e13643b108e23a3ca9e63bf78abe23cfab951cb10452141cd94f536313e3a0b6ce2115193b1efc527154c0d0581188ba1c6596 SHA512 cbf87c357a72247b17c774d0c71531db32396d2d7f248516bf60289f33dffc54cefb35844291c9a9c3c3a4e4e70c79ee815f5d3c440e14f786433ddc69a6e4b6
DIST scylla-manager-agent-2.1.2-0.20200816.76cc4dcc.x86_64.rpm 12555372 BLAKE2B 9fb8839094f7a20a4393ec588c1a3bb09131ac1a364600acdab0e85d5e2ac8ad476fa9aa8028d199b0582c52bc37cbc43a41698adb7d8f863e110e42c7e682e1 SHA512 bacc8cc537c03bfa21e836c8f5cb9614fbcf82ef3dcc7098815da63a2245383c3f9cefc7182dc1ce144e3cdade83fd3c45404ce98a1e774de0c462ad0f3fe14a
+DIST scylla-manager-agent-2.3.0-0.20210322.74f75d4a.x86_64.rpm 19102452 BLAKE2B d122143de19ed1742931f5161319a42f77fdc39612d7748697292e666ed226594bb2d5da80f4ef2ef5278b53a005f06b4033758d3d23c50686f41ef8347a03f5 SHA512 7089c47d0315271b412744054fbb23f669a1667976c08f22b8ddba71bd476790cd2e36690363b53ae021245fdc473e85153b2a1418736b512f4491f1bbb19ada
EBUILD scylla-manager-agent-2.1.2.ebuild 1386 BLAKE2B d97bd4fcf706c8fb8f4ab0a9fb2714db562a5b842bd109e525d934a76adba4cbc498b36bfbf3fc231cb90aa14a3c4b4e1985903206f0bafb0808992dcb4203b6 SHA512 b94bdb55a6a7ca6878e10cbb5b8f70f50dd2fcb1d80624150ea13eb1b0b45c26ea8d7d2e3d0202a379a63de030c133664289afd01118ea8000e8cd3c7c04f622
EBUILD scylla-manager-agent-2.2.4.ebuild 1386 BLAKE2B 69c45407101883f501fe6100a6f57cc2f57bc64eb1aaf1c55eff0e478971d2148c1eebc13d67f5cb67324c0172dc69ac410af5a52c8a781fc3718df1aa3e5fa5 SHA512 fea4357c9ddda6858308298390a5bebe98f3c8c51b4c47af8b530abb9675d3fdeb9eda5831be040eec4b7187d3cf311cb00ad9eb042e1f20d951bbe62da30b10
+EBUILD scylla-manager-agent-2.3.0.ebuild 1386 BLAKE2B 5fe33903b4b422582fbd705da0d60358cc26561ea73fcf900a1682f6081feb4834d397b996276a4bd3642d56d94059d1ec686b1f42aa70b5f72ffd1e2cc846e0 SHA512 4319bcea7d29754d8c062d6ffad2c409b6ddb3b9c728cecb9d9a71c5445e1f959791592b2a7af73a9da80de3a3e3166d59bc2455e8695c70a2c257fbc30a6ce4
MISC metadata.xml 249 BLAKE2B 40afa233e18ae5678e52194be8b1235d8deda4810e55b33ea192ded6b09a158f1bc941544f90a1b9e396db00bc0fe277c072d267568473ae4aa2dec8bc5c2f89 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAmBI9wJfFIAAAAAALgAo
+iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAmCJBdlfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDA3
QjM0NkQ4QUE4RDZEMEMzQzgyQTQzQjUxRkYyM0YxQUM5Nzc3MkYACgkQUf8j8ayX
-dy/ACwf/QRer5CqxpvohTr+SLC8eZGE8TJvNYPixBx6bJHRPOfDNqoo+NB2DYfFH
-cMM5BD3t7KpWtFI6yGA8yd3yq4vj+8LYrVFqSGlAJvnOEtNpJ5RVTRcN1v9PGz+p
-uZ507RCAGFDqrSdUWhAbKAH3mQEyA4fA5AuiImFhsLLPyJXcombuLXiBipFQ0gT2
-BR30lS2LvJGN0ZQwIGExKHYyCENizesJ+sd7VYkIM71Z2Rn7KIWAFsmueqRlUwNR
-E6sGhXsQ49eVEtHSiaF2Ts51k4PMt4JiWvCJL2jQTpWHNxZ4L1dIDZtYfzA85dqh
-LUIAKBrsD5bk7IE/wnbgbY+j45jCwA==
-=fRJA
+dy/oZwgAzlBYxniyjzO1iDe/yd9vcVQLGn157kDWrBsH1ptrXdlNTo27YxtpjwkP
+7dfqbI4VIZc/+jSM/y6x0l7I2VAZ2emCSAMkhSgUHmdf02qW8qs+YYkzBN12VS0/
+RI4XTW5ubdNpcuzb9vp4SC06lbVvSVKbFT1aNR6wSU4DsGXIKb3r+TyRPS588xAM
+Q1ilrWUOnnWxITEO1LuBUtalHUyo3iIbpFG+UELxSmPm/HLOwJdV3D7WJXmNmHxb
+XqSNZMHUvTgN2VmPWaZUQOvFUApLCNMTX1dNA2UInOVIddIgTvSTa/153LlFg9jm
+W9rtYXYADONZ363fZgVpAFcII+Wh8A==
+=koED
-----END PGP SIGNATURE-----
diff --git a/app-admin/scylla-manager-agent/scylla-manager-agent-2.3.0.ebuild b/app-admin/scylla-manager-agent/scylla-manager-agent-2.3.0.ebuild
new file mode 100644
index 0000000..7c0ff1f
--- /dev/null
+++ b/app-admin/scylla-manager-agent/scylla-manager-agent-2.3.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_V="2.3.0-0.20210322.74f75d4a"
+
+inherit user
+
+DESCRIPTION="Scylla Manager Agent"
+HOMEPAGE="https://docs.scylladb.com/operating-scylla/manager/2.0/install-agent"
+SRC_URI="${PN}-${MY_V}.x86_64.rpm"
+
+LICENSE="SCYLLADB-PROPRIETARY"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ app-arch/rpm2targz
+"
+DEPEND="${RDEPEND}"
+
+RESTRICT="fetch"
+S="${WORKDIR}/${PN}-${MY_V}.x86_64"
+
+pkg_setup() {
+ enewgroup scylla-manager
+ enewuser scylla-manager -1 -1 /var/lib/scylla-manager scylla-manager
+}
+
+src_unpack() {
+ for rpm in ${A}; do
+ rpmunpack "${DISTDIR}/${rpm}" || die
+ done
+}
+
+src_prepare() {
+ default
+ rm -rf usr/share || die
+}
+
+src_install() {
+ default
+
+ keepdir /var/lib/scylla-manager
+ fowners scylla-manager:scylla-manager "/var/lib/scylla-manager"
+
+ insinto /etc
+ doins -r etc/*
+
+ insinto /usr
+ doins -r usr/*
+
+ fperms +x /usr/bin/scylla-manager-agent
+ fperms +x /usr/lib/scylla-manager/scyllamgr_agent_setup
+ fperms +x /usr/lib/scylla-manager/scyllamgr_auth_token_gen
+ fperms +x /usr/lib/scylla-manager/scyllamgr_ssl_cert_gen
+
+ newinitd "${FILESDIR}/scylla-manager-agent.initd" ${PN}
+}
+
+pkg_config() {
+ usermod -ou $(id -u scylla) scylla-manager || die "failed to alias scylla-manager to scylla user"
+ /usr/lib/scylla-manager/scyllamgr_agent_setup -y --no-enable-service
+}