ports/169452: [PATCH] www/p5-Mojolicious: update to 3.0
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Jun 26 16:10:08 UTC 2012
>Number: 169452
>Category: ports
>Synopsis: [PATCH] www/p5-Mojolicious: update to 3.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 26 16:10:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 9.0-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat Jun 23 18:28:28 CST 2012
>Description:
- Update to 3.0
- Remove LICENSE_FILE
- Add missing dependency
- Add OPTIONS: IPV6 and TLS
Changes: http://search.cpan.org/dist/Mojolicious/Changes
Note that this patch requires PR/169451.
Port maintainer (mopsfelder at gmail.com) is cc'd.
Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: CVS)
>How-To-Repeat:
>Fix:
--- p5-Mojolicious-3.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/p5-Mojolicious/Makefile,v
retrieving revision 1.25
diff -u -u -r1.25 Makefile
--- Makefile 19 May 2012 05:55:51 -0000 1.25
+++ Makefile 26 Jun 2012 15:52:46 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= Mojolicious
-PORTVERSION= 2.95
+PORTVERSION= 3.0
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,7 +15,12 @@
COMMENT= A high level MVC web framework written in Perl
LICENSE= ART20
-LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= p5-EV>=4:${PORTSDIR}/devel/p5-EV
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+OPTIONS_DEFINE= IPV6 TLS
+OPTIONS_DEFAULT=IPV6 TLS
PERL_CONFIGURE= 5.10.1+
@@ -30,14 +35,12 @@
Mojo::ByteStream.3 \
Mojo::Cache.3 \
Mojo::Collection.3 \
- Mojo::Command.3 \
Mojo::Content.3 \
Mojo::Content::MultiPart.3 \
Mojo::Content::Single.3 \
Mojo::Cookie.3 \
Mojo::Cookie::Request.3 \
Mojo::Cookie::Response.3 \
- Mojo::CookieJar.3 \
Mojo::DOM.3 \
Mojo::DOM::CSS.3 \
Mojo::DOM::HTML.3 \
@@ -77,9 +80,11 @@
Mojo::URL.3 \
Mojo::Upload.3 \
Mojo::UserAgent.3 \
+ Mojo::UserAgent::CookieJar.3 \
Mojo::UserAgent::Transactor.3 \
Mojo::Util.3 \
Mojolicious.3 \
+ Mojolicious::Command.3 \
Mojolicious::Command::cgi.3 \
Mojolicious::Command::cpanify.3 \
Mojolicious::Command::daemon.3 \
@@ -112,7 +117,6 @@
Mojolicious::Plugin::EPLRenderer.3 \
Mojolicious::Plugin::EPRenderer.3 \
Mojolicious::Plugin::HeaderCondition.3 \
- Mojolicious::Plugin::I18N.3 \
Mojolicious::Plugin::JSONConfig.3 \
Mojolicious::Plugin::Mount.3 \
Mojolicious::Plugin::PODRenderer.3 \
@@ -132,4 +136,17 @@
Test::Mojo.3 \
ojo.3
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MIPV6}
+CATEGORIES+= ipv6
+BUILD_DEPENDS+= p5-IO-Socket-IP>=0.16:${PORTSDIR}/net/p5-IO-Socket-IP
+RUN_DEPENDS+= p5-IO-Socket-IP>=0.16:${PORTSDIR}/net/p5-IO-Socket-IP
+.endif
+
+.if ${PORT_OPTIONS:MIPV6}
+BUILD_DEPENDS+= p5-IO-Socket-SSL>=1.75:${PORTSDIR}/security/p5-IO-Socket-SSL
+RUN_DEPENDS+= p5-IO-Socket-SSL>=1.75:${PORTSDIR}/security/p5-IO-Socket-SSL
+.endif
+
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/www/p5-Mojolicious/distinfo,v
retrieving revision 1.21
diff -u -u -r1.21 distinfo
--- distinfo 19 May 2012 05:55:51 -0000 1.21
+++ distinfo 26 Jun 2012 15:52:46 -0000
@@ -1,2 +1,2 @@
-SHA256 (Mojolicious-2.95.tar.gz) = 4b7de47d242586bdd27ef1a857cb474e55e70fa8f30e2bdc0d9c1b3a7a671919
-SIZE (Mojolicious-2.95.tar.gz) = 565612
+SHA256 (Mojolicious-3.0.tar.gz) = 7e5410930cc3698c7f7bf454785365c91279304708b2ad11465f7411c0fe29ca
+SIZE (Mojolicious-3.0.tar.gz) = 565469
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/www/p5-Mojolicious/pkg-plist,v
retrieving revision 1.18
diff -u -u -r1.18 pkg-plist
--- pkg-plist 19 May 2012 05:55:51 -0000 1.18
+++ pkg-plist 26 Jun 2012 15:52:46 -0000
@@ -10,14 +10,12 @@
%%SITE_PERL%%/Mojo/ByteStream.pm
%%SITE_PERL%%/Mojo/Cache.pm
%%SITE_PERL%%/Mojo/Collection.pm
-%%SITE_PERL%%/Mojo/Command.pm
%%SITE_PERL%%/Mojo/Content.pm
%%SITE_PERL%%/Mojo/Content/MultiPart.pm
%%SITE_PERL%%/Mojo/Content/Single.pm
%%SITE_PERL%%/Mojo/Cookie.pm
%%SITE_PERL%%/Mojo/Cookie/Request.pm
%%SITE_PERL%%/Mojo/Cookie/Response.pm
-%%SITE_PERL%%/Mojo/CookieJar.pm
%%SITE_PERL%%/Mojo/DOM.pm
%%SITE_PERL%%/Mojo/DOM/CSS.pm
%%SITE_PERL%%/Mojo/DOM/HTML.pm
@@ -32,6 +30,8 @@
%%SITE_PERL%%/Mojo/IOLoop/Delay.pm
%%SITE_PERL%%/Mojo/IOLoop/Server.pm
%%SITE_PERL%%/Mojo/IOLoop/Stream.pm
+%%SITE_PERL%%/Mojo/IOLoop/server.crt
+%%SITE_PERL%%/Mojo/IOLoop/server.key
%%SITE_PERL%%/Mojo/JSON.pm
%%SITE_PERL%%/Mojo/JSON/Pointer.pm
%%SITE_PERL%%/Mojo/Loader.pm
@@ -57,10 +57,12 @@
%%SITE_PERL%%/Mojo/URL.pm
%%SITE_PERL%%/Mojo/Upload.pm
%%SITE_PERL%%/Mojo/UserAgent.pm
+%%SITE_PERL%%/Mojo/UserAgent/CookieJar.pm
%%SITE_PERL%%/Mojo/UserAgent/Transactor.pm
%%SITE_PERL%%/Mojo/Util.pm
%%SITE_PERL%%/Mojo/entities.txt
%%SITE_PERL%%/Mojolicious.pm
+%%SITE_PERL%%/Mojolicious/Command.pm
%%SITE_PERL%%/Mojolicious/Command/cgi.pm
%%SITE_PERL%%/Mojolicious/Command/cpanify.pm
%%SITE_PERL%%/Mojolicious/Command/daemon.pm
@@ -93,7 +95,6 @@
%%SITE_PERL%%/Mojolicious/Plugin/EPLRenderer.pm
%%SITE_PERL%%/Mojolicious/Plugin/EPRenderer.pm
%%SITE_PERL%%/Mojolicious/Plugin/HeaderCondition.pm
-%%SITE_PERL%%/Mojolicious/Plugin/I18N.pm
%%SITE_PERL%%/Mojolicious/Plugin/JSONConfig.pm
%%SITE_PERL%%/Mojolicious/Plugin/Mount.pm
%%SITE_PERL%%/Mojolicious/Plugin/PODRenderer.pm
--- p5-Mojolicious-3.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list