From owner-svn-ports-all@FreeBSD.ORG Mon Jun 24 18:23:05 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DB03591C; Mon, 24 Jun 2013 18:23:05 +0000 (UTC) (envelope-from lippe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id CCD9317B4; Mon, 24 Jun 2013 18:23:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5OIN5G6088224; Mon, 24 Jun 2013 18:23:05 GMT (envelope-from lippe@svn.freebsd.org) Received: (from lippe@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5OIN4sL088215; Mon, 24 Jun 2013 18:23:04 GMT (envelope-from lippe@svn.freebsd.org) Message-Id: <201306241823.r5OIN4sL088215@svn.freebsd.org> From: Felippe de Meirelles Motta Date: Mon, 24 Jun 2013 18:23:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321698 - in head/net-mgmt: . p5-Net-IPAddress X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2013 18:23:05 -0000 Author: lippe Date: Mon Jun 24 18:23:04 2013 New Revision: 321698 URL: http://svnweb.freebsd.org/changeset/ports/321698 Log: Net::IPAddr is a collection of helpful functions used to convert IP addresses to/from 32-bit integers, applying subnet masks to IP addresses, validating IP address strings, and splitting a FQDN into its host and domain parts. No rocket science here, but I have found these functions to very, very handy. For example, have you ever tried to sort a list of IP addresses only to find out that they don't sort the way you expected? Here is the solution! If you convert the IP addresses to 32-bit integer addresses, they will sort in correct order. WWW: http://search.cpan.org/dist/Net-IPAddress/ PR: ports/179817 Submitted by: Alexandre Biancalana Added: head/net-mgmt/p5-Net-IPAddress/ head/net-mgmt/p5-Net-IPAddress/Makefile (contents, props changed) head/net-mgmt/p5-Net-IPAddress/distinfo (contents, props changed) head/net-mgmt/p5-Net-IPAddress/pkg-descr (contents, props changed) head/net-mgmt/p5-Net-IPAddress/pkg-plist (contents, props changed) Modified: head/net-mgmt/Makefile Modified: head/net-mgmt/Makefile ============================================================================== --- head/net-mgmt/Makefile Mon Jun 24 18:09:52 2013 (r321697) +++ head/net-mgmt/Makefile Mon Jun 24 18:23:04 2013 (r321698) @@ -219,6 +219,7 @@ SUBDIR += p5-Net-IP-Match-Regexp SUBDIR += p5-Net-IP-Match-XS SUBDIR += p5-Net-IP-Resolver + SUBDIR += p5-Net-IPAddress SUBDIR += p5-Net-IPv4Addr SUBDIR += p5-Net-IPv6Addr SUBDIR += p5-Net-NSCA-Client Added: head/net-mgmt/p5-Net-IPAddress/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/p5-Net-IPAddress/Makefile Mon Jun 24 18:23:04 2013 (r321698) @@ -0,0 +1,18 @@ +# Created by: Alexandre Biancalana +# $FreeBSD$ + +PORTNAME= Net-IPAddress +PORTVERSION= 1.10 +CATEGORIES= net-mgmt perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:SARENNER +PKGNAMEPREFIX= p5- + +MAINTAINER= ale@biancalanas.net +COMMENT= Perl functions used to manipulate IP addresses, masks and FQDN's + +PERL_CONFIGURE= yes + +MAN3= Net::IPAddress.3 + +.include Added: head/net-mgmt/p5-Net-IPAddress/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/p5-Net-IPAddress/distinfo Mon Jun 24 18:23:04 2013 (r321698) @@ -0,0 +1,2 @@ +SHA256 (Net-IPAddress-1.10.tar.gz) = 881308d2db0dc0f94434816d5e23b15e2da43c999283dc24e9ef55eb515b7b5e +SIZE (Net-IPAddress-1.10.tar.gz) = 3024 Added: head/net-mgmt/p5-Net-IPAddress/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/p5-Net-IPAddress/pkg-descr Mon Jun 24 18:23:04 2013 (r321698) @@ -0,0 +1,12 @@ +Net::IPAddr is a collection of helpful functions used to convert +IP addresses to/from 32-bit integers, applying subnet masks to +IP addresses, validating IP address strings, and splitting a FQDN +into its host and domain parts. + +No rocket science here, but I have found these functions to very, +very handy. For example, have you ever tried to sort a list of IP +addresses only to find out that they don't sort the way you expected? +Here is the solution! If you convert the IP addresses to 32-bit integer +addresses, they will sort in correct order. + +WWW: http://search.cpan.org/dist/Net-IPAddress/ Added: head/net-mgmt/p5-Net-IPAddress/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/p5-Net-IPAddress/pkg-plist Mon Jun 24 18:23:04 2013 (r321698) @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Net/IPAddress.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IPAddress/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IPAddress +@dirrm %%SITE_PERL%%/auto/Net/IPAddress +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net +@dirrmtry %%SITE_PERL%%/auto/Net +@dirrmtry %%SITE_PERL%%/Net