Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2003 21:45:32 +0800
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
Cc:        Anton Berezin <tobez@tobez.org>
Subject:   Re: cvs commit: ports/net/ipfm pkg-plist
Message-ID:  <20031001134532.GA10776@utopia.leeym.com>
In-Reply-To: <20031001021847.5002.qmail@exxodus.fedaykin.here>
References:  <200309301435.h8UEZp5x088982@repoman.freebsd.org> <20030930144238.GC23217@heechee.tobez.org> <20031001000318.GA74625@utopia.leeym.com> <20031001021847.5002.qmail@exxodus.fedaykin.here>

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

--mxv5cy4qt+RJ9ypb
Content-Type: text/plain; charset=big5
Content-Disposition: inline
Content-Transfer-Encoding: 8bit

On Tue, Sep 30, 2003 at 11:18:47PM -0300, Mario Sergio Fujikawa Ferreira wrote:
> On Wed, Oct 01, 2003 at 08:02:56AM +0800, Yen-Ming Lee wrote:
> 	If a file IS installed by the port and not removed, it is
> flagged in bento. Wherever that file lies.
> 
> 	However, IF the logs are only created when the port is
> ran, bento will not complain. Nonetheless, users should be warned
> that port leaves files behind when it is uninstalled.

The logs are created when the port is ran.

> 	Please, add something in pkg-message or a '@unexec echo ...'
> line in pkg-plist. Specially since this seems a change in the port
> past behavior. POLA change.

Could you please take a look on the attached patch ?

-- 
Yen-Ming Lee [§õ«Û©ú] KeyID: 0x5EB52E51 : www.leeym.com : Taipei, Taiwan

--mxv5cy4qt+RJ9ypb
Content-Type: text/plain; charset=big5
Content-Disposition: attachment; filename="ipfm.diff"

Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/net/ipfm/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- pkg-plist	30 Sep 2003 14:35:50 -0000	1.4
+++ pkg-plist	1 Oct 2003 13:38:50 -0000
@@ -1,3 +1,4 @@
 sbin/ipfm
 etc/ipfm.conf
 @exec mkdir -p /var/log/ipfm
+@unexec rmdir /var/log/ipfm 2>/dev/null || echo "The logs will be left in /var/log/ipfm after the port is deinstalled."

--mxv5cy4qt+RJ9ypb--



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