Commit graph

48 commits

Author SHA1 Message Date
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
xtraeme
d96ac3b110 bl3ify 2004-02-11 05:53:05 +00:00
jlam
57ec57613f PERL5_REQD is now a list of values, so append to its value instead of
setting it.
2004-02-10 02:22:49 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
kim
908dd8c27c ap-perl and ap2-perl are mutually exclusive, so add CONFLICTS 2003-07-05 05:10:31 +00:00
kim
724ee3b349 libapreq 1.28 also results in apache dumping core on startup 2003-07-05 03:35:23 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
seb
bf7838a53a Use perl5/module.mk. 2002-10-30 10:37:35 +00:00
seb
f0dc05f333 Provide buildlink2.mk. 2002-10-27 12:38:43 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
grant
b9e3298441 format and word Apache module MESSAGEs consistently. 2002-08-26 00:12:46 +00:00
jlam
a020ed9056 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:52 +00:00
grant
0faaf3dfe1 revert to 1.25, as 1.27 causes apache to dump core.
fixes pkg/17627.
2002-07-26 08:57:14 +00:00
jlam
80743a4834 Adapt to using perl-5.8.0. Perl 5.8.0 removes the need for libperl as
DynaLoader.a is now an archive of PIC objects.
2002-07-22 22:00:49 +00:00
grant
02efd0b0f2 update to mod_perl-1.27. 2002-07-02 13:00:52 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
jlam
1f181fe325 The apache buildlink.mk file only has a build dependency on apache. We
need a normal dependency since we require apache to be installed at
run-time.
2001-11-26 15:02:30 +00:00
jlam
cc4128d97e Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-26 06:49:36 +00:00
martti
98ccd890c3 Bump the version number. 2001-11-23 10:53:12 +00:00
martti
df96ba64a5 Make this work with apache6 (patch provided by Tero Kivinen).
This is part 2 of 2 to fix PR#14693 by Tero Kivinen
2001-11-23 10:52:23 +00:00
zuntum
431e7a7dda Move pkg/ files into package's toplevel directory 2001-11-01 02:15:23 +00:00
jlam
b658463681 Fix the linker flags so they are acceptable to ld. This change is needed
after perl was updated to 5.6.1nb4, which introduced linker flags to find
local libraries at run-time.
2001-10-01 08:36:44 +00:00
hubertf
928c1cbc94 add a bit more lines that are needed in httpd.conf to get this mod going.
Sent in by Sean Davis <dive@endersgame.net> in private mail.
2001-09-18 20:51:52 +00:00
jlam
37139b716b PERL5_REQD shouldn't be used directly by libperl DEPENDS as the perl and
libperl versions may not be exactly the same.
2001-05-11 14:42:31 +00:00
skrll
aa3c03b75a Move to sha1 digests, and add distfile sizes. 2001-04-20 12:02:30 +00:00
agc
8f972b049a + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 12:12:16 +00:00
jtb
339a14d3fa The module Apache::Resource depends on BSD::Resource so add a dependence
on p5-BSD-Resource.

Addresses PR #12633 by Nathan Ahlstrom <nrahlstr@winternet.com>.
2001-04-16 21:49:59 +00:00
hubertf
0d48e61384 generate dir before copying file(s) to it. PR 12590. 2001-04-09 22:24:51 +00:00
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