Update to p5-Plack-1.0033.

from Cesare Gargano, maintainer timeout, ok afresh1@
This commit is contained in:
benoit 2015-01-18 13:13:37 +00:00
parent ec48beed94
commit 38893cfc78
4 changed files with 31 additions and 67 deletions

View File

@ -1,32 +1,36 @@
# $OpenBSD: Makefile,v 1.7 2014/12/25 15:53:29 millert Exp $
# $OpenBSD: Makefile,v 1.8 2015/01/18 13:13:37 benoit Exp $
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 <acamari@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>

View File

@ -1,2 +1,2 @@
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

View File

@ -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 {

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2011/06/22 05:36:49 rpointel Exp $
@comment $OpenBSD: PLIST,v 1.3 2015/01/18 13:13:37 benoit Exp $
bin/plackup
${P5SITE}/HTTP/Message/
${P5SITE}/HTTP/Message/PSGI.pm
@ -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.pm
${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/SimpleContentFilter.pm
${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