app-metrics/snmp_exporter: Move package from net-analyzer/prometheus-snmp_exporter

This commit is contained in:
Manuel Rüger
2018-03-30 16:39:32 +02:00
parent 12478f60d6
commit cd4e233ead
7 changed files with 4 additions and 3 deletions

View File

@@ -0,0 +1 @@
DIST snmp_exporter-0.9.0.tar.gz 3257207 BLAKE2B 3e7e91d7e66b32e3f84c9e53061f54ffc10116913b91598edfa011663daf2c67314661dbe6cd5b2c20b30968833bd64a48bdd5dd06694e76f1e787d59ad63933 SHA512 eb287f4519f2174a9ce80414c2b7a698bc50e1bcb2303a8190164002af088e0694e01233314cfe2bd89b2cd751f2fd6f8447eb641541701b7bd481373ce084b1

View File

@@ -32,13 +32,13 @@ src_prepare() {
src_compile() {
pushd src/${EGO_PN} || die
mkdir -p bin || die
GOPATH="${S}" promu build -v --prefix snmp_exporter || die
GOPATH="${S}" promu build -v --prefix bin || die
popd || die
}
src_install() {
pushd src/${EGO_PN} || die
dobin snmp_exporter/snmp_exporter
dobin bin/snmp_exporter
dodoc {README,CONTRIBUTING}.md
insinto /etc/snmp_exporter
newins snmp.yml snmp.yml.example

View File

@@ -1 +0,0 @@
DIST prometheus-snmp_exporter-0.9.0.tar.gz 3257207 BLAKE2B 3e7e91d7e66b32e3f84c9e53061f54ffc10116913b91598edfa011663daf2c67314661dbe6cd5b2c20b30968833bd64a48bdd5dd06694e76f1e787d59ad63933 SHA512 eb287f4519f2174a9ce80414c2b7a698bc50e1bcb2303a8190164002af088e0694e01233314cfe2bd89b2cd751f2fd6f8447eb641541701b7bd481373ce084b1

View File

@@ -17,3 +17,4 @@ move net-analyzer/prometheus-alertmanager app-metrics/alertmanager
move dev-util/buildbot-prometheus app-metrics/buildbot-prometheus
move net-analyzer/prometheus-node_exporter app-metrics/node_exporter
move net-analyzer/prometheus-blackbox_exporter app-metrics/blackbox_exporter
move net-analyzer/prometheus-snmp_exporter app-metrics/snmp_exporter