Hi

The following diff brings Mojolicious to version 5.39. In addition I
removed the maintainer (not active for this port since couple of years).

There is one issue with the user_agent_online tests (activated by env 
TEST_ONLINE). 6 test (3 scenarios) fail. These test the URLs:
    http://localhost:random_port
    http://127.0.0.1:random_port
    http://[::1]:random_port

This problem can be reproduced with the mojo command:
remi@mistral:~% mojo get http://127.0.0.1:55743
Mojo::Reactor::EV: Write failed: Can't call method "on" on an undefined 
value at /usr/local/libdata/perl5/site_perl/Mojo/UserAgent.pm line 124.

There was allready a (different) failure with Mojolicious 4.66 on OpenBSD 5.5:
remi@typhoon$ mojo get http://localhost:44568
Mojo::Reactor::EV: Write failed: Mojo::UserAgent: Event "connect" failed: 
addr is not a string at /usr/local/libdata/perl5/site_perl/IO/Socket/IP.pm 
line 678.
Problem loading URL "http://localhost:44568";. (Premature connection close)

I tried the same on a Linux CentOS5 box I have access to with Perl 5.18.1
and Mojolicious 5.39 and got the expected result:
rlochere@tux-05$ mojo get http://localhost:34589
Problem loading URL "http://localhost:34589";. (Connection refused)

URLs different from localhost work as expected.

Can somebody with more OpenBSD specific Perl knowledge help?

Remi


cvs diff: Diffing .
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/p5-Mojo/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile    15 May 2014 22:30:08 -0000      1.13
+++ Makefile    10 Sep 2014 16:27:02 -0000
@@ -3,10 +3,8 @@
 COMMENT =      next generation web framework
 
 MODULES =      cpan
-DISTNAME =     Mojolicious-4.99
+DISTNAME =     Mojolicious-5.39
 CATEGORIES =   www
-
-MAINTAINER =   Simon Bertrang <si...@openbsd.org>
 
 # Perl
 PERMIT_PACKAGE_CDROM =         Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/p5-Mojo/distinfo,v
retrieving revision 1.10
diff -u -p -r1.10 distinfo
--- distinfo    15 May 2014 22:30:08 -0000      1.10
+++ distinfo    9 Sep 2014 19:42:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (Mojolicious-4.99.tar.gz) = oc2usV+fawcyZxVzku5QhiTkGD/cFvqOXaOiNXoPtyg=
-SIZE (Mojolicious-4.99.tar.gz) = 633846
+SHA256 (Mojolicious-5.39.tar.gz) = DN/BdfERJXhAMQudPOASqaILGi2frIUhDYiWxv90BsA=
+SIZE (Mojolicious-5.39.tar.gz) = 650269

Reply via email to