diff options
| author | Brian Somers <brian@FreeBSD.org> | 1997-07-01 02:05:06 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1997-07-01 02:05:06 +0000 |
| commit | 1f4132c7d8c4394c2b2f5b21bbf699df04d7a499 (patch) | |
| tree | 518945368514394337071d43e6836b36ae030ce3 /net/arpwatch/files | |
| parent | a58aeceed287ba8d7c3092871cdac838ee526341 (diff) | |
Patch and add arp2ethers & ethercodes.dat installation.
Suggested by: neil.long@materials.oxford.ac.uk (Neil J Long)
Add etc/rc.d/arpwatch.sh
Don't mention arp.dat as an "installed" file - we may want
this after pkg_delete.
Diffstat (limited to 'net/arpwatch/files')
| -rw-r--r-- | net/arpwatch/files/arpwatch.sh | 4 | ||||
| -rw-r--r-- | net/arpwatch/files/patch-ab | 19 |
2 files changed, 23 insertions, 0 deletions
diff --git a/net/arpwatch/files/arpwatch.sh b/net/arpwatch/files/arpwatch.sh new file mode 100644 index 000000000000..2214ebee3d92 --- /dev/null +++ b/net/arpwatch/files/arpwatch.sh @@ -0,0 +1,4 @@ +#!/bin/sh +if [ -x /usr/local/sbin/arpwatch -a -d /usr/local/arpwatch ]; then + arpwatch && echo -n ' arpwatch' +fi diff --git a/net/arpwatch/files/patch-ab b/net/arpwatch/files/patch-ab new file mode 100644 index 000000000000..354bd448d8c3 --- /dev/null +++ b/net/arpwatch/files/patch-ab @@ -0,0 +1,19 @@ +*** arp2ethers.orig Tue Mar 29 11:44:52 1994 +--- arp2ethers Tue Jul 1 02:34:40 1997 +*************** +*** 14,20 **** + # + + sort +2rn arp.dat | \ +! awk -e 'NF == 4 { print }' | \ + awk -f p.awk | \ + egrep -v '\.[0-9][0-9]*$' | \ + sed -e 's/ .* / /' | \ +--- 14,20 ---- + # + + sort +2rn arp.dat | \ +! awk 'NF == 4 { print }' | \ + awk -f p.awk | \ + egrep -v '\.[0-9][0-9]*$' | \ + sed -e 's/ .* / /' | \ |
