Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2013 17:37:56 GMT
From:      Alexandre Biancalana <ale@biancalanas.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179817: p5-Net-IPAddress new port
Message-ID:  <201306211737.r5LHbuNE083050@oldred.freebsd.org>
Resent-Message-ID: <201306211740.r5LHe1lO075806@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179817
>Category:       ports
>Synopsis:       p5-Net-IPAddress new port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 21 17:40:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alexandre Biancalana
>Release:        9.1
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	net-mgmt/p5-Net-IPAddress
#	net-mgmt/p5-Net-IPAddress/Makefile
#	net-mgmt/p5-Net-IPAddress/distinfo
#	net-mgmt/p5-Net-IPAddress/pkg-descr
#	net-mgmt/p5-Net-IPAddress/pkg-plist
#
echo c - net-mgmt/p5-Net-IPAddress
mkdir -p net-mgmt/p5-Net-IPAddress > /dev/null 2>&1
echo x - net-mgmt/p5-Net-IPAddress/Makefile
sed 's/^X//' >net-mgmt/p5-Net-IPAddress/Makefile << 'ade245ae1ac5aec2180cfd038d8838ba'
X# Created by: Alexandre Biancalana <ale@biancalanas.net>
X# $FreeBSD$
X
XPORTNAME=	Net-IPAddress
XPORTVERSION=	1.10
XCATEGORIES=	net-mgmt perl5
XMASTER_SITES=	CPAN
XMASTER_SITE_SUBDIR=	CPAN:SARENNER
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	ale@biancalanas.net
XCOMMENT=	Perl functions used to manipulate IP addresses, masks and FQDN's
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Net::IPAddress.3
X
X.include <bsd.port.mk>
ade245ae1ac5aec2180cfd038d8838ba
echo x - net-mgmt/p5-Net-IPAddress/distinfo
sed 's/^X//' >net-mgmt/p5-Net-IPAddress/distinfo << 'f2598e1d5e9c3a2d88e12bbc304e5e44'
XSHA256 (Net-IPAddress-1.10.tar.gz) = 881308d2db0dc0f94434816d5e23b15e2da43c999283dc24e9ef55eb515b7b5e
XSIZE (Net-IPAddress-1.10.tar.gz) = 3024
f2598e1d5e9c3a2d88e12bbc304e5e44
echo x - net-mgmt/p5-Net-IPAddress/pkg-descr
sed 's/^X//' >net-mgmt/p5-Net-IPAddress/pkg-descr << '5a243775d04c0851a02225401f386379'
XNet::IPAddr is a collection of helpful functions used to convert
XIP addresses to/from 32-bit integers, applying subnet masks to
XIP addresses, validating IP address strings, and splitting a FQDN
Xinto its host and domain parts.
X
XNo rocket science here, but I have found these functions to very,
Xvery handy. For example, have you ever tried to sort a list of IP
Xaddresses only to find out that they don't sort the way you expected?
XHere is the solution! If you convert the IP addresses to 32-bit integer
Xaddresses, they will sort in correct order.
X
XWWW: http://search.cpan.org/dist/Net-IPAddress/
5a243775d04c0851a02225401f386379
echo x - net-mgmt/p5-Net-IPAddress/pkg-plist
sed 's/^X//' >net-mgmt/p5-Net-IPAddress/pkg-plist << '590397c527e57233bce68f354d0fa44d'
X%%SITE_PERL%%/Net/IPAddress.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IPAddress/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/IPAddress
X@dirrm %%SITE_PERL%%/auto/Net/IPAddress
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
X@dirrmtry %%SITE_PERL%%/auto/Net
X@dirrmtry %%SITE_PERL%%/Net
590397c527e57233bce68f354d0fa44d
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306211737.r5LHbuNE083050>