Update p5-Mojo to 5.58, one of the interim updates was an "emergency release

for a serious security issue that can result in parameter injection attacks,
everybody should update!". From Mark Patruck, ok nigel@

Freshen DESCR/COMMENT while there.
This commit is contained in:
sthen 2014-11-07 11:13:09 +00:00
parent d88991e3af
commit 08a790d0a2
4 changed files with 22 additions and 32 deletions

View File

@ -1,13 +1,11 @@
# $OpenBSD: Makefile,v 1.13 2014/05/15 22:30:08 bluhm Exp $
# $OpenBSD: Makefile,v 1.14 2014/11/07 11:13:09 sthen Exp $
COMMENT = next generation web framework
COMMENT = next generation web framework for Perl
MODULES = cpan
DISTNAME = Mojolicious-4.99
DISTNAME = Mojolicious-5.58
CATEGORIES = www
MAINTAINER = Simon Bertrang <simon@openbsd.org>
# Perl
PERMIT_PACKAGE_CDROM = Yes
@ -22,9 +20,7 @@ RUN_DEPENDS = devel/p5-EV \
MAKE_ENV += TEST_CACHING=Yes
MAKE_ENV += TEST_EV=Yes
MAKE_ENV += TEST_HYPNOTOAD=Yes
MAKE_ENV += TEST_IPV6=Yes
MAKE_ENV += TEST_MORBO=Yes
MAKE_ENV += TEST_ONLINE=Yes
MAKE_ENV += TEST_POD=Yes
MAKE_ENV += TEST_PREFORK=Yes
MAKE_ENV += TEST_TLS=Yes

View File

@ -1,2 +1,2 @@
SHA256 (Mojolicious-4.99.tar.gz) = oc2usV+fawcyZxVzku5QhiTkGD/cFvqOXaOiNXoPtyg=
SIZE (Mojolicious-4.99.tar.gz) = 633846
SHA256 (Mojolicious-5.58.tar.gz) = y6jqznI0io7mflQiiS9Aa30xupmVFueVwnVYxt5b9o4=
SIZE (Mojolicious-5.58.tar.gz) = 653136

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-lib_Mojo_IOLoop_Server_pm,v 1.1 2014/05/15 22:30:08 bluhm Exp $
https://github.com/kraih/mojo/issues/622
--- lib/Mojo/IOLoop/Server.pm.orig Sun May 11 20:27:28 2014
+++ lib/Mojo/IOLoop/Server.pm Tue May 13 23:04:55 2014
@@ -127,7 +127,7 @@ sub _accept {
# Start TLS handshake
$self->emit_safe(accept => $handle) and next unless my $tls = $self->{tls};
$self->_handshake($self->{handles}{$handle} = $handle)
- if $handle = IO::Socket::SSL->start_SSL($handle, %$tls);
+ if $handle = IO::Socket::SSL->start_SSL($handle, %$tls, SSL_server => 1);
}
}

View File

@ -1,10 +1,18 @@
Mojolicious is a MVC web framework that supports following features:
Mojolicious is a real-time web framework, allowing you to easily grow
single file prototypes into well-structured web applications.
* Full stack HTTP 1.1 and WebSocket client/server implementation with IPv6,
TLS, Bonjour, IDNA, Comet (long polling), chunking and multipart support.
* Builtin async IO web server supporting epoll, kqueue, UNIX domain sockets
and hot deployment, perfect for embedding.
* Automatic CGI, FastCGI and PSGI detection.
* JSON and XML/HTML5 parser with CSS3 selector support.
* Very clean, portable and Object Oriented pure Perl API without any hidden
magic
Powerful out of the box with RESTful routes, plugins, commands, Perl-ish
templates, content negotiation, session management, form validation,
testing framework, static file server, first class Unicode support and
much more for you to discover.
Full stack HTTP and WebSocket client/server implementation with IPv6, TLS,
SNI, IDNA, HTTP/SOCKS5 proxy, Comet (long polling), keep-alive, connection
pooling, timeout, cookie, multipart and gzip compression support.
Built-in non-blocking I/O web server, supporting multiple event loops as
well as optional preforking and hot deployment, perfect for embedding.
Automatic CGI and PSGI detection.
JSON and HTML/XML parser with CSS selector support.