head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.16 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.14 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.12 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.10 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.2.0.8 pkgsrc-2025Q1-base:1.2 pkgsrc-2024Q4:1.2.0.6 pkgsrc-2024Q4-base:1.2 pkgsrc-2024Q3:1.2.0.4 pkgsrc-2024Q3-base:1.2 pkgsrc-2024Q2:1.2.0.2 pkgsrc-2024Q2-base:1.2 pkgsrc-2024Q1:1.1.0.2 pkgsrc-2024Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2024.05.23.06.55.00; author wiz; state Exp; branches; next 1.1; commitid 9UFEgkQWeDckJ5bF; 1.1 date 2023.12.29.20.55.02; author wiz; state Exp; branches; next ; commitid UapYyS4Bescz4pSE; desc @@ 1.2 log @netbsd_exporter: update to 0.9.4. From Matthias Petermann in wip. * the new version fixes an integer overflow occured on 32 bit systems * the package was converted to use Github as its primary source @ text @$NetBSD: patch-Makefile,v 1.1 2023/12/29 20:55:02 wiz Exp $ Allow overriding installation paths. --- Makefile.orig 2023-12-27 17:56:57.000000000 +0000 +++ Makefile @@@@ -2,7 +2,9 @@@@ CC=cc CFLAGS=-Wall -Wextra TARGET=netbsd_exporter VERSION=0.9.4 +PREFIX?=/usr +MANDIR?=share/man PACKAGE=$(TARGET)-$(VERSION).tar.gz all: $(TARGET) @@@@ -22,7 +24,9 @@@@ dist: $(TARGET) (cd dist;tar -cvf ../$(PACKAGE) .) install: $(TARGET) - cp $(TARGET) /usr/libexec - cp $(TARGET).8 /usr/share/man/man8 + install -d $(DESTDIR)$(PREFIX)/libexec + cp $(TARGET) $(DESTDIR)$(PREFIX)/libexec + install -d $(DESTDIR)$(PREFIX)/$(MANDIR)/man8 + cp $(TARGET).8 $(DESTDIR)$(PREFIX)/$(MANDIR)/man8 .PHONY: all clean install @ 1.1 log @sysutils/netbsd_exporter: import netbsd_exporter-0.9.3 The netbsd_exporter retrieves system metrics such as disk I/O, network I/O, RAM and filesystem usage, as well as CPU load from the running system and exposes them in the format of Prometheus metrics. It is designed to be integrated into inetd, providing a lightweight, NetBSD-focused alternative to the node_exporter. @ text @d1 1 a1 1 $NetBSD$ d7 1 a7 1 @@@@ -2,6 +2,8 @@@@ CC=cc d10 1 d17 1 a17 1 @@@@ -21,7 +23,9 @@@@ dist: $(TARGET) @