summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2018-03-26 13:00:17 -0500
committerWilliam Hubbs <williamh@gentoo.org>2018-03-26 13:01:12 -0500
commit2a13d51aa30ee1554239cbc8655f5aab12e08036 (patch)
tree93f28901c327f0abafe8340f92849af89481690b /net-analyzer
parentnet-analyzer/kapacitor: 1.4.1-r1 bump for service script fixes (diff)
downloadgentoo-2a13d51aa30ee1554239cbc8655f5aab12e08036.tar.gz
gentoo-2a13d51aa30ee1554239cbc8655f5aab12e08036.tar.bz2
gentoo-2a13d51aa30ee1554239cbc8655f5aab12e08036.zip
net-analyzer/kapacitor: remove 1.4.1
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/kapacitor/kapacitor-1.4.1.ebuild48
1 files changed, 0 insertions, 48 deletions
diff --git a/net-analyzer/kapacitor/kapacitor-1.4.1.ebuild b/net-analyzer/kapacitor/kapacitor-1.4.1.ebuild
deleted file mode 100644
index dd499480fbdd..000000000000
--- a/net-analyzer/kapacitor/kapacitor-1.4.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN=github.com/influxdata/kapacitor
-
-inherit golang-build golang-vcs-snapshot systemd user
-
-DESCRIPTION="Monitoring, processing and alerting on time series data"
-HOMEPAGE="https://www.influxdata.com"
-SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-
-pkg_setup() {
- enewgroup kapacitor
- enewuser kapacitor -1 -1 /var/lib/kapacitor kapacitor
-}
-
-src_compile() {
- pushd "src/${EGO_PN}" > /dev/null || die
- set -- env GOPATH="${S}" go build -v -work -x ./...
- echo "$@"
- "$@" || die "compile failed"
- popd > /dev/null
-}
-
-src_install() {
- pushd "src/${EGO_PN}" > /dev/null || die
- set -- env GOPATH="${S}" go install -v -work -x ./...
- echo "$@"
- "$@" || die
- dobin "${S}"/bin/kapacitor{,d}
- insinto /etc/kapacitor
-doins etc/kapacitor/kapacitor.conf
-keepdir /etc/kapacitor/load
- insinto /etc/logrotate.d
- doins etc/logrotate.d/kapacitor
- systemd_dounit scripts/kapacitor.service
- keepdir /var/log/kapacitor
- fowners kapacitor:kapacitor /var/log/kapacitor
- newconfd "${FILESDIR}"/kapacitor.confd kapacitor
- newinitd "${FILESDIR}"/kapacitor.rc kapacitor
- popd > /dev/null || die
-}