You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
2.9 KiB
94 lines
2.9 KiB
Index: Makefile.in |
|
--- Makefile.in.orig 2008-03-28 19:02:46 +0100 |
|
+++ Makefile.in 2008-03-29 09:47:16 +0100 |
|
@@ -17,18 +17,17 @@ |
|
mandir = @mandir@ |
|
includedir = @includedir@ |
|
config_dir = @sysconfdir@/arpalert |
|
-leases_dir = @localstatedir@/lib/arpalert |
|
-lock_dir = @localstatedir@/run |
|
-log_dir = @localstatedir@/log |
|
+leases_dir = @localstatedir@/arpalert/db |
|
+lock_dir = @localstatedir@/arpalert/run |
|
+log_dir = @localstatedir@/arpalert/log |
|
includedir = @includedir@ |
|
src_dir = . |
|
|
|
CC = @CC@ |
|
-CFLAGS += @CFLAGS@ \ |
|
- -Wall -O2 \ |
|
+CFLAGS += @CFLAGS@ @CPPFLAGS@ \ |
|
-DCONFIG_FILE=\"$(config_dir)/arpalert.conf\" \ |
|
-DPID_FILE=\"$(lock_dir)/arpalert.pid\" |
|
-LDFLAGS = -Wl,--export-dynamic |
|
+LDFLAGS = -Wl,--export-dynamic @LDFLAGS@ |
|
LIBS = @LIBS@ |
|
OBJECT_LIST = \ |
|
$(src_dir)/arpalert.o \ |
|
Index: doc/arpalert.8 |
|
--- doc/arpalert.8.orig 2008-03-28 19:02:46 +0100 |
|
+++ doc/arpalert.8 2008-03-29 09:25:05 +0100 |
|
@@ -91,10 +91,10 @@ |
|
\fBuse syslog\fR = true |
|
If this option is false, the syslog system is disabled |
|
.TP |
|
-\fBmaclist file\fR = /etc/arpalert/maclist.allow |
|
+\fBmaclist file\fR = /etc/arpalert/arpalert.allow |
|
White list |
|
.TP |
|
-\fBmaclist alert file\fR = /etc/arpalert/maclist.deny |
|
+\fBmaclist alert file\fR = /etc/arpalert/arpalert.deny |
|
Black list |
|
.TP |
|
\fBmaclist leases file\fR = /var/lib/arpalert/arpalert.leases |
|
@@ -103,7 +103,7 @@ |
|
\fBdump inter\fR = 5 |
|
Minimun time to wait between two leases dump |
|
.TP |
|
-\fBauth request file\fR = /etc/arpalert/authrq.conf |
|
+\fBauth request file\fR = /etc/arpalert/arpalert.authreq |
|
List of authorized request |
|
.TP |
|
\fBlock file\fR = /var/run/arpalert.lock |
|
@@ -258,7 +258,7 @@ |
|
.\" |
|
.SH DATA FILES FORMATS |
|
.TP |
|
-\fB/etc/arpalert/maclist.allow\fR and \fB/etc/arpalert/maclist.deny\fR: |
|
+\fB/etc/arpalert/arpalert.allow\fR and \fB/etc/arpalert/arpalert.deny\fR: |
|
All the line with # as a \fBfirst\fR caracter are ignored |
|
.br |
|
The data on this file take this form |
|
@@ -279,7 +279,7 @@ |
|
.br |
|
\fBmac_change:\fR Ignore mac change for this mac address |
|
.TP |
|
-\fB/etc/arpalert/authrq.conf\fR: |
|
+\fB/etc/arpalert/arpalert.authreq\fR: |
|
All the words after # character are ignored |
|
.br |
|
All the blank characters are ignored |
|
Index: install.sh.in |
|
--- install.sh.in.orig 2008-03-28 19:02:09 +0100 |
|
+++ install.sh.in 2008-03-29 09:25:05 +0100 |
|
@@ -47,14 +47,14 @@ |
|
# if doesn't exist conf |
|
if [ ! -f ${DESTDIR}${config_dir}/arpalert.conf ]; then |
|
|
|
- # create maclist.allow |
|
- if [ ! -f ${DESTDIR}${config_dir}/maclist.allow ]; then |
|
- > ${DESTDIR}${config_dir}/maclist.allow || /bin/true |
|
+ # create arpalert.allow |
|
+ if [ ! -f ${DESTDIR}${config_dir}/arpalert.allow ]; then |
|
+ > ${DESTDIR}${config_dir}/arpalert.allow || /bin/true |
|
fi |
|
|
|
- # create maclist.deny |
|
- if [ ! -f ${DESTDIR}${config_dir}/maclist.deny ]; then |
|
- > ${DESTDIR}${config_dir}/maclist.deny || /bin/true |
|
+ # create arpalert.deny |
|
+ if [ ! -f ${DESTDIR}${config_dir}/arpalert.deny ]; then |
|
+ > ${DESTDIR}${config_dir}/arpalert.deny || /bin/true |
|
fi |
|
|
|
# dest file
|
|
|