1997-03-30 19:19:56 +02:00
|
|
|
# New ports collection makefile for: arpwatch
|
|
|
|
# Date created: March 24 1997
|
2002-03-13 12:31:08 +01:00
|
|
|
# Whom: Brian Somers <brian@FreeBSD.org>
|
1997-03-30 19:19:56 +02:00
|
|
|
#
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1997-03-30 19:19:56 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= arpwatch
|
2001-05-21 11:47:12 +02:00
|
|
|
PORTVERSION= 2.1.a11
|
2002-05-16 12:40:50 +02:00
|
|
|
PORTREVISION= 2
|
1997-05-29 00:52:28 +02:00
|
|
|
CATEGORIES= net
|
1998-08-22 04:13:51 +02:00
|
|
|
MASTER_SITES= http://www.Awfulhak.org/arpwatch/ \
|
2000-11-21 23:11:43 +01:00
|
|
|
ftp://ftp.ee.lbl.gov/
|
2001-05-21 11:47:12 +02:00
|
|
|
DISTNAME= arpwatch-2.1a11
|
1997-03-30 20:11:58 +02:00
|
|
|
|
2002-03-13 12:31:08 +01:00
|
|
|
MAINTAINER= brian@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Monitor arp & rarp requests
|
1997-03-30 20:11:58 +02:00
|
|
|
|
2001-04-07 03:51:53 +02:00
|
|
|
GNU_CONFIGURE= yes
|
1997-03-30 19:19:56 +02:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --quiet
|
1997-05-29 00:52:28 +02:00
|
|
|
INSTALL_TARGET= install install-man
|
|
|
|
MAN8= arpwatch.8 arpsnmp.8
|
1997-03-30 20:11:58 +02:00
|
|
|
|
1997-03-30 19:19:56 +02:00
|
|
|
post-install:
|
1998-07-02 12:45:36 +02:00
|
|
|
if [ ! -d ${PREFIX}/arpwatch ]; then \
|
|
|
|
${MKDIR} ${PREFIX}/arpwatch; \
|
2003-04-20 01:44:22 +02:00
|
|
|
${CHMOD} 755 ${PREFIX}/arpwatch; \
|
2001-06-01 08:05:18 +02:00
|
|
|
${CHOWN} root:operator ${PREFIX}/arpwatch; \
|
1997-03-30 19:19:56 +02:00
|
|
|
fi
|
1998-07-02 12:45:36 +02:00
|
|
|
${TOUCH} ${PREFIX}/arpwatch/arp.dat
|
1999-08-22 21:01:07 +02:00
|
|
|
${CHMOD} 644 ${PREFIX}/arpwatch/arp.dat
|
1998-07-02 12:45:36 +02:00
|
|
|
for file in ethercodes.dat d.awk e.awk p.awk; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/arpwatch/.; \
|
1997-07-01 04:05:06 +02:00
|
|
|
done
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${PREFIX}/arpwatch/.
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/arpwatch.sh ${PREFIX}/etc/rc.d/.
|
1997-03-30 19:19:56 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|