Hello ports@,
I think it might be bad timing (saw naddy@'s email about slowing down)
but I've been using Mojolicious 9.31 locally for the last ~2 weeks,
without noticing anything wrong. I didn't send a patch yet because I
was waiting on a PR to get merged, fixing the tests for SNI. I can
understand the port being delayed until after 7.3. It's 3 years of
development; I'm not posting release notes. Check [0] for details.
Anyways, here's the patch. I take MAINTAINER. I removed the minimum
version indicators from deps' pkgpaths.
Of special notice, I'm pulling Future::AsyncAwait as a new test dep that
might also be useful on itself, and that pulls Future and
XS::Keyword::Sublike as deps, and Test::Refcount as a test dep. The 4
ports are attached in a single tarball, to be extracted on /usr/ports.
They're not truly required for Mojolicious update itself, so it can be
removed from the current iteration of the port and left for after 7.3.
The following packages depend on Mojolicious:
- audio/abcde: NO_TEST=Yes
- databases/p5-Mojo-Pg: tests pass
- databases/p5-Mojo-SQLite: tests pass
- multimedia/get_iplayer: NO_TEST=Yes
- security/p5-Mojolicious-Plugin-Authentication: tests fail. Currently
at 1.37; release 1.38 includes the following in the release notes:
"Fixed an issue that made the test suite fail with Mojolicious 9.25."
So, I made a small patch for 1.39 and tests passed. The diff is
included, as no other ports depends on it.
- textproc/p5-Mojolicious-Plugin-TtRenderer: tests pass
- www/p5-MojoX-Session: tests pass
- www/p5-Mojolicious-Plugin-AccessLog: tests pass
- www/p5-Mojolicious-Plugin-Thumbnail: tests pass
- www/p5-WebService-MusicBrainz: tests fail because they're online.
After allowing _pbuild to send outbound traffic, tests pass.
[0]: https://raw.githubusercontent.com/mojolicious/mojo/v9.31/Changes
-Lucas
diff refs/heads/master refs/heads/mojolicious-9.31
commit - a71abb2e2581752c72278159d80961e4b8285476
commit + c9f75a0eb719e1dfaab97e15344f551d7e7b5df6
blob - 7c87e4959795c74c3f143eb03f5276a2be527605
blob + 414f440352bb115f0e88e9284e2c9af7f6517ce6
--- security/p5-Mojolicious-Plugin-Authentication/Makefile
+++ security/p5-Mojolicious-Plugin-Authentication/Makefile
@@ -2,7 +2,7 @@ DISTNAME = Mojolicious-Plugin-Authentication-1.37
MODULES = cpan
PKG_ARCH = *
-DISTNAME = Mojolicious-Plugin-Authentication-1.37
+DISTNAME = Mojolicious-Plugin-Authentication-1.39
CATEGORIES = security
# Perl
blob - 8632368ef3b2f3d80a0acdef8270fc1a5c623be7
blob + c4caf43ff1b3dbdcd7cb53860c5f63a3cd46c6df
--- security/p5-Mojolicious-Plugin-Authentication/distinfo
+++ security/p5-Mojolicious-Plugin-Authentication/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Mojolicious-Plugin-Authentication-1.37.tar.gz) = p+0gZyW3s5XU/KEuPx2SPaZE2RMzP/SOojHgZOyxq7Y=
-SIZE (Mojolicious-Plugin-Authentication-1.37.tar.gz) = 27712
+SHA256 (Mojolicious-Plugin-Authentication-1.39.tar.gz) = n5nL31ysqj+j+WG+6U3pcibRd6NqFee6MDrnnRModNE=
+SIZE (Mojolicious-Plugin-Authentication-1.39.tar.gz) = 27979
blob - 8f95a7a4b1af3814c50839352bfa8041742df8e5
blob + 050fa2cc9945f2d0afccc236df4e615ae1edae84
--- www/p5-Mojo/Makefile
+++ www/p5-Mojo/Makefile
@@ -2,32 +2,44 @@ DISTNAME = Mojolicious-8.22
MODULES = cpan
PKG_ARCH = *
-DISTNAME = Mojolicious-8.22
-REVISION = 0
+DISTNAME = Mojolicious-9.31
CATEGORIES = www
+MAINTAINER = Lucas <lucas@sexy.is>
+DIST_SUBDIR = Mojolicious
+
+MASTER_SITES0 = https://github.com/mojolicious/mojo/commit/
+# Pending "Fix SNI tests for LibreSSL"
+# https://github.com/mojolicious/mojo/pull/2041
+PATCHFILES += fix-sni-tests-{}c30f33aa0dde.patch:0
+
+PATCH_DIST_STRIP = -p1
+
# Perl
-PERMIT_PACKAGE = Yes
+PERMIT_PACKAGE = Yes
HOMEPAGE = https://mojolicious.org/
RUN_DEPENDS = devel/p5-EV \
- security/p5-IO-Socket-SSL>=1.94
+ security/p5-IO-Socket-SSL
-TEST_DEPENDS += net/p5-IO-Socket-Socks \
- devel/p5-Role-Tiny>=2.000001 \
- converters/p5-Cpanel-JSON-XS>=4.04
+TEST_DEPENDS += converters/p5-Cpanel-JSON-XS \
+ devel/p5-Future-AsyncAwait \
+ devel/p5-Role-Tiny \
+ net/p5-IO-Socket-Socks
+# All but TEST_ONLINE, which, well, is online.
+MAKE_ENV += TEST_ASYNC_AWAIT=Yes
MAKE_ENV += TEST_EV=Yes
MAKE_ENV += TEST_HYPNOTOAD=Yes
-MAKE_ENV += TEST_IPV6=YES
+MAKE_ENV += TEST_IPV6=Yes
MAKE_ENV += TEST_MORBO=Yes
MAKE_ENV += TEST_POD=Yes
MAKE_ENV += TEST_PREFORK=Yes
-MAKE_ENV += TEST_SOCKS=YES
+MAKE_ENV += TEST_SOCKS=Yes
MAKE_ENV += TEST_SUBPROCESS=Yes
-MAKE_ENV += TEST_TLS=YES
-MAKE_ENV += TEST_UNIX=YES
+MAKE_ENV += TEST_TLS=Yes
+MAKE_ENV += TEST_UNIX=Yes
# see pkg/README for certificate handling
post-install:
blob - b21f6ad6d09a74b3be4d1f4a8c69924d1b48960d
blob + 6878a56790f27b09abd468e9a8248675c3c31c00
--- www/p5-Mojo/distinfo
+++ www/p5-Mojo/distinfo
@@ -1,2 +1,4 @@
-SHA256 (Mojolicious-8.22.tar.gz) = huNKUPfa63r0NlXXs7/kO7CRJCFr+vMBbm/ZdcPySFQ=
-SIZE (Mojolicious-8.22.tar.gz) = 764431
+SHA256 (Mojolicious/Mojolicious-9.31.tar.gz) = y5bM16UxkyHsb1djPIi/Fxk9RRafTXhG2iVLtvntgxI=
+SHA256 (Mojolicious/fix-sni-tests-c30f33aa0dde.patch) = Peb16CfKPYQMfSMFaUZwculccEB2JCTqHx2q4OV1wU4=
+SIZE (Mojolicious/Mojolicious-9.31.tar.gz) = 853175
+SIZE (Mojolicious/fix-sni-tests-c30f33aa0dde.patch) = 17558
blob - 4f066fb2287afdd87ef6c4e638035513f88862f8
blob + 6640fa35b867e150245175acf13177263b0ac12e
--- www/p5-Mojo/pkg/PLIST
+++ www/p5-Mojo/pkg/PLIST
@@ -35,7 +35,6 @@ ${P5SITE}/Mojo/IOLoop/Delay.pm
${P5SITE}/Mojo/IOLoop/
${P5SITE}/Mojo/IOLoop.pm
${P5SITE}/Mojo/IOLoop/Client.pm
-${P5SITE}/Mojo/IOLoop/Delay.pm
${P5SITE}/Mojo/IOLoop/Server.pm
${P5SITE}/Mojo/IOLoop/Stream.pm
${P5SITE}/Mojo/IOLoop/Subprocess.pm
@@ -84,6 +83,8 @@ ${P5SITE}/Mojolicious/
${P5SITE}/Mojo/UserAgent/Transactor.pm
${P5SITE}/Mojo/Util.pm
${P5SITE}/Mojo/WebSocket.pm
+${P5SITE}/Mojo/resources/
+${P5SITE}/Mojo/resources/html_entities.txt
${P5SITE}/Mojolicious/
${P5SITE}/Mojolicious.pm
${P5SITE}/Mojolicious/Command/
@@ -93,6 +94,7 @@ ${P5SITE}/Mojolicious/Command/Author/generate/lite_app
${P5SITE}/Mojolicious/Command/Author/generate/
${P5SITE}/Mojolicious/Command/Author/generate.pm
${P5SITE}/Mojolicious/Command/Author/generate/app.pm
+${P5SITE}/Mojolicious/Command/Author/generate/dockerfile.pm
${P5SITE}/Mojolicious/Command/Author/generate/lite_app.pm
${P5SITE}/Mojolicious/Command/Author/generate/makefile.pm
${P5SITE}/Mojolicious/Command/Author/generate/plugin.pm
@@ -127,6 +129,7 @@ ${P5SITE}/Mojolicious/Plugin/TagHelpers.pm
${P5SITE}/Mojolicious/Plugin/HeaderCondition.pm
${P5SITE}/Mojolicious/Plugin/JSONConfig.pm
${P5SITE}/Mojolicious/Plugin/Mount.pm
+${P5SITE}/Mojolicious/Plugin/NotYAMLConfig.pm
${P5SITE}/Mojolicious/Plugin/TagHelpers.pm
${P5SITE}/Mojolicious/Plugins.pm
${P5SITE}/Mojolicious/Renderer.pm
@@ -145,27 +148,29 @@ ${P5SITE}/Mojolicious/resources/public/mojo/failraptor
${P5SITE}/Mojolicious/resources/public/
${P5SITE}/Mojolicious/resources/public/favicon.ico
${P5SITE}/Mojolicious/resources/public/mojo/
+${P5SITE}/Mojolicious/resources/public/mojo/bootstrap/
+${P5SITE}/Mojolicious/resources/public/mojo/bootstrap/bootstrap.css
+${P5SITE}/Mojolicious/resources/public/mojo/bootstrap/bootstrap.js
${P5SITE}/Mojolicious/resources/public/mojo/failraptor.png
+${P5SITE}/Mojolicious/resources/public/mojo/highlight.js/
+${P5SITE}/Mojolicious/resources/public/mojo/highlight.js/highlight-mojo-dark.css
+${P5SITE}/Mojolicious/resources/public/mojo/highlight.js/highlight.min.js
+${P5SITE}/Mojolicious/resources/public/mojo/highlight.js/mojolicious.min.js
${P5SITE}/Mojolicious/resources/public/mojo/jquery/
${P5SITE}/Mojolicious/resources/public/mojo/jquery/jquery.js
-${P5SITE}/Mojolicious/resources/public/mojo/logo-black-2x.png
-${P5SITE}/Mojolicious/resources/public/mojo/logo-black.png
${P5SITE}/Mojolicious/resources/public/mojo/logo-white-2x.png
${P5SITE}/Mojolicious/resources/public/mojo/logo-white.png
${P5SITE}/Mojolicious/resources/public/mojo/logo.png
+${P5SITE}/Mojolicious/resources/public/mojo/mojo.css
${P5SITE}/Mojolicious/resources/public/mojo/noraptor.png
${P5SITE}/Mojolicious/resources/public/mojo/notfound.png
${P5SITE}/Mojolicious/resources/public/mojo/pinstripe-dark.png
${P5SITE}/Mojolicious/resources/public/mojo/pinstripe-light.png
-${P5SITE}/Mojolicious/resources/public/mojo/prettify/
-${P5SITE}/Mojolicious/resources/public/mojo/prettify/prettify-mojo-dark.css
-${P5SITE}/Mojolicious/resources/public/mojo/prettify/run_prettify.js
${P5SITE}/Mojolicious/resources/templates/
${P5SITE}/Mojolicious/resources/templates/mojo/
${P5SITE}/Mojolicious/resources/templates/mojo/debug.html.ep
${P5SITE}/Mojolicious/resources/templates/mojo/exception.html.ep
${P5SITE}/Mojolicious/resources/templates/mojo/not_found.html.ep
-${P5SITE}/Test/
${P5SITE}/Test/Mojo.pm
${P5SITE}/ojo.pm
@man man/man1/hypnotoad.1
@@ -198,7 +203,6 @@ ${P5SITE}/ojo.pm
@man man/man3p/Mojo::Home.3p
@man man/man3p/Mojo::IOLoop.3p
@man man/man3p/Mojo::IOLoop::Client.3p
-@man man/man3p/Mojo::IOLoop::Delay.3p
@man man/man3p/Mojo::IOLoop::Server.3p
@man man/man3p/Mojo::IOLoop::Stream.3p
@man man/man3p/Mojo::IOLoop::Subprocess.3p
@@ -243,6 +247,7 @@ ${P5SITE}/ojo.pm
@man man/man3p/Mojolicious::Command::Author::cpanify.3p
@man man/man3p/Mojolicious::Command::Author::generate.3p
@man man/man3p/Mojolicious::Command::Author::generate::app.3p
+@man man/man3p/Mojolicious::Command::Author::generate::dockerfile.3p
@man man/man3p/Mojolicious::Command::Author::generate::lite_app.3p
@man man/man3p/Mojolicious::Command::Author::generate::makefile.3p
@man man/man3p/Mojolicious::Command::Author::generate::plugin.3p
@@ -275,6 +280,7 @@ ${P5SITE}/ojo.pm
@man man/man3p/Mojolicious::Plugin::HeaderCondition.3p
@man man/man3p/Mojolicious::Plugin::JSONConfig.3p
@man man/man3p/Mojolicious::Plugin::Mount.3p
+@man man/man3p/Mojolicious::Plugin::NotYAMLConfig.3p
@man man/man3p/Mojolicious::Plugin::TagHelpers.3p
@man man/man3p/Mojolicious::Plugins.3p
@man man/man3p/Mojolicious::Renderer.3p
No comments:
Post a Comment