Bug 145741 - [PATCH] security/logcheck: fix pkg-plist to delete directories installed out of PREFIX (on /var)
Summary: [PATCH] security/logcheck: fix pkg-plist to delete directories installed out ...
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: Greg Larkin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-16 04:20 UTC by Sahil Tandon
Modified: 2010-04-17 00:20 UTC (History)
1 user (show)

See Also:


Attachments
logcheck.diff (473 bytes, patch)
2010-04-16 04:20 UTC, Sahil Tandon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sahil Tandon freebsd_committer 2010-04-16 04:20:00 UTC
- Fix pkg-plist to delete directories installed out of PREFIX (on /var)

How-To-Repeat: - Install and then deinstall security/logcheck; notice that the empty /var/foo directories remain; this is because the @dirrmtry macro prepends PREFIX to its arguments, so we reset PREFIX to '/' at end of pkg-plist just before @dirrmtry macros are used to remove directories relative to '/'.
Comment 1 Edwin Groothuis freebsd_committer 2010-04-16 04:20:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->glarkin

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2010-04-17 00:14:09 UTC
glarkin     2010-04-16 23:14:01 UTC

  FreeBSD ports repository

  Modified files:
    security/logcheck    pkg-plist 
  Log:
  - Fix pkg-plist so directories installed out of PREFIX are removed
    when empty
  
  PR:             ports/145741
  Submitted by:   sahil
  
  Revision  Changes    Path
  1.13      +1 -0      ports/security/logcheck/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"
Comment 3 Greg Larkin freebsd_committer 2010-04-17 00:14:20 UTC
State Changed
From-To: open->closed

Committed, thank you!