On 2015-01-10 12:45, Stuart Henderson wrote:
On 2015/01/08 19:42, Cesare Gargano wrote:
Hi ports@!
Update to 0.4011.
Discussed and tested w/ MAINTAINER and afresh1@.
Tests pass on amd64 (and required-by).
This diff doesn't apply correctly.
|Index: Makefile
|===================================================================
|RCS file: /cvs/ports/www/p5-Starman/Makefile,v
|retrieving revision 1.3
|diff -u -r1.3 Makefile
|--- Makefile 19 Nov 2014 22:04:01 -0000 1.3
|+++ Makefile 8 Jan 2015 18:38:36 -0000
--------------------------
Patching file Makefile using Plan A...
Hunk #1 failed at 3.
Hunk #2 failed at 12.
2 out of 2 hunks failed--saving rejects to Makefile.rej
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|Index: distinfo
|===================================================================
|RCS file: /cvs/ports/www/p5-Starman/distinfo,v
|retrieving revision 1.1.1.1
|diff -u -r1.1.1.1 distinfo
|--- distinfo 7 Jan 2011 13:45:39 -0000 1.1.1.1
|+++ distinfo 8 Jan 2015 18:38:36 -0000
--------------------------
Patching file distinfo using Plan A...
patch: **** malformed patch at line 139:
Lq3/yEmFSIBZduPh8gfCcQWPAFk/qtZY0ZWurjDgjPE=
Hi!
Attached a new diff.
--
C.
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/p5-Starman/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- Makefile 19 Nov 2014 22:04:01 -0000 1.3
+++ Makefile 10 Jan 2015 12:07:13 -0000
@@ -3,7 +3,7 @@
COMMENT = high-performance preforking PSGI/Plack web server
MODULES = cpan
-DISTNAME = Starman-0.2007
+DISTNAME = Starman-0.4011
CATEGORIES = www
MAINTAINER = Abel Abraham Camarillo Ojeda <acam...@verlet.org>
@@ -12,16 +12,35 @@
CPAN_AUTHOR = MIYAGAWA
-BUILD_DEPENDS = ${RUN_DEPENDS}
+BUILD_DEPENDS = www/p5-libwww \
+ devel/p5-Module-Build-Tiny>=0.039 \
+ devel/p5-Test-Requires
+
RUN_DEPENDS = devel/p5-Data-Dump \
- devel/p5-Net-Server>=0.91 \
- net/p5-Server-Starter \
- net/p5-Net-Server-SS-PreFork \
- www/p5-Plack>=0.9931 \
+ www/p5-HTTP-Date \
+ www/p5-HTTP-Message \
www/p5-HTTP-Parser-XS \
+ devel/p5-Net-Server>=2.007 \
+ www/p5-Plack>=0.9971 \
+ net/p5-Server-Starter
+
+TEST_DEPENDS = www/p5-HTTP-Message \
+ devel/p5-Net-Server>=2.007 \
+ www/p5-Plack>=0.9971 \
+ devel/p5-Test-Requires \
+ net/p5-Test-TCP \
www/p5-libwww
-# XXX strange failure to find Test::More
-CONFIGURE_ARGS = --skipdeps
+CONFIGURE_STYLE = modbuild
+
+# Module::Build::Tiny like "--" prefix for CLI options
+do-install:
+ @cd ${WRKSRC} && perl \
+ ${MODPERL_BUILD} ${FAKE_TARGET} \
+ --destdir "${PREFIX}" \
+ --install_path lib="libdata/perl5/site_perl" \
+ --install_path=libdoc="man/man3p" \
+ --install_path=bindoc="man/man1" \
+ --install_path script="bin"
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/p5-Starman/distinfo,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 distinfo
--- distinfo 7 Jan 2011 13:45:39 -0000 1.1.1.1
+++ distinfo 10 Jan 2015 12:07:13 -0000
@@ -1,5 +1,2 @@
-MD5 (Starman-0.2007.tar.gz) = iwRw46KYRjfraWprRYqRPg==
-RMD160 (Starman-0.2007.tar.gz) = ivLx5a1IQuZVJ99NM+bbmaM48ew=
-SHA1 (Starman-0.2007.tar.gz) = nkbg8vRiMAt0THuRNZoaR1rSKOM=
-SHA256 (Starman-0.2007.tar.gz) = Lq3/yEmFSIBZduPh8gfCcQWPAFk/qtZY0ZWurjDgjPE=
-SIZE (Starman-0.2007.tar.gz) = 37287
+SHA256 (Starman-0.4011.tar.gz) = pyzfmWpkogT8BqqJqRDXPrzDlo9v6JzaI0+HbSL8Z4w=
+SIZE (Starman-0.4011.tar.gz) = 29311
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/p5-Starman/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- pkg/PLIST 7 Jan 2011 13:45:39 -0000 1.1.1.1
+++ pkg/PLIST 10 Jan 2015 12:07:13 -0000
@@ -9,5 +9,7 @@
${P5SITE}/Starman.pm
${P5SITE}/Starman/Server.pm
@man man/man1/starman.1
+@man man/man3p/HTTP::Server::PSGI::Net::Server::PreFork.3p
@man man/man3p/Plack::Handler::Starman.3p
@man man/man3p/Starman.3p
+@man man/man3p/Starman::Server.3p