BSD Ports

net/p5-NetAddr-MAC 0.97nb6 NetBSD

Perl5 module handling hardware MAC Addresses (EUI-48 and EUI-64)

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
artistic OR gnu-gpl-v2
Categories
net, perl5
Package size
15.1 KiB, 59.8 KiB installed

Description

This is a module with functions for handling mac addresses. There are already two or three MAC addressing functions in CPAN, the motivation for this module is moderate functionality without Moose.

With that in mind, you can understand why I have cloned much of the really useful functionality from the two or three existing similar modules on CPAN.

I've covered off all the mac address formats I deal with in my workplace of mixed hardware. This module can decode just about anything that looks reasonably like a mac address, and stringify into every format I have seen used...

So sorry, I'm not really interesting in adding a templating function to define your own mac address formats. You're welcome to either send in a patch, extend this module or quickly write a function that wraps the 'raw' output to whatever you want. Match and join are your friends :)

Hopefully this module is useful to you. So far I have been pleased with the amount of feedback and patches people have sent in, this has been very rewarding as well as providing a number of new features I have been able to use myself.

In the other systems

SystemPortVersion
NetBSDnet/p5-NetAddr-MAC0.97nb6
FreeBSDnet/p5-NetAddr-MAC0.98
OpenBSDnet/p5-NetAddr-MAC1.04
DragonFlynet/p5-NetAddr-MAC0.98
HardenedBSDnet/p5-NetAddr-MAC0.98
GhostBSDnet/p5-NetAddr-MAC0.98

Install

Binary package:

pkgin install p5-NetAddr-MAC

From pkgsrc:

cd /usr/pkgsrc/net/p5-NetAddr-MAC && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.97nb6
NetBSD 10.1 aarch640.97nb5
SmartOS / illumos x86_640.97nb6
macOS 15 arm640.97nb6

Dependencies

Run dependencies 1

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0