Bug 114186 - make deinstall in mail/p5-Mail-Spamassassin wipes /var/lib regardless of what else is using it
Summary: make deinstall in mail/p5-Mail-Spamassassin wipes /var/lib regardless of what...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-01 12:10 UTC by Henrik Olsen
Modified: 2007-07-01 16:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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"