Bug 77980 - New Port: www/p5-POE-Component-Server-HTTPServer. POE component to serve HTTP requests.
Summary: New Port: www/p5-POE-Component-Server-HTTPServer. POE component to serve HTTP...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Lars Thegler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-23 14:10 UTC by Zach Thompson
Modified: 2005-09-15 19:41 UTC (History)
0 users

See Also:


Attachments
p5-POCo-Server-HTTPServer (4.81 KB, text/plain)
2005-02-23 14:10 UTC, Zach Thompson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zach Thompson 2005-02-23 14:10:28 UTC
	POE::Component::Server::HTTPServer is yet another HTTP server module
for the POE framework with a slightly different tact than POCo::Server::HTTP.
Comment 1 Lars Thegler freebsd_committer freebsd_triage 2005-09-14 17:25:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lth

I'll handle this.
Comment 2 Lars Thegler freebsd_committer freebsd_triage 2005-09-14 17:25:23 UTC
State Changed
From-To: open->feedback

If you still want to submit this port, could you update it to the 
latest release, please?
Comment 3 hideo 2005-09-15 14:31:31 UTC
The new version now has a dependency on an as yet non-existent port that 
I have submitted: http://www.freebsd.org/cgi/query-pr.cgi?pr=86157
 
The diff is as follows:

diff -ruN p5-POE-Component-Server-HTTPServer-0.9.1/Makefile p5-POE-Component-Server-HTTPServer-0.9.2/Makefile
--- p5-POE-Component-Server-HTTPServer-0.9.1/Makefile   Wed Sep 14 17:11:22 2005
+++ p5-POE-Component-Server-HTTPServer-0.9.2/Makefile   Thu Sep 15 06:29:34 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=      POE-Component-Server-HTTPServer
-PORTVERSION=   0.9.1
+PORTVERSION=   0.9.2
 CATEGORIES=    www devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=    POE
@@ -19,6 +19,7 @@
                ${SITE_PERL}/HTTP/Message.pm:${PORTSDIR}/www/p5-libwww \
                ${SITE_PERL}/HTTP/Status.pm:${PORTSDIR}/www/p5-libwww \
                ${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/www/p5-libwww \
+               ${SITE_PERL}/HTML/Template/HashWrapper.pm:${PORTSDIR}/www/p5-HTML-Template-HashWrapper \
                ${SITE_PERL}/MIME/Types.pm:${PORTSDIR}/mail/p5-MIME-Types
 RUN_DEPENDS=   ${BUILD_DEPENDS}
 
diff -ruN p5-POE-Component-Server-HTTPServer-0.9.1/distinfo p5-POE-Component-Server-HTTPServer-0.9.2/distinfo
--- p5-POE-Component-Server-HTTPServer-0.9.1/distinfo   Wed Sep 14 17:11:22 2005
+++ p5-POE-Component-Server-HTTPServer-0.9.2/distinfo   Wed Sep 14 17:13:56 2005
@@ -1,2 +1,2 @@
-MD5 (POE-Component-Server-HTTPServer-0.9.1.tar.gz) = 02eb1e5d6b17613ba8dd016cd06dae96
-SIZE (POE-Component-Server-HTTPServer-0.9.1.tar.gz) = 14982
+MD5 (POE-Component-Server-HTTPServer-0.9.2.tar.gz) = 766c06301099868fca4bbc8bd5cb358d
+SIZE (POE-Component-Server-HTTPServer-0.9.2.tar.gz) = 15389
Comment 4 hideo 2005-09-15 19:06:25 UTC
Require perl > 5.8:

diff -ruN p5-POE-Component-Server-HTTPServer-0.9.2/Makefile p5-POE-Component-Server-HTTPServer-0.9.2-perl5.8/Makefile
--- p5-POE-Component-Server-HTTPServer-0.9.2/Makefile   Thu Sep 15 10:19:09 2005
+++ p5-POE-Component-Server-HTTPServer-0.9.2-perl5.8/Makefile   Thu Sep 15 11:52:58 2005
@@ -13,7 +13,7 @@
 PKGNAMEPREFIX= p5-
 
 MAINTAINER=    lin-chi@lastamericanempire.com
-COMMENT=       POE Component to server HTTP requests 
+COMMENT=       POE Component to server HTTP requests
 
 BUILD_DEPENDS= ${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
                ${SITE_PERL}/HTTP/Message.pm:${PORTSDIR}/www/p5-libwww \
@@ -36,13 +36,8 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${PERL_LEVEL} < 500600
-post-patch:
-       @${PERL} -pi -e 's/^our\s+(\S+)(\s+=[^;]+);$$/use vars qw($$1);\n$$1$$2;/o;' \
-               -e 's/^our\s+(\S+);$$/use vars qw($$1);/o;' \
-               ${WRKSRC}/lib/POE/Component/Server/HTTPServer.pm \
-               ${WRKSRC}/lib/POE/Component/Server/HTTPServer/Handler.pm \
-               ${WRKSRC}/lib/POE/Component/Server/HTTPServer/NotFoundHandler.pm
+.if ${PERL_LEVEL} < 500800
+IGNORE=                requires perl 5.8.x or later. Install lang/perl5.8 then try again
 .endif
 
 .include <bsd.port.post.mk>
Comment 5 Lars Thegler freebsd_committer freebsd_triage 2005-09-15 19:41:37 UTC
State Changed
From-To: feedback->closed

New port added, thanks!