aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTTP-Engine
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2012-04-21 11:43:18 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2012-04-21 11:43:18 +0000
commitf3a28dc8eabe66c5f1daa7591f9fc16c33dbca59 (patch)
tree021488c5a8c49e15a5879b7cb2e8c84146b62139 /www/p5-HTTP-Engine
parentbaea503411b49cca72e4a63cee0758e56b516ca6 (diff)
downloadports-f3a28dc8eabe66c5f1daa7591f9fc16c33dbca59.tar.gz
ports-f3a28dc8eabe66c5f1daa7591f9fc16c33dbca59.zip
Notes
Diffstat (limited to 'www/p5-HTTP-Engine')
-rw-r--r--www/p5-HTTP-Engine/Makefile28
-rw-r--r--www/p5-HTTP-Engine/files/patch-request-as_http_request.t12
-rw-r--r--www/p5-HTTP-Engine/files/patch-request-as_string.t12
3 files changed, 39 insertions, 13 deletions
diff --git a/www/p5-HTTP-Engine/Makefile b/www/p5-HTTP-Engine/Makefile
index d2e9ee9383e0..c7b53c36dc52 100644
--- a/www/p5-HTTP-Engine/Makefile
+++ b/www/p5-HTTP-Engine/Makefile
@@ -7,7 +7,7 @@
PORTNAME= HTTP-Engine
PORTVERSION= 0.03005
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,19 +15,21 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension for HTTP Server Engine Drivers
-BUILD_DEPENDS= p5-Any-Moose>=0.13:${PORTSDIR}/devel/p5-Any-Moose \
- p5-CGI-Simple>=1.103:${PORTSDIR}/www/p5-CGI-Simple \
- p5-Filter>0:${PORTSDIR}/devel/p5-Filter \
- p5-HTTP-Body>=1.05:${PORTSDIR}/www/p5-HTTP-Body \
- p5-HTTP-Headers-Fast>=0.11:${PORTSDIR}/www/p5-HTTP-Headers-Fast \
- p5-HTTP-Request-AsCGI>0:${PORTSDIR}/www/p5-HTTP-Request-AsCGI \
- p5-HTTP-Server-Simple>=0.35:${PORTSDIR}/www/p5-HTTP-Server-Simple \
- p5-IO-stringy>=0:${PORTSDIR}/devel/p5-IO-stringy \
- p5-Mouse>=0.62:${PORTSDIR}/devel/p5-Moose \
- p5-MouseX-Types>=0.05:${PORTSDIR}/devel/p5-MouseX-Types \
- p5-URI>=1.36:${PORTSDIR}/net/p5-URI \
- p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML
+BUILD_DEPENDS= \
+ p5-Any-Moose>=0.13:${PORTSDIR}/devel/p5-Any-Moose \
+ p5-CGI-Simple>=1.103:${PORTSDIR}/www/p5-CGI-Simple \
+ p5-Filter>0:${PORTSDIR}/devel/p5-Filter \
+ p5-HTTP-Body>=1.05:${PORTSDIR}/www/p5-HTTP-Body \
+ p5-HTTP-Headers-Fast>=0.11:${PORTSDIR}/www/p5-HTTP-Headers-Fast \
+ p5-HTTP-Server-Simple>=0.35:${PORTSDIR}/www/p5-HTTP-Server-Simple \
+ p5-Mouse>=0.62:${PORTSDIR}/devel/p5-Moose \
+ p5-URI>=1.36:${PORTSDIR}/net/p5-URI
RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= \
+ p5-HTTP-Request-AsCGI>0:${PORTSDIR}/www/p5-HTTP-Request-AsCGI \
+ p5-YAML>0:${PORTSDIR}/textproc/p5-YAML \
+ p5-IO-stringy>0:${PORTSDIR}/devel/p5-IO-stringy \
+ p5-MouseX-Types>=0.05:${PORTSDIR}/devel/p5-MouseX-Types
PERL_CONFIGURE= yes
diff --git a/www/p5-HTTP-Engine/files/patch-request-as_http_request.t b/www/p5-HTTP-Engine/files/patch-request-as_http_request.t
new file mode 100644
index 000000000000..28fadd9b54e8
--- /dev/null
+++ b/www/p5-HTTP-Engine/files/patch-request-as_http_request.t
@@ -0,0 +1,12 @@
+--- t/010_core/request-as_http_request.t.orig 2012-04-21 18:30:16.644155273 +0900
++++ t/010_core/request-as_http_request.t 2012-04-21 18:30:36.825851307 +0900
+@@ -4,6 +4,9 @@
+ use HTTP::Engine::Request;
+ use t::Utils;
+
++delete $ENV{HTTP_PROXY};
++delete $ENV{HTTP_TIMEOUT};
++
+ test_req( gen_request()->as_http_request );
+
+ sub gen_request {
diff --git a/www/p5-HTTP-Engine/files/patch-request-as_string.t b/www/p5-HTTP-Engine/files/patch-request-as_string.t
new file mode 100644
index 000000000000..bf799ac50b3f
--- /dev/null
+++ b/www/p5-HTTP-Engine/files/patch-request-as_string.t
@@ -0,0 +1,12 @@
+--- t/010_core/request-as_string.t.orig 2012-04-21 19:35:27.611579798 +0900
++++ t/010_core/request-as_string.t 2012-04-21 19:35:44.449321956 +0900
+@@ -4,6 +4,9 @@
+ use HTTP::Engine;
+ use t::Utils;
+
++delete $ENV{HTTP_PROXY};
++delete $ENV{HTTP_TIMEOUT};
++
+ test_req( gen_request() );
+
+ sub gen_request {