From 98436820b0054f5be269fcf07fb373562565e290 Mon Sep 17 00:00:00 2001 From: Conrad Hoffmann Date: Wed, 25 Oct 2023 15:20:13 +0200 Subject: [PATCH] Remove obsolte ebuild It's old and unmaintained, and there is an official one now: https://github.com/gentoo/gentoo/commit/c18ea60fb127bfed07ee062ff74c419dedb80e54 Signed-off-by: Conrad Hoffmann --- .../files/smartctl_exporter.yaml | 7 ----- .../smartctl_exporter-9999.ebuild | 31 ------------------- 2 files changed, 38 deletions(-) delete mode 100644 gentoo/app-metrics/smartctl_exporter/files/smartctl_exporter.yaml delete mode 100644 gentoo/app-metrics/smartctl_exporter/smartctl_exporter-9999.ebuild diff --git a/gentoo/app-metrics/smartctl_exporter/files/smartctl_exporter.yaml b/gentoo/app-metrics/smartctl_exporter/files/smartctl_exporter.yaml deleted file mode 100644 index c13a677..0000000 --- a/gentoo/app-metrics/smartctl_exporter/files/smartctl_exporter.yaml +++ /dev/null @@ -1,7 +0,0 @@ -smartctl_exporter: - bind_to: "localhost:9633" - url_path: "/metrics" - smartctl_location: /usr/sbin/smartctl - collect_not_more_than_period: 120s - devices: - - /dev/sda diff --git a/gentoo/app-metrics/smartctl_exporter/smartctl_exporter-9999.ebuild b/gentoo/app-metrics/smartctl_exporter/smartctl_exporter-9999.ebuild deleted file mode 100644 index 3fd35fd..0000000 --- a/gentoo/app-metrics/smartctl_exporter/smartctl_exporter-9999.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2022 The Prometheus Authors -# Copyright 2019 Maxim "Sheridan" Gorlov -# Distributed under the terms of the Apache License Version 2.0 - -EAPI=6 -EGIT_REPO_URI="https://github.com/prometheus-community/${PN}" -inherit git-r3 - -DESCRIPTION="Exporting S.M.A.R.T. metrics" -HOMEPAGE="https://github.com/prometheus-community/smartctl_exporter" -LICENSE="Apache-2.0" -SLOT="0" -RDEPEND="sys-apps/smartmontools" -DEPEND="dev-lang/go" -KEYWORDS="~amd64 ~ppc ~x86 ~arm" - -src_unpack() { - git-r3_src_unpack - cd "${S}" - make get -} - -src_compile() { - make build -} - -src_install() { - newbin bin/${PN}-${PV} ${PN} - dodoc "README.md" - insinto /etc -}