Bug 105206 - sysutils/bsdstats attempts to remove /usr/local/etc/periodic
Summary: sysutils/bsdstats attempts to remove /usr/local/etc/periodic
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: scrappy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-06 12:30 UTC by Xin LI
Modified: 2008-08-19 11:30 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xin LI freebsd_committer freebsd_triage 2006-11-06 12:30:19 UTC
	sysutils/bsdstats uses PLIST_DIRS to generate necessary plist
lines, unfortunately, we have only the way to generate @dirrm and not
@dirrmtry.  It is possible that we have installed other software in
/usr/local/etc/periodic, so the use of @dirrm is incorrect.

Fix: 

Either use pkg-plist, or we fix bsd.ports.mk.
How-To-Repeat: 	Install bsdstats and portaudit, then deinstall bsdstats.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-11-06 12:31:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->scrappy

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-08-19 11:25:22 UTC
bsam        2008-08-19 10:25:06 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/bsdstats    Makefile 
    sysutils/bsdstats/files 300.statistics 
  Added files:
    sysutils/bsdstats    pkg-plist 
  Log:
  . do not remove (shared) directories periodic, periodic/monthly  [1] [3]
    at deinstall;
  . fix useless use of cat(1);  [2]
  . hardcoded directory name isreplaced with the appropriate variable.  [2]
  
  PR:             105206 [1],  119453 [2],  126632 [3]
  Submitted by:   delphij [1], olli [2], bsam [3]
  Approved by:    maintainer timeout
  
  Revision  Changes    Path
  1.56      +1 -4      ports/sysutils/bsdstats/Makefile
  1.41      +2 -2      ports/sysutils/bsdstats/files/300.statistics
  1.1       +4 -0      ports/sysutils/bsdstats/pkg-plist (new)
_______________________________________________
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"
Comment 3 Boris Samorodov freebsd_committer freebsd_triage 2008-08-19 11:25:45 UTC
State Changed
From-To: open->closed

Committed, thanks!