cvs commit: ports/net/ipfm pkg-plist
Yen-Ming Lee
leeym at FreeBSD.org
Wed Oct 1 06:45:47 PDT 2003
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
-------------- next part --------------
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
+ at unexec rmdir /var/log/ipfm 2>/dev/null || echo "The logs will be left in /var/log/ipfm after the port is deinstalled."
More information about the cvs-ports
mailing list