From owner-svn-ports-all@freebsd.org Mon Sep 30 11:30:06 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CD34C124BDD; Mon, 30 Sep 2019 11:30:06 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46hgDZ50JSz3G2g; Mon, 30 Sep 2019 11:30:06 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8E9361C89; Mon, 30 Sep 2019 11:30:06 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x8UBU622052494; Mon, 30 Sep 2019 11:30:06 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x8UBU5Ek052490; Mon, 30 Sep 2019 11:30:05 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201909301130.x8UBU5Ek052490@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 30 Sep 2019 11:30:05 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/www: . p5-Test-HTTP-LocalServer X-SVN-Commit-Revision: 513351 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Sep 2019 11:30:06 -0000 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 +# $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 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