From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Aug 20 05:00:11 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05FE8106569F for ; Wed, 20 Aug 2008 05:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9288D8FC30 for ; Wed, 20 Aug 2008 05:00:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m7K508wQ055715 for ; Wed, 20 Aug 2008 05:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m7K508Ir055714; Wed, 20 Aug 2008 05:00:08 GMT (envelope-from gnats) Resent-Date: Wed, 20 Aug 2008 05:00:08 GMT Resent-Message-Id: <200808200500.m7K508Ir055714@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Joseph S. Atkinson" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 927F51065691 for ; Wed, 20 Aug 2008 04:54:12 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7FC4F8FC17 for ; Wed, 20 Aug 2008 04:54:12 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m7K4sC9L075474 for ; Wed, 20 Aug 2008 04:54:12 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m7K4sCkZ075461; Wed, 20 Aug 2008 04:54:12 GMT (envelope-from nobody) Message-Id: <200808200454.m7K4sCkZ075461@www.freebsd.org> Date: Wed, 20 Aug 2008 04:54:12 GMT From: "Joseph S. Atkinson" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/126670: apache22 packages fail to include etc/rc.d scripts X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Aug 2008 05:00:11 -0000 >Number: 126670 >Category: ports >Synopsis: apache22 packages fail to include etc/rc.d scripts >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 20 05:00:08 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Joseph S. Atkinson >Release: 8.0-CURRENT i386 >Organization: >Environment: FreeBSD mephisto.autocthonia.net 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Aug 16 18:20:52 EDT 2008 root@legion.mephisto.autocthonia.net:/usr/obj/usr/src/sys/MEPHISTO i386 >Description: Building a package for www/apache22 fails to create etc/rc.d/apache22 and etc/rc.d/htcacheclean. The files are installed via 'make install', but are not included for use when using pkg_add. This becomes readily apparent when trying to (auto)start via rc.conf. Additionally, when using pkg_delete, it registers complaints that it cannot rmdir certain empty directories that do get made via 'make install'. >How-To-Repeat: $ make package Check ${LOCALBASE}/etc/rc.d/ (there) $ make deinstall && pkg_add ${PACKAGES}/www/apache-2.2.9.tbz Check ${LOCALBASE}/etc/rc.d/ (not there) $ pkg_delete apache-2.2.9 Complains about missing directories >Fix: Don't attempt to redefine RC_SUBR_SUFFIX since the default in Mk/bsd.port.mk is correct and this line is the culprit. Additionally, force the creation of the empty directories when installing from packages in case something actually uses them. Patch included. Additionally, I am unable to submit via send-pr. I suspect it's caught in the spam filters, can someone contact me in regards to this? Patch attached with submission follows: --- Makefile.orig 2008-08-19 20:13:59.000000000 -0400 +++ Makefile 2008-08-19 22:35:28.000000000 -0400 @@ -41,7 +42,6 @@ USE_AUTOTOOLS= autoconf:261 libtool:15 USE_PERL5= yes USE_RC_SUBR= apache22.sh htcacheclean.sh -SUB_LIST+= RC_SUBR_SUFFIX=${RC_SUBR_SUFFIX} LIBTOOLFILES= configure # for slave ports --- pkg-plist.orig 2008-08-19 22:21:07.000000000 -0400 +++ pkg-plist 2008-08-19 22:34:08.000000000 -0400 @@ -525,6 +525,8 @@ www/apache22/icons/world1.png www/apache22/icons/world2.gif www/apache22/icons/world2.png +@exec mkdir -p %D/lib/apr-util-1 +@exec mkdir -p %D/share/doc/apache22/style/xsl/util @dirrm www/apache22/icons/small @dirrm www/apache22/icons @dirrm www/apache22/error/include >Release-Note: >Audit-Trail: >Unformatted: