]> git.pld-linux.org Git - packages/arpwatch.git/blobdiff - arpwatch-debian_05debian_fhs.patch
- 2.1a15
[packages/arpwatch.git] / arpwatch-debian_05debian_fhs.patch
index 57a1951093e512569aa43153f5d21828b0e0c80b..b08e9cb340e6a47f91135db2a7ce33f49c4a30e5 100644 (file)
@@ -81,23 +81,23 @@ diff -u arpwatch/arpwatch.h:1.1.1.1 arpwatch/arpwatch.h:1.1.1.1.10.1
  #define MEMCMP(a, b, n) memcmp((char *)a, (char *)b, n)
 Index: arpwatch/bihourly
 diff -u arpwatch/bihourly:1.1.1.1 arpwatch/bihourly:1.1.1.1.10.1
---- arpwatch/bihourly:1.1.1.1  Tue Apr 17 13:31:36 2001
-+++ arpwatch/bihourly  Tue Apr 17 13:53:29 2001
+--- arpwatch/bihourly.sh.orig  2006-07-28 18:19:45.000000000 +0000
++++ arpwatch/bihourly.sh       2007-09-16 15:02:47.902987779 +0000
 @@ -6,7 +6,7 @@
- PATH=$PATH:/usr/local/sbin
+ PATH=${PATH}:/usr/local/sbin
  export PATH
  #
 -cd /usr/operator/arpwatch
 +cd /var/lib/arpwatch
  #
- list=`cat list`
- cname=`cat cname`
-@@ -14,7 +14,7 @@
- #
+ list="`cat list`"
+ cname="`cat cname`"
+@@ -26,7 +26,7 @@
  alist=""
- for r in $list; do \
--      ./arpfetch $r $cname > $r 2> $errs
-+      arpfetch $r $cname > $r 2> $errs
-       if test -s $errs; then
-               echo "arpfetch $r failed:"
-               sed -e 's/^/    /' $errs
+ for r in ${list}; do \
+-      ./arpfetch ${r} ${cname} > ${r} 2> ${temp1}
++      arpfetch ${r} ${cname} > ${r} 2> ${temp1}
+       if [ -s ${temp1} ]; then
+               echo "arpfetch ${r} errors:"
+               xr=${d}/${r}.$$
This page took 0.050401 seconds and 4 git commands to generate.