From c2b5310c9b2e6f5d5913b9294cb3402804451b19 Mon Sep 17 00:00:00 2001 From: kuriyama Date: Sat, 10 Aug 2013 16:40:46 +0000 Subject: 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/ --- net/Makefile | 1 + net/p5-POSIX-getpeername/Makefile | 17 +++++++++++++++++ net/p5-POSIX-getpeername/distinfo | 2 ++ net/p5-POSIX-getpeername/pkg-descr | 5 +++++ net/p5-POSIX-getpeername/pkg-plist | 6 ++++++ 5 files changed, 31 insertions(+) create mode 100644 net/p5-POSIX-getpeername/Makefile create mode 100644 net/p5-POSIX-getpeername/distinfo create mode 100644 net/p5-POSIX-getpeername/pkg-descr create mode 100644 net/p5-POSIX-getpeername/pkg-plist 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 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 -- cgit