Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2004 14:55:50 +0100 (CET)
From:      Janos Mohacsi <mohacsi@niif.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mat@FreeBSD.org
Subject:   ports/62689: maintainer update: net/p5-IO-INET to version 2.01
Message-ID:  <200402111355.i1BDtowe002307@norfolk.ki.iif.hu>
Resent-Message-ID: <200402111350.i1BDo1aA011844@freefall.freebsd.org>

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

>Number:         62689
>Category:       ports
>Synopsis:       maintainer update: net/p5-IO-INET to version 2.01
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 11 05:50:00 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
NIIF
>Environment:
System: FreeBSD norfolk.ki.iif.hu 5.2-CURRENT FreeBSD 5.2-CURRENT #7: Mon Feb 9 12:12:13 CET 2004 root@norfolk.ki.iif.hu:/usr/obj/usr/src/sys/NORFOLK i386

>Description:
	Maintainer update: to net/p5-IO-INET6 to version 2.01
	original package changes: 
	- remove deprecated IPv6 API getipnode()
	- completely protocol independent now
	- more test suite
	- relies on  Socket6-0.12 or later
	- bugfixes in parse and tests
	- peerhost method fix
	port changes:
	- check existence at least of perl 5.6.1
	- mention protocol independence in pkg-descr

	This patch supercedes ports/59675 (responsible mat).

>How-To-Repeat:
	Apply this diff.
>Fix:


diff -ruN p5-IO-INET6.bak/Makefile p5-IO-INET6/Makefile
--- p5-IO-INET6.bak/Makefile	Wed Oct 29 12:04:36 2003
+++ p5-IO-INET6/Makefile	Wed Feb 11 14:42:56 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	INET6
-PORTVERSION=	1.28
+PORTVERSION=	2.01
 CATEGORIES=	net perl5 ipv6
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	IO
@@ -22,4 +22,10 @@
 
 PERL_CONFIGURE=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE=		Port requires perl 5.6.1 or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
diff -ruN p5-IO-INET6.bak/distinfo p5-IO-INET6/distinfo
--- p5-IO-INET6.bak/distinfo	Tue Aug 12 20:37:09 2003
+++ p5-IO-INET6/distinfo	Wed Feb 11 14:40:29 2004
@@ -1 +1,2 @@
-MD5 (INET6-1.28.tar.gz) = 799199206d8d8641e11b33c0748a313e
+MD5 (INET6-2.01.tar.gz) = 032a6e50c8c16e400836a9565cdb2f0b
+SIZE (INET6-2.01.tar.gz) = 8628
diff -ruN p5-IO-INET6.bak/files/patch-INET6.pm p5-IO-INET6/files/patch-INET6.pm
--- p5-IO-INET6.bak/files/patch-INET6.pm	Thu Jul  3 00:17:15 2003
+++ p5-IO-INET6/files/patch-INET6.pm	Thu Jan  1 01:00:00 1970
@@ -1,29 +0,0 @@
---- INET6.pm.orig	Tue Jun 24 14:14:26 2003
-+++ INET6.pm	Wed Jul  2 21:33:28 2003
-@@ -10,7 +10,7 @@
- package IO::Socket::INET6;
- 
- use strict;
--our(@ISA, $VERSION);
-+use vars qw(@ISA $VERSION);
- use IO::Socket;
- use Socket6;
- use Carp;
-@@ -20,7 +20,7 @@
- @ISA = qw(IO::Socket);
- $VERSION = "1.27";
- 
--my $EINVAL = exists(&Errno::EINVAL) ? Errno::EINVAL() : 1;
-+my $EINVAL = defined(&Errno::EINVAL) ? Errno::EINVAL() : 1;
- 
- IO::Socket::INET6->register_domain( AF_INET6 );
- 
-@@ -183,7 +183,7 @@
- 	}
- 
- 	if ($arg->{ReusePort}) {
--	    $sock->sockopt(SO_REUSEPORT,1) or
-+	    $sock->sockopt(0x0200,1) or
- 		    return _error($sock, $!, "$!");
- 	}
- 
diff -ruN p5-IO-INET6.bak/pkg-descr p5-IO-INET6/pkg-descr
--- p5-IO-INET6.bak/pkg-descr	Thu Jul  3 00:17:15 2003
+++ p5-IO-INET6/pkg-descr	Wed Feb 11 14:43:51 2004
@@ -1,5 +1,7 @@
 IO::Socket::INET6 provides an object interface to creating and using sockets
 in the AF_INET6 domain. It is built upon the IO::Socket interface and
-inherits all the methods defined by IO::Socket.
+inherits all the methods defined by IO::Socket. As a consequence, this module 
+is protocol Independent, it can run both IPv6 & IPv4, when DNS names are 
+passed.
 
 WWW: http://search.cpan.org/search?dist=IO-INET6
>Release-Note:
>Audit-Trail:
>Unformatted:



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