diff options
author | Ade Lovett <ade@FreeBSD.org> | 2000-02-25 16:38:59 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2000-02-25 16:38:59 +0000 |
commit | f652b0a0a211b11b19903445181e56404709cd29 (patch) | |
tree | da79b3853682b4986f245325fafc4a88d6271045 /net/p5-Net-IPv4Addr | |
parent | 3e14cc210d4e801c84068f951cf80d5ec5d1446f (diff) | |
download | ports-f652b0a0a211b11b19903445181e56404709cd29.tar.gz ports-f652b0a0a211b11b19903445181e56404709cd29.zip |
p5-Net-IPv4Addr provides functions to parse IPv4 addresses both
in traditional address/netmask format and in the new CIDR format.
Methods for calculating the network and broadcast address, and
also to check if a given address is in a specific network also exist.
PR: 16984
Submitted by: Brad Hendrickse <bradh@uunet.co.za>
Notes
Notes:
svn path=/head/; revision=26278
Diffstat (limited to 'net/p5-Net-IPv4Addr')
-rw-r--r-- | net/p5-Net-IPv4Addr/Makefile | 26 | ||||
-rw-r--r-- | net/p5-Net-IPv4Addr/distinfo | 1 | ||||
-rw-r--r-- | net/p5-Net-IPv4Addr/pkg-comment | 1 | ||||
-rw-r--r-- | net/p5-Net-IPv4Addr/pkg-descr | 10 | ||||
-rw-r--r-- | net/p5-Net-IPv4Addr/pkg-plist | 5 |
5 files changed, 43 insertions, 0 deletions
diff --git a/net/p5-Net-IPv4Addr/Makefile b/net/p5-Net-IPv4Addr/Makefile new file mode 100644 index 000000000000..84681174a0c2 --- /dev/null +++ b/net/p5-Net-IPv4Addr/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: p5-Net-IPv4Addr +# Version required: 0.08 +# Date created: 25 February 2000 +# Whom: Brad Hendrickse <bradh@uunet.co.za> +# +# $FreeBSD$ +# + +DISTNAME= Net-IPv4Addr-0.08 +PKGNAME= p5-Net-IPv4Addr-0.08 +CATEGORIES= net perl5 +# not using CPAN due to them messing up the filename and version numbers +MASTER_SITES= http://indev.insu.com/sources/ + +MAINTAINER= bradh@uunet.co.za + +USE_PERL5= yes +MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} +MAN1= ipv4calc.1 +MAN3= Net::IPv4Addr.3 + +do-configure: + + @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL PREFIX=${PREFIX} + +.include <bsd.port.mk> diff --git a/net/p5-Net-IPv4Addr/distinfo b/net/p5-Net-IPv4Addr/distinfo new file mode 100644 index 000000000000..de43ba0e5e0a --- /dev/null +++ b/net/p5-Net-IPv4Addr/distinfo @@ -0,0 +1 @@ +MD5 (Net-IPv4Addr-0.08.tar.gz) = e8600b1d64b8dc3e5edc34ac7e197f21 diff --git a/net/p5-Net-IPv4Addr/pkg-comment b/net/p5-Net-IPv4Addr/pkg-comment new file mode 100644 index 000000000000..c8377d484065 --- /dev/null +++ b/net/p5-Net-IPv4Addr/pkg-comment @@ -0,0 +1 @@ +Perl extension for manipulating IPv4 addresses diff --git a/net/p5-Net-IPv4Addr/pkg-descr b/net/p5-Net-IPv4Addr/pkg-descr new file mode 100644 index 000000000000..e65ca924a6c6 --- /dev/null +++ b/net/p5-Net-IPv4Addr/pkg-descr @@ -0,0 +1,10 @@ +Net::IPv4Addr provides functions to parse IPv4 addresses both +in traditional address/netmask format and in the new CIDR format. +Methods for calculating the network and broadcast address, and +also to check if a given address is in a specific network also exist. + +WWW: http://indev.insu.com/ + +-- +Brad Hendrickse +bradh@uunet.co.za diff --git a/net/p5-Net-IPv4Addr/pkg-plist b/net/p5-Net-IPv4Addr/pkg-plist new file mode 100644 index 000000000000..997cbc3786b3 --- /dev/null +++ b/net/p5-Net-IPv4Addr/pkg-plist @@ -0,0 +1,5 @@ +bin/ipv4calc +lib/perl5/site_perl/%%PERL_VER%%/Net/IPv4Addr.pm +lib/perl5/site_perl/%%PERL_VER%%/auto/Net/IPv4Addr/autosplit.ix +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/IPv4Addr/.packlist +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Net/IPv4Addr |