diff options
author | Ultrabug <ultrabug@gentoo.org> | 2020-09-16 13:14:10 +0200 |
---|---|---|
committer | Ultrabug <ultrabug@gentoo.org> | 2020-09-16 13:14:10 +0200 |
commit | 1df82e0bda4ca65e912e890c3cd9c52784fcda42 (patch) | |
tree | 4d58b6cafcf8c0e819562579c7f52a8794dbcb20 | |
parent | app-admin/scylla-manager-agent: add pkg_config for systemd (diff) | |
download | ultrabug-1df82e0bda4ca65e912e890c3cd9c52784fcda42.tar.gz ultrabug-1df82e0bda4ca65e912e890c3cd9c52784fcda42.tar.bz2 ultrabug-1df82e0bda4ca65e912e890c3cd9c52784fcda42.zip |
app-admin/scylla-manager-agent: install systemd service file
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Manifest-Sign-Key: 34FCB257983BA23A8CEC5EB7EB9E6405C24BFAE5
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
3 files changed, 66 insertions, 10 deletions
diff --git a/app-admin/scylla-manager-agent/Manifest b/app-admin/scylla-manager-agent/Manifest index 1c3638f..bfbaf24 100644 --- a/app-admin/scylla-manager-agent/Manifest +++ b/app-admin/scylla-manager-agent/Manifest @@ -3,19 +3,21 @@ Hash: SHA256 AUX scylla-manager-agent.initd 755 BLAKE2B 3e7f53f21944774af391cba38117f695ebd5722bc9c7be7ba7bf5fb017a9cd03ddf735660f305a45c3094c2ed25d9a508a3465f465079b1a94cb07ad9d59492b SHA512 cbeb529bf7ae7a9d74631ae0169676126338f90bbf2ed58c46693046d160981d076cc8f5cbdfd3d6bc3d736541fefd16f968c807a81587a7a952a9b39c1e0124 DIST scylla-manager-agent-2.1.0-0.20200611.9be1c609.x86_64.rpm 12554832 BLAKE2B 6cb55b231f768ac6a9f73106b9c042fd3593908047ec93218eaa24b722209027971974a5d36db7e0bcb0505ed3f567571d8eda00c1dd57338764f71f34342e7d SHA512 420d9e170e7b0d978efd8fc1a7774b8359f7b3d756fb4a8ae823e3cdbcfc14bc26b31dc99d699a189fa6a2b609b7dd10024fca3852dfe2e73a11afc2a0f80599 -EBUILD scylla-manager-agent-2.1.0.ebuild 1133 BLAKE2B 43cda1e97440f9cf222895c5302d9d426854515cf03a78bba181b5f4ddab2f8b0d7a7e8804ad52be2685891cfa5cf675861d29fd36c4279209a3bb4e3e2d00bc SHA512 f60e1027ae782261d7c9f900085e0568a06d1ca6e90ccc031a68b95607b063eaeae00234adb340acb95a3d3bde1281c122ac21cfc1a224188abe73e9cadb6479 +DIST scylla-manager-agent-2.1.2-0.20200816.76cc4dcc.x86_64.rpm 12555372 BLAKE2B 9fb8839094f7a20a4393ec588c1a3bb09131ac1a364600acdab0e85d5e2ac8ad476fa9aa8028d199b0582c52bc37cbc43a41698adb7d8f863e110e42c7e682e1 SHA512 bacc8cc537c03bfa21e836c8f5cb9614fbcf82ef3dcc7098815da63a2245383c3f9cefc7182dc1ce144e3cdade83fd3c45404ce98a1e774de0c462ad0f3fe14a +EBUILD scylla-manager-agent-2.1.0.ebuild 1100 BLAKE2B e251e04ba6d590c871900ff3e24f88dc50bac94ed9435d516fbdfdb8c407e8d2f8cef7b5008797a7e0596da96d8f7bcd025ed3c26bb1c94a57ed2e50e7cb5eb7 SHA512 e26318a55a9edc225c9ca2376a4ae60cad58f37f3c991654c302231200dc8aee2a15a28e7d6667724cf4b3d61213636c88fc217b505412680570ada1dcf02796 +EBUILD scylla-manager-agent-2.1.2.ebuild 1100 BLAKE2B 6d1bb7039f30a745dccc9ec6175bca167919b62cff361be57fcc5de90ec81cc1e23a9486906595cf2c5ae89ed713227c372ebc851e064083bba2977aecc01a16 SHA512 9d9f566cd8dc318db317c0dab5ed58ffa3a72d0fdb8e9967f4fcb407998a7dac1a6f442b4e2b40b2393ccaf919b552c6c7fdbd2ac720f93a834feaeef03e78cb MISC metadata.xml 249 BLAKE2B 40afa233e18ae5678e52194be8b1235d8deda4810e55b33ea192ded6b09a158f1bc941544f90a1b9e396db00bc0fe277c072d267568473ae4aa2dec8bc5c2f89 SHA512 6eae78a65db44c8f7ef2d20c10c8612cd2072c0204c6294798e4bf94f1283c684c22d1ad28e0f68e78e82a0c60526d6786492c9dacc438d83405218e51c1bf9c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl9h8TlfFIAAAAAALgAo +iQGTBAEBCAB9FiEEB7NG2KqNbQw8gqQ7Uf8j8ayXdy8FAl9h82ZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDA3 QjM0NkQ4QUE4RDZEMEMzQzgyQTQzQjUxRkYyM0YxQUM5Nzc3MkYACgkQUf8j8ayX -dy/CZAgAyGRDhgeF959qbRiqamJIjKalJqGmhlmBCYF3SLz2lXXoGzQnOSYEWqw3 -mrARNDbWogfu1T923BAzyGCPBuTjOjOjL8dCsSv0XUN8C3bhysK0yzGxhdB73x49 -XAR9b5Se9qOrqqe8Hjf/xNxDfP/124NIzgve8rJYfCifDY9kEUfNM+H1OzNNtNZK -3Yb5zMKklXIgURjecC8XjNetGl9WTKtNZMuLG6/jkWJY+xBlvPu5+y+ZTK/DQnpt -sJWT5zVCZluSxhO6zc0vxNyBoJ0P7emAbmqckqhO0x0Y3tea5AreJ/un0FJ7g6t9 -ONlPGP1oYud/8B7EvLF0e7oXjZE2wQ== -=KHpx +dy9+kggAwmvqwMQdEzcUP5O3NijwxJd4wo1LrFETUQsB051kgRbkUKHTvCZSBTvd +29yjQRGhUHN79UI65XJlSGaIB+rrGwi5snUKMpwANxwsw4BQtPsbO5zk0ovP6bqq +QIZ/KVJUSWF5ThuYaEJqHvCwVGXxPSj4ClUByAxocDkR41QFchLAZrGXyODk2NGA ++5aW3mvpQzkrXahVSx1DzkK+6gLMUFOeGztJ5cjbkP893NqSwzv67Mkg0HFXul+4 +53hWUTAkEMFQBdSjQxgBiYZTIxAEYKQap/hWQ34SeakHDmq0mw5Dxpvlj9mIZpD9 +JmTJy2GRQ1/N/rW7UFSaNlj40teTsA== +=5wT+ -----END PGP SIGNATURE----- diff --git a/app-admin/scylla-manager-agent/scylla-manager-agent-2.1.0.ebuild b/app-admin/scylla-manager-agent/scylla-manager-agent-2.1.0.ebuild index 55f0320..f678ccd 100644 --- a/app-admin/scylla-manager-agent/scylla-manager-agent-2.1.0.ebuild +++ b/app-admin/scylla-manager-agent/scylla-manager-agent-2.1.0.ebuild @@ -38,7 +38,6 @@ src_install() { doins -r */etc/* rm -rf */usr/share || die - rm -rf */usr/lib/systemd || die insinto /usr doins -r */usr/* diff --git a/app-admin/scylla-manager-agent/scylla-manager-agent-2.1.2.ebuild b/app-admin/scylla-manager-agent/scylla-manager-agent-2.1.2.ebuild new file mode 100644 index 0000000..94f0edc --- /dev/null +++ b/app-admin/scylla-manager-agent/scylla-manager-agent-2.1.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_V="2.1.2-0.20200816.76cc4dcc" + +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} + +src_unpack() { + for rpm in ${A}; do + rpmunpack "${DISTDIR}/${rpm}" || die + done +} + +src_install() { + default + + keepdir /var/lib/scylla-manager + fowners scylla:scylla "/var/lib/scylla-manager" + + insinto /etc + doins -r */etc/* + + rm -rf */usr/share || die + + 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() { + /usr/lib/scylla-manager/scyllamgr_agent_setup -y --no-enable-service +} |