From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 29 16:40:04 2007 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 816B416A401 for ; Thu, 29 Mar 2007 16:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 47EB713C4BE for ; Thu, 29 Mar 2007 16:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l2TGe4hO059448 for ; Thu, 29 Mar 2007 16:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l2TGe4g6059447; Thu, 29 Mar 2007 16:40:04 GMT (envelope-from gnats) Resent-Date: Thu, 29 Mar 2007 16:40:04 GMT Resent-Message-Id: <200703291640.l2TGe4g6059447@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, Scot Hetzel Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63C4516A400 for ; Thu, 29 Mar 2007 16:33:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 53CCB13C45A for ; Thu, 29 Mar 2007 16:33:08 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l2TGX8PE060446 for ; Thu, 29 Mar 2007 16:33:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l2TGS6pW059689; Thu, 29 Mar 2007 16:28:06 GMT (envelope-from nobody) Message-Id: <200703291628.l2TGS6pW059689@www.freebsd.org> Date: Thu, 29 Mar 2007 16:28:06 GMT From: Scot Hetzel To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/111014: www/joomla - pkg-plist not using %%JOOMLA_DIR%% for substitutions 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: Thu, 29 Mar 2007 16:40:04 -0000 >Number: 111014 >Category: ports >Synopsis: www/joomla - pkg-plist not using %%JOOMLA_DIR%% for substitutions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 29 16:40:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Scot Hetzel >Release: 7.0-CURRENT >Organization: >Environment: >Description: When installing the port, you have the option of specifying an alternate JOOMLA_DIR (default: www/joomla). The problem is that the pkg-plist doesn't record the correct location of the installed files, when an alternate JOOMLA_DIR is specified. make install JOOMLA_DIR=www/joomla_test pkg_delete joomla-1.0.12 : pkg_delete: file '/usr/local/www/joomla' doesn't exist pkg_delete: unable to completely remove directory '/usr/local/www/joomla' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) >How-To-Repeat: make install JOOMLA_DIR=www/joomla_test make deinstall >Fix: Since the port already adds JOOMLA_DIR to PLIST_SUB, the only thing that needs to be patched is pkg-plist: sed -i .bak -e "s@www/joomla@%%JOOMLA_DIR%%@" pkg-plist >Release-Note: >Audit-Trail: >Unformatted: