head 1.3; access; symbols pkgsrc-2026Q3:1.3.0.2 pkgsrc-2026Q3-base:1.3 pkgsrc-2026Q2:1.2.0.18 pkgsrc-2026Q2-base:1.2 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.3 date 2026.08.29.20.03.06; author wiz; state Exp; branches; next 1.2; commitid IBYxyA3ZzupAtzTG; 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.3 log @netbsd_exporter: honor CFLAGS and LDFLAGS. Bump PKGREVISION. @ text @$NetBSD: patch-Makefile,v 1.2 2024/05/23 06:55:00 wiz Exp $ Allow overriding installation paths. Honor CFLAGS and LDFLAGS. --- Makefile.orig 2024-05-23 03:14:21.000000000 +0000 +++ Makefile @@@@ -1,14 +1,16 @@@@ CC=cc CC=cc -CFLAGS=-Wall -Wextra +CFLAGS+=-Wall -Wextra TARGET=netbsd_exporter VERSION=0.9.4 +PREFIX?=/usr +MANDIR?=share/man PACKAGE=$(TARGET)-$(VERSION).tar.gz all: $(TARGET) $(TARGET): netbsd_exporter.c - $(CC) $(CFLAGS) -o $@@ $< + $(CC) $(CFLAGS) $(LDFLAGS) -o $@@ $< clean: rm -f $(TARGET) @@@@ -22,7 +24,9 @@@@ install: $(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.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 @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1 2023/12/29 20:55:02 wiz Exp $ d4 1 d6 1 a6 1 --- Makefile.orig 2023-12-27 17:56:57.000000000 +0000 d8 4 a11 2 @@@@ -2,7 +2,9 @@@@ CC=cc CFLAGS=-Wall -Wextra d20 8 a27 1 @@@@ -22,7 +24,9 @@@@ dist: $(TARGET) @ 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) @