From 46b97d084030b315dc2b718857d9c8ca8b28aad6 Mon Sep 17 00:00:00 2001 From: sthen Date: Fri, 30 Dec 2011 14:24:07 +0000 Subject: [PATCH] import ports/net/maclookup, this is a simple filter to display vendor names next to MAC addresses found in standard input. ok pea@ --- net/maclookup/Makefile | 34 ++++++++++++++++++++++++++++++++++ net/maclookup/distinfo | 5 +++++ net/maclookup/pkg/DESCR | 2 ++ net/maclookup/pkg/PLIST | 3 +++ 4 files changed, 44 insertions(+) create mode 100644 net/maclookup/Makefile create mode 100644 net/maclookup/distinfo create mode 100644 net/maclookup/pkg/DESCR create mode 100644 net/maclookup/pkg/PLIST diff --git a/net/maclookup/Makefile b/net/maclookup/Makefile new file mode 100644 index 00000000000..a61beb3c3a1 --- /dev/null +++ b/net/maclookup/Makefile @@ -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 + +# 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 diff --git a/net/maclookup/distinfo b/net/maclookup/distinfo new file mode 100644 index 00000000000..163233bdb26 --- /dev/null +++ b/net/maclookup/distinfo @@ -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 diff --git a/net/maclookup/pkg/DESCR b/net/maclookup/pkg/DESCR new file mode 100644 index 00000000000..08d3059dd33 --- /dev/null +++ b/net/maclookup/pkg/DESCR @@ -0,0 +1,2 @@ +maclookup is a simple filter to display vendor names next to +MAC addresses found in standard input. diff --git a/net/maclookup/pkg/PLIST b/net/maclookup/pkg/PLIST new file mode 100644 index 00000000000..61c15c42c94 --- /dev/null +++ b/net/maclookup/pkg/PLIST @@ -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