Date: Wed, 27 Jul 2005 22:25:56 +0800 (CST) From: Yen-Ming Lee <leeym@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: toni.viemero@iki.fi Subject: ports/84171: [PATCH] www/p5-Apache-GopherHandler: update for mod_perl2 API Message-ID: <20050727142556.9CAE8B29CE2@utopia.leeym.com> Resent-Message-ID: <200507271430.j6REUHPa040787@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050727142556.9CAE8B29CE2>