3b98e4e685
Net::Netmask parses and understands IPv4 CIDR blocks. It's built with an object-oriented interface and provides nearly all bits of information about a network block that you might want. There are also functions to put a network block into a table and look it up by IP address, turn an IP address range into a list of CIDR blocks, turn a list of CIDR blocks into a list of IP addresses, and a function for sorting by text IP address. from Toni Mueller, with some tweaks by me
18 lines
374 B
Makefile
18 lines
374 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2009/02/01 16:33:33 simon Exp $
|
|
|
|
COMMENT = parse, manipulate and lookup IPv4 CIDR blocks
|
|
|
|
MODULES = cpan
|
|
DISTNAME = Net-Netmask-1.9015
|
|
CATEGORIES = net
|
|
|
|
MAINTAINER = Toni Mueller <support@oeko.net>
|
|
|
|
# custom
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
.include <bsd.port.mk>
|