pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/vnstati
Module Name: pkgsrc
Committed By: sborrill
Date: Wed Apr 8 13:37:33 UTC 2026
Added Files:
pkgsrc/net/vnstati: DESCR Makefile PLIST
Log Message:
vnstati: add 2.13 split out from vnstat package
vnstati, the tool to output images, was previously an option enabled by
default. It requires gd which is rather large (from a dependency point
of view) for a CLI-only system. Therefore, split vnstati into a separate
package allowing the main vnstat package to have no dependencies.
Thanks to kim@ for the idea.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/vnstati/DESCR pkgsrc/net/vnstati/Makefile \
pkgsrc/net/vnstati/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/net/vnstati/DESCR
diff -u /dev/null pkgsrc/net/vnstati/DESCR:1.1
--- /dev/null Wed Apr 8 13:37:33 2026
+++ pkgsrc/net/vnstati/DESCR Wed Apr 8 13:37:32 2026
@@ -0,0 +1 @@
+This package adds image output support for vnStat.
Index: pkgsrc/net/vnstati/Makefile
diff -u /dev/null pkgsrc/net/vnstati/Makefile:1.1
--- /dev/null Wed Apr 8 13:37:33 2026
+++ pkgsrc/net/vnstati/Makefile Wed Apr 8 13:37:32 2026
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2026/04/08 13:37:32 sborrill Exp $
+
+PKGNAME= ${DISTNAME:S/-/i-/}
+
+PATCHDIR= ../../net/vnstat/patches
+PKGDIR= ../../net/vnstat
+PLIST_SRC= PLIST
+DESCR_SRC= ../../net/vnstat/DESCR DESCR
+
+CONFLICTS+= vnstat<2.13
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
+DEPENDS+= vnstat>=2.13:../../net/vnstat
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/vnstati \
+ ${DESTDIR}${PREFIX}/bin/vnstati; \
+ ${INSTALL_MAN} ${WRKSRC}/man/vnstati.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/vnstati.1
+
+.include "../../net/vnstat/Makefile.common"
+.include "../../graphics/gd/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/vnstati/PLIST
diff -u /dev/null pkgsrc/net/vnstati/PLIST:1.1
--- /dev/null Wed Apr 8 13:37:33 2026
+++ pkgsrc/net/vnstati/PLIST Wed Apr 8 13:37:32 2026
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2026/04/08 13:37:32 sborrill Exp $
+bin/vnstati
+man/man1/vnstati.1
Home |
Main Index |
Thread Index |
Old Index