net-analyzer/prometheus: Remove old
authorManuel Rüger <mrueg@gentoo.org>
Fri, 12 Jan 2018 12:27:26 +0000 (13:27 +0100)
committerManuel Rüger <mrueg@gentoo.org>
Fri, 12 Jan 2018 12:27:26 +0000 (13:27 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

net-analyzer/prometheus/Manifest
net-analyzer/prometheus/files/prometheus.initd [deleted file]
net-analyzer/prometheus/prometheus-1.8.2.ebuild [deleted file]

index 000a455accac50c6b34843d3638a7dd705596d4c..3c632f55e07df8b735ed94c7acf0fc710a500890 100644 (file)
@@ -1,2 +1 @@
-DIST prometheus-1.8.2.tar.gz 5238057 BLAKE2B 33b53fab08df985ec459150166494d46552b7815d8b68d2f8a63023a12c1017197f7043327b4182935231c86b0fb492f3d05d477b97c7e7cd233fbdb0211f1b6 SHA512 ed52ab494ae565d4787b29cf1800605ac3bfdacee25e833704131d57bad9759a3e2585b96316ad754e6612324e68079d7f670004a86aa12c768a2e03542966d2
 DIST prometheus-2.0.0.tar.gz 5603884 BLAKE2B 0e2c7ee267f4f817fe84105b89fa2951c07212ca75bf540c67afe900c1df62641919f2ad9d2ce24932a946a0c3db8da6847184c56578ef9626db1f55c1ea3080 SHA512 9d23e10b3eb12755781b9edc5c32a0cb1e99055a8a905517619d992a174a8621ebc1e82999ce2412e7fc3e2e0af8a0dfe1eded8bcd2701a5aaaffce79c7fbcc5
diff --git a/net-analyzer/prometheus/files/prometheus.initd b/net-analyzer/prometheus/files/prometheus.initd
deleted file mode 100644 (file)
index 245dcc8..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2016-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Prometheus monitoring system and time series database"
-pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
-user=${user:-${RC_SVCNAME}}
-group=${group:-${RC_SVCNAME}}
-
-command="/usr/bin/prometheus"
-command_args="${command_args:--config.file=/etc/prometheus/prometheus.yml -storage.local.path=/var/lib/prometheus/data}"
-command_background="true"
-start_stop_daemon_args="--user ${user} --group ${group} \
-       --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
-       --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
-
-depend() {
-       after net
-}
diff --git a/net-analyzer/prometheus/prometheus-1.8.2.ebuild b/net-analyzer/prometheus/prometheus-1.8.2.ebuild
deleted file mode 100644 (file)
index 1006108..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit user golang-build golang-vcs-snapshot
-
-EGO_PN="github.com/prometheus/prometheus"
-EGIT_COMMIT="v${PV}"
-PROMETHEUS_COMMIT="5211b96"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus"
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND=">=dev-lang/go-1.8
-       dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-RESTRICT="test"
-
-pkg_setup() {
-       enewgroup prometheus
-       enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-       default
-       sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-       pushd src/${EGO_PN} || die
-       GOPATH="${S}" promu build -v || die
-       popd || die
-}
-
-src_install() {
-       pushd src/${EGO_PN} || die
-       dobin promtool prometheus
-       dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-       insinto /etc/prometheus
-       doins documentation/examples/prometheus.yml
-       insinto /usr/share/prometheus
-       doins -r console_libraries consoles
-       dosym ../../usr/share/prometheus/console_libraries /etc/prometheus/console_libraries
-       dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-       popd || die
-
-       newinitd "${FILESDIR}"/prometheus.initd prometheus
-       newconfd "${FILESDIR}"/prometheus.confd prometheus
-       keepdir /var/log/prometheus /var/lib/prometheus
-       fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}