Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2005 19:00:50 +0200 (CEST)
From:      Janos Mohacsi <janos.mohacsi@niif.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        leeym@FreeBSD.org
Subject:   ports/84313: [MAINTAINER] net/p5-IO-Socket-INET6: [SUMMARIZE CHANGES]
Message-ID:  <200507291700.j6TH0oSb068455@scone.ki.iif.hu>
Resent-Message-ID: <200507291710.j6THAIsE035098@freefall.freebsd.org>

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

>Number:         84313
>Category:       ports
>Synopsis:       [MAINTAINER] net/p5-IO-Socket-INET6: [SUMMARIZE CHANGES]
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 29 17:10:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD scone.ki.iif.hu 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Thu Jul 21 12:52:16 CEST 2005
>Description:
Maintainer Update to net/p5-IO-Socket-INET6 to version 2.51

PORT_REVISION bumped since it fixes compilation error on stock perl 5.005

Probably fixes: ports/84292 problem

Added file(s):
- files/5.005_03.diff

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- p5-IO-Socket-INET6-2.51_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/p5-IO-INET6.orig/Makefile /usr/ports/net/p5-IO-INET6/Makefile
--- /usr/ports/net/p5-IO-INET6.orig/Makefile	Thu Jul 28 17:37:44 2005
+++ /usr/ports/net/p5-IO-INET6/Makefile	Fri Jul 29 18:55:53 2005
@@ -7,6 +7,7 @@
 
 PORTNAME=	IO-Socket-INET6
 PORTVERSION=	2.51
+PORTREVISION=	1
 CATEGORIES=	net perl5 ipv6
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	IO
@@ -22,4 +23,10 @@
 
 PERL_CONFIGURE=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500600
+EXTRA_PATCHES=	${PATCHDIR}/5.005_03.diff
+.endif
+
+.include <bsd.port.post.mk>
+
diff -ruN --exclude=CVS /usr/ports/net/p5-IO-INET6.orig/files/5.005_03.diff /usr/ports/net/p5-IO-INET6/files/5.005_03.diff
--- /usr/ports/net/p5-IO-INET6.orig/files/5.005_03.diff	Thu Jan  1 01:00:00 1970
+++ /usr/ports/net/p5-IO-INET6/files/5.005_03.diff	Fri Jul 29 18:57:12 2005
@@ -0,0 +1,32 @@
+
+$FreeBSD$
+
+--- INET6.pm.orig
++++ INET6.pm
+@@ -10,7 +10,7 @@
+ package IO::Socket::INET6;
+ 
+ use strict;
+-our(@ISA, $VERSION);
++use vars qw(@ISA $VERSION);
+ use IO::Socket;
+ use Socket;
+ use Socket6;
+@@ -22,7 +22,7 @@
+ $VERSION = "2.51";
+ #Purpose: allow protocol independent protocol and original interface.
+ 
+-my $EINVAL = exists(&Errno::EINVAL) ? Errno::EINVAL() : 1;
++my $EINVAL = defined(&Errno::EINVAL) ? Errno::EINVAL() : 1;
+ 
+ IO::Socket::INET6->register_domain( AF_INET6 );
+ 
+@@ -190,7 +190,7 @@
+ 	}
+ 
+ 	if ($arg->{ReusePort}) {
+-	    $sock->sockopt(SO_REUSEPORT,1) or
++	    $sock->sockopt(0x0200,1) or
+ 		    return _error($sock, $!, "sockopt: $!");
+ 	}
+ 
--- p5-IO-Socket-INET6-2.51_1.patch ends here ---

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



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