ports/59675: Maintainer Update: net/p5-IO-INET6 to version 2.00
Janos Mohacsi
mohacsi at niif.hu
Tue Nov 25 10:50:20 UTC 2003
>Number: 59675
>Category: ports
>Synopsis: Maintainer Update: net/p5-IO-INET6 to version 2.00
>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: Tue Nov 25 02:50:11 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Janos Mohacsi
>Release: FreeBSD 4.9-STABLE i386
>Organization:
NIIF
>Environment:
System: FreeBSD skye.ki.iif.hu 4.9-STABLE FreeBSD 4.9-STABLE #2: Mon Nov 24 10:43:45 CET 2003 root at skye.ki.iif.hu:/usr/obj/mirror/src/sys/SKYE i386
>Description:
Maintainer update: to net/p5-IO-INET6 to version 2.00
original package changes:
- remove deprecated IPv6 API getipnode()
- completely protocol independent now
- more test suite
- relies on Socket6-0.12
port changes:
- check existence at least of perl 5.6.1
- mention protocol independence in pkg-descr
>How-To-Repeat:
Warning this patch requires ports/58707 to be applied (upgrade
to Socket6 0.12). This PR copied to Hajimu UMEMOTO <ume at FreeBSD.org> the maintainer of Socket6 also.
Then apply this diff.
>Fix:
diff -ruN p5-IO-INET6.bak/Makefile p5-IO-INET6/Makefile
--- p5-IO-INET6.bak/Makefile Mon Oct 27 13:46:05 2003
+++ p5-IO-INET6/Makefile Tue Nov 25 11:15:14 2003
@@ -6,7 +6,7 @@
#
PORTNAME= INET6
-PORTVERSION= 1.28
+PORTVERSION= 2.00
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 Fri Aug 22 12:41:12 2003
+++ p5-IO-INET6/distinfo Mon Nov 24 12:47:16 2003
@@ -1 +1 @@
-MD5 (INET6-1.28.tar.gz) = 799199206d8d8641e11b33c0748a313e
+MD5 (INET6-2.00.tar.gz) = 213662c019d0e177e6be2daa61740d8c
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 Tue Nov 25 11:23:04 2003
@@ -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:
More information about the freebsd-ports-bugs
mailing list