summaryrefslogtreecommitdiffstats
path: root/ulogd
diff options
context:
space:
mode:
authorlaforge <laforge>2003-04-27 07:47:26 +0000
committerlaforge <laforge>2003-04-27 07:47:26 +0000
commit036af2102da8ab33e139fb1cde2fef2e9926f36a (patch)
tree9b8fb0a41ccf6fd485d70f3095c0a2e751e45f25 /ulogd
parente9796548e7af2e6f64c2be9e598be0cde8e2dc24 (diff)
This patch fixes so the pathes in ulogd.conf matches what you gave to
configure.. (Magnus Boden)
Diffstat (limited to 'ulogd')
-rw-r--r--ulogd/Makefile.in9
-rw-r--r--ulogd/ulogd.conf.in (renamed from ulogd/ulogd.conf)16
2 files changed, 17 insertions, 8 deletions
diff --git a/ulogd/Makefile.in b/ulogd/Makefile.in
index 6038076..9475ab5 100644
--- a/ulogd/Makefile.in
+++ b/ulogd/Makefile.in
@@ -31,12 +31,17 @@ distrib:
recurse:
@for d in $(SUBDIRS); do if ! make -C $$d; then exit 1; fi; done
-ulogd: ulogd.c $(LIBIPULOG) include/ulogd/ulogd.h conffile/conffile.o $(LIBIPULOG)/libipulog.a
+ulogd: ulogd.c $(LIBIPULOG) include/ulogd/ulogd.h conffile/conffile.o $(LIBIPULOG)/libipulog.a ulogd.conf
$(CC) $(CFLAGS) -rdynamic $< conffile/conffile.o $(LIBIPULOG)/libipulog.a -o $@ $(LIBS)
+edit = sed -e 's,@libdir\@,$(ULOGD_LIB_PATH),g'
+
+ulogd.conf: ulogd.conf.in
+ $(edit) ulogd.conf.in > ulogd.conf
+
clean:
# rm -f ulogd *.o extensions/*.o extensions/*.so conffile/*.o
- rm -f ulogd ulogd.o
+ rm -f ulogd ulogd.o ulogd.conf
@for d in $(SUBDIRS); do if ! make -C $$d $@; then exit 1; fi; done
distclean: clean
diff --git a/ulogd/ulogd.conf b/ulogd/ulogd.conf.in
index e06a3ae..c1b3bbb 100644
--- a/ulogd/ulogd.conf
+++ b/ulogd/ulogd.conf.in
@@ -1,5 +1,5 @@
# Example configuration for ulogd
-# $Id: ulogd.conf,v 1.7 2002/07/30 07:04:12 laforge Exp $
+# $Id: ulogd.conf,v 1.8 2002/07/30 07:15:54 laforge Exp $
#
######################################################################
@@ -33,7 +33,7 @@ bufsize 65535
#
# ulogd_BASE.so - interpreter plugin for basic IPv4 header fields
# you will always need this
-plugin /usr/local/lib/ulogd/ulogd_BASE.so
+plugin @libdir@/ulogd_BASE.so
#
@@ -44,7 +44,7 @@ syslogfile /var/log/ulogd.syslogemu
# do we want to fflush() the file after each write?
syslogsync 1
# load the plugin
-plugin /usr/local/lib/ulogd/ulogd_LOGEMU.so
+plugin @libdir@/ulogd_LOGEMU.so
#
@@ -53,7 +53,7 @@ plugin /usr/local/lib/ulogd/ulogd_LOGEMU.so
# where to write the log
dumpfile /var/log/ulogd.pktlog
# load the plugin (remove the '#'if you want to enable it
-#plugin /usr/local/lib/ulogd/ulogd_OPRINT.so
+#plugin @libdir@/ulogd_OPRINT.so
#
@@ -66,7 +66,7 @@ mysqluser laforge
mysqldb ulogd
mysqlhost localhost
# load the plugin (remove the '#' if you want to enable it)
-#plugin /usr/local/lib/ulogd/ulogd_MYSQL.so
+#plugin @libdir@/ulogd_MYSQL.so
#
@@ -79,4 +79,8 @@ pgsqluser postgres
pgsqldb ulogd
pgsqlhost localhost
#load the plugin (remove the '#' if you want to enable it)
-#plugin /usr/local/lib/ulogd/ulogd_PGSQL.so
+#plugin @libdir@/ulogd_PGSQL.so
+
+pcapfile /var/log/ulogd.pcap
+pcapsync 1
+#plugin @libdir@/ulogd_PCAP.so