import net/p5-AnyEvent-WebSocket-Client plus deps

devel/p5-AnyEvent-Connector
devel/p5-Module-Build-Prereqs-FromCPANfile
devel/p5-Module-CPANfile
devel/p5-PerlX-Maybe

from Mikolaj Kucharski, ok benoit@, tweak from me (CONFIGURE_STYLE=modbuild
already adds p5-Module-Build to BUILD_DEPENDS).
This commit is contained in:
sthen
2025-06-11 10:28:25 +00:00
parent 3d0d8d9e48
commit a8f9ebfdfe
20 changed files with 165 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
COMMENT = tcp_connect with transparent proxy handling
DISTNAME = AnyEvent-Connector-0.04
CATEGORIES = devel net
# Perl
PERMIT_PACKAGE = Yes
MODULES = cpan
BUILD_DEPENDS = devel/p5-Module-Build-Prereqs-FromCPANfile
RUN_DEPENDS = devel/p5-AnyEvent \
www/p5-URI
TEST_DEPENDS = devel/p5-AnyEvent \
net/p5-Test-TCP
CONFIGURE_STYLE = modbuild
PKG_ARCH = *
.include <bsd.port.mk>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (AnyEvent-Connector-0.04.tar.gz) = qMSpbKcvQAtcJBsOYcrgK0p0kO3tjvc38W8ct6yTHUQ=
SIZE (AnyEvent-Connector-0.04.tar.gz) = 9210
+2
View File
@@ -0,0 +1,2 @@
AnyEvent::Connector object has tcp_connect method compatible with that
from AnyEvent::Socket, and it handles proxy settings transparently.
+7
View File
@@ -0,0 +1,7 @@
${P5SITE}/AnyEvent/
${P5SITE}/AnyEvent/Connector/
${P5SITE}/AnyEvent/Connector.pm
${P5SITE}/AnyEvent/Connector/Proxy/
${P5SITE}/AnyEvent/Connector/Proxy/http.pm
@man man/man3p/AnyEvent::Connector.3p
@man man/man3p/AnyEvent::Connector::Proxy::http.3p
@@ -0,0 +1,18 @@
COMMENT = generate Module::Build prereqs from cpanfile
DISTNAME = Module-Build-Prereqs-FromCPANfile-0.02
CATEGORIES = devel
# Perl
PERMIT_PACKAGE = Yes
MODULES = cpan
RUN_DEPENDS = devel/p5-Module-CPANfile
CONFIGURE_STYLE = modbuild
PKG_ARCH = *
.include <bsd.port.mk>
@@ -0,0 +1,2 @@
SHA256 (Module-Build-Prereqs-FromCPANfile-0.02.tar.gz) = lNF4Z76o4Ev4pja8v7eMXUMsuPvA4Ea4hEXDmD4Inik=
SIZE (Module-Build-Prereqs-FromCPANfile-0.02.tar.gz) = 6382
@@ -0,0 +1,2 @@
Reads a cpanfile and converts its content into valid prerequisite
parameters for the new() method of Module::Build.
@@ -0,0 +1,4 @@
${P5SITE}/Module/Build/
${P5SITE}/Module/Build/Prereqs/
${P5SITE}/Module/Build/Prereqs/FromCPANfile.pm
@man man/man3p/Module::Build::Prereqs::FromCPANfile.3p
+16
View File
@@ -0,0 +1,16 @@
COMMENT = parse cpanfile
DISTNAME = Module-CPANfile-1.1004
CATEGORIES = devel
# Perl
PERMIT_PACKAGE = Yes
MODULES = cpan
TEST_DEPENDS = devel/p5-File-pushd
PKG_ARCH = *
.include <bsd.port.mk>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (Module-CPANfile-1.1004.tar.gz) = iO++LppkLc6qGGQw/t/PmZqvDgb2zO0opxS45WtRSSE=
SIZE (Module-CPANfile-1.1004.tar.gz) = 22989
+2
View File
@@ -0,0 +1,2 @@
Module::CPANfile is a tool to handle cpanfile format to load
application specific dependencies, not just for CPAN distributions.
+16
View File
@@ -0,0 +1,16 @@
bin/cpanfile-dump
bin/mymeta-cpanfile
${P5SITE}/Module/
${P5SITE}/Module/CPANfile/
${P5SITE}/Module/CPANfile.pm
${P5SITE}/Module/CPANfile/Environment.pm
${P5SITE}/Module/CPANfile/Prereq.pm
${P5SITE}/Module/CPANfile/Prereqs.pm
${P5SITE}/Module/CPANfile/Requirement.pm
${P5SITE}/cpanfile-faq.pod
${P5SITE}/cpanfile.pod
@man man/man1/cpanfile-dump.1
@man man/man1/mymeta-cpanfile.1
@man man/man3p/Module::CPANfile.3p
@man man/man3p/cpanfile-faq.3p
@man man/man3p/cpanfile.3p
+14
View File
@@ -0,0 +1,14 @@
COMMENT = conditionally include values in constructor args
DISTNAME = PerlX-Maybe-1.202
CATEGORIES = devel
# Perl
PERMIT_PACKAGE = Yes
MODULES = cpan
PKG_ARCH = *
.include <bsd.port.mk>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (PerlX-Maybe-1.202.tar.gz) = IadPr7NaYtMwgpXBbLHgWWVDIH32fZdLPCUW6b3cowg=
SIZE (PerlX-Maybe-1.202.tar.gz) = 18346
+4
View File
@@ -0,0 +1,4 @@
PerlX::Maybe provides a convenient way to include or exclude key-value
pairs or list items based on definedness or other conditions. It is
commonly used to cleanly construct argument lists for object constructors
or function calls, without the need for verbose conditionals.
+7
View File
@@ -0,0 +1,7 @@
${P5SITE}/PerlX/
${P5SITE}/PerlX/Maybe.pm
${P5SITE}/Syntax/
${P5SITE}/Syntax/Feature/
${P5SITE}/Syntax/Feature/Maybe.pm
@man man/man3p/PerlX::Maybe.3p
@man man/man3p/Syntax::Feature::Maybe.3p
+28
View File
@@ -0,0 +1,28 @@
COMMENT = WebSocket client for AnyEvent
DISTNAME = AnyEvent-WebSocket-Client-0.55
CATEGORIES = net devel
# Perl
PERMIT_PACKAGE = Yes
MODULES = cpan
RUN_DEPENDS = devel/p5-AnyEvent \
devel/p5-AnyEvent-Connector \
devel/p5-Moo \
devel/p5-PerlX-Maybe \
net/p5-Protocol-WebSocket \
security/p5-Net-SSLeay \
www/p5-URI \
www/p5-URI-ws
TEST_DEPENDS = devel/p5-Devel-Cycle \
devel/p5-EV \
devel/p5-Test-Memory-Cycle \
net/p5-Protocol-WebSocket \
www/p5-Mojo
PKG_ARCH = *
.include <bsd.port.mk>
@@ -0,0 +1,2 @@
SHA256 (AnyEvent-WebSocket-Client-0.55.tar.gz) = Vc8Opvk/j0ky6tX5qJsCdkLtYDgak1KEEcfpMx3UwCU=
SIZE (AnyEvent-WebSocket-Client-0.55.tar.gz) = 48268
@@ -0,0 +1,6 @@
Interface for interacting with a web server that offers services via
the WebSocket protocol in an AnyEvent context. It uses
Protocol::WebSocket rather than reimplementing the protocol. While it
is possible to use AnyEvent and Protocol::WebSocket directly for
finer-grained control, this class offers a convenient abstraction
when such control is not required.
@@ -0,0 +1,7 @@
${P5SITE}/AnyEvent/WebSocket/
${P5SITE}/AnyEvent/WebSocket/Client.pm
${P5SITE}/AnyEvent/WebSocket/Connection.pm
${P5SITE}/AnyEvent/WebSocket/Message.pm
@man man/man3p/AnyEvent::WebSocket::Client.3p
@man man/man3p/AnyEvent::WebSocket::Connection.3p
@man man/man3p/AnyEvent::WebSocket::Message.3p