From oleg@desh.globix.net Sun May 23 10:32:45 1999
Return-Path: <oleg@desh.globix.net>
Received: from desh.globix.net (desh.globix.net [209.208.255.16])
	by hub.freebsd.org (Postfix) with ESMTP id 8E28614ECC
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 May 1999 10:32:41 -0700 (PDT)
	(envelope-from oleg@desh.globix.net)
Received: (from root@localhost)
	by desh.globix.net (8.9.3/8.9.3) id NAA73997;
	Sun, 23 May 1999 13:32:57 -0400 (EDT)
	(envelope-from oleg)
Message-Id: <199905231732.NAA73997@desh.globix.net>
Date: Sun, 23 May 1999 13:32:57 -0400 (EDT)
From: oleg@ogurok.com
Sender: oleg@desh.globix.net
Reply-To: oleg@ogurok.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: ports/www/apache13-fp is broken
X-Send-Pr-Version: 3.2

>Number:         11862
>Category:       ports
>Synopsis:       apache13-fp port is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 23 10:40:00 PDT 1999
>Closed-Date:    Wed Jun 9 01:04:46 PDT 1999
>Last-Modified:  Wed Jun  9 01:05:01 PDT 1999
>Originator:     Oleg Ogurok
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
>Environment:

	Pentium 133, 2.5Gb hdd. 3.2-RELEASE.
	Tried to CVSUP the latest ports, same problem.

>Description:

	Can't install port www/apache13-fp.

>How-To-Repeat:

doing: 
cd /usr/ports/www/apache13-fp
make install


Creating and modifying new /usr/local/frontpage/version3.0/frontpage.cnf...


Install new sub/per-user webs now (y/n) [Y]?  


Using FrontPage Configuration File:  /usr/local/frontpage/we80.cnf


Getting DocumentRoot and UserDir.
Found Directive ResourceConfig, value /usr/local/etc/apache/srm.conf.
Getting DocumentRoot from /usr/local/etc/apache/srm.conf.
Getting UserDir from /usr/local/etc/apache/srm.conf.
ERROR:   does not exist!
ERROR:  Unable to get DocumentRoot/UserDir

Exiting due to an error!  Please fix the error and try again.

*** Error code 1

Stop.

>Fix:
	


>Release-Note:
>Audit-Trail:

From: Bill Fumerola <billf@chc-chimes.com>
To: oleg@ogurok.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/11862: ports/www/apache13-fp is broken
Date: Mon, 24 May 1999 11:01:23 -0400 (EDT)

 On Sun, 23 May 1999 oleg@ogurok.com wrote:
 
 > Getting DocumentRoot and UserDir.
 > Found Directive ResourceConfig, value /usr/local/etc/apache/srm.conf.
 > Getting DocumentRoot from /usr/local/etc/apache/srm.conf.
 > Getting UserDir from /usr/local/etc/apache/srm.conf.
 > ERROR:   does not exist!
 > ERROR:  Unable to get DocumentRoot/UserDir
 
 Hmm... I don't think  srm.conf exists in the newer apaches.
 
 - bill fumerola - billf@chc-chimes.com - BF1560 - computer horizons corp -
 - ph:(800) 252-2421 - bfumerol@computerhorizons.com - billf@FreeBSD.org  -
 
 
 
 

From: "Scot W. Hetzel" <hetzels@westbend.net>
To: <FreeBSD-gnats-submit@FreeBSD.ORG>
Cc: <oleg@ogurok.com>
Subject: Re: ports/11862: ports/www/apache13-fp is broken
Date: Mon, 24 May 1999 20:44:06 -0500

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_0142_01BEA626.2A4CD900
 Content-Type: text/plain;
 	charset="iso-8859-1"
 Content-Transfer-Encoding: 7bit
 
 From: <oleg@ogurok.com>
 > >Description:
 >
 > Can't install port www/apache13-fp.
 >
 > >How-To-Repeat:
 >
 
 >
 >
 > Getting DocumentRoot and UserDir.
 > Found Directive ResourceConfig, value /usr/local/etc/apache/srm.conf.
 > Getting DocumentRoot from /usr/local/etc/apache/srm.conf.
 > Getting UserDir from /usr/local/etc/apache/srm.conf.
 > ERROR:   does not exist!
 > ERROR:  Unable to get DocumentRoot/UserDir
 >
 > Exiting due to an error!  Please fix the error and try again.
 >
 > *** Error code 1
 >
 This problem was caused by ResourceConfig & AccessConfig being set to the
 empty srm.conf and access.conf files in the httpd.conf file.
 
 The attached patch corrects the patch-ab (Makefile.tmpl) where
 ResourceConfig & AccessConfig were being set to the wrong values.  Also, 3
 files were missing from the PLIST and are included in this patch.
 
 Scot
 
 
 
 ------=_NextPart_000_0142_01BEA626.2A4CD900
 Content-Type: application/octet-stream;
 	name="fp.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="fp.diff"
 
 --- patches/patch-ab.orig	Sat May  8 03:48:21 1999
 +++ patches/patch-ab	Mon May 24 20:02:14 1999
 @@ -116,8 +116,8 @@
   			-e 's;@@ServerRoot@@/icons;$(iconsdir);' \
   			-e 's;@@ServerRoot@@/cgi-bin;$(cgidir);' \
   			-e 's;@@ServerRoot@@/proxy;$(proxycachedir);' \
 -+			-e 's;@@ServerRoot@@/srm.conf;$(sysconfdir)/srm.conf;' \
 -+			-e 's;@@ServerRoot@@/access.conf;$(sysconfdir)/access.conf;' \
 ++			-e 's;@@ServerRoot@@/srm.conf;$(sysconfdir)/$(TARGET).conf;' \
 ++			-e 's;@@ServerRoot@@/access.conf;$(sysconfdir)/$(TARGET).conf;' \
   			-e 's;@@ServerRoot@@;$(prefix);g' \
   			-e 's;httpd.conf;$(TARGET).conf;' \
   			-e 's;logs/accept.lock;$(runtimedir)/$(TARGET).lock;' \
 --- pkg/PLIST.orig	Sat May  8 03:48:22 1999
 +++ pkg/PLIST	Mon May 24 20:27:57 1999
 @@ -268,6 +268,7 @@
  www/icons/small/continued.gif
  www/icons/small/dir.gif
  www/icons/small/dir2.gif
 +www/icons/small/doc.gif
  www/icons/small/forward.gif
  www/icons/small/generic.gif
  www/icons/small/generic2.gif
 @@ -277,6 +278,8 @@
  www/icons/small/index.gif
  www/icons/small/key.gif
  www/icons/small/movie.gif
 +www/icons/small/patch.gif
 +www/icons/small/ps.gif
  www/icons/small/rainbow.gif
  www/icons/small/sound.gif
  www/icons/small/sound2.gif
 
 ------=_NextPart_000_0142_01BEA626.2A4CD900--
 
 

From: "Scot W. Hetzel" <hetzels@westbend.net>
To: "FreeBSD-GNATS" <FreeBSD-gnats-submit@FreeBSD.ORG>
Cc:  
Subject: RE: ports/11862 - Patch to fix install script for Apache13-FP
Date: Tue, 8 Jun 1999 21:21:46 -0500

 Could someone please commit the patch attached to this PR.  It corrects the
 problem where the fp_install.sh script is trying to get configuration
 information out of srm.conf instead of httpd.conf.
 
 Basically, the AccessConfig & ResourceConfig directives were being set to
 the wrong values in the httpd.conf file.
 
 Thanks,
 
 Scot W. Hetzel
 
 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Wed Jun 9 01:04:46 PDT 1999 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:
