Bug 114186

Summary: make deinstall in mail/p5-Mail-Spamassassin wipes /var/lib regardless of what else is using it
Product: Ports & Packages Reporter: Henrik Olsen <henrik>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Henrik Olsen 2007-07-01 12:10:02 UTC
/usr/ports/mail/p5-Mail-SpamAssassin/pkg-plist includes the line
@unexec rm -rf /var/lib || true
which on deinstall wipes /var/lib regardless of what else is using it.

This is NotAGoodThing(tm)

Fix: 

remove the
@unexec rm -rf /var/lib || true
line
How-To-Repeat: mkdir /var/lib
cd /usr/ports/mail/p5-Mail-SpamAssassin/
make
make deinstall
ls /var/lib
Comment 1 Michael Scheidell 2007-07-01 14:34:51 UTC
PR maintainer: please mark closed/Fixed with PR ports/114188
_________________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(tm). 
For Information please see http://www.spammertrap.com
_________________________________________________________________________
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2007-07-01 16:06:00 UTC
State Changed
From-To: open->closed

Fixed, thanks.
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-07-01 16:06:25 UTC
pav         2007-07-01 15:06:19 UTC

  FreeBSD ports repository

  Modified files:
    mail/p5-Mail-SpamAssassin pkg-plist 
  Log:
  - Stop wiping out /var/lib on deinstall
  
  PR:             ports/114186
  Submitted by:   Henrik Olsen <henrik@iaeste.dk>
  With hat:       portmgr
  
  Revision  Changes    Path
  1.40      +1 -1      ports/mail/p5-Mail-SpamAssassin/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"