From d8a529d609d9981eae319ea8c169ac9ae6c53464 Mon Sep 17 00:00:00 2001 From: Erwin Lansing Date: Wed, 2 Jul 2003 22:17:15 +0000 Subject: Add p5-IO-INET6 1.27, perl module with object interface to AF_INET6 domain sockets. PR: 54043 Submitted by: Janos.Mohacsi@bsd.hu --- net/Makefile | 1 + net/p5-IO-INET6/Makefile | 26 ++++++++++++++++++++++++++ net/p5-IO-INET6/distinfo | 1 + net/p5-IO-INET6/files/patch-INET6.pm | 29 +++++++++++++++++++++++++++++ net/p5-IO-INET6/pkg-descr | 5 +++++ net/p5-IO-INET6/pkg-plist | 7 +++++++ net/p5-IO-Socket-INET6/Makefile | 26 ++++++++++++++++++++++++++ net/p5-IO-Socket-INET6/distinfo | 1 + net/p5-IO-Socket-INET6/files/patch-INET6.pm | 29 +++++++++++++++++++++++++++++ net/p5-IO-Socket-INET6/pkg-descr | 5 +++++ net/p5-IO-Socket-INET6/pkg-plist | 7 +++++++ 11 files changed, 137 insertions(+) create mode 100644 net/p5-IO-INET6/Makefile create mode 100644 net/p5-IO-INET6/distinfo create mode 100644 net/p5-IO-INET6/files/patch-INET6.pm create mode 100644 net/p5-IO-INET6/pkg-descr create mode 100644 net/p5-IO-INET6/pkg-plist create mode 100644 net/p5-IO-Socket-INET6/Makefile create mode 100644 net/p5-IO-Socket-INET6/distinfo create mode 100644 net/p5-IO-Socket-INET6/files/patch-INET6.pm create mode 100644 net/p5-IO-Socket-INET6/pkg-descr create mode 100644 net/p5-IO-Socket-INET6/pkg-plist (limited to 'net') diff --git a/net/Makefile b/net/Makefile index 7cbf962045c3..97ef78fd0dd2 100644 --- a/net/Makefile +++ b/net/Makefile @@ -424,6 +424,7 @@ SUBDIR += p5-Frontier-RPC SUBDIR += p5-Geo-IP SUBDIR += p5-Geo-IPfree + SUBDIR += p5-IO-INET6 SUBDIR += p5-IO-Interface SUBDIR += p5-IO-Socket-Multicast SUBDIR += p5-JUNOScript diff --git a/net/p5-IO-INET6/Makefile b/net/p5-IO-INET6/Makefile new file mode 100644 index 000000000000..ccf2d0ecaa3f --- /dev/null +++ b/net/p5-IO-INET6/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: p5-IO-INET6 +# Date created: 02 July 2003 +# Whom: Janos.Mohacsi@bsd.hu +# +# $FreeBSD$ +# + +PORTNAME= INET6 +PORTVERSION= 1.27 +CATEGORIES= net perl5 ipv6 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= IO +PKGNAMEPREFIX= p5-IO- + +MAINTAINER= janos.mohacsi@bsd.hu +COMMENT= Perl module with object interface to AF_INET6 domain sockets + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Socket6.pm:${PORTSDIR}/net/p5-Socket6 +RUN_DEPENDS= ${BUILD_DEPENDS} + +MAN3= IO::Socket::INET6.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +PERL_CONFIGURE= yes + +.include diff --git a/net/p5-IO-INET6/distinfo b/net/p5-IO-INET6/distinfo new file mode 100644 index 000000000000..5de1d6f15275 --- /dev/null +++ b/net/p5-IO-INET6/distinfo @@ -0,0 +1 @@ +MD5 (INET6-1.27.tar.gz) = faae062408f334121c1e8e891dc6a1dc diff --git a/net/p5-IO-INET6/files/patch-INET6.pm b/net/p5-IO-INET6/files/patch-INET6.pm new file mode 100644 index 000000000000..03f3cc9ffa4f --- /dev/null +++ b/net/p5-IO-INET6/files/patch-INET6.pm @@ -0,0 +1,29 @@ +--- 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 --git a/net/p5-IO-INET6/pkg-descr b/net/p5-IO-INET6/pkg-descr new file mode 100644 index 000000000000..e2b4327d963c --- /dev/null +++ b/net/p5-IO-INET6/pkg-descr @@ -0,0 +1,5 @@ +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. + +WWW: http://search.cpan.org/search?dist=IO-INET6 diff --git a/net/p5-IO-INET6/pkg-plist b/net/p5-IO-INET6/pkg-plist new file mode 100644 index 000000000000..5fd1608e1a71 --- /dev/null +++ b/net/p5-IO-INET6/pkg-plist @@ -0,0 +1,7 @@ +lib/perl5/site_perl/%%PERL_VER%%/IO/Socket/INET6.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO/Socket/INET6/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket/INET6 +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/IO/Socket 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/IO 2>/dev/null || true diff --git a/net/p5-IO-Socket-INET6/Makefile b/net/p5-IO-Socket-INET6/Makefile new file mode 100644 index 000000000000..ccf2d0ecaa3f --- /dev/null +++ b/net/p5-IO-Socket-INET6/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: p5-IO-INET6 +# Date created: 02 July 2003 +# Whom: Janos.Mohacsi@bsd.hu +# +# $FreeBSD$ +# + +PORTNAME= INET6 +PORTVERSION= 1.27 +CATEGORIES= net perl5 ipv6 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= IO +PKGNAMEPREFIX= p5-IO- + +MAINTAINER= janos.mohacsi@bsd.hu +COMMENT= Perl module with object interface to AF_INET6 domain sockets + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Socket6.pm:${PORTSDIR}/net/p5-Socket6 +RUN_DEPENDS= ${BUILD_DEPENDS} + +MAN3= IO::Socket::INET6.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +PERL_CONFIGURE= yes + +.include diff --git a/net/p5-IO-Socket-INET6/distinfo b/net/p5-IO-Socket-INET6/distinfo new file mode 100644 index 000000000000..5de1d6f15275 --- /dev/null +++ b/net/p5-IO-Socket-INET6/distinfo @@ -0,0 +1 @@ +MD5 (INET6-1.27.tar.gz) = faae062408f334121c1e8e891dc6a1dc diff --git a/net/p5-IO-Socket-INET6/files/patch-INET6.pm b/net/p5-IO-Socket-INET6/files/patch-INET6.pm new file mode 100644 index 000000000000..03f3cc9ffa4f --- /dev/null +++ b/net/p5-IO-Socket-INET6/files/patch-INET6.pm @@ -0,0 +1,29 @@ +--- 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 --git a/net/p5-IO-Socket-INET6/pkg-descr b/net/p5-IO-Socket-INET6/pkg-descr new file mode 100644 index 000000000000..e2b4327d963c --- /dev/null +++ b/net/p5-IO-Socket-INET6/pkg-descr @@ -0,0 +1,5 @@ +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. + +WWW: http://search.cpan.org/search?dist=IO-INET6 diff --git a/net/p5-IO-Socket-INET6/pkg-plist b/net/p5-IO-Socket-INET6/pkg-plist new file mode 100644 index 000000000000..5fd1608e1a71 --- /dev/null +++ b/net/p5-IO-Socket-INET6/pkg-plist @@ -0,0 +1,7 @@ +lib/perl5/site_perl/%%PERL_VER%%/IO/Socket/INET6.pm +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/IO/Socket/INET6/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket/INET6 +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO/Socket 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/IO 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/IO/Socket 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/IO 2>/dev/null || true -- cgit v1.2.3