git: cdd6d1dad1d1 - main - devel/p5-AnyEvent-Connector: Add p5-AnyEvent-Connector 0.03
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Aug 2023 18:30:18 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=cdd6d1dad1d1a9940d5008eb948e6d748fd76a2d commit cdd6d1dad1d1a9940d5008eb948e6d748fd76a2d Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-08-16 18:02:39 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-08-16 18:25:05 +0000 devel/p5-AnyEvent-Connector: Add p5-AnyEvent-Connector 0.03 AnyEvent::Connector object has tcp_connect method compatible with that from AnyEvent::Socket, and it handles proxy settings transparently. --- devel/Makefile | 1 + devel/p5-AnyEvent-Connector/Makefile | 25 +++++++++++++++++++++++++ devel/p5-AnyEvent-Connector/distinfo | 3 +++ devel/p5-AnyEvent-Connector/pkg-descr | 2 ++ devel/p5-AnyEvent-Connector/pkg-plist | 4 ++++ 5 files changed, 35 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index ad1f4e8911fb..acd65212780a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1780,6 +1780,7 @@ SUBDIR += p5-AnyEvent SUBDIR += p5-AnyEvent-AIO SUBDIR += p5-AnyEvent-Connection + SUBDIR += p5-AnyEvent-Connector SUBDIR += p5-AnyEvent-DBI SUBDIR += p5-AnyEvent-DBI-Abstract SUBDIR += p5-AnyEvent-DBus diff --git a/devel/p5-AnyEvent-Connector/Makefile b/devel/p5-AnyEvent-Connector/Makefile new file mode 100644 index 000000000000..7f81bd7fa3e8 --- /dev/null +++ b/devel/p5-AnyEvent-Connector/Makefile @@ -0,0 +1,25 @@ +PORTNAME= AnyEvent-Connector +PORTVERSION= 0.03 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= tcp_connect with transparent proxy handling +WWW= https://metacpan.org/dist/AnyEvent-Connector + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= p5-Module-Build-Prereqs-FromCPANfile>=0.02:devel/p5-Module-Build-Prereqs-FromCPANfile \ + ${RUN_DEPENDS} +RUN_DEPENDS= p5-AnyEvent>=0:devel/p5-AnyEvent \ + p5-URI>=0:net/p5-URI +TEST_DEPENDS= p5-Test-TCP>=0:devel/p5-Test-TCP + +USES= perl5 +USE_PERL5= modbuild + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/p5-AnyEvent-Connector/distinfo b/devel/p5-AnyEvent-Connector/distinfo new file mode 100644 index 000000000000..16252c9ffb40 --- /dev/null +++ b/devel/p5-AnyEvent-Connector/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1691069888 +SHA256 (AnyEvent-Connector-0.03.tar.gz) = 5117179cda74b09a59c063be8b454f3c0c4e66fd08f45a9cee3fd712c8cc6aa1 +SIZE (AnyEvent-Connector-0.03.tar.gz) = 9206 diff --git a/devel/p5-AnyEvent-Connector/pkg-descr b/devel/p5-AnyEvent-Connector/pkg-descr new file mode 100644 index 000000000000..9705f44e22e5 --- /dev/null +++ b/devel/p5-AnyEvent-Connector/pkg-descr @@ -0,0 +1,2 @@ +AnyEvent::Connector object has tcp_connect method compatible with that from +AnyEvent::Socket, and it handles proxy settings transparently. diff --git a/devel/p5-AnyEvent-Connector/pkg-plist b/devel/p5-AnyEvent-Connector/pkg-plist new file mode 100644 index 000000000000..876507bc24cc --- /dev/null +++ b/devel/p5-AnyEvent-Connector/pkg-plist @@ -0,0 +1,4 @@ +%%SITE_PERL%%/AnyEvent/Connector.pm +%%SITE_PERL%%/AnyEvent/Connector/Proxy/http.pm +%%PERL5_MAN3%%/AnyEvent::Connector.3.gz +%%PERL5_MAN3%%/AnyEvent::Connector::Proxy::http.3.gz