Port details on branch 2022Q2 |
- p5-Net-MAC-Vendor Look up the vendor for a MAC
- 1.2000_1 net =0 1.2000_1Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: 2006-05-25 22:37:35
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Net-MAC-Vendor
- Description:
- The Institute of Electrical and Electronics Engineers (IEEE) assigns an
Organizational Unique Identifier (OUI) to manufacturers of network
interfaces. Each interface has a Media Access Control (MAC) address of six
bytes. The first three bytes are the OUI.
This module allows you to take a MAC address and turn it into the OUI and
vendor information. You can, for instance, scan a network, collect MAC
addresses, and turn those addresses into vendors. With vendor information,
you can often guess at what you are looking at (e.g. an Apple
product).
You can use this as a module as its individual functions, or call it as a
script with a list of MAC addresses as arguments. The module can figure it
out.
This module tries to persistently cache with DBM::Deep the OUI information
so it can avoid using the network. If it cannot load DBM::Deep, it uses a
normal hash (which is lost when the process finishes). You can preload
this cache with the load_cache() function. So far, the module looks in the
current working directory for a file named mac_oui.db to find the cache. I
need to come up with a way to let the user set that location.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Net-MAC-Vendor>0:net/p5-Net-MAC-Vendor
- To install the port:
- cd /usr/ports/net/p5-Net-MAC-Vendor/ && make install clean
- To add the package, run one of these commands:
- pkg install net/p5-Net-MAC-Vendor
- pkg install p5-Net-MAC-Vendor
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Net-MAC-Vendor
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (Net-MAC-Vendor-1.20.tar.gz) = c500b5fe2267557753549f5146610dee15143944dad169020033a3a16b0a3619
SIZE (Net-MAC-Vendor-1.20.tar.gz) = 2304152
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-libwww>=0 : www/p5-libwww
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-libwww>=0 : www/p5-libwww
- perl5>=5.32.r0<5.33 : lang/perl5.32
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- net_p5-Net-MAC-Vendor
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|