Date: Mon, 30 Sep 2019 11:30:05 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r513351 - in head/www: . p5-Test-HTTP-LocalServer Message-ID: <201909301130.x8UBU5Ek052490@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Sep 30 11:30:05 2019 New Revision: 513351 URL: https://svnweb.freebsd.org/changeset/ports/513351 Log: Add p5-Test-HTTP-LocalServer 0.68 Test::HTTP::LocalServer implements a tiny web server suitable for running "live" tests of HTTP clients against it. It also takes care of cleaning %ENV from settings that influence the use of a local proxy etc. Use this web server if you write an HTTP client and want to exercise its behaviour in your test suite without talking to the outside world. WWW: https://metacpan.org/release/Test-HTTP-LocalServer Added: head/www/p5-Test-HTTP-LocalServer/ head/www/p5-Test-HTTP-LocalServer/Makefile (contents, props changed) head/www/p5-Test-HTTP-LocalServer/distinfo (contents, props changed) head/www/p5-Test-HTTP-LocalServer/pkg-descr (contents, props changed) head/www/p5-Test-HTTP-LocalServer/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Mon Sep 30 11:15:39 2019 (r513350) +++ head/www/Makefile Mon Sep 30 11:30:05 2019 (r513351) @@ -1191,6 +1191,7 @@ SUBDIR += p5-Template-Toolkit-Simple SUBDIR += p5-Tenjin SUBDIR += p5-Test-HTTP + SUBDIR += p5-Test-HTTP-LocalServer SUBDIR += p5-Test-HTTP-Server-Simple SUBDIR += p5-Test-LWP-UserAgent SUBDIR += p5-Test-Nginx Added: head/www/p5-Test-HTTP-LocalServer/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Test-HTTP-LocalServer/Makefile Mon Sep 30 11:30:05 2019 (r513351) @@ -0,0 +1,28 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Test-HTTP-LocalServer +PORTVERSION= 0.68 +CATEGORIES= www perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Spawn a local HTTP server for testing + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-CGI>=0:www/p5-CGI \ + p5-HTTP-Daemon>=6.05:www/p5-HTTP-Daemon \ + p5-HTTP-Message>=0:www/p5-HTTP-Message \ + p5-HTTP-Request-AsCGI>=0:www/p5-HTTP-Request-AsCGI \ + p5-URI>=0:net/p5-URI + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/www/p5-Test-HTTP-LocalServer/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Test-HTTP-LocalServer/distinfo Mon Sep 30 11:30:05 2019 (r513351) @@ -0,0 +1,3 @@ +TIMESTAMP = 1569832440 +SHA256 (Test-HTTP-LocalServer-0.68.tar.gz) = 8b96e20243cab7155f089fd85558ee373d399ced02000905b9a6822833d52e94 +SIZE (Test-HTTP-LocalServer-0.68.tar.gz) = 27878 Added: head/www/p5-Test-HTTP-LocalServer/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Test-HTTP-LocalServer/pkg-descr Mon Sep 30 11:30:05 2019 (r513351) @@ -0,0 +1,8 @@ +Test::HTTP::LocalServer implements a tiny web server suitable for running "live" +tests of HTTP clients against it. It also takes care of cleaning %ENV from +settings that influence the use of a local proxy etc. + +Use this web server if you write an HTTP client and want to exercise its +behaviour in your test suite without talking to the outside world. + +WWW: https://metacpan.org/release/Test-HTTP-LocalServer Added: head/www/p5-Test-HTTP-LocalServer/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/p5-Test-HTTP-LocalServer/pkg-plist Mon Sep 30 11:30:05 2019 (r513351) @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Test/HTTP/LocalServer.pm +%%SITE_PERL%%/Test/HTTP/cookie-server +%%SITE_PERL%%/Test/HTTP/gzip-streamed.psgi +%%SITE_PERL%%/Test/HTTP/log-server +%%PERL5_MAN3%%/Test::HTTP::LocalServer.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909301130.x8UBU5Ek052490>