summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUltrabug <ultrabug@gentoo.org>2020-09-16 13:37:53 +0200
committerUltrabug <ultrabug@gentoo.org>2020-09-16 13:37:53 +0200
commit56bb00c929f8be34098c156ad80d9c4dd399b4e3 (patch)
treecadf5dcfbafa20647fa0c0af112101f040006558 /app-admin/scylla-manager-agent/scylla-manager-agent-2.1.0.ebuild
parentapp-admin/scylla-manager-agent: fix systemd user (diff)
downloadultrabug-56bb00c929f8be34098c156ad80d9c4dd399b4e3.tar.gz
ultrabug-56bb00c929f8be34098c156ad80d9c4dd399b4e3.tar.bz2
ultrabug-56bb00c929f8be34098c156ad80d9c4dd399b4e3.zip
app-admin/scylla-manager-agent: switch to scylla-manager user
Package-Manager: Portage-3.0.5, Repoman-3.0.1 Manifest-Sign-Key: 34FCB257983BA23A8CEC5EB7EB9E6405C24BFAE5 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
Diffstat (limited to 'app-admin/scylla-manager-agent/scylla-manager-agent-2.1.0.ebuild')
-rw-r--r--app-admin/scylla-manager-agent/scylla-manager-agent-2.1.0.ebuild55
1 files changed, 0 insertions, 55 deletions
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
deleted file mode 100644
index f678ccd..0000000
--- a/app-admin/scylla-manager-agent/scylla-manager-agent-2.1.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_V="2.1.0-0.20200611.9be1c609"
-
-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
-}