mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
5402fcdd5e
Traff is a program that attaches itself to one or more network interfaces, sniffs all IP-packages passing at it and accounts each packets size. The collected information can be dumped to a mysql-Database, for further processing. The configuration is very flexible, allowing you to create different/multiple accounting rules. PR: 86615 Submitted by: Dan Caescu <dancaescu@netcaetera.ro> Approved by: pav (mentor)
21 lines
486 B
Plaintext
21 lines
486 B
Plaintext
--- Makefile.orig Tue Sep 27 19:11:33 2005
|
|
+++ Makefile Tue Sep 27 19:12:24 2005
|
|
@@ -5,13 +5,13 @@
|
|
#LFLAGS= -lcurses
|
|
|
|
# Directories
|
|
-BINDIR = /usr/local/sbin
|
|
-ETCDIR = /etc
|
|
+BINDIR = %%PREFIX%%/sbin
|
|
+ETCDIR = %%PREFIX%%/etc
|
|
|
|
# fuer i386 auskommentieren
|
|
-CFLAGS = -g -D_REENTRANT -DwithMYSQL -DwithPGSQL
|
|
+#CFLAGS = -g -D_REENTRANT -DwithMYSQL -DwithPGSQL
|
|
|
|
-LFLAGS = -lpcap -lpthread -lpq -lmysqlclient
|
|
+LFLAGS = -lpcap $(EXTRA_LIBS)
|
|
|
|
MODULES = traff.o readconfig.o ip_table.o
|
|
|