Subject: pkg/11452: apache6 package mentions incorrect directories in DESCR
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mike@pelley.com>
List: netbsd-bugs
Date: 11/08/2000 15:10:11
>Number:         11452
>Category:       pkg
>Synopsis:       apache6 package mentions incorrect directories in DESCR
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 08 15:10:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mike Pelley
>Release:        current pkgsrc
>Organization:
Foundation
>Environment:
	
System: NetBSD trantor.worldmap.net 1.5_BETA2 NetBSD 1.5_BETA2 (TRANTOR) #1: Wed Nov 8 09:36:51 EST 2000 mike@trantor.worldmap.net:/usr/src/sys/arch/i386/compile/TRANTOR i386


>Description:

The DESCR for apache6 mentions two directories - /usr/pkg/http/conf for config files and /usr/pkg/http/htdocs for docroot.  The correct directories are /usr/pkg/etc/httpd and /usr/pkg/share/httpd/htdocs, and it should refer to $PREFIX for those folks who change their package directory.

>How-To-Repeat:

Read DESCR for apache6.  Install.  Compare DESCR to dir structure.

>Fix:

Patch follows.

Index: DESCR
===================================================================
RCS file: /usr/cvsroot/pkgsrc/www/apache6/pkg/DESCR,v
retrieving revision 1.2
diff -u -r1.2 DESCR
--- DESCR	1999/07/23 18:19:31	1.2
+++ DESCR	2000/11/08 23:03:53
@@ -2,9 +2,10 @@
 This compile includes proxy server support, as well as the ability
 to add modules that add many other features.
 
-You'll have to edit the configuration files in /usr/pkg/http/conf
+You'll have to edit the configuration files in $PREFIX/etc/httpd
 before you start it. The default root directory for documents is
-/usr/pkg/http/htdocs. You can start the server with `apachectl start'.
+$PREFIX/share/httpd/htdocs. You can start the server with
+`apachectl start'.
 
 This package is IPv6 ready.  Apache module API is slightly modified
 so some of third-party modules may not work.
>Release-Note:
>Audit-Trail:
>Unformatted: