diff --git a/net/Makefile b/net/Makefile index 9b5857943142..0f595420ba7a 100644 --- a/net/Makefile +++ b/net/Makefile @@ -594,6 +594,7 @@ SUBDIR += p5-Net-GrowlClient SUBDIR += p5-Net-HL7 SUBDIR += p5-Net-HTTP + SUBDIR += p5-Net-HTTPS-Any SUBDIR += p5-Net-HTTPS-NB SUBDIR += p5-Net-Hiveminder SUBDIR += p5-Net-INET6Glue diff --git a/net/p5-Net-HTTPS-Any/Makefile b/net/p5-Net-HTTPS-Any/Makefile new file mode 100644 index 000000000000..23b12b5f81f0 --- /dev/null +++ b/net/p5-Net-HTTPS-Any/Makefile @@ -0,0 +1,22 @@ +# Created by: Anton Berezin +# $FreeBSD$ + +PORTNAME= Net-HTTPS-Any +PORTVERSION= 0.10 +CATEGORIES= net perl5 www +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= tobez@FreeBSD.org +COMMENT= Simple HTTPS class using whichever underlying SSL module is available + +BUILD_DEPENDS= p5-Tie-IxHash>=0:${PORTSDIR}/devel/p5-Tie-IxHash \ + p5-URI>=0:${PORTSDIR}/net/p5-URI \ + p5-Net-SSLeay>=1.30:${PORTSDIR}/security/p5-Net-SSLeay +RUN_DEPENDS:= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Net::HTTPS::Any.3 + +.include diff --git a/net/p5-Net-HTTPS-Any/distinfo b/net/p5-Net-HTTPS-Any/distinfo new file mode 100644 index 000000000000..0ae0f8486aa0 --- /dev/null +++ b/net/p5-Net-HTTPS-Any/distinfo @@ -0,0 +1,2 @@ +SHA256 (Net-HTTPS-Any-0.10.tar.gz) = b82be7407761807d5fd90cc13998c3d95550cd8974f776a8abbddafef4858d17 +SIZE (Net-HTTPS-Any-0.10.tar.gz) = 5457 diff --git a/net/p5-Net-HTTPS-Any/pkg-descr b/net/p5-Net-HTTPS-Any/pkg-descr new file mode 100644 index 000000000000..b1dc69507ecc --- /dev/null +++ b/net/p5-Net-HTTPS-Any/pkg-descr @@ -0,0 +1,5 @@ +This is a simple wrapper around either of the two available SSL +modules. It offers a unified API for sending GET and POST requests over HTTPS +and receiving responses. + +WWW: http://search.cpan.org/dist/Net-HTTPS-Any/ diff --git a/net/p5-Net-HTTPS-Any/pkg-plist b/net/p5-Net-HTTPS-Any/pkg-plist new file mode 100644 index 000000000000..8ab8d65a4c1d --- /dev/null +++ b/net/p5-Net-HTTPS-Any/pkg-plist @@ -0,0 +1,7 @@ +%%SITE_PERL%%/Net/HTTPS/Any.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/HTTPS/Any/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/HTTPS/Any +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/HTTPS +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net +@dirrmtry %%SITE_PERL%%/Net/HTTPS +@dirrmtry %%SITE_PERL%%/Net