Subject: pkg/5616: the Apache-1.3.0 package doesn't conform very well with hier(7)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <woods@weird.com>
List: netbsd-bugs
Date: 06/18/1998 22:22:06
>Number:         5616
>Category:       pkg
>Synopsis:       the Apache-1.3.0 package doesn't conform very well with hier(7)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 18 19:35:00 1998
>Last-Modified:
>Originator:     Greg A. Woods
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Release:        pkgsrc sup Thu Jun 18 07:44:16 EDT 1998 (898170256)
>Environment:

System: NetBSD most 1.3.1 NetBSD 1.3.1 (MOST) #0: Mon May 25 01:21:22 EDT 1998 woods@most:/usr/src-1.3.1/sys/arch/sparc/compile/MOST sparc

>Description:

The Apache-1.3.0 package doesn't conform very well with hier(7).

>How-To-Repeat:

Observe configuration defaults given by the current package....

>Fix:

I think the following patch brings the Apache-1.3.0 package more in line
with hier(7):

Index: Makefile
===================================================================
RCS file: /cvs/NetBSD/pkgsrc/www/apache/Makefile,v
retrieving revision 1.1.1.6
diff -c -r1.1.1.6 Makefile
*** Makefile	1998/06/07 15:30:57	1.1.1.6
--- Makefile	1998/06/19 01:47:58
***************
*** 9,17 ****
  MAINTAINER=	cjs@netbsd.org
  
  HAS_CONFIGURE=	YES
! CONFIGURE_ARGS+=--compat --prefix=${PREFIX}/http --exec-prefix=${PREFIX} \
! 		--mandir=${PREFIX}/man --libexecdir=${PREFIX}/lib/apache \
! 		--sbindir=${PREFIX}/sbin --runtimedir=/var/run \
  		--enable-module=most --enable-module=auth_db \
  		--disable-module=auth_dbm --with-perl=${PREFIX}/bin/perl
  
--- 9,18 ----
  MAINTAINER=	cjs@netbsd.org
  
  HAS_CONFIGURE=	YES
! CONFIGURE_ARGS+=--prefix=${PREFIX} --libexecdir=${PREFIX}/libexec/httpd \
! 		--runtimedir=/var/run --proxycachedir=/var/spool/httpd \
! 		--logfiledir=/var/log/httpd --datadir=${PREFIX}/share/www \
! 		--sysconfdir=${PREFIX}/etc/httpd --localstatedir=/var/httpd \
  		--enable-module=most --enable-module=auth_db \
  		--disable-module=auth_dbm --with-perl=${PREFIX}/bin/perl
  
>Audit-Trail:
>Unformatted: