aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2011-02-27 00:32:49 +0800
committerskv <skv@FreeBSD.org>2011-02-27 00:32:49 +0800
commit911b756c64f4fecdcda7fd844148a65d6549b828 (patch)
treec8d29e3cebf65110f5c58e818ef8431413002ae9 /dns
parentaf7dedf7827a838f4c2e3ce6e4a7d5fd7154ea47 (diff)
downloadfreebsd-ports-gnome-911b756c64f4fecdcda7fd844148a65d6549b828.tar.gz
freebsd-ports-gnome-911b756c64f4fecdcda7fd844148a65d6549b828.tar.zst
freebsd-ports-gnome-911b756c64f4fecdcda7fd844148a65d6549b828.zip
Add p5-POE-Component-Resolver 0.911, a non-blocking getaddrinfo()
resolver.
Diffstat (limited to 'dns')
-rw-r--r--dns/Makefile1
-rw-r--r--dns/p5-POE-Component-Resolver/Makefile36
-rw-r--r--dns/p5-POE-Component-Resolver/distinfo2
-rw-r--r--dns/p5-POE-Component-Resolver/pkg-descr4
-rw-r--r--dns/p5-POE-Component-Resolver/pkg-plist7
5 files changed, 50 insertions, 0 deletions
diff --git a/dns/Makefile b/dns/Makefile
index fcc77d58ada6..ea21eaf7ecba 100644
--- a/dns/Makefile
+++ b/dns/Makefile
@@ -112,6 +112,7 @@
SUBDIR += p5-Net-Nslookup
SUBDIR += p5-Net-RBLClient
SUBDIR += p5-POE-Component-Client-DNS
+ SUBDIR += p5-POE-Component-Resolver
SUBDIR += p5-POE-Component-Server-DNS
SUBDIR += p5-Stanford-DNSserver
SUBDIR += p5-Tie-DNS
diff --git a/dns/p5-POE-Component-Resolver/Makefile b/dns/p5-POE-Component-Resolver/Makefile
new file mode 100644
index 000000000000..019cb45747f3
--- /dev/null
+++ b/dns/p5-POE-Component-Resolver/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: devel/p5-POE-Component-Resolver
+# Date created: 21 February 2011
+# Whom: Jase Thew <freebsd@beardz.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= POE-Component-Resolver
+PORTVERSION= 0.911
+CATEGORIES= dns devel perl5
+MASTER_SITES= CPAN/${PORTNAME:C/-.*//}/RCAPUTO
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= freebsd@beardz.net
+COMMENT= A non-blocking getaddrinfo() resolver
+
+BUILD_DEPENDS= p5-POE>=1.299:${PORTSDIR}/devel/p5-POE \
+ p5-Scalar-List-Utils>=1.23:${PORTSDIR}/lang/p5-Scalar-List-Utils \
+ p5-Socket-GetAddrInfo>=0.19:${PORTSDIR}/net/p5-Socket-GetAddrInfo \
+ p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= POE::Component::Resolver.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+BUILD_DEPENDS+= p5-Storable>=2.18:${PORTSDIR}/devel/p5-Storable \
+ p5-Time-HiRes>=1.9711:${PORTSDIR}/devel/p5-Time-HiRes
+RUN_DEPENDS+= p5-Storable>=2.18:${PORTSDIR}/devel/p5-Storable \
+ p5-Time-HiRes>=1.9711:${PORTSDIR}/devel/p5-Time-HiRes
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/dns/p5-POE-Component-Resolver/distinfo b/dns/p5-POE-Component-Resolver/distinfo
new file mode 100644
index 000000000000..14e3332305d7
--- /dev/null
+++ b/dns/p5-POE-Component-Resolver/distinfo
@@ -0,0 +1,2 @@
+SHA256 (POE-Component-Resolver-0.911.tar.gz) = 86063867532ff38d4d4d9e5c902053a1c4bd33c0407c5f211d2cb12279e230bc
+SIZE (POE-Component-Resolver-0.911.tar.gz) = 24181
diff --git a/dns/p5-POE-Component-Resolver/pkg-descr b/dns/p5-POE-Component-Resolver/pkg-descr
new file mode 100644
index 000000000000..23f76a2a63e8
--- /dev/null
+++ b/dns/p5-POE-Component-Resolver/pkg-descr
@@ -0,0 +1,4 @@
+POE::Component::Resolver performs Socket::GetAddrInfo::getaddrinfo() calls
+in subprocesses where they're permitted to block as long as necessary.
+
+WWW: http://search.cpan.org/dist/POE-Component-Resolver/
diff --git a/dns/p5-POE-Component-Resolver/pkg-plist b/dns/p5-POE-Component-Resolver/pkg-plist
new file mode 100644
index 000000000000..8b8e2d988d81
--- /dev/null
+++ b/dns/p5-POE-Component-Resolver/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Resolver/.packlist
+%%SITE_PERL%%/POE/Component/Resolver.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Resolver
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE
+@dirrmtry %%SITE_PERL%%/POE/Component
+@dirrmtry %%SITE_PERL%%/POE