diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-11-06 09:15:28 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-11-06 09:15:28 +0000 |
commit | 565a923745877d2921f19a4a08847a2c687e0a48 (patch) | |
tree | 049b0abb7a91a5b7894ee4cd204d252b79919b70 /net/bandwidthd/files/patch-Makefile | |
parent | - Unbreak build by adding new master site (diff) |
bandwidthd tracks usage of TCP/IP network subnets and
builds HTML files with graphs to display network utilization.
Charts are built by individual IP. It color codes HTTP,
TCP, UDP, ICMP, VPN, and P2P traffic. Unlike MRTG, it tracks
each individual IP address, not the status of any particular
link.
PR: 58830
Submitted by: Clement Laforet <sheepkiller@cultdeadsheep.org>
Notes
Notes:
svn path=/head/; revision=93222
Diffstat (limited to 'net/bandwidthd/files/patch-Makefile')
-rw-r--r-- | net/bandwidthd/files/patch-Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net/bandwidthd/files/patch-Makefile b/net/bandwidthd/files/patch-Makefile new file mode 100644 index 000000000000..a556b5608a69 --- /dev/null +++ b/net/bandwidthd/files/patch-Makefile @@ -0,0 +1,40 @@ +--- Makefile.orig Mon Sep 22 20:48:07 2003 ++++ Makefile Sun Nov 2 12:28:29 2003 +@@ -1,7 +1,7 @@ + #Possible optimizations -fomit-frame-pointer -ffast-math + OBS= bandwidthd.o graph.o conf.tab.o conf.l.o +-LIBS= -lgd -lpng -lpcap +-CFLAGS= -O3 -Wall ++LIBS+= -lgd -lpng -lpcap ${LDFLAGS} ++CFLAGS+= + NONWALLCFLAGS= -O3 #-g -DDEBUG + + # Debugging stuff +@@ -20,7 +20,7 @@ + $(CC) $(CFLAGS) $(OBS) -o bandwidthd $(LIBS) + + conf.tab.c: conf.y +- bison -d conf.y ++ yacc -d conf.y + + conf.l.c: conf.l + lex -s -i -t -I conf.l > conf.l.c +@@ -34,12 +34,12 @@ + rm -f *.o bandwidthd *~ conf.tab.c conf.tab.h conf.l.c DEADJOE + + install: all +- mkdir -p /usr/local/bandwidthd/etc +- mkdir -p /usr/local/bandwidthd/htdocs +- cp bandwidthd /usr/local/bandwidthd +- cp etc/bandwidthd.conf /usr/local/bandwidthd/etc/ +- cp htdocs/legend.gif /usr/local/bandwidthd/htdocs/ +- cp htdocs/logo.gif /usr/local/bandwidthd/htdocs/ ++ mkdir -p ${PREFIX}/bandwidthd/etc ++ mkdir -p ${PREFIX}/bandwidthd/htdocs ++ cp bandwidthd ${PREFIX}/bandwidthd ++ cp etc/bandwidthd.conf ${PREFIX}/bandwidthd/etc/bandwidthd.conf-dist ++ cp htdocs/legend.gif ${PREFIX}/bandwidthd/htdocs/ ++ cp htdocs/logo.gif ${PREFIX}/bandwidthd/htdocs/ + + #**** Stuff where -WALL is turned off to reduce the noise in a compile so I can see my own errors ******************* + conf.l.o: conf.l.c |