head	1.7;
access;
symbols
	RELEASE_4_2_0:1.6
	RELEASE_4_1_1:1.6
	RELEASE_4_1_0:1.6
	RELEASE_3_5_0:1.6
	RELEASE_4_0_0:1.6
	RELEASE_3_4_0:1.5
	RELEASE_3_3_0:1.5
	RELEASE_3_2_0:1.5
	RELEASE_3_1_0:1.3
	RELEASE_2_2_8:1.3
	RELEASE_3_0_0:1.3
	RELEASE_2_2_7:1.3
	RELEASE_2_2_6:1.2
	RELEASE_2_2_5:1.1.1.1
	RELEASE_2_2_2:1.1.1.1
	v0_98:1.1.1.1
	CPAN:1.1.1;
locks; strict;
comment	@# @;


1.7
date	2001.03.21.03.01.29;	author vanilla;	state dead;
branches;
next	1.6;

1.6
date	99.12.29.21.39.10;	author steve;	state Exp;
branches;
next	1.5;

1.5
date	99.05.10.12.20.23;	author kuriyama;	state Exp;
branches;
next	1.4;

1.4
date	99.02.20.06.26.06;	author asami;	state Exp;
branches;
next	1.3;

1.3
date	98.06.27.01.30.31;	author steve;	state Exp;
branches;
next	1.2;

1.2
date	98.01.25.16.33.36;	author steve;	state Exp;
branches;
next	1.1;

1.1
date	97.05.05.00.41.07;	author jfitz;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.05.05.00.41.07;	author jfitz;	state Exp;
branches;
next	;


desc
@@


1.7
log
@Nude p5-Apache. We don't support 3.* anymore.
@
text
@--- apaci/configure.orig	Mon Aug 10 16:09:55 1998
+++ apaci/configure	Sat Sep 11 23:34:15 1999
@@@@ -89,7 +89,13 @@@@
 echo "##" >>$my_makefileconf
 echo "" >>$my_makefileconf
 echo "#   provide some stuff Apache usually provides" >>$my_makefileconf
-echo "CFLAGS=-DMOD_PERL $my_apxs_cflags" >>$my_makefileconf
+echo -n "CFLAGS=-DMOD_PERL " >>$my_makefileconf
+#
+# GAW addition: make up for bug in APXS which fails to properly quote
+# DEFAULT_PATH
+#
+$my_apxs -q CFLAGS | sed 's,",\\",g' >>$my_makefileconf
+echo "" >>$my_makefileconf
 echo "INCLUDES=$my_apxs_includes" >>$my_makefileconf
 echo "RANLIB=ranlib" >>$my_makefileconf
 echo "LIBEXT=so" >>$my_makefileconf
@


1.6
log
@Update to version 1.21.

PR:		13705
Submitted by:	Garrett Wollman <wollman@@khavrinen.lcs.mit.edu>
@
text
@@


1.5
log
@o Fix for Perl5.
o Upgrade to v1.19.

No response for 24 hours from:	maintainer

(sorry, jfitz!)
@
text
@d1 17
a17 45
--- Makefile.PL~	Fri Jan 22 11:57:51 1999
+++ Makefile.PL	Sun May  9 19:41:55 1999
@@@@ -67,12 +67,10 @@@@
 sleep(1);
 }
 
-%Apache::MyConfig::Setup = ();
-eval 'require Apache::MyConfig' ;
-
-$APACHE_SRC_DEFAULT = $@@ ? 
-    '../apache_x.x/src'  :
-    $Apache::MyConfig::Setup{Apache_Src} ; 
+opendir( WRKDIR, "$ENV{APACHEDIR}" ) || die( "Can't open $ENV{APACHEDIR}: $!\n" );
+( $srcdir ) = grep( /^apache/, readdir( WRKDIR ) );
+closedir( WRKDIR );
+$APACHE_SRC_DEFAULT = "$ENV{APACHEDIR}" . $srcdir . "/src";
 
 my $PWD = cwd;
 
@@@@ -157,12 +155,12 @@@@
 }
 $PORT ||= $Port;
 $TARGET = "";
-$DO_HTTPD = $ENV{DO_HTTPD} || 0;
+$DO_HTTPD = 1;
 $NO_HTTPD = $ENV{NO_HTTPD} || 0;
 $PREP_HTTPD = 0;
 $PERL_TRACE = 0;
 $ALL_HOOKS  = 0;
-$APACHE_SRC = "";
+$APACHE_SRC = $APACHE_SRC_DEFAULT;
 $APACHE_PREFIX = "";
 $APACHE_HEADER_INSTALL = 1;
 $PERL_SECTIONS = 0;
@@@@ -1570,8 +1568,8 @@@@
     my $repl = "";
     my @@file = ();
     my $ccopts = ccopts();
-    my $dssv = "-DSERVER_SUBVERSION";
-    my $ssv = qq($dssv=\\"mod_perl/$VERSION\\" );
+    my $dssv = "\n-DSERVER_SUBVERSION";
+    my $ssv = qq($dssv=\\"mod_perl/$VERSION\\" \\);
 
     my $inc = " $ccopts -I. -I../.. -DUSE_PERL_SSI" if $PERL_SSI;
     $inc .= " -DAPACHE_SSL" if is_ssl() and $PERL_SSI;
@


