From 7f75234235f675ec9ffd37d3f05ca23b59ad24a7 Mon Sep 17 00:00:00 2001 From: jasper Date: Wed, 11 May 2011 18:59:59 +0000 Subject: [PATCH] import p5-POE-Component-Resolver-0.912 POE::Component::Resolver performs Socket::GetAddrInfo::getaddrinfo() calls in subprocesses where they're permitted to block as long as necessary. By default it will run eight subprocesses and prefer address families in whatever order Socket::GetAddrInfo returns them. These defaults can be overridden with constructor parameters. from wen heping (MAINTAINER), needed by upcoming p5-POE update, not hooking this up yet. ok sthen@ --- net/p5-POE-Component-Resolver/Makefile | 19 +++++++++++++++++++ net/p5-POE-Component-Resolver/distinfo | 5 +++++ net/p5-POE-Component-Resolver/pkg/DESCR | 7 +++++++ net/p5-POE-Component-Resolver/pkg/PLIST | 6 ++++++ 4 files changed, 37 insertions(+) create mode 100644 net/p5-POE-Component-Resolver/Makefile create mode 100644 net/p5-POE-Component-Resolver/distinfo create mode 100644 net/p5-POE-Component-Resolver/pkg/DESCR create mode 100644 net/p5-POE-Component-Resolver/pkg/PLIST diff --git a/net/p5-POE-Component-Resolver/Makefile b/net/p5-POE-Component-Resolver/Makefile new file mode 100644 index 00000000000..73ffb91003b --- /dev/null +++ b/net/p5-POE-Component-Resolver/Makefile @@ -0,0 +1,19 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2011/05/11 18:59:59 jasper Exp $ + +COMMENT = non-blocking getaddrinfo() resolver + +DISTNAME = POE-Component-Resolver-0.912 +CATEGORIES = net + +# GPLv2 +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM =Yes +PERMIT_DISTFILES_FTP = Yes + +MODULES = cpan + +RUN_DEPENDS = devel/p5-POE>=1.311 \ + net/p5-Socket-GetAddrInfo>=0.19 + +.include diff --git a/net/p5-POE-Component-Resolver/distinfo b/net/p5-POE-Component-Resolver/distinfo new file mode 100644 index 00000000000..0538d3ff2ec --- /dev/null +++ b/net/p5-POE-Component-Resolver/distinfo @@ -0,0 +1,5 @@ +MD5 (POE-Component-Resolver-0.912.tar.gz) = zu36LSkmj7v7gcBa7Ov7qg== +RMD160 (POE-Component-Resolver-0.912.tar.gz) = tQ9NJQ9IEnnGsoO/3DGHzVSY5Ms= +SHA1 (POE-Component-Resolver-0.912.tar.gz) = wlUFlgTId2HU10YneyFsaAyjOi4= +SHA256 (POE-Component-Resolver-0.912.tar.gz) = dWSNzUQbtgy1e+2Wq4rhbSaQGvbZUSx7f2W4XtUePeQ= +SIZE (POE-Component-Resolver-0.912.tar.gz) = 26709 diff --git a/net/p5-POE-Component-Resolver/pkg/DESCR b/net/p5-POE-Component-Resolver/pkg/DESCR new file mode 100644 index 00000000000..3a42a773622 --- /dev/null +++ b/net/p5-POE-Component-Resolver/pkg/DESCR @@ -0,0 +1,7 @@ +POE::Component::Resolver performs Socket::GetAddrInfo::getaddrinfo() +calls in subprocesses where they're permitted to block as long as +necessary. + +By default it will run eight subprocesses and prefer address +families in whatever order Socket::GetAddrInfo returns them. +These defaults can be overridden with constructor parameters. diff --git a/net/p5-POE-Component-Resolver/pkg/PLIST b/net/p5-POE-Component-Resolver/pkg/PLIST new file mode 100644 index 00000000000..c3e8132639e --- /dev/null +++ b/net/p5-POE-Component-Resolver/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2011/05/11 18:59:59 jasper Exp $ +${P5SITE}/POE/Component/Resolver/ +${P5SITE}/POE/Component/Resolver.pm +${P5SITE}/POE/Component/Resolver/Sidecar.pm +@man man/man3p/POE::Component::Resolver.3p +@man man/man3p/POE::Component::Resolver::Sidecar.3p