diff options
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/scylla-manager-agent/Manifest | 18 | ||||
-rw-r--r-- | app-admin/scylla-manager-agent/scylla-manager-agent-2.5.0.ebuild | 65 |
2 files changed, 75 insertions, 8 deletions
diff --git a/app-admin/scylla-manager-agent/Manifest b/app-admin/scylla-manager-agent/Manifest index a931f24..76abc39 100644 --- a/app-admin/scylla-manager-agent/Manifest +++ b/app-admin/scylla-manager-agent/Manifest @@ -4,21 +4,23 @@ 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 +DIST scylla-manager-agent-2.5.0-0.20210812.f4aa0f20.x86_64.rpm 14689737 BLAKE2B b02b875b5a4e878341d26e909fea3b34d3698aea4144d241d1445e36eeab0a848e2e998f35e126b90314f312eaffeb0c3b2435c91587827f805e28a776017f5b SHA512 92609aa5cd2a12e28606631ec0e313585a585bb74e079d9e5bf78d1f36b180a25a5ac01bfae8380c828f6671ef4cab6f9c505cc08c056e99ccf7d2cda1247bec 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 +EBUILD scylla-manager-agent-2.5.0.ebuild 1456 BLAKE2B fc6e893b949bcc3e3f0a39b0c7e84b21718a9606d36b98f395e5fa6c1586785370f49289762499dd8c9693c12fcfce896006b4d1cf5609d28606f001bf3573b3 SHA512 14e48a9845745299e2b64ac9722a0e7b916ad9f01f8b23338665a91e36383f4071109e8c47ed000e327b0d7a8a2ac8805fa68a012b98cf02e649a32cac75d284 MISC metadata.xml 249 BLAKE2B 40afa233e18ae5678e52194be8b1235d8deda4810e55b33ea192ded6b09a158f1bc941544f90a1b9e396db00bc0fe277c072d267568473ae4aa2dec8bc5c2f89 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAmCJBdlfFIAAAAAALgAo +iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAmEjghdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDA3 QjM0NkQ4QUE4RDZEMEMzQzgyQTQzQjUxRkYyM0YxQUM5Nzc3MkYACgkQUf8j8ayX -dy/oZwgAzlBYxniyjzO1iDe/yd9vcVQLGn157kDWrBsH1ptrXdlNTo27YxtpjwkP -7dfqbI4VIZc/+jSM/y6x0l7I2VAZ2emCSAMkhSgUHmdf02qW8qs+YYkzBN12VS0/ -RI4XTW5ubdNpcuzb9vp4SC06lbVvSVKbFT1aNR6wSU4DsGXIKb3r+TyRPS588xAM -Q1ilrWUOnnWxITEO1LuBUtalHUyo3iIbpFG+UELxSmPm/HLOwJdV3D7WJXmNmHxb -XqSNZMHUvTgN2VmPWaZUQOvFUApLCNMTX1dNA2UInOVIddIgTvSTa/153LlFg9jm -W9rtYXYADONZ363fZgVpAFcII+Wh8A== -=koED +dy+ytAf5AUSKpMkbAafZrb5IFO5/YgWhtaBHRmraCgVDNPIPy8OS9l4Kp+FiJLQx +EFGRKLx2ENc6SQp3XRuy8kTSk5BGBnqflismbiJrFaFJXkstqfb4o60MgBfg4Vrn +0IApx5IID+UGmtQWK3Iv4n1FVAz/qhvrg4JzItnUnDNlj6RA1c2uo75G6RVKBVYJ +095rKVM3ftnojTRZCsXy/gubqr07FjSdJcuprMioz4i5/1nvQQR5ZpVYvpFOgAOh +8UkfxQBaidSljBc/lkkv5b7nHt3xo7ZWRX+hr5eMpTy2M2wNlyDWsw/WfYFKj0Yo +/HsQ95Bj32xLDxj5ZwoEbnecTTYvyg== +=jqT0 -----END PGP SIGNATURE----- diff --git a/app-admin/scylla-manager-agent/scylla-manager-agent-2.5.0.ebuild b/app-admin/scylla-manager-agent/scylla-manager-agent-2.5.0.ebuild new file mode 100644 index 0000000..cbd3b89 --- /dev/null +++ b/app-admin/scylla-manager-agent/scylla-manager-agent-2.5.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_V="2.5.0-0.20210812.f4aa0f20" + +inherit user + +DESCRIPTION="Scylla Manager Agent" +HOMEPAGE="https://manager.docs.scylladb.com/stable/install-scylla-manager.html" +SRC_URI="http://downloads.scylladb.com/downloads/scylla-manager/rpm/centos/scylladb-manager-2.5/x86_64/${PN}-${MY_V}.x86_64.rpm" + +LICENSE="SCYLLADB-SSAL" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + app-arch/rpm2targz +" +DEPEND="${RDEPEND}" + +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 +} |