1.4
log
@Make this handle WRKDIRPREFIX correctly.  Note this port is still broken
regardless.
@
text
@d1 5
a5 5
--- Makefile.PL.orig	Tue Dec 30 11:03:22 1997
+++ Makefile.PL	Tue Dec 30 11:08:37 1997
@@@@ -32,15 +32,10 @@@@
 gen_script("t/net/perl/cgi.pl");
 gen_script("t/report");
d7 2
a8 5
-unless ($Is_Win32) {
-    readline_setup();        
-}
-
-eval 'use Apache::MyConfig' ;
d19 5
a23 5
 my %SSL = (
@@@@ -109,11 +104,11 @@@@
 $EVERYTHING = 0;
 $PERL_STATIC_EXTS = "";
 $Port = $PORT = 8529;
d27 1
d32 2
d35 3
a37 5
 $PERL_SSI = 0;
 $ADD_VERSION = 1;
@@@@ -912,8 +907,8 @@@@
     my $sro = 1 if $mmn >= 19970825;
     my $inc;
d40 1
a40 1
-    my $ssv = qq{$dssv=\\"mod_perl/$VERSION\\" };
d42 4
a45 4
+    my $ssv = qq{$dssv=\\"mod_perl/$VERSION\\" \\};
     $inc = " $ccopts -I. -I../.. -DUSE_PERL_SSI" if $PERL_SSI;
 #    $inc = qq{$dssv=\\"mod_perl/$VERSION\\" } if $ADD_VERSION;
 #    $inc .= " $ccopts -I. -I../.. -DUSE_PERL_SSI" if $PERL_SSI; 
@


1.3
log
@Make this port build again.

Hinted at by:	Satoshi Asami <asami@@freebsd.org>
@
text
@d16 1
a16 1
+opendir( WRKDIR, "$ENV{PORTSDIR}/www/apache12/work" ) || die( "Can't open $ENV{PORTSDIR}/www/apache/work: $!\n" );
d19 1
a19 1
+$APACHE_SRC_DEFAULT = "$ENV{PORTSDIR}/www/apache12/work/" . $srcdir . "/src";
@


1.2
log
@Update to version 1.07.

PR:		5554
Submitted by:	Carl Fongheiser <cmf@@netins.net>
@
text
@d16 1
a16 1
+opendir( WRKDIR, "$ENV{PORTSDIR}/www/apache/work" ) || die( "Can't open $ENV{PORTSDIR}/www/apache/work: $!\n" );
d19 1
a19 1
+$APACHE_SRC_DEFAULT = "$ENV{PORTSDIR}/www/apache/work/" . $srcdir . "/src";
@


1.1
log
@Initial revision
@
text
@d1 5
a5 5
--- Makefile.PL.orig	Fri May  2 14:24:41 1997
+++ Makefile.PL	Sun May  4 20:31:33 1997
@@@@ -18,14 +18,10 @@@@
 # Check if knwon config
 #
d7 4
d13 3
a15 6
-if ($@@ eq '') { 
-    $APACHE_SRC_DEFAULT = $Apache::MyConfig::Setup{Apache_Src} ; 
-}
-else {
-    $APACHE_SRC_DEFAULT = '../apache_x.x/src' ;
-}
d22 26
a47 37
 
@@@@ -132,7 +128,7 @@@@
     print "Enter `q' to stop search\n";
     while(1) {
        print "Please tell me where I can find your apache src\n" ; 
-       $src_dir = _prompt "", $APACHE_SRC_DEFAULT;
+       $src_dir = $APACHE_SRC_DEFAULT;
        last if $src_dir eq "q";
 	if(-d $src_dir) {
 	    push(@@adirs, $src_dir);
@@@@ -150,6 +146,7 @@@@
     $httpd_h = "$adir/httpd.h";
 
     if (-e $httpd_h) {
+	$APACHE_SRC = $APACHE_SRC_DEFAULT;
 	unless($APACHE_SRC) {
 	    $ans = _prompt "Configure mod_perl with $adir ?", "y";
 	    next unless $ans =~ /^y$/i;
@@@@ -158,7 +155,8 @@@@
 	$IsBenSSL = -e "$adir/apache_ssl.c";
 	last unless(-e $conf || -e "$conf.tmpl"); #building from 'make offsite-tar' 
 	unless ($NO_HTTPD) {
-	    $ans = _prompt "Shall I build httpd in $adir for you?", "y";
+	    #$ans = _prompt "Shall I build httpd in $adir for you?", "y";
+	    $ans = "y";
 	    ++$NO_HTTPD unless $ans =~ /^y$/i;
 	}
 	last if $NO_HTTPD;
@@@@ -199,7 +197,7 @@@@
 		system $^X, "-pi", "-e",  
 		q{next unless /EXTRA_CFLAGS\s*=/;}.
  	        q{next if /mod_perl/; chomp; }.
-		qq{\$_ .= q: -DSERVER_SUBVERSION=\\"mod_perl/$VERSION\\"\n:;},
+		qq{\$_ .= q: \n-DSERVER_SUBVERSION=\\"mod_perl/$VERSION\\" \\\n:;},
 			$conf;
 	    }
 
@


1.1.1.1
log
@Import of p5-Apache, a module to integrate perl5 with almost every part of the Apache web server
@
text
@@
