diff options
author | tabthorpe <tabthorpe@FreeBSD.org> | 2010-12-02 03:34:48 +0800 |
---|---|---|
committer | tabthorpe <tabthorpe@FreeBSD.org> | 2010-12-02 03:34:48 +0800 |
commit | b56b116d78d1a9b75cfe001b31783212a02b21dd (patch) | |
tree | 113ba62a502c9cd9320dc4b4355a6978d5af171a /net-mgmt | |
parent | cbb9f869b3cdeab1573f09b0bd006652dc05e958 (diff) | |
download | freebsd-ports-gnome-b56b116d78d1a9b75cfe001b31783212a02b21dd.tar.gz freebsd-ports-gnome-b56b116d78d1a9b75cfe001b31783212a02b21dd.tar.zst freebsd-ports-gnome-b56b116d78d1a9b75cfe001b31783212a02b21dd.zip |
- Install scripts and provide instruction to update ethercodes.dat
- Bump PORTREVISION
PR: ports/152624
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/arpwatch/Makefile | 8 | ||||
-rw-r--r-- | net-mgmt/arpwatch/files/pkg-message.in | 10 | ||||
-rw-r--r-- | net-mgmt/arpwatch/pkg-plist | 9 |
3 files changed, 22 insertions, 5 deletions
diff --git a/net-mgmt/arpwatch/Makefile b/net-mgmt/arpwatch/Makefile index 688b79c56d67..4643f800a2a1 100644 --- a/net-mgmt/arpwatch/Makefile +++ b/net-mgmt/arpwatch/Makefile @@ -7,7 +7,7 @@ PORTNAME= arpwatch PORTVERSION= 2.1.a15 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net-mgmt MASTER_SITES= ftp://ftp.ee.lbl.gov/ \ ${MASTER_SITE_GENTOO} @@ -25,6 +25,7 @@ MAKE_ENV+= BINOWN="${BINOWN}" BINGRP="${BINGRP}" INSTALL_TARGET= install install-man MAN8= arpwatch.8 arpsnmp.8 +SUB_FILES= pkg-message USE_RC_SUBR= arpwatch.sh .ifdef ARPDIR @@ -39,9 +40,12 @@ post-install: fi ${TOUCH} ${PREFIX}/arpwatch/arp.dat ${CHMOD} 644 ${PREFIX}/arpwatch/arp.dat - for files in ethercodes.dat d.awk e.awk p.awk; do \ + for files in ethercodes.dat d.awk duplicates.awk euppertolower.awk e.awk p.awk; do \ ${INSTALL_DATA} ${WRKSRC}/$$files ${PREFIX}/arpwatch; \ done ${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${PREFIX}/arpwatch + ${INSTALL_SCRIPT} ${WRKSRC}/massagevendor ${PREFIX}/arpwatch + + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/net-mgmt/arpwatch/files/pkg-message.in b/net-mgmt/arpwatch/files/pkg-message.in new file mode 100644 index 000000000000..d6e78a3d09f1 --- /dev/null +++ b/net-mgmt/arpwatch/files/pkg-message.in @@ -0,0 +1,10 @@ + + +You can update the ethercodes.dat file executing the following steps + +cd %%PREFIX%%/arpwatch +fetch http://standards.ieee.org/regauth/oui/oui.txt +./massagevendor oui.txt > ethercodes.dat +rm oui.txt + + diff --git a/net-mgmt/arpwatch/pkg-plist b/net-mgmt/arpwatch/pkg-plist index 9bb3e616957b..bca72e8d071f 100644 --- a/net-mgmt/arpwatch/pkg-plist +++ b/net-mgmt/arpwatch/pkg-plist @@ -1,10 +1,13 @@ -sbin/arpwatch -sbin/arpsnmp arpwatch/arp2ethers -arpwatch/ethercodes.dat arpwatch/d.awk +arpwatch/duplicates.awk arpwatch/e.awk +arpwatch/ethercodes.dat +arpwatch/euppertolower.awk +arpwatch/massagevendor arpwatch/p.awk +sbin/arpsnmp +sbin/arpwatch @unexec test -f %D/arpwatch/arp.dat && test -s %D/arpwatch/arp.dat || rm -f %D/arpwatch/arp.dat @exec test -f %D/arpwatch/arp.dat || touch %D/arpwatch/arp.dat @dirrm arpwatch |