summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam>2000-08-27 22:40:36 +0000
committerjlam <jlam>2000-08-27 22:40:36 +0000
commitf0c13297462fcdec0fc0795a1f52a8fb27b8d882 (patch)
treea32dd1d3829b6262f52143554bc41d4d76fe2ab2 /www
parent12247e428ee71b32a98fcf35c62411db8701a1c4 (diff)
downloadpkgsrc-f0c13297462fcdec0fc0795a1f52a8fb27b8d882.tar.gz
Update ap-perl to 1.24. Changes from 1.19:
* 'sub handler : method {}' is now treated as a method handler * variable $Apache::Server::ConfigTestOnly is set to 1 if Apache is running in configuration test mode (httpd -t) * add PerlAddVar directive, like PerlSetVar, but uses ap_table_add instead of ap_table_set * Apache::Table->unset can now be called with an array reference * Apache::PerlRun::flush_namespace fixes, so aliased (imported) code/hash/array/scalar are undefined without undef-ing the pointed-to data and without using B.pm, thanks to Richard Chen for the suggestion * document Apache::print's special behavior wrt references * fix core dump triggered by <Perl>do 'foo.pl'</Perl>, * pass $Config{ccflags} to apache for 5.6.0+ * fix Apache->httpd_conf, thanks to Will Trillich for the spot * fixed 'make clean' to remove FILES => passed to MakeMaker * add Apache::FILENO method for 5.6.0+ tied filehandle support thanks to Richard Titmuss for the spot * --disable-rule=EXPAT is passed to Apache's configure to avoid XML::Parser conflicts * fix PerlSetVar inheritance bug * set r->notes("error-notes") to $@ if $@ after a Perl*Handlers is run * added INSTALL.raven * $c->remote_ip($ip) now also sets conn->remote_addr to make IP-based access control work correctly * Apache::URI::port wasn't setting the port correctly * $Apache::Registry::NameWithVirtualHost fix take 2 (move is_virtual logic from mod_perl.c to Registry.pm) * added Apache::OPEN method for 5.6.0+ tied filehandle support * Apache::Table is now loaded by default (if enabled), rather than autoloading when first needed * $r->document_root can now be modified * upgrade license to apache software license version 1.1 * $r->the_request can now be modified * warn that dso+Perl malloc needs a Perl built with -Ubincompat5005 * add Apache::BINMODE stub for 5.6.0 tied filehandle support (fixes cgi.t #4) * add $r->server->loglevel() and relevant constants. * $Apache::Server::AddPerlVersion uses $^V for Perl/v5.6.0+ * reset the stack pointer after calling perl_require_module() in perl_call_handler(). this fix will most likely cure the reports of "Can't upgrade that kind of scalar at ..." * change $Apache::VERSION check to use a string instead of SvNV, which was troublesome with Perl 5.6.0 * Apache::src fixup to quiet warnings under Perl 5.004 * Apache::src::apxs fixups to quiet warnings if apxs doesnt exist or httpd is not dso enabled * fix #ifdef SGI_BOOST typo * proxy support fixed wrt RFC2068 * set Apache::Resource::DEFAULT_RLIMIT_AS (address space) to 64Mb * Bundle::Apache will now install Bundle::LWP before mod_perl * support Apache::FakeRequest::args in a list context * compile fixes for 5.6 + -Duse5005threads * log to parms->server instead of stderr if PerlRequire fails * make sure lib/Apache/MyConfig.pm is written before used * fixup the output of apxs -q CFLAGS to preserve quoting (again) * removed the generated apaci/mod_perl.config from MANIFEST * new variable $Apache::Server::StrictPerlSections, if true, will croak <Perl> section generates invalid Apache configuration syntax * new Apache::src->ccflags method to combine $Config{ccflags} and apxs -q CFLAGS * added Apache::src->apxs method * make use of $Config{shrpenv} to find CORE/libperl.so * fix Apache::Registry bug when filename starts with a 0 * Apache::Registry will restore $r->status to the original value * fixup the output of apxs -q CFLAGS to preserve quoting * dso fix fix: modules with END blocks calling xs code (e.g. DBI) would core dump because the xs .dso had been unloaded, now dso's are not unloaded until after END blocks are called. * force environ[] to be copied before any Perl code is loaded * localize $_ in Apache::send_cgi_header * fix precedence problem in StatINC.pm * if hash value has magicalness in <Perl>, invoke FETCH * sync with 1.3.12's virtual_host section logic for httpd -S + <Perl> * remove t/httpd symlink during 'make realclean' and when rebuilding * add Apache::src::otherldflags method * __THE__ dso fix: dlclose() xs shared objects and call perl_shutdown() before mod_perl's libperl.so is unloaded/reloaded by mod_so * add /D "_MSWSOCK_" to ApacheModulePerl.dsp * Apache::RegistryBB returns DECLINED instead of FORBIDDEN if -d $r->finfo * add Apache::Util::validate_password() * call (void)perl_request_rec(r) asap, instead of waiting till the response phase, e.g. so CGI.pm can be used before PerlHandler, without having to call Apache->request($r); * Apache::perl_hook() fixes for Perl*Api * save/restore $^W in Apache::PerlRun * fix Apache::Registry when $r->uri ends with a / * add virtualhost support to Apache::RegistryLoader * $Apache::Registry::NameWithVirtualHost fix * allow Apache::PerlRun::handler to be subclassed * fix $r->connection->remote_ip for SGI performance patches (#ifdef SGI_BOOST) * mod_perl.exp is now installed * pod fixups to avoid WARNING from newer pod2* * Apache::RedirectLogFix now uses $r->last * tweaks for sfio * update Apache::SIG docs * fix get_set_PVp in mod_perl_xs.h * tweaks to compile/run with 5.5.670 + -Dusethreads * $r->hostname now documented * Apache::File methods are now documented * avoid quoting <Perl> config if args_how == RAW_ARGS * PerlPassEnv maintains its value beyond the first request, * prevent possible core dump in $r->pnotes if get_module_config returns NULL * fix Apache::Status::status_cv_dump for Perl/5.6-dev * use perl_get_sv("]") instead of patchlevel for $AddPerlVersion * Apache::Util functions $r->unescape_uri, $r->unescape_uri_info, $r->size_string are now documented * $r->request_time is now documented * Look for the makepl_args.mod_perl file as .makepl_args.mod_perl in ./ and ../ too since the book says it works so. * PerlRestartHandler is now enabled w/ ALL_HOOKS=1 (or EVERYTHING=1) * $r->no_cache(1) will now set the r->headers_out "Pragma" and "Cache-control" to "no-cache" * `PerlSetEnv PERL5LIB ...' now works again * PerlFreshRestart semantics changed to preserve order of PerlModule's and not to reload modules while actually iterating over %INC * $r->current_callback now works properly when PerlHandler invokes subrequests * if an Apache::Table is NULL return undef (e.g. $r->notes during ChildInit) * ActivePerl compile patches * document that Apache 1.2.x is no longer supported * Apache::src now supported with USE_APXS=1 * disable experimental perlrunxs until future notice * add sanity check for libgdbm * change PL_siggv usage to gv_fetchpv("SIG", ...) for Perl 5.6-tobe * document $r->get_handlers, $r->set_handlers, $r->push_handlers * document PerlSetVar * document the fact that $r->dir_config handles keys in a case insensitive manner * avoid logging "rwrite returned -1" multiple times in the same request * bugfix in write_client() when running under APACHE_SSL * document the fact that $r->connection->user can be used to set the authenticated user name * document the fact that $r->uri sets/gets the URI minus the query string, not the complete URI * Apache::RegistryLoader::handler was rewritten to allow a better diagnostics of scripts preloading problems. * document the fact that $r->args can be used to set the query string as well as get it * add $r->connection->fileno, provides the client file descriptors. This can be used to detect client disconnect without doing any I/O, e.g. using IO::Select * if $r->bytes_sent has not been calculated, then do so before returning the value. * ensure that all -I directories printed by Apache::src actually exist * don't assume $uri =~ /$path_info$/ in Apache::Registry/PerlRun * fix segfault when using Limit in <Perl> sections * make $c->remote_host writeable * add per-server PerlSetVar variables, accessed using Apache->server->dir_config or $r->server->dir_config. $r->dir_config merges them with per-directory variables. * documentation typo * add $r->server->uid and $r->server->gid * add per-server configuration merge * `_' is no longer escaped in Apache::Registry package names * fix $ENV{PATH} corruption * mod_perl_version.h removed from MANIFEST * preload Apache::Constants::OPT_EXECCGI() for Apache::{Registry,PerlRun} * Apache::SizeLimit now uses $r->child_terminate instead of Apache::exit(-2) * get rid of various 5.005_60 warnings * add Status{Terse,TerseSize,Deparse,Fathom,OptionsAll} options to Apache::Status * adjust mod_perl.h for 5.005_59 perl_eval_{pv,sv} rename * fix flush_namespace undef logic in Apache::PerlRun * Tweak Apache::content to comply with media-types embedded in content-types (RFC 2616 section 3.7) * Removed and added a few modules from the Bundle file. * Renamed the Apache::StatINC parameters to StatINC_<something>. Changed StatINC_Debug to take a number as parameter instead of "on" to support "debug levels" * fix refcount bug in %VirtualHost [] values * $r->read will now properly check the return value of ap_setup_client_block() and return undef if != OK, e.g. if LimitRequestBody is exceeded * fix bug in register_cleanup() * added StatusLexInfo option to Apache::Status * turn off warnings in Apache::Status::as_HTML symdump code * tweak Apache::RegistryNG so it works with virtual includes * change Apache::File->tmpfile flags from O_WRONLY to O_RDWR * fix Apache::RegistryBB when $r->filename NOT_FOUND * cygwin port * Documented $r->pnotes * Change "setting auth_name" trace message so we don't get it without having enabled a MOD_PERL_TRACE level * s/class/pclass/g so we can compile w/ c++ * mod_perl will now save/restore SIGALRM * fix Apache::Status bug prototype check of 'use constant' subs * added set_byterange() and each_byterange() methods * added proper support for {Location,Directory,Files}Match in <Perl> sections * rework PerlFreshRestart to avoid core dump triggered w/ 5.005_03 * fix $Apache::Server::Starting under dso * use ap_bfileno() instead of r->connnection->client->fd directly * fix possible overwrite in perlio.c:sfapacheread() #ifdef USE_SFIO * dont use DEFAULT_PATH if r->subprocess_env->{PATH} is already set * ensure perl_setup_env() is called just once per-request * :common Apache::Constants are compiled at bootstrap time, so CVs are shared and AUTOLOAD is avoided, which was known to cause a spin while loading SERVER_ERROR for particular Perl errors * <Perl> sections now use 1.3.7-dev's cmd_parms->context to cure many known, old bugs, e.g. @DirectoryIndex outside of %Location, .htaccess and many more * fix bug where top-level PerlSetEnv's would be lost after 1st request * fix bug in Apache::ModuleConfig->get * fix rwrite error message * Change Apache::SizeLimit so that it supports Solaris 2.6 and above * Fixed apaci/load_modules.pl.PL to properly fixup log_agent and log_referer when loaded as DSOs.
Diffstat (limited to 'www')
-rw-r--r--www/ap-perl/Makefile16
-rw-r--r--www/ap-perl/files/md54
2 files changed, 10 insertions, 10 deletions
diff --git a/www/ap-perl/Makefile b/www/ap-perl/Makefile
index 8f18e63a1ab..acf0567512a 100644
--- a/www/ap-perl/Makefile
+++ b/www/ap-perl/Makefile
@@ -1,16 +1,17 @@
-# $NetBSD: Makefile,v 1.8 2000/08/27 10:37:04 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2000/08/27 22:40:36 jlam Exp $
#
-DISTNAME= mod_perl-1.19
-PKGNAME= ap-perl-1.19
+DISTNAME= mod_perl-1.24
+PKGNAME= ap-perl-1.24
CATEGORIES= www perl5
-MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Apache/}
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Apache/} \
+ http://perl.apache.org/dist/
-MAINTAINER= tv@netbsd.org
+MAINTAINER= packages@netbsd.org
HOMEPAGE= http://perl.apache.org/
DEPENDS+= libperl-5.*:../../lang/libperl
-DEPENDS+= apache-1.3.*:../../www/apache
+DEPENDS+= apache{,6}-1.3.*:../../www/apache
USE_PERL5= # defined
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/mod_perl/.packlist
@@ -20,8 +21,7 @@ MAKE_PARAMS+= WITH_APXS=${PREFIX}/sbin/apxs
MAKE_PARAMS+= EVERYTHING=1
do-configure:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
- ${PERL5} Makefile.PL ${MAKE_PARAMS}
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
post-install:
${INSTALL_DATA} ${WRKSRC}/htdocs/manual/mod/mod_perl.html \
diff --git a/www/ap-perl/files/md5 b/www/ap-perl/files/md5
index a7d7a0d61f1..2b111c4be1b 100644
--- a/www/ap-perl/files/md5
+++ b/www/ap-perl/files/md5
@@ -1,3 +1,3 @@
-$NetBSD: md5,v 1.2 1999/04/30 17:05:21 tv Exp $
+$NetBSD: md5,v 1.3 2000/08/27 22:40:37 jlam Exp $
-MD5 (mod_perl-1.19.tar.gz) = 721fe5245aefdffecf5f54a9c29c5938
+MD5 (mod_perl-1.24.tar.gz) = 08d0ac4c9e2436fdb038021ae8826a8c