ports/84171: [PATCH] www/p5-Apache-GopherHandler: update for mod_perl2 API
Yen-Ming Lee
leeym at FreeBSD.org
Wed Jul 27 14:30:22 UTC 2005
>Number: 84171
>Category: ports
>Synopsis: [PATCH] www/p5-Apache-GopherHandler: update for mod_perl2 API
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Jul 27 14:30:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.4-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun Jul 17 07:50:25 CST 2005
>Description:
- update for mod_perl2 API and unbreak
Added file(s):
- files/patch-lib-Apache-GopherHandler.pm
Port maintainer (toni.viemero at iki.fi) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- p5-Apache-GopherHandler-0.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/p5-Apache-GopherHandler/Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 Makefile
--- Makefile 23 Jul 2005 02:53:40 -0000 1.3
+++ Makefile 27 Jul 2005 14:25:23 -0000
@@ -15,23 +15,19 @@
MAINTAINER= toni.viemero at iki.fi
COMMENT= Gopher protocol implementation for Apache2
-RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache2/mod_perl.pm:${PORTSDIR}/www/mod_perl2 \
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/www/mod_perl2 \
${SITE_PERL}/Gopher/Server/ParseRequest.pm:${PORTSDIR}/net/p5-Gopher-Server
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_MODBUILD= yes
-BROKEN= Broken due the new mod_perl2 API
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE=2005-09-22
-
MAN3= Apache::GopherHandler.3 \
Apache::GopherHandler::TiedSocket.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
-IGNORE= "Needs perl 5.6.0 or higher, install lang/perl5 or lang/perl5.8 and try again"
+IGNORE= Needs perl 5.6.0 or higher, install lang/perl5 or lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>
Index: files/patch-lib-Apache-GopherHandler.pm
===================================================================
RCS file: files/patch-lib-Apache-GopherHandler.pm
diff -N files/patch-lib-Apache-GopherHandler.pm
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-lib-Apache-GopherHandler.pm 27 Jul 2005 14:25:23 -0000
@@ -0,0 +1,23 @@
+--- lib/Apache/GopherHandler.pm.orig Tue Jul 26 16:19:15 2005
++++ lib/Apache/GopherHandler.pm Tue Jul 26 16:19:33 2005
+@@ -5,9 +5,9 @@
+
+ our $VERSION = 0.1;
+
+-use Apache::Connection ();
++use Apache2::Connection ();
+ use APR::Socket ();
+-use Apache::Const -compile => 'OK';
++use Apache2::Const -compile => 'OK';
+ use Gopher::Server::ParseRequest;
+ #use Gopher::Server::RequestHandler::File;
+ use Apache::GopherHandler::TiedSocket;
+@@ -54,7 +54,7 @@
+ tie *OUT, 'Apache::GopherHandler::TiedSocket' => $socket;
+ $response->print_to( *OUT );
+
+- return Apache::OK;
++ return Apache2::Const::OK;
+ }
+
+ 1;
--- p5-Apache-GopherHandler-0.1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list