2001-06-01 19:36:31 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2001/06/01 23:36:31 jakob Exp $
|
2001-05-06 00:59:54 -04:00
|
|
|
|
|
|
|
COMMENT= "monitor arp & rarp requests"
|
1998-03-25 15:13:23 -05:00
|
|
|
|
2001-06-01 19:36:31 -04:00
|
|
|
DISTNAME= arpwatch-2.1a11
|
1998-03-25 15:13:23 -05:00
|
|
|
CATEGORIES= net
|
2001-05-06 00:59:54 -04:00
|
|
|
NEED_VERSION= 1.402
|
1999-06-21 20:31:38 -04:00
|
|
|
MASTER_SITES= http://www.Awfulhak.org/arpwatch/ \
|
|
|
|
ftp://ftp.ee.lbl.gov/ \
|
1998-03-25 15:13:23 -05:00
|
|
|
ftp://ftp.cso.uiuc.edu/pub/security/coast/unix/arpwatch/
|
|
|
|
|
2001-06-01 19:36:31 -04:00
|
|
|
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
1998-03-25 15:13:23 -05:00
|
|
|
|
2000-04-21 10:50:23 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 01:29:49 -05:00
|
|
|
|
2001-06-01 19:36:31 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --quiet
|
|
|
|
MAKE_FLAGS+= ARPDIR=/var/arpwatch
|
1998-03-25 15:13:23 -05:00
|
|
|
|
2001-06-01 19:36:31 -04:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/arpwatch
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/arpwatch ${PREFIX}/sbin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/arpsnmp ${PREFIX}/sbin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/arpwatch.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/arpsnmp.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
|
|
@for i in ethercodes.dat d.awk e.awk p.awk; do \
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$i ${EXAMPLESDIR}; \
|
1998-03-25 15:13:23 -05:00
|
|
|
done
|
2001-06-01 19:36:31 -04:00
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/arp2ethers ${EXAMPLESDIR}
|
1998-03-25 15:13:23 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|