Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2007 16:28:06 GMT
From:      Scot Hetzel<swhetzel@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/111014: www/joomla - pkg-plist not using %%JOOMLA_DIR%% for substitutions
Message-ID:  <200703291628.l2TGS6pW059689@www.freebsd.org>
Resent-Message-ID: <200703291640.l2TGe4g6059447@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703291628.l2TGS6pW059689>