Commit graph

18 commits

Author SHA1 Message Date
wiz
a0745845b3 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:21:28 +00:00
jlam
c65bc363b8 Update ap-perl to 1.25. Relevant changes from version 1.24:
* 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
2001-02-02 16:41:52 +00:00
jlam
8e3b2f273a Update dependency on libperl to 5.0* or >=5.6.0nb1. Modify build to
find shared DynaLoader_pic.o needed by mod_perl.so.
2000-09-07 04:47:20 +00:00
jlam
8607caa976 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.
2000-08-27 22:40:36 +00:00
jlam
c70c96f2c8 Convert packages to use PERL5_PACKLIST (part 2). These are the database and
Apache perl modules, and each compiled and installed/de-installed apparently
correctly.

As a side effect of the dynamic PLIST, we no longer need to to have separate
-static and -shared PLISTs.  It's now easier than ever to make a perl5
package for NetBSD :)
2000-08-27 10:37:00 +00:00
rh
6141c277e7 Split PLIST into md/mi parts. 1999-12-02 21:16:27 +00:00
rh
c09c1c7e94 Wildcard dependencies, fix pkglint woes. 1999-12-02 21:03:35 +00:00
agc
00a16e3008 Add package patch checksum files. 1999-07-09 14:22:59 +00:00
tv
a89ccd833e Clean up the build; now dynamically loads libperl and libm, so only the
LoadModule and AddModule lines are necessary.
1999-05-04 20:16:35 +00:00
tv
0a294a14a1 Link in the DynaLoader so that libperl works when loaded into apache. 1999-05-01 00:42:29 +00:00
tv
75cec4c252 Other pkgs can put stuff in site_perl/Bundle, so make that a conditional
directory removal.
1999-05-01 00:41:47 +00:00
tv
930832d85c Update Apache to 1.3.6, mod_ssl to 2.2.8, and mod_perl to 1.19. mod_ssl
now makes use of OpenSSL.
1999-04-30 17:05:19 +00:00
tron
23e0063766 Completely replace "MASTER_SITE_SUBDIR" and "PATCH_SITE_SUBDIR" with
variable substituition of "MASTER_SITES" and "PATCH_SITES".
1999-04-15 20:39:38 +00:00
agc
79e49eaba2 s/netbsd/${LOWER_OPSYS}/g 1999-04-08 18:51:48 +00:00
tv
ba5b2b2ac9 Fix bug reported in Apache PR mod_include/3502: mod_include hook for
<!--#perl--> was being allowed even in the IncludesNOEXEC case because of
wrong logic in an if statement.
1998-12-07 16:36:15 +00:00
tv
b2b77d4be5 Update Apache pkg version number to 1.3.3.2, and fix PLIST/httpd.conf.add
a bit.
1998-12-04 17:25:13 +00:00
tv
58b0eff375 Add note about fully shutting down and then starting the server when
enabling/disabling mod_perl.
1998-12-04 13:21:35 +00:00
tv
541cd72ab7 Add ap-perl-1.16, the pkgification of mod_perl as a dynamic shared object.
Supports CGI running via a no-overhead Perl interpreter embedded into
httpd, httpd.conf configuration in Perl, and even embedding Perl into XSSI
documents via <!--#perl sub=""--> (without modifying mod_include).
1998-12-04 00:10:57 +00:00