cvs commit: modperl Makefile.PL

2003-02-20 Thread randyk
randyk  2003/02/20 08:34:35

  Modified:.Makefile.PL
  Log:
  Reviewed by:  stas
  
  Enable PERL_SECTIONS for Win32
  
  Revision  ChangesPath
  1.207 +2 -1  modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.206
  retrieving revision 1.207
  diff -u -r1.206 -r1.207
  --- Makefile.PL   20 Feb 2003 16:28:35 -  1.206
  +++ Makefile.PL   20 Feb 2003 16:34:35 -  1.207
  @@ -792,7 +792,8 @@
(need 1.2.0 or higher);
   }
   
  -$PERL_SECTIONS = $PERL_SSI = 0 if $Is_Win32;
  +#$PERL_SECTIONS = $PERL_SSI = 0 if $Is_Win32;
  +$PERL_SSI = 0 if $Is_Win32;
   unless ($Is_Win32) {
 for (qw(PERL_SECTIONS PERL_SSI), keys %experimental) {
$k = $_;
  
  
  



cvs commit: modperl Makefile.PL

2003-02-20 Thread randyk
randyk  2003/02/20 08:42:46

  Modified:.Makefile.PL
  Log:
  Reviewed by:  stas
  
  Use Perl's touch(), in case a system touch() isn't available.
  
  Revision  ChangesPath
  1.208 +5 -1  modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.207
  retrieving revision 1.208
  diff -u -r1.207 -r1.208
  --- Makefile.PL   20 Feb 2003 16:34:35 -  1.207
  +++ Makefile.PL   20 Feb 2003 16:42:46 -  1.208
  @@ -1602,7 +1602,11 @@
my $to = '$(INST_ARCHLIB)/' . auto/Apache/include/$_;
unless ($self-{PM}-{$from}) {
$self-{PM}-{$from} = $to;
  - system $Config{touch} $from;
  +#system $Config{touch} $from;
  + my @args = ($Config{perlpath}, '-MExtUtils::Command', 
  + '-e', 'touch', $from);
  + system(@args) == 0
  + or die system @args failed: $?;
}
   }
   
  
  
  



Re: cvs commit: modperl Makefile.PL

2003-02-20 Thread Stas Bekman
[EMAIL PROTECTED] wrote:
randyk  2003/02/20 08:42:46

  Modified:.Makefile.PL
  Log:
  Reviewed by:	stas
  
  Use Perl's touch(), in case a system touch() isn't available.
  
  Revision  ChangesPath
  1.208 +5 -1  modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.207
  retrieving revision 1.208
  diff -u -r1.207 -r1.208
  --- Makefile.PL	20 Feb 2003 16:34:35 -	1.207
  +++ Makefile.PL	20 Feb 2003 16:42:46 -	1.208
   -1602,7 +1602,11 
   	my $to = '$(INST_ARCHLIB)/' . auto/Apache/include/$_;
   	unless ($self-{PM}-{$from}) {
   	$self-{PM}-{$from} = $to;
  -	system $Config{touch} $from;
  +#	system $Config{touch} $from;
  +	my args = ($Config{perlpath}, '-MExtUtils::Command', 
  +		'-e', 'touch', $from);
  +	system(args) == 0
  +	or die system args failed: $?;
   	}
   }
since we use cvs, we don't commented out snippets of the older code that was 
replaced with the new one. If in the future we realize the the recent change 
broke something we can always revert to the previous version. So please remove 
this commented out line and the same in your other commit on PERL_SECTIONS. 
Thanks.

BTW, in case you were wondering. the style guide doesn't apply to the modperl 
(1.0) rep, since it's all a mess. We try to keep it clean for 2.0 from the 
very beginning.

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


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

2001-07-17 Thread sbekman

sbekman 01/07/17 08:54:09

  Modified:.Makefile.PL
  Log:
  s|perl.apache.org:/home/cvs|cvs.apache.org:/home/cvs|
  
  Revision  ChangesPath
  1.195 +1 -1  modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.194
  retrieving revision 1.195
  diff -u -r1.194 -r1.195
  --- Makefile.PL   2001/07/12 01:41:18 1.194
  +++ Makefile.PL   2001/07/17 15:54:05 1.195
  @@ -1272,7 +1272,7 @@
PWD = $PWD,
   PERL5LIB = PERL5LIB=$ENV{PERL5LIB},
