aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2013-08-11 00:40:46 +0800
committerkuriyama <kuriyama@FreeBSD.org>2013-08-11 00:40:46 +0800
commitc2b5310c9b2e6f5d5913b9294cb3402804451b19 (patch)
tree0484b7e9299df8b48799f31278be5497eaa7202a
parentf6ac4c48f1b1abab5ff3bb0c8306f334cc0a3543 (diff)
downloadfreebsd-ports-gnome-c2b5310c9b2e6f5d5913b9294cb3402804451b19.tar.gz
freebsd-ports-gnome-c2b5310c9b2e6f5d5913b9294cb3402804451b19.tar.zst
freebsd-ports-gnome-c2b5310c9b2e6f5d5913b9294cb3402804451b19.zip
POSIX::getpeername provides getpeername(2). perl's core getpeername
needs a open file handle. POSIX::getpeername allows you to get peername from sockfd. WWW: http://search.cpan.org/dist/POSIX-getpeername/
-rw-r--r--net/Makefile1
-rw-r--r--net/p5-POSIX-getpeername/Makefile17
-rw-r--r--net/p5-POSIX-getpeername/distinfo2
-rw-r--r--net/p5-POSIX-getpeername/pkg-descr5
-rw-r--r--net/p5-POSIX-getpeername/pkg-plist6
5 files changed, 31 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index ce41edf05d1d..181eec1d5148 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -726,6 +726,7 @@
SUBDIR += p5-POE-Component-Spread
SUBDIR += p5-POEx-Role-TCPServer
SUBDIR += p5-POSIX-Socket
+ SUBDIR += p5-POSIX-getpeername
SUBDIR += p5-Parallel-Pvm
SUBDIR += p5-Phone-Info
SUBDIR += p5-PlRPC
diff --git a/net/p5-POSIX-getpeername/Makefile b/net/p5-POSIX-getpeername/Makefile
new file mode 100644
index 000000000000..341383839b45
--- /dev/null
+++ b/net/p5-POSIX-getpeername/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+PORTNAME= POSIX-getpeername
+PORTVERSION= 0.01
+CATEGORIES= net perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= Perl extension to provide getpeername(2)
+
+USES= perl5
+USE_PERL5= modbuild
+
+MAN3= POSIX::getpeername.3
+
+.include <bsd.port.mk>
diff --git a/net/p5-POSIX-getpeername/distinfo b/net/p5-POSIX-getpeername/distinfo
new file mode 100644
index 000000000000..51f062f6ba75
--- /dev/null
+++ b/net/p5-POSIX-getpeername/distinfo
@@ -0,0 +1,2 @@
+SHA256 (POSIX-getpeername-0.01.tar.gz) = e09ae8c078e97bbc58f43233623dccaae209b0c224d618f51ff0f4add22dbc15
+SIZE (POSIX-getpeername-0.01.tar.gz) = 54261
diff --git a/net/p5-POSIX-getpeername/pkg-descr b/net/p5-POSIX-getpeername/pkg-descr
new file mode 100644
index 000000000000..16de12fab02f
--- /dev/null
+++ b/net/p5-POSIX-getpeername/pkg-descr
@@ -0,0 +1,5 @@
+POSIX::getpeername provides getpeername(2). perl's core getpeername
+needs a open file handle. POSIX::getpeername allows you to get
+peername from sockfd.
+
+WWW: http://search.cpan.org/dist/POSIX-getpeername/
diff --git a/net/p5-POSIX-getpeername/pkg-plist b/net/p5-POSIX-getpeername/pkg-plist
new file mode 100644
index 000000000000..cbe091962b8b
--- /dev/null
+++ b/net/p5-POSIX-getpeername/pkg-plist
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/POSIX/getpeername/getpeername.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/POSIX/getpeername/getpeername.so
+%%SITE_PERL%%/%%PERL_ARCH%%/POSIX/getpeername.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/POSIX
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POSIX/getpeername
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POSIX