diff --git a/prometheus-node_exporter/.footprint b/prometheus-node_exporter/.footprint deleted file mode 100644 index 7bb7f4509..000000000 --- a/prometheus-node_exporter/.footprint +++ /dev/null @@ -1,6 +0,0 @@ -drwxr-xr-x root/root etc/ -drwxr-xr-x root/root etc/rc.d/ --rwxr-xr-x root/root etc/rc.d/prometheus-node_exporter -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/bin/ --rwxr-xr-x root/root usr/bin/prometheus-node-exporter diff --git a/prometheus-node_exporter/.signature b/prometheus-node_exporter/.signature deleted file mode 100644 index 0d3a0cb5b..000000000 --- a/prometheus-node_exporter/.signature +++ /dev/null @@ -1,6 +0,0 @@ -untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3+LHSZUbMw/QTQrEVzFWNEfZE7AA+ZQOrwpy8E3jV+NgK+ZpPhW2I3hIqN1b4sHhq35Z5VKzee+u59709jbKVgE= -SHA256 (Pkgfile) = 7aae06d79661e1cb65b8ce65959c53880d5a83cba5b3fde7c629017531066eff -SHA256 (.footprint) = f8a7066cda52f587e5aad610950d17c8c0ea2d313cfe5b52ddd36fb8c17bf180 -SHA256 (prometheus-node_exporter-1.3.1.tar.gz) = 66856b6b8953e094c46d7dd5aabd32801375cf4d13d9fe388e320cbaeaff573a -SHA256 (prometheus-node_exporter.service) = aaca590035b67fa97af4ee9628d4fd7aa37e846b2a72d96517cb0bf900521bd0 diff --git a/prometheus-node_exporter/Pkgfile b/prometheus-node_exporter/Pkgfile deleted file mode 100644 index 70d1be92f..000000000 --- a/prometheus-node_exporter/Pkgfile +++ /dev/null @@ -1,33 +0,0 @@ -# Description: exporter for machine metrics -# URL: https://github.com/prometheus/node_exporter -# Maintainer: Tim Biermann, tbier at posteo dot de -# Depends on: go - -name=prometheus-node_exporter -version=1.3.1 -release=1 -source=(https://github.com/prometheus/node_exporter/archive/v$version/$name-$version.tar.gz - prometheus-node_exporter.service) - -build() { - cd node_exporter-$version - - GOLDFLAGS="-X github.com/prometheus/common/version.Version=$version - -X github.com/prometheus/common/version.Revision=CRUX - -X github.com/prometheus/common/version.Branch=master - -X github.com/prometheus/common/version.BuildUser=$USER@$HOSTNAME - -X github.com/prometheus/common/version.BuildDate=$(date -u "+%Y%m%d-%H:%M:%S" ${SOURCE_DATE_EPOCH:+-d @$SOURCE_DATE_EPOCH})" - - go build \ - -trimpath \ - -buildmode=pie \ - -mod=readonly \ - -modcacherw \ - -ldflags "$GOLDFLAGS" \ - . - - install -Dm755 node_exporter $PKG/usr/bin/prometheus-node-exporter - - ## install rc file - install -Dm 755 $SRC/prometheus-node_exporter.service $PKG/etc/rc.d/prometheus-node_exporter -} diff --git a/prometheus-node_exporter/prometheus-node_exporter.service b/prometheus-node_exporter/prometheus-node_exporter.service deleted file mode 100755 index c1178bf04..000000000 --- a/prometheus-node_exporter/prometheus-node_exporter.service +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/sh -# -# /etc/rc.d/prometheus-node-exporter: start/stop prometheus-node-exporter daemon -# - -SSD=/sbin/start-stop-daemon -PROG=/usr/bin/prometheus-node-exporter -OPTS="--collector.processes" - -case $1 in -start) - $SSD --start -b --exec $PROG -- $OPTS - ;; -stop) - $SSD --stop --retry 10 --exec $PROG - ;; -restart) - $0 stop - $0 start - ;; -status) - $SSD --status --exec $PROG - case $? in - 0) echo "$PROG is running with pid $(pidof $PROG)" ;; - 1) echo "$PROG is not running but the pid file $PID exists" ;; - 3) echo "$PROG is not running" ;; - 4) echo "Unable to determine the program status" ;; - esac - ;; -*) - echo "usage: $0 [start|stop|restart|status]" - ;; -esac - -# End of file