e4ebe93e71
vnStat is a console-based network traffic monitor for Linux and BSD that keeps a log of network traffic for the selected interface(s). It uses the network interface statistics provided by the kernel as information source. This means that vnStat won't actually be sniffing any traffic and also ensures light use of system resources. With tweaks and advices from jasper@. Thanks ok jasper@
14 lines
490 B
Plaintext
14 lines
490 B
Plaintext
$OpenBSD: patch-src_Makefile,v 1.1.1.1 2010/10/25 10:14:53 pea Exp $
|
|
--- src/Makefile.orig Fri Sep 24 11:49:02 2010
|
|
+++ src/Makefile Fri Sep 24 11:49:24 2010
|
|
@@ -1,6 +1,6 @@
|
|
-CC = gcc
|
|
-CFLAGS = -O2
|
|
-LDLIBS = -lm
|
|
+CC ?= gcc
|
|
+CFLAGS ?= -O2
|
|
+LDLIBS ?= -lm
|
|
OBJS = vnstat.o ifinfo.o dbxml.o dbshow.o dbaccess.o dbmerge.o common.o misc.o cfg.o traffic.o
|
|
DOBJS = vnstatd.o ifinfo.o dbaccess.o dbcache.o common.o misc.o cfg.o
|
|
IOBJS = vnstati.o image.o dbaccess.o dbmerge.o common.o misc.o cfg.o
|