Hi ports@!

Needed for upcoming www/p5-Dancer2.

Discussed and tested w/ MAINTAINER and afresh1@.
Tests pass on amd64 (and required-by).

New deps:

- devel/p5-Stream-Buffered
- www/p5-Apache-LogFormat-Compiler

already posted to ports@.


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/p5-Plack/Makefile,v
retrieving revision 1.7
diff -u -p -u -r1.7 Makefile
--- Makefile    25 Dec 2014 15:53:29 -0000      1.7
+++ Makefile    4 Jan 2015 22:50:25 -0000
@@ -3,30 +3,34 @@
 COMMENT =              interface between perl web frameworks and web servers

 MODULES =              cpan
-REVISION =             2
-DISTNAME =             Plack-0.9980
+DISTNAME =             Plack-1.0033
 CATEGORIES =           www
 MAINTAINER =           Abel Abraham Camarillo Ojeda <acam...@verlet.org>

 # Perl
 PERMIT_PACKAGE_CDROM = Yes

-BUILD_DEPENDS =        ${RUN_DEPENDS}
-RUN_DEPENDS =          devel/p5-Devel-StackTrace>=1.23 \
-                       devel/p5-Devel-StackTrace-AsHTML>=0.11 \
-                       devel/p5-File-pushd \
-                       devel/p5-File-ShareDir>=1.00 \
-                       devel/p5-Hash-MultiValue>=0.05 \
-                       devel/p5-Test-Requires \
-                       devel/p5-Try-Tiny \
-                       net/p5-Test-TCP>=0.11 \
-                       sysutils/p5-Filesys-Notify-Simple \
-                       www/fcgi \
-                       www/p5-libwww>=5.814 \
-                       www/p5-libapreq \
-                       www/p5-CGI-Compile \
-                       www/p5-FCGI-ProcManager \
-                       www/p5-HTTP-Body>=1.06 \
-                       www/p5-URI>=1.36
+BUILD_DEPENDS =        devel/p5-File-ShareDir-Install>=0.06
+
+RUN_DEPENDS =  devel/p5-Devel-StackTrace>=1.23 \
+               devel/p5-Devel-StackTrace-AsHTML>=0.11 \
+               devel/p5-File-ShareDir>=1.00 \
+               devel/p5-Hash-MultiValue>=0.05 \
+               devel/p5-Stream-Buffered>=0.02 \
+               devel/p5-Try-Tiny>=0 \
+               net/p5-Test-TCP>=2.00 \
+               sysutils/p5-Filesys-Notify-Simple>=0 \
+               www/p5-Apache-LogFormat-Compiler>=0.12 \
+               www/p5-HTTP-Body>=1.06 \
+               www/p5-HTTP-Message>=5.814 \
+               www/p5-URI>=1.59
+
+# Not required, but make it more useful
+RUN_DEPENDS += www/fcgi \
+               www/p5-libwww>=5.814 \
+               www/p5-CGI-Compile \
+               www/p5-FCGI-ProcManager
+
+TEST_DEPENDS = devel/p5-Test-Requires>=0

 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/p5-Plack/distinfo,v
