Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Oct 1997 00:16:41 -0500 (CDT)
From:      dave.duchscher@net.tamu.edu
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/4787: www/p5-Apache port is out of date
Message-ID:  <199710170516.AAA06818@orion.tamu.edu>
Resent-Message-ID: <199710170520.WAA20528@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4787
>Category:       ports
>Synopsis:       www/p5-Apache port is out of date
>Confidential:   yes
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 16 22:20:00 PDT 1997
>Last-Modified:
>Originator:     Dave Duchscher
>Organization:
>Release:        FreeBSD 2.2-970612-RELENG i386
>Environment:

	

>Description:

Source for this port has been updated by its author and consequently
broke this port.

>How-To-Repeat:

make

>Fix:
	
--- Makefile.orig	Thu Oct 16 23:13:12 1997
+++ Makefile	Thu Oct 16 23:38:44 1997
@@ -6,8 +6,8 @@
 #   $Id: Makefile,v 1.6 1997/09/14 02:53:58 jfitz Exp $
 #
 
-DISTNAME=	mod_perl-1.00b2
-PKGNAME=	p5-Apache-1.00b2
+DISTNAME=	mod_perl-1.00
+PKGNAME=	p5-Apache-1.00
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Apache
@@ -27,7 +27,8 @@
 		@ cd ${PORTSDIR}/www/apache && ${MAKE} clean patch
 
 do-configure:
-		@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${CONFIGURE_ENV} ${PREFIX}/bin/perl Makefile.PL
+		@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${CONFIGURE_ENV} ${PREFIX}/bin/perl Makefile.PL \
+		DO_HTTPD=1 APACHE_SRC=${PORTSDIR}/www/apache/work/apache_1.2.4/src
 
 post-install:
 		${MKDIR} -p ${PREFIX}/share/doc/mod_perl
--- files/md5.orig	Thu Oct 16 23:14:07 1997
+++ files/md5	Thu Oct 16 23:43:27 1997
@@ -1 +1 @@
-MD5 (mod_perl-1.00b2.tar.gz) = 21f4e414e8fb40a5f190cf7996230c3d
+MD5 (mod_perl-1.00.tar.gz) = 09c94620cc014bcccc95ab17e76c41e6
--- patches/patch-aa.orig	Sun May  4 19:41:07 1997
+++ patches/patch-aa	Fri Oct 17 00:04:16 1997
@@ -1,57 +1,11 @@
---- 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
- #
- 
--eval 'use Apache::MyConfig' ;
--
--if ($@ eq '') { 
--    $APACHE_SRC_DEFAULT = $Apache::MyConfig::Setup{Apache_Src} ; 
--}
--else {
--    $APACHE_SRC_DEFAULT = '../apache_x.x/src' ;
--}
-+opendir( WRKDIR, "$ENV{PORTSDIR}/www/apache/work" ) || die( "Can't open $ENV{PORTSDIR}/www/apache/work: $!\n" );
-+( $srcdir ) = grep( /^apache/, readdir( WRKDIR ) );
-+closedir( WRKDIR );
-+$APACHE_SRC_DEFAULT = "$ENV{PORTSDIR}/www/apache/work/" . $srcdir . "/src";
- 
- my $PWD = cwd;
- 
-@@ -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;
- 	    }
+--- Makefile.PL.orig	Mon Jul 28 21:42:09 1997
++++ Makefile.PL	Thu Oct 16 23:30:32 1997
+@@ -789,7 +789,7 @@
+     my($mf, $cfg) = @_;
  
+     my $inc;
+-    $inc = qq{-DSERVER_SUBVERSION=\\"mod_perl/$VERSION\\" } if $ADD_VERSION;
++    $inc = qq{\n-DSERVER_SUBVERSION=\\"mod_perl/$VERSION\\" } if $ADD_VERSION;
+     $inc .= " `$^X -MExtUtils::Embed -e ccopts` -I. -DUSE_PERL_SSI" if $PERL_SSI; 
+     $inc .= " -DAPACHE_SSL" if is_ssl() and $PERL_SSI;
+     iedit $cfg,

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710170516.AAA06818>