A next generation web framework for the Perl programming language; duct
tape for the HTML5 web.
An amazing real-time web framework, allowing you to easily grow single file
prototypes into well-structured web applications.
Powerful out of the box with RESTful routes, plugins, commands, Perl-ish
templates, content negotiation, session management, form validation, testing
framework, static file server, CGI/PSGI detection, 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 building highly scalable
web services.
JSON and HTML/XML parser with CSS selector support.
===> The following configuration options are available for p5-Mojolicious-9.49:
EV=on: High-performance event loop via p5-EV
JSONXS=off: High-performance JSON parsing via p5-Cpanel-JSON-XS
TLS=on: Secure network connection support via TLS
===> Use 'make config' to modify these settings
Update to 7.04.
- Added EXPERIMENTAL support for performing computationally expensive
operations in subprocesses, without blocking the event loop. (jberger, sri)
- Added EXPERIMENTAL module Mojo::IOLoop::Subprocess. (jberger, sri)
- Added EXPERIMENTAL subprocess method to Mojo::IOLoop. (jberger, sri)
- Improved many methods in Mojolicious::Controller to die more gracefully if
the connection has already been closed.
- Fixed bug where Mojo::UserAgent would try to follow redirects for CONNECT
requests.
In r419482, which made the p5-IO-Socket-IP dependency conditional, I forgot
to remove the hard dependency on it. This commit fixes that, but requires
bumping PORTREVISION again due to the dependency change.
While here, remove the ipv6 category assignment. It's not widely used,
and Mojolicious supports IPv6 when used with modern Perl.
Only depend on p5-IO-Socket-IP if necessary. PORTREVISION bump for
possible dependency change.
IO::Socket::IP is in core (as is its dependency, Socket). On reasonably
new versions of Perl (i.e. anything newer than FreeBSD's default),
the version of those modules in core is sufficient.
At this point, likely any hard dependency on p5-IO-Socket-IP or
p5-Socket is probably wrong.
Update to 7.0. Read below for potentially breaking changes.
- Code name "Doughnut", this is a major release.
- Removed Mojolicious::Plugin::Charset.
- Removed authority method from Mojo::URL.
- Removed squish method from Mojo::ByteStream.
- Removed squish function from Mojo::Util.
- Removed support for smart whitespace trimming from all_text and text methods
in Mojo::DOM.
- Updated jQuery to version 3.1.0.
- Improved Mojo::URL not to include the userinfo part when generating URLs, as
recommended by the URL Living Standard.
- Improved Mojolicious::Plugin::Config to no longer log which files have been
loaded.
- Fixed trailing slash bug in Mojo::URL.
- Fixed a few whitespace bugs in Mojo::DOM.
- Fixed attribute selector bug in Mojo::DOM::CSS. (Akron)
- Fixed a bug causing headers with zero length values to be ignored by the get
command. (jberger)
Turn the EV dependency into an OPTION, and default it to on. Mojolicious
works just fine without EV.
Also, the distfile has finally shown up in by-module so remove the
MASTER_SITE_SUBDIR line.
No PORTREVISION bump because the generated package won't change.
Update to 6.33. Adjust IO::Socket::IP dependency.
Fix grammar nit in COMMENT, and rewrite pkg-descr to be more
descriptive, using mojo's own marketing blurbs.
Take maintainership of this port.
Changes: https://metacpan.org/changes/distribution/Mojolicious
Make it so that the default Perl is always called perl5.
- Move Perl's man1 files along with its man3 files.
- Move where Perl installs its modules man1 pages.
- Convert the ports installing man1 pages.
- Make different Perl versions installable at the same time.
Though you should note that only the default version can be used to
install Perl modules, and the non default Perl versions cannot use the
modules installed via ports if they contain .so as they are installed
in a version specific directory.
Reviewed by: bapt (the Mk bits)
Exp-run by: antoine
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3542
Update to 6.10.
PLEASE NOTE: there is an important change here:
- Removed support for user/group switching, because it never worked
correctly, which means that this security feature has become an attack
vector itself. If you depend on this functionality, you can now use the
(www/p5-Mojolicious-Plugin-SetUserGroup) instead.
Changes: https://metacpan.org/changes/release/SRI/Mojolicious-6.10
Also, while here, re-order two lines because it looks better this way and
it was killing my OCD before.
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above )