aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-IO-INET6/Makefile26
-rw-r--r--net/p5-IO-INET6/distinfo1
-rw-r--r--net/p5-IO-INET6/files/patch-INET6.pm29
-rw-r--r--net/p5-IO-INET6/pkg-descr5
-rw-r--r--net/p5-IO-INET6/pkg-plist7
-rw-r--r--net/p5-IO-Socket-INET6/Makefile26
-rw-r--r--net/p5-IO-Socket-INET6/distinfo1
-rw-r--r--net/p5-IO-Socket-INET6/files/patch-INET6.pm29
-rw-r--r--net/p5-IO-Socket-INET6/pkg-descr5
-rw-r--r--net/p5-IO-Socket-INET6/pkg-plist7
11 files changed, 137 insertions, 0 deletions
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 <bsd.port.mk>
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 <bsd.port.mk>
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