SHRPENV = $Config{shrpenv},
  - CVSROOT = 'perl.apache.org:/home/cvs',
  + CVSROOT = 'cvs.apache.org:/home/cvs',
   },
   'dist'= {
COMPRESS= 'gzip -9f', SUFFIX='gz',
  
  
  



cvs commit: modperl Makefile.PL

2001-07-11 Thread dougm

dougm   01/07/11 18:34:46

  Modified:.Makefile.PL
  Log:
  fixes for building with 5.004
  
  Revision  ChangesPath
  1.193 +4 -2  modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.192
  retrieving revision 1.193
  diff -u -r1.192 -r1.193
  --- Makefile.PL   2001/07/10 15:45:21 1.192
  +++ Makefile.PL   2001/07/12 01:34:44 1.193
  @@ -341,7 +341,7 @@

if($k eq 'PREFIX')
{
  - use File::Spec;
  + require File::Spec;
$MOD_PERL_PREFIX = 
File::Spec-catfile($v,'lib','site_perl',$Config{'version'},$Config{'archname'});
}

  @@ -2043,7 +2043,9 @@
PERL_STATIC_EXTS PERL_SSI PERL_SECTIONS USE_APXS 
WITH_APXS);
   {
   no strict 'refs';
  -$my_config{$_} = ${$_} for @other_hooks;
  +for (@other_hooks) {
  +$my_config{$_} = ${$_};
  +}
   }
   if ($win32_auto) {
   for (qw(APACHE_INC APACHE_LIB MODPERL_INC MODPERL_LIB)) {
  
  
  



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

2001-04-24 Thread sbekman

sbekman 01/04/24 21:18:24

  Modified:.Makefile.PL
  Log:
  adding PERL_SSI PERL_SECTIONS to MyConfig generator
  
  Revision  ChangesPath
  1.182 +4 -3  modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.181
  retrieving revision 1.182
  diff -u -r1.181 -r1.182
  --- Makefile.PL   2001/04/17 22:42:03 1.181
  +++ Makefile.PL   2001/04/25 04:18:22 1.182
  @@ -1981,9 +1981,10 @@
   # preparing and writing Configuration to Apache::MyConfig
   my %my_config = %callback_hooks;
   my @other_hooks = qw(APACHE_SRC SSL_BASE APXS PERL_USELARGEFILES
  - PERL_TRACE PERL_DEBUG APACI_ARGS APACHE_PREFIX
  - DO_HTTPD NO_HTTPD PREP_HTTPD USE_APACI
  - APACHE_HEADER_INSTALL PERL_STATIC_EXTS );
  + 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);
   {
   no strict 'refs';
   $my_config{$_} = ${$_} for @other_hooks;
  
  
  



cvs commit: modperl Makefile.PL

2001-04-17 Thread dougm

dougm   01/04/17 15:42:05

  Modified:.Makefile.PL
  Log:
  need this alias for Apache::src backwards compat
  
  Revision  ChangesPath
  1.181 +3 -0  modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.180
  retrieving revision 1.181
  diff -u -r1.180 -r1.181
  --- Makefile.PL   2001/04/17 22:39:07 1.180
  +++ Makefile.PL   2001/04/17 22:42:03 1.181
  @@ -1989,6 +1989,9 @@
   $my_config{$_} = ${$_} for @other_hooks;
   }
   
  +#need this alias for Apache::src backwards compat
  +$my_config{'Apache_Src'} = $my_config{'APACHE_SRC'};
  +
   my $my_config_dump = join ",\n",
   map { qq{'$_' = } .
 ($my_config{$_} =~ /^\d+$/ ? $my_config{$_} : qq{'$my_config{$_}'})
  
  
  



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

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

2000-04-02 Thread dougm

dougm   00/04/02 20:49:38

  Modified:.Makefile.PL
  Log:
  oops
  
  Revision  ChangesPath
  1.154 +1 -1  modperl/Makefile.PL
  
  Index: Makefile.PL
  ===
  RCS file: /home/cvs/modperl/Makefile.PL,v
  retrieving revision 1.153
  retrieving revision 1.154
  diff -u -r1.153 -r1.154
  --- Makefile.PL   2000/04/03 03:40:35 1.153
  +++ Makefile.PL   2000/04/03 03:49:38 1.154
  @@ -2078,7 +2078,7 @@
  *) Configure Perl with -Uusemymalloc (not recommended for performance)
   EOF
}
  - else {
  + elsif ($bincompat) {
phat_warn(EOF, $abort);
   Your current configuration will most likely trigger core dumps, suggestions:
  *) Do not configure mod_perl as a DSO