pkgsrc/net/p5-NetAddr-IP/Makefile
hiramatsu 7dd7a93eac Update p5-NetAddr-IP to 4.058.
Changes from previous:
4.058 Fri Nov 11 19:23:11 PST 2011
        up rev for documentation update
        update documentation in InetBase v0.06

4.057 Fri Nov 11 15:04:20 PST 2011
	Lite.pm v1.40
        add call to InetBase::fillIPv4 to all uses of gethostbyname

        break out the code in InetBase v0.05 that expands short IPv4
        addresses into dotquad format to account for broken BSD
        implementations of inet_aton and gethostbyname that do
        not recognize the short format. EXPORT this as sub 'fillIPv4'

        in Util.pm v1.45, add 'fillIPv4' to calls to gethostbyname to
        work around broken inet_aton and gethostbyname implementations
        in certain BSD implementations

4.056 Wed Nov  2 19:15:31 PDT 2011
        bump rev to incorporate
        improved inet_aton in InetBase v0.04 to overcome broken
        gethostbyname found in NetBSD and OpenBSD

4.055 Fri Oct 28 11:41:22 PDT 2011
	in Lite.pm v1.38
        patch for bug 71869, issues with Math::BigInt varients

4.054 Thu Oct 27 12:48:55 PDT 2011
        In Lite.pm v1.37, remove Calc.pm
        add detection of early Math::Bigint object structure
        fix bug 71869 - a failed test routine

4.053 Wed Oct 26 08:52:34 PDT 2011
	In Lite.pm v1.36
        fix bug #71925. A a sub-varient of #62521 that showed up only for
        short notation for IPv4. i.e. 127/n, 127.0/n, 127.0.0/n but
        not 127.0.0.0/n

4.052 Tue Oct 25 16:18:38 PDT 2011
        add test in Lite.pm v1.35 for api-version of Math::BigInt to
	support versions earlier than 1.70, circa Dec 2003.
        Thanks to Paul Howarth <paul@city-fan.org> for spotting that bug.

4.051 Mon Oct 24 14:44:53 PDT 2011
	fix bug 71869
	in Lite.pm v1.34
        use Math::BigInt::Calc for creating BigInt values and fall
        back to NetAddr::IP::Calc if Math::BigInt is not present.

        remove reference to Config{osname} in InetBase.pm v0.03
        (Util 1.43)


4.050 Sat Oct 22 01:58:57 PDT 2011
        In Lite/Util/lib/NetAddr/IP/Lite/Util/InetBase.pm v0.02
        Socket6 prior to version 0.23 does not have AF_INET6 in the
        EXPORT_OK array, modify InetBase.pm v0.2 to work around this.

	Add support for Math::BigInt to NetAddr::IP::Lite v1.33

4.049 Sat Oct 15 22:15:10 PDT 2011
	Updates to Lite.pm, Util.pm, new module InetBase.pm

	In Lite v1.32
        bug68723, add capability to parse input of the form
        ->new6(12345,1). This should have been there but was
        missing. Thanks to Andrei Benea for spotting this.

        In Util v1.41
        add inet_pton, inet_ntop, AF_INET, AF_INET6

        modify inet_n2dx and inet_n2ad to
        recognize the new 128 bit IPv4 format
        ::FFFF:FFFF:0:0

        replace isIPv4 with a pure perl version for portablity

        split the following into NetAddr::IP::InetBase v0.01
	to provide better long term support for IPv6
        inet_aton
        inet_ntoa
        ipv6_aton
        ipv6_n2x
        ipv6_n2d
        inet_any2n
        inet_n2dx
        inet_n2ad
        inet_ntop
        inet_pton
        packzeros
        isIPv4
        isNewIPv4
        isAnyIPv4
        AF_INET
        AF_INET6

4.048 Sat Oct  8 01:33:44 PDT 2011
	remove debug print statement from Util v1.40

4.047 Thu Oct  6 23:41:42 PDT 2011
	really correct missing reference in Util v1.39
	doc update only in Lite.pm v1.30

4.046 Thu Oct  6 20:20:33 PDT 2011		DEPRECATED
	corrected missing reference to inet_4map6 in Util v1.38

4.045 Thu Oct  6 18:23:04 PDT 2011		DEPRECATED
	updated NetAddr::IP::Util 1.37
        addid isAnyIPv4, isNewIPv4, inet_4map6
        revised naip_gethostbyname
        to conform to Perl's gethostbyname output

4.044 Wed May 18 14:47:34 PDT 2011
	added missing support for ->compactref(\@list) which is described
	in the documentation but not implemented.

	Thanks to Rusty Bourland codebard@gmail.com for spotting this
	and providing both a patch and test code

4.043 Wed Apr  6 11:31:19 PDT 2011
	Update documentation on the use of "adding constants
	to an IP address".

4.042 Tue Mar 22 15:26:02 PDT 2011
	Update Lite.pm v1.27 to encompass treatment of /31 and /127
	point-to-point networks as described in RFC 3021

	NOTE: for /31's and /127's
	this changes the behavior of the following methods:
		first   returns the "network" address
		last    returns the "broadcast" address
		nth     index 0 returns "network" addr instead of undef
		nth     index 1 returns "broadcast" addr instead of undef
		num     returns 2 instead of 0 (zero)

	"old_nth" behavior is unchanged

	Thanks to Todd Caine todd.caine@gmail.com for pointing this out.

4.041 Tue Mar  8 15:18:16 PST 2011
	Updated Lite.pm v1.26, "sub num" to support usable IP ranges
	greater than 2**32

	Thanks to Jan Ploski jan@plosquare.com for finding this bug

4.040 Sat Feb 19 10:04:00 PST 2011
	correction to use of Util.pm package lexicals

	thanks to mishikal@yahoo.com for spotting the bug and to
	Mark Martinec mark.martinec+ama...@ijs.si for the solution.

4.039 Wed Feb 16 15:48:03 PST 2011
	Correct documentation for 'split' methods
2011-11-23 11:09:02 +00:00

37 lines
1,007 B
Makefile

# $NetBSD: Makefile,v 1.25 2011/11/23 11:09:02 hiramatsu Exp $
#
DISTNAME= NetAddr-IP-4.058
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5nai
CATEGORIES= net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=NetAddr/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/NetAddr-IP/
COMMENT= Perl5 module for managing IP addresses
LICENSE= artistic
PKG_DESTDIR_SUPPORT= user-destdir
# This is for the 'test' target
BUILD_DEPENDS+= p5-Test-Pod-[0-9]*:../../devel/p5-Test-Pod
REPLACE_PERL+= IP.pm
REPLACE_PERL+= Lite/Lite.pm
REPLACE_PERL+= Lite/Util/Util.pm
REPLACE_PERL+= Lite/Util/lib/NetAddr/IP/UtilPP.pm
REPLACE_PERL+= Lite/Util/tlib/NetAddr/IP/Util_IS.pm
SUBST_CLASSES+= fixperl
SUBST_STAGE.fixperl= pre-configure
SUBST_MESSAGE.fixperl= Fixing perl interpreter
SUBST_FILES.fixperl+= Lite/Util/Makefile.PL
SUBST_SED.fixperl= -e 's,/usr/bin/perl,${PERL5},'
USE_LANGUAGES= c
PERL5_PACKLIST= auto/NetAddr/IP/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"