diff options
author | Nico Suhl <nico@overninethousand.de> | 2020-02-25 19:04:57 +0100 |
---|---|---|
committer | Nico Suhl <nico@overninethousand.de> | 2020-02-25 19:06:03 +0100 |
commit | e82af17a6e1c1f1d4813883e1aa6e6426d97b02c (patch) | |
tree | 82b1f1472023e43cc09f4b259c74c76dcc117659 /dev-db/telegraf/telegraf-1.2.1-r1.ebuild | |
parent | bumb git eclass (diff) | |
download | nico-master.tar.gz nico-master.tar.bz2 nico-master.zip |
Signed-off-by: Nico Suhl <nico@overninethousand.de>
Diffstat (limited to 'dev-db/telegraf/telegraf-1.2.1-r1.ebuild')
-rw-r--r-- | dev-db/telegraf/telegraf-1.2.1-r1.ebuild | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/dev-db/telegraf/telegraf-1.2.1-r1.ebuild b/dev-db/telegraf/telegraf-1.2.1-r1.ebuild deleted file mode 100644 index 7fe5952..0000000 --- a/dev-db/telegraf/telegraf-1.2.1-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 - -inherit user unpacker - -DESCRIPTION="A plugin-driven server agent for reporting metrics into InfluxDB" -HOMEPAGE="http://influxdb.com" -SRC_URI="https://dl.influxdata.com/telegraf/releases/${PN}_${PV}_amd64.deb" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" -RESTRICT="mirror" - -DEPEND="" -RDEPEND="${DEPEND}" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} -} - -src_unpack() { - mkdir -p ${WORKDIR}/${P} - cd ${WORKDIR}/${P} - unpack_deb ${A} -} - -src_install() { - cp -Rp * "${D}" - newconfd "${FILESDIR}/${PN}.confd" "${PN}" - newinitd "${FILESDIR}/${PN}.initd" "${PN}" - fowners ${PN}:${PN} /var/log/${PN} -} |