retrieving revision 1.2
diff -u -p -u -r1.2 distinfo
--- distinfo    22 Jun 2011 05:36:49 -0000      1.2
+++ distinfo    4 Jan 2015 22:50:25 -0000
@@ -1,5 +1,2 @@
-MD5 (Plack-0.9980.tar.gz) = YweKu55MqGAXneTICKKpPw==
-RMD160 (Plack-0.9980.tar.gz) = 6vKbz8PzkMZXq21yDMjXe+xGb8M=
-SHA1 (Plack-0.9980.tar.gz) = JqFlbO02lQaO0+ZTk4kSt+HIY2w=
-SHA256 (Plack-0.9980.tar.gz) = RUuKyAAa/uYgMCbAaquttPVilBxVJB64ceLv+2EnjDI=
-SIZE (Plack-0.9980.tar.gz) = 235253
+SHA256 (Plack-1.0033.tar.gz) = vNh4S4JjvW1oR26dUub5iBm9TzMxRVytEu/+1jp4MiA=
+SIZE (Plack-1.0033.tar.gz) = 239206
Index: patches/patch-lib_Plack_App_File_pm
===================================================================
RCS file: patches/patch-lib_Plack_App_File_pm
diff -N patches/patch-lib_Plack_App_File_pm
--- patches/patch-lib_Plack_App_File_pm 10 Sep 2014 06:35:19 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,16 +0,0 @@
-$OpenBSD: patch-lib_Plack_App_File_pm,v 1.1 2014/09/10 06:35:19 jasper Exp $
-
-Security fix for CVE-2014-5269.
-https://github.com/plack/Plack/pull/446/files
-
---- lib/Plack/App/File.pm.orig Tue Sep  9 14:52:20 2014
-+++ lib/Plack/App/File.pm      Tue Sep  9 14:52:56 2014
-@@ -46,7 +46,7 @@ sub locate_file {
-     }
-
-     my $docroot = $self->root || ".";
--    my @path = split '/', $path;
-+ my @path = split '/', $path, -1; # -1 *MUST* be here to avoid security issues!
-     if (@path) {
-         shift @path if $path[0] eq '';
-     } else {
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/p5-Plack/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -r1.2 PLIST
--- pkg/PLIST   22 Jun 2011 05:36:49 -0000      1.2
+++ pkg/PLIST   4 Jan 2015 22:50:25 -0000
@@ -30,8 +30,8 @@ ${P5SITE}/Plack/Handler/FCGI.pm
 ${P5SITE}/Plack/Handler/HTTP/
 ${P5SITE}/Plack/Handler/HTTP/Server/
 ${P5SITE}/Plack/Handler/HTTP/Server/PSGI.pm
-${P5SITE}/Plack/Handler/HTTP/Server/Simple.pm
 ${P5SITE}/Plack/Handler/Standalone.pm
+${P5SITE}/Plack/LWPish.pm
 ${P5SITE}/Plack/Loader/
 ${P5SITE}/Plack/Loader.pm
 ${P5SITE}/Plack/Loader/Delayed.pm
@@ -55,6 +55,7 @@ ${P5SITE}/Plack/Middleware/ErrorDocument
 ${P5SITE}/Plack/Middleware/HTTPExceptions.pm
 ${P5SITE}/Plack/Middleware/Head.pm
 ${P5SITE}/Plack/Middleware/IIS6ScriptNameFix.pm
+${P5SITE}/Plack/Middleware/IIS7KeepAliveFix.pm
 ${P5SITE}/Plack/Middleware/JSONP.pm
 ${P5SITE}/Plack/Middleware/LighttpdScriptNameFix.pm
 ${P5SITE}/Plack/Middleware/Lint.pm
@@ -69,7 +70,6 @@ ${P5SITE}/Plack/Middleware/SimpleContent
 ${P5SITE}/Plack/Middleware/SimpleLogger.pm
 ${P5SITE}/Plack/Middleware/StackTrace.pm
 ${P5SITE}/Plack/Middleware/Static.pm
-${P5SITE}/Plack/Middleware/Writer.pm
 ${P5SITE}/Plack/Middleware/XFramework.pm
 ${P5SITE}/Plack/Middleware/XSendfile.pm
 ${P5SITE}/Plack/Request/
@@ -77,22 +77,7 @@ ${P5SITE}/Plack/Request.pm
 ${P5SITE}/Plack/Request/Upload.pm
 ${P5SITE}/Plack/Response.pm
 ${P5SITE}/Plack/Runner.pm
-${P5SITE}/Plack/Server/
-${P5SITE}/Plack/Server.pm
-${P5SITE}/Plack/Server/Apache1.pm
-${P5SITE}/Plack/Server/Apache2.pm
-${P5SITE}/Plack/Server/CGI.pm
-${P5SITE}/Plack/Server/FCGI.pm
-${P5SITE}/Plack/Server/README
-${P5SITE}/Plack/Server/ServerSimple.pm
-${P5SITE}/Plack/Server/Standalone/
-${P5SITE}/Plack/Server/Standalone.pm
-${P5SITE}/Plack/Server/Standalone/Prefork.pm
-${P5SITE}/Plack/TempBuffer/
 ${P5SITE}/Plack/TempBuffer.pm
-${P5SITE}/Plack/TempBuffer/Auto.pm
-${P5SITE}/Plack/TempBuffer/File.pm
-${P5SITE}/Plack/TempBuffer/PerlIO.pm
 ${P5SITE}/Plack/Test/
 ${P5SITE}/Plack/Test.pm
 ${P5SITE}/Plack/Test/MockHTTP.pm
@@ -127,8 +112,8 @@ ${P5SITE}/auto/share/dist/Plack/face.jpg
 @man man/man3p/Plack::Handler::CGI.3p
 @man man/man3p/Plack::Handler::FCGI.3p
 @man man/man3p/Plack::Handler::HTTP::Server::PSGI.3p
-@man man/man3p/Plack::Handler::HTTP::Server::Simple.3p
 @man man/man3p/Plack::Handler::Standalone.3p
+@man man/man3p/Plack::LWPish.3p
 @man man/man3p/Plack::Loader.3p
 @man man/man3p/Plack::Loader::Delayed.3p
 @man man/man3p/Plack::Loader::Restarter.3p
@@ -148,6 +133,7 @@ ${P5SITE}/auto/share/dist/Plack/face.jpg
 @man man/man3p/Plack::Middleware::HTTPExceptions.3p
 @man man/man3p/Plack::Middleware::Head.3p
 @man man/man3p/Plack::Middleware::IIS6ScriptNameFix.3p
+@man man/man3p/Plack::Middleware::IIS7KeepAliveFix.3p
 @man man/man3p/Plack::Middleware::JSONP.3p
 @man man/man3p/Plack::Middleware::LighttpdScriptNameFix.3p
 @man man/man3p/Plack::Middleware::Lint.3p
@@ -162,22 +148,12 @@ ${P5SITE}/auto/share/dist/Plack/face.jpg
 @man man/man3p/Plack::Middleware::SimpleLogger.3p
 @man man/man3p/Plack::Middleware::StackTrace.3p
 @man man/man3p/Plack::Middleware::Static.3p
-@man man/man3p/Plack::Middleware::Writer.3p
 @man man/man3p/Plack::Middleware::XFramework.3p
 @man man/man3p/Plack::Middleware::XSendfile.3p
 @man man/man3p/Plack::Request.3p
 @man man/man3p/Plack::Request::Upload.3p
 @man man/man3p/Plack::Response.3p
 @man man/man3p/Plack::Runner.3p
-@man man/man3p/Plack::Server.3p
-@man man/man3p/Plack::Server::Apache1.3p
-@man man/man3p/Plack::Server::Apache2.3p
-@man man/man3p/Plack::Server::CGI.3p
-@man man/man3p/Plack::Server::FCGI.3p
-@man man/man3p/Plack::Server::ServerSimple.3p
-@man man/man3p/Plack::Server::Standalone.3p
-@man man/man3p/Plack::Server::Standalone::Prefork.3p
-@man man/man3p/Plack::TempBuffer.3p
 @man man/man3p/Plack::Test.3p
 @man man/man3p/Plack::Test::MockHTTP.3p
 @man man/man3p/Plack::Test::Server.3p


--
C.

Reply via email to