cvs commit: modperl Makefile.PL Changes

2003-01-22 Thread stas
stas2003/01/22 20:25:05

  Modified:.Makefile.PL Changes
  Log:
  use $Config{'installstyle'} instead of hardcoded 'lib', to handle
  Makefile.PL's PREFIX option correctly
  Submitted by: Philippe M. Chiasson <[EMAIL PROTECTED]>
  Reviewed by:  stas
  
  Revision  ChangesPath
  1.205 +1 -1  modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.204
  retrieving revision 1.205
  diff -u -r1.204 -r1.205
  --- Makefile.PL   19 Jun 2002 16:31:52 -  1.204
  +++ Makefile.PL   23 Jan 2003 04:25:04 -  1.205
  @@ -347,7 +347,7 @@
   if ($k eq 'PREFIX') {
   require File::Spec;
   $MOD_PERL_PREFIX =
  -  File::Spec->catfile($v, 'lib', 'site_perl',
  +  File::Spec->catfile($v, $Config{'installstyle'}, 'site_perl',
 $Config{'version'}, $Config{'archname'});
   }

  
  
  
  1.659 +4 -0  modperl/Changes
  
  Index: Changes
  ===
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.658
  retrieving revision 1.659
  diff -u -r1.658 -r1.659
  --- Changes   25 Dec 2002 01:46:09 -  1.658
  +++ Changes   23 Jan 2003 04:25:04 -  1.659
  @@ -10,6 +10,10 @@
   
   =item 1.27_01-dev
   
  +use $Config{'installstyle'} instead of hardcoded 'lib', to handle
  +Makefile.PL's PREFIX option correctly [Philippe M. Chiasson
  +<[EMAIL PROTECTED]>]
  +
   prevent segfaults in mod_perl_mark_where() when a sub can't get
   resolved [Gerald Richter <[EMAIL PROTECTED]>]
   
  
  
  



cvs commit: modperl Makefile.PL Changes

2001-06-13 Thread dougm

dougm   01/06/13 21:44:13

  Modified:.Makefile.PL Changes
  Log:
  add %Apache::MyConfig aliases for Apache::src backwards compat
  
  Revision  ChangesPath
  1.185 +2 -1  modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.184
  retrieving revision 1.185
  diff -u -r1.184 -r1.185
  --- Makefile.PL   2001/05/01 17:08:25 1.184
  +++ Makefile.PL   2001/06/14 04:44:11 1.185
  @@ -1987,7 +1987,7 @@
PERL_TRACE PERL_DEBUG APACI_ARGS
APACHE_PREFIX DO_HTTPD NO_HTTPD PREP_HTTPD
USE_APACI APACHE_HEADER_INSTALL
  - PERL_STATIC_EXTS PERL_SSI PERL_SECTIONS);
  + PERL_STATIC_EXTS PERL_SSI PERL_SECTIONS USE_APXS 
