diff options
author | Ultrabug <ultrabug@gentoo.org> | 2021-03-10 17:43:11 +0100 |
---|---|---|
committer | Ultrabug <ultrabug@gentoo.org> | 2021-03-10 17:43:11 +0100 |
commit | 53517a92ff4fc4666e93e87158d5e65ae7a4746c (patch) | |
tree | 5273aa366b70978514b552382605b7c882e447dd /app-admin | |
parent | app-admin/scylla-manager: remove obsolete (diff) | |
download | ultrabug-53517a92ff4fc4666e93e87158d5e65ae7a4746c.tar.gz ultrabug-53517a92ff4fc4666e93e87158d5e65ae7a4746c.tar.bz2 ultrabug-53517a92ff4fc4666e93e87158d5e65ae7a4746c.zip |
app-admin/scylla-manager-agent: version bump
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Manifest-Sign-Key: 34FCB257983BA23A8CEC5EB7EB9E6405C24BFAE5
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/scylla-manager-agent/Manifest | 17 | ||||
-rw-r--r-- | app-admin/scylla-manager-agent/scylla-manager-agent-2.2.4.ebuild | 66 |
2 files changed, 75 insertions, 8 deletions
diff --git a/app-admin/scylla-manager-agent/Manifest b/app-admin/scylla-manager-agent/Manifest index 15a9364..5749ffb 100644 --- a/app-admin/scylla-manager-agent/Manifest +++ b/app-admin/scylla-manager-agent/Manifest @@ -4,18 +4,19 @@ 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 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 MISC metadata.xml 249 BLAKE2B 40afa233e18ae5678e52194be8b1235d8deda4810e55b33ea192ded6b09a158f1bc941544f90a1b9e396db00bc0fe277c072d267568473ae4aa2dec8bc5c2f89 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl9jkeNfFIAAAAAALgAo +iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAmBI9wJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDA3 QjM0NkQ4QUE4RDZEMEMzQzgyQTQzQjUxRkYyM0YxQUM5Nzc3MkYACgkQUf8j8ayX -dy+iGAf/QGvSNRuRgfQnfkMt3YkrJq9rnlIMCFaF3AGyseBnmYvECK7iRFbRnRJD -7vQmWzxjb1tb0mPqLpi0VF3XsPbGVNkY5XTXM2XmWpO1/w7h4J6O+2yvYuS3V2eu -lu3QTcvvF3sowOqz3cDtUyh5U+tnCA+Eqp13ssoNf8WjUHYqAy707BRLYH7WpQdn -02HKX6qLuvpc+yM5f3DYt5Uxlnlwe3W/f1Oot3uM7/ND+0ULx9C9zSQrNx/mSgWp -1ztmpNbez/lCbdIDjyCbiZsfbkNSbiusD4jnPELmH8xyfm4g8mI+8C4ZSGQVDfDh -HoNzph7gu6fuKiBFlbCEK+6KFzLECw== -=V93G +dy/ACwf/QRer5CqxpvohTr+SLC8eZGE8TJvNYPixBx6bJHRPOfDNqoo+NB2DYfFH +cMM5BD3t7KpWtFI6yGA8yd3yq4vj+8LYrVFqSGlAJvnOEtNpJ5RVTRcN1v9PGz+p +uZ507RCAGFDqrSdUWhAbKAH3mQEyA4fA5AuiImFhsLLPyJXcombuLXiBipFQ0gT2 +BR30lS2LvJGN0ZQwIGExKHYyCENizesJ+sd7VYkIM71Z2Rn7KIWAFsmueqRlUwNR +E6sGhXsQ49eVEtHSiaF2Ts51k4PMt4JiWvCJL2jQTpWHNxZ4L1dIDZtYfzA85dqh +LUIAKBrsD5bk7IE/wnbgbY+j45jCwA== +=fRJA -----END PGP SIGNATURE----- diff --git a/app-admin/scylla-manager-agent/scylla-manager-agent-2.2.4.ebuild b/app-admin/scylla-manager-agent/scylla-manager-agent-2.2.4.ebuild new file mode 100644 index 0000000..ac0d58d --- /dev/null +++ b/app-admin/scylla-manager-agent/scylla-manager-agent-2.2.4.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.1.2-0.20200816.76cc4dcc" + +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 +} |