aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-IO-INET6
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-07-03 06:17:15 +0800
committererwin <erwin@FreeBSD.org>2003-07-03 06:17:15 +0800
commit80e5939215d3ee88f31ee0a383703db9b4edb3a5 (patch)
treea84a19fd4ae73bdd85a33eb6409c3d4b3d24678f /net/p5-IO-INET6
parent796033bf208a6152c5e14648ad8fa9eb2ba1213b (diff)
downloadfreebsd-ports-gnome-80e5939215d3ee88f31ee0a383703db9b4edb3a5.tar.gz
freebsd-ports-gnome-80e5939215d3ee88f31ee0a383703db9b4edb3a5.tar.zst
freebsd-ports-gnome-80e5939215d3ee88f31ee0a383703db9b4edb3a5.zip
Add p5-IO-INET6 1.27,
perl module with object interface to AF_INET6 domain sockets. PR: 54043 Submitted by: Janos.Mohacsi@bsd.hu
Diffstat (limited to 'net/p5-IO-INET6')
-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
5 files changed, 68 insertions, 0 deletions
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