Bug 54465

Summary: ipfm (/usr/ports/ipfm) destroys all accouting info on removal
Product: Ports & Packages Reporter: Phil Regnauld <regnauld>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: roman
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Phil Regnauld 2003-07-14 09:30:20 UTC
The ipfm package/port (/usr/ports/net/ipfm) does this on removal:

@unexec rm -rf /var/log/ipfm

This is plain fucking stupid.  Great way to lose 6 months of
statistics (I just did).

How-To-Repeat: 
pkg_delete ipfm-0.11.x
Comment 1 Phil Regnauld 2003-07-14 09:35:04 UTC
	Make that patch:

--- pkg-plist.orig      Mon Jul 14 10:34:52 2003
+++ pkg-plist   Mon Jul 14 10:34:49 2003
@@ -1,4 +1,3 @@
 sbin/ipfm
 etc/ipfm.conf
 @exec mkdir -p /var/log/ipfm
-@unexec rm -rf /var/log/ipfm
Comment 2 Oliver Lehmann 2003-08-02 14:53:06 UTC
Followups:
	ports/54480
	ports/54484
Comment 3 Yen-Ming Lee freebsd_committer freebsd_triage 2003-09-30 15:36:06 UTC
State Changed
From-To: open->closed

Committed, thanks.