OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 29-Oct-2006 16:44:20
Branch: HEAD Handle: 2006102915442000
Modified files:
openpkg-src/arpalert arpalert.patch arpalert.spec
Log:
upgrading package: arpalert 1.0.3 -> 2.0.1
Summary:
Revision Changes Path
1.3 +39 -33 openpkg-src/arpalert/arpalert.patch
1.7 +4 -4 openpkg-src/arpalert/arpalert.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/arpalert/arpalert.patch
============================================================================
$ cvs diff -u -r1.2 -r1.3 arpalert.patch
--- openpkg-src/arpalert/arpalert.patch 12 Oct 2006 08:17:11 -0000
1.2
+++ openpkg-src/arpalert/arpalert.patch 29 Oct 2006 15:44:20 -0000
1.3
@@ -1,6 +1,6 @@
Index: Makefile.in
---- Makefile.in.orig 2006-09-01 23:53:40 +0200
-+++ Makefile.in 2006-10-12 10:15:56 +0200
+--- Makefile.in.orig 2006-10-29 10:05:12 +0100
++++ Makefile.in 2006-10-29 16:40:30 +0100
@@ -17,16 +17,16 @@
mandir = @mandir@
includedir = @includedir@
@@ -23,52 +23,34 @@
OBJECT_LIST = \
$(src_dir)/arpalert.o \
$(src_dir)/loadconfig.o \
-@@ -90,17 +90,17 @@
- mkdir -p $(DESTDIR)$(mandir)/man8
- cp -f doc/arpalert.8 $(DESTDIR)$(mandir)/man8
- cp -f arpalert $(DESTDIR)$(sbindir)
-- test ! -f $(DESTDIR)$(config_dir)/maclist.allow && >
$(DESTDIR)$(config_dir)/maclist.allow || /bin/true
-- test ! -f $(DESTDIR)$(config_dir)/maclist.deny && >
$(DESTDIR)$(config_dir)/maclist.deny || /bin/true
-+ test ! -f $(DESTDIR)$(config_dir)/arpalert.allow && >
$(DESTDIR)$(config_dir)/arpalert.allow || /bin/true
-+ test ! -f $(DESTDIR)$(config_dir)/arpalert.deny && >
$(DESTDIR)$(config_dir)/arpalert.deny || /bin/true
- if test ! -f $(DESTDIR)$(config_dir)/arpalert.conf; \
- then \
- > $(DESTDIR)$(config_dir)/arpalert.conf; \
- echo "# white list" >> $(DESTDIR)$(config_dir)/arpalert.conf; \
-- echo "Maclist file = $(config_dir)/maclist.allow" >>
$(DESTDIR)$(config_dir)/arpalert.conf; \
-+ echo "Maclist file = $(config_dir)/arpalert.allow" >>
$(DESTDIR)$(config_dir)/arpalert.conf; \
- echo >> $(DESTDIR)$(config_dir)/arpalert.conf; \
- \
- echo "# black list" >> $(DESTDIR)$(config_dir)/arpalert.conf; \
-- echo "Maclist alert file = $(config_dir)/maclist.deny" >>
$(DESTDIR)$(config_dir)/arpalert.conf; \
-+ echo "Maclist alert file = $(config_dir)/arpalert.deny" >>
$(DESTDIR)$(config_dir)/arpalert.conf; \
- echo >> $(DESTDIR)$(config_dir)/arpalert.conf; \
- \
- echo "# dump file" >> $(DESTDIR)$(config_dir)/arpalert.conf; \
Index: doc/arpalert.8
---- doc/arpalert.8.orig 2006-09-01 23:53:40 +0200
-+++ doc/arpalert.8 2006-10-12 10:15:08 +0200
-@@ -82,16 +82,16 @@
+--- doc/arpalert.8.orig 2006-10-29 10:05:12 +0100
++++ doc/arpalert.8 2006-10-29 16:42:14 +0100
+@@ -82,19 +82,19 @@
\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
++\fBarpalert 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
++\fBarpalert alert file\fR = /etc/arpalert/arpalert.deny
black list
.TP
- \fBmaclist leases file\fR = /var/lib/arpalert/arpalert.leases
+-\fBmaclist leases file\fR = /var/lib/arpalert/arpalert.leases
++\fBarpalert leases file\fR = /var/lib/arpalert/arpalert.leases
dump fil
.TP
+ \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
++\fBauth request file\fR = /etc/arpalert/arpalert.authrq
list of authorized request"
.TP
\fBlock file\fR = /var/run/arpalert.lock
-@@ -228,7 +228,7 @@
+@@ -237,7 +237,7 @@
.\"
.SH DATA FILES FORMATS
.TP
@@ -77,7 +59,7 @@
all the line with # as a \fBfirst\fR caracter are ignored
.br
The data on this file take this form
-@@ -249,7 +249,7 @@
+@@ -258,7 +258,7 @@
.br
\fBmac_change:\fR Ignore mac change for this mac address
.TP
@@ -86,3 +68,27 @@
all the word after # caracter are ignored
.br
all the blank characters are ignored
+Index: install.sh.in
+--- install.sh.in.orig 2006-10-29 10:04:03 +0100
++++ install.sh.in 2006-10-29 16:41:38 +0100
+@@ -42,14 +42,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
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/arpalert/arpalert.spec
============================================================================
$ cvs diff -u -r1.6 -r1.7 arpalert.spec
--- openpkg-src/arpalert/arpalert.spec 13 Oct 2006 17:26:49 -0000
1.6
+++ openpkg-src/arpalert/arpalert.spec 29 Oct 2006 15:44:20 -0000
1.7
@@ -32,11 +32,11 @@
Class: EVAL
Group: Mapping
License: GPL
-Version: 1.0.3
-Release: 20061013
+Version: 2.0.1
+Release: 20061029
# list of sources
-Source0:
http://perso.numericable.fr/~fourthie/arpalert/src/arpalert-%{version}.tar.gz
+Source0: http://www.arpalert.org/src/arpalert-%{version}.tar.gz
Source1: arpalert.conf
Source2: rc.arpalert
Patch0: arpalert.patch
@@ -62,7 +62,7 @@
%track
prog arpalert = {
version = %{version}
- url =
http://perso.numericable.fr/~fourthie/arpalert/index.php?page=download
+ url = http://www.arpalert.org/index.php?page=download
regex = arpalert-(__VER__)\.tar\.gz
}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]