c65bc363b8
* Improved documentation for mod_perl. * Many bugfixes. * Apache::Server->loglevel can now be modified * allow $r->finfo to be modified * include mod_perl hook/feature config and pod in Apache::MyConfig * prevent $PerlRequire in a <Perl> section from triggering an endless loop * allow modification of $r->hostname * new Apache::test::static_modules() method * add proper offset support to Apache::read * change Apache::PerlRun's Apache class relationship from is-a to has-a * Apache::SubRequest->run(1) allows ap_send_http_headers() to output for subrequests * Apache::{Registry,PerlRun} will now log an error if $filename is NOT_FOUND * make extra sure Apache::Constants::AUTOLOAD does not recurse looking for sub __AUTOLOAD * $r->get_basic_auth_pw and $r->note_basic_auth_failure will default $r->auth_type to "Basic" if not already set * $r->auth_type is now writeable, e.g. $r->auth_type("Basic") * added Apache::user method * disable r->proxyreq checking unless PerlTransHandler is enabled and configured * PerlAddVar is now an ITERATE2 directive rather than TAKE2 * added Apache::Server::error_fname method * avoid duplicate buffer copy in {read,get}_client_block by reading directly into Perl's SV buffer * switch usage of hard_timeout() to soft_timeout(), so if SIGALRM happens during Apache::{print,read}, the script will continue run, allowing proper cleanup (e.g. DESTROY) * add PerlCleanupHandler to the {get,set}_handlers table * quotemeta path_info in Registry regexp * flush r->finfo cache if r->filename fails * backed out $Apache::Server::ConfigTestOnly until proper Apache support is in place * Apache::ExtUtils will now generate an END routine to call ap_remove_module() * rename Apache::{PerlRun,RegistryNG}::update_mtime to set_mtime, so Apache::update_mtime is not overridden * constant 'DECLINED' wasn't imported by Apache::RegistryBB * Apache::Resource was not converting PERL_RLIMIT_AS to MB values
34 lines
935 B
Makefile
34 lines
935 B
Makefile
# $NetBSD: Makefile,v 1.11 2001/02/02 16:41:52 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= mod_perl-1.25
|
|
PKGNAME= ap-perl-1.25
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Apache/} \
|
|
http://perl.apache.org/dist/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://perl.apache.org/
|
|
|
|
DEPENDS+= libperl-{5.0*,5.6.0nb*,5.[6-9]*}:../../lang/libperl
|
|
DEPENDS+= apache{,6}-1.3.*:../../www/apache
|
|
|
|
USE_PERL5= # defined
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/mod_perl/.packlist
|
|
|
|
MAKE_PARAMS+= USE_APXS=1
|
|
MAKE_PARAMS+= WITH_APXS=${PREFIX}/sbin/apxs
|
|
MAKE_PARAMS+= EVERYTHING=1
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/htdocs/manual/mod/mod_perl.html \
|
|
${PREFIX}/share/httpd/htdocs/manual/mod
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
.if exists(${PERL5_ARCHLIB}/DynaLoader_pic.o)
|
|
MAKE_ENV+= DYNALOADER_OBJ_PIC="${PERL5_ARCHLIB}/DynaLoader_pic.o"
|
|
.endif
|