summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/telegraf/telegraf-1.2.1-r1.ebuild')
-rw-r--r--dev-db/telegraf/telegraf-1.2.1-r1.ebuild38
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}
-}