import ports/net/maclookup, this is a simple filter to display vendor names

next to MAC addresses found in standard input.  ok pea@
This commit is contained in:
sthen 2011-12-30 14:24:07 +00:00
parent df6181bec7
commit 46b97d0840
4 changed files with 44 additions and 0 deletions

34
net/maclookup/Makefile Normal file
View File

@ -0,0 +1,34 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/12/30 14:24:07 sthen Exp $
COMMENT= simple filter to look up MAC address vendors
DISTNAME= maclookup-1.2
CATEGORIES= net textproc
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# Public Domain
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://spacehopper.org/mirrors/
RUN_DEPENDS= net/arp-scan # lazy way to get the data files
NO_BUILD= Yes
NO_REGRESS= Yes
PKG_ARCH= *
do-configure:
cd ${WRKSRC}; \
perl -pi -e 's,/usr/local,${LOCALBASE},g' maclookup.pl maclookup.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/maclookup.pl ${PREFIX}/bin/maclookup
${INSTALL_MAN} ${WRKSRC}/maclookup.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

5
net/maclookup/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (maclookup-1.2.tar.gz) = bay2yBZYIKj1jIcsaJQZkw==
RMD160 (maclookup-1.2.tar.gz) = icyIkiVTE5EyPZfp790RPF0r0AU=
SHA1 (maclookup-1.2.tar.gz) = arrvAiSw8C7joMHz3uFX6ku3JX4=
SHA256 (maclookup-1.2.tar.gz) = XkhI5TN1u+nfwltem6+zKvizY05eqUKX1N33QbfGhLg=
SIZE (maclookup-1.2.tar.gz) = 1430

2
net/maclookup/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
maclookup is a simple filter to display vendor names next to
MAC addresses found in standard input.

3
net/maclookup/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/12/30 14:24:07 sthen Exp $
bin/maclookup
@man man/man1/maclookup.1