WITH_APXS);
   {
   no strict 'refs';
   $my_config{$_} = ${$_} for @other_hooks;
  @@ -2000,6 +2000,7 @@
   
   #need this alias for Apache::src backwards compat
   $my_config{'Apache_Src'} = $my_config{'APACHE_SRC'};
  +$my_config{'APXS'} = delete $my_config{'WITH_APXS'};
   
   my $my_config_dump = join ",\n",
   map { qq{'$_' => } .
  
  
  
  1.596 +3 -0  modperl/Changes
  
  Index: Changes
  ===
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.595
  retrieving revision 1.596
  diff -u -r1.595 -r1.596
  --- Changes   2001/06/14 04:36:18 1.595
  +++ Changes   2001/06/14 04:44:11 1.596
  @@ -10,6 +10,9 @@
   
   =item 1.25_01-dev
   
  +add %Apache::MyConfig aliases for Apache::src backwards compat
  +[Philippe M . Chiasson <[EMAIL PROTECTED]>]
  +
   $r->custom_response($code, undef) will now unset the current CustomResponse
   [Geoffrey Young <[EMAIL PROTECTED]>]
   
  
  
  



cvs commit: modperl Makefile.PL Changes

2001-04-17 Thread dougm

dougm   01/04/17 14:38:55

  Modified:.Makefile.PL Changes
  Log:
  fix 'make tar_Apache'
  
  Revision  ChangesPath
  1.179 +1 -1  modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.178
  retrieving revision 1.179
  diff -u -r1.178 -r1.179
  --- Makefile.PL   2001/01/29 17:43:21 1.178
  +++ Makefile.PL   2001/04/17 21:38:52 1.179
  @@ -1385,7 +1385,7 @@
   
   tar_Apache:
(cd $(INSTALLSITELIB)/$(ARCHNAME); \
  -  $(TAR) -cf $(PWD)/Apache.tar mod_perl.pm Apache.pm Apache 
$(ARCHNAME)/auto/Apache; )
  +$(TAR) -cf $(PWD)/Apache.tar mod_perl.pm Apache.pm Apache auto/Apache; )
   
   offsite-tar:
$(CP) MANIFEST MANIFEST.orig
  
  
  
  1.583 +2 -0  modperl/Changes
  
  Index: Changes
  ===
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.582
  retrieving revision 1.583
  diff -u -r1.582 -r1.583
  --- Changes   2001/04/17 21:30:06 1.582
  +++ Changes   2001/04/17 21:38:52 1.583
  @@ -10,6 +10,8 @@
   
   =item 1.25_01-dev
   
  +fix 'make tar_Apache' [Geoffrey Young <[EMAIL PROTECTED]>]
  +
   make sure global for Apache->request is reset after configuring %ENV
   [Gerald Richter <[EMAIL PROTECTED]>]
   
  
  
  



cvs commit: modperl Makefile.PL Changes ToDo

2001-01-25 Thread dougm

dougm   01/01/25 22:15:46

  Modified:.Makefile.PL Changes ToDo
  Log:
  dont strip lfs flags by default just yet
  
  Revision  ChangesPath
  1.177 +1 -1  modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.176
  retrieving revision 1.177
  diff -u -r1.176 -r1.177
  --- Makefile.PL   2001/01/26 06:04:21 1.176
  +++ Makefile.PL   2001/01/26 06:15:45 1.177
  @@ -190,7 +190,7 @@
   $PERL_DEBUG = "";
   $PERL_DESTRUCT_LEVEL = "";
   $PERL_STATIC_EXTS = "";
  -$PERL_USELARGEFILES = 0;
  +$PERL_USELARGEFILES = 1;
   $PERL_EXTRA_CFLAGS = "";
   $PERL_EXTRA_LIBS = "";
   $SSLCacheServerPort = 8539;
  
  
  
  1.575 +2 -2  modperl/Changes
  
  Index: Changes
  ===
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.574
  retrieving revision 1.575
  diff -u -r1.574 -r1.575
  --- Changes   2001/01/26 06:04:23 1.574
  +++ Changes   2001/01/26 06:15:45 1.575
  @@ -40,8 +40,8 @@
   if Perl is linked with -lpthread, then httpd needs to be linked with
   -lpthread, make sure that happens with USE_DSO=1, warn if USE_APXS=1
   
  -disable uselargefile flags by default, enable with:
  - Makefile.PL PERL_USELARGEFILES=1
  +largefile flags can be stripped from mod_perl with:
  + Makefile.PL PERL_USELARGEFILES=0
   
   adjust test output (modules/{cgi,constants}) to make 5.7.0-dev
   Test::Harness happy
  
  
  
  1.271 +4 -5  modperl/ToDo
  
  Index: ToDo
  ===
  RCS file: /home/cvs/modperl/ToDo,v
  retrieving revision 1.270
  retrieving revision 1.271
  diff -u -r1.270 -r1.271
  --- ToDo  2001/01/26 06:04:22 1.270
  +++ ToDo  2001/01/26 06:15:45 1.271
  @@ -3,8 +3,6 @@
(well, close to it anyhow)
   ---
   
  -- Makefile.PL if $PERL_USELARGEFILES == 0, check apxs cflags
  -
   - From: Andy Wardley <[EMAIL PROTECTED]>
 Subject: Problems with SERVER_MERGE and DIR_MERGE
   
  @@ -17,10 +15,11 @@
   - From: Wenzhong Tang <[EMAIL PROTECTED]>
 Subject: RE: Prototype mismatch in Apache::PerlRun line 343
   
  -- From: Geoffrey Young <[EMAIL PROTECTED]>
  -  Subject: FW: bug in mod_perl-1.24 & request->args & request->content
  -
   - -- post 1.25 --
  +
  +- consider making PERL_USELARGEFILES=0 by default
  +
  +- $r->args parsing of one=&two=2
   
   - From: JR Mayberry <[EMAIL PROTECTED]>
 Subject: Apache::Status problems?..CGI::Cookie, (dont want no CGI.pm) (?)
  
  
  



cvs commit: modperl Makefile.PL Changes

2000-12-21 Thread dougm

dougm   00/12/21 12:00:10

  Modified:.Makefile.PL Changes
  Log:
  pod patch from geoff
  
  Revision  ChangesPath
  1.173 +21 -0 modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.172
  retrieving revision 1.173
  diff -u -r1.172 -r1.173
  --- Makefile.PL   2000/12/20 18:35:33 1.172
  +++ Makefile.PL   2000/12/21 20:00:09 1.173
  @@ -1974,6 +1974,27 @@
   1;
   
   __END__
  +
  +=head1 NAME
  +
  +Apache::MyConfig - build options access
  +
  +=head1 SYNOPSIS
  +
  + use Apache::MyConfig;
  + die unless \$Apache::MyConfig::Setup{PERL_FILE_API};
  +
  +=head1 DESCRIPTION
  +
  +B module provides access to the various hooks
  +and features set when mod_perl is built.  This circumvents the
  +need to set up a live server just to find out if a certain callback
  +hook is available.
  +
  +Itterate through \%Apache::MyConfig::Setup to get obtain build
  +information then see Appendix B of the Eagle book for more detail
  +on each key.
  +
   EOT
   close FH;
   
  
  
  
  1.560 +1 -1  modperl/Changes
  
  Index: Changes
  ===
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.559
  retrieving revision 1.560
  diff -u -r1.559 -r1.560
  --- Changes   2000/12/21 19:19:07 1.559
  +++ Changes   2000/12/21 20:00:09 1.560
  @@ -17,7 +17,7 @@
   post_connection() expects a return status from the callback function.
   [Stas Bekman <[EMAIL PROTECTED]>]
   
  -include mod_perl hook/feature config in Apache::MyConfig
  +include mod_perl hook/feature config and pod in Apache::MyConfig
   [Geoffrey Young <[EMAIL PROTECTED]>]
   
   rewrite of Apache::WRITE() in c/xs
  
  
  



cvs commit: modperl Makefile.PL Changes

2000-09-01 Thread dougm

dougm   00/09/01 14:09:14

  Modified:.Makefile.PL Changes
  Log:
  Makefile.PL:post_initialize fix for win32
  
  Revision  ChangesPath
  1.165 +1 -1  modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.164
  retrieving revision 1.165
  diff -u -r1.164 -r1.165
  --- Makefile.PL   2000/06/05 18:16:25 1.164
  +++ Makefile.PL   2000/09/01 21:09:12 1.165
  @@ -1432,7 +1432,7 @@
$ap_inc = $ap_src = 'src'; #just install mod_perl headers
   }
   
  -return unless -d $ap_src;
  +return unless $ap_src and -d $ap_src;
   
   $My::self = $self;
   {
  
  
  
  1.514 +3 -0  modperl/Changes
  
  Index: Changes
  ===
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.513
  retrieving revision 1.514
  diff -u -r1.513 -r1.514
  --- Changes   2000/09/01 05:15:37 1.513
  +++ Changes   2000/09/01 21:09:12 1.514
  @@ -10,6 +10,9 @@
   
   =item 1.24_01-dev
   
  +Makefile.PL:post_initialize fix for win32, thanks to john sterling for 
  +the spot
  +
   fixes for ActivePerl [Gurusamy Sarathy <[EMAIL PROTECTED]>]
   
   change apaci/Makefile.tmpl and src/modules/perl/Makefile so Perl's
  
  
  



cvs commit: modperl Makefile.PL Changes

2000-04-13 Thread dougm

dougm   00/04/13 16:31:52

  Modified:.Makefile.PL Changes
  Log:
  User/Group for 'make test' can be overridden with the environment
  variables APACHE_USER/APACHE_GROUP
  
  Revision  ChangesPath
  1.156 +4 -2  modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.155
  retrieving revision 1.156
  diff -u -r1.155 -r1.156
  --- Makefile.PL   2000/04/03 03:56:11 1.155
  +++ Makefile.PL   2000/04/13 23:31:50 1.156
  @@ -871,8 +871,10 @@
   #use only first value if $) contains more than one
   $gid =~ s/^(\d+).*$/$1/;
   
  -$User  = $Is_Win32 ? "nobody" : (getpwuid($uid) || "#$uid");
  -$Group = $Is_Win32 ? "nogroup" : (getgrgid($gid) || "#$gid");
  +$User  = $Is_Win32 ? "nobody" : 
  +  $ENV{APACHE_USER} || (getpwuid($uid) || "#$uid");
  +$Group = $Is_Win32 ? "nogroup" : 
  +  $ENV{APACHE_GROUP} || (getgrgid($gid) || "#$gid");
   
   if($User eq "root") {
my $other = (getpwnam('nobody'))[0];
  
  
  
  1.469 +3 -0  modperl/Changes
  
  Index: Changes
  ===
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.468
  retrieving revision 1.469
  diff -u -r1.468 -r1.469
  --- Changes   2000/04/13 18:43:21 1.468
  +++ Changes   2000/04/13 23:31:50 1.469
  @@ -10,6 +10,9 @@
   
   =item 1.22_01-dev
   
  +User/Group for 'make test' can be overridden with the environment
  +variables APACHE_USER/APACHE_GROUP
  +
   fix PerlSetVar inheritance bug
   [Sander van Zoest <[EMAIL PROTECTED]>]