Bug 39108

Summary: removing perl5 port removes files installed by p5-* ports
Product: Ports & Packages Reporter: Dan Nelson (old address) <dan>
Component: Individual Port(s)Assignee: Anton Berezin <tobez>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Dan Nelson (old address) 2002-06-10 16:10:03 UTC
The perl5 port pkg-plist has as its last two lines:

@unexec rm -rf %D/lib/perl5/%%PERL_VER%%
@unexec rm -rf %D/lib/perl5/site_perl/%%PERL_VER%%

This means that any files installed by the user or other ports in those
directories get removed when the perl5 port is removed.  Ports should
only remove files they themselves installed.  That's what the plist is
for.

How-To-Repeat: 
Install perl-5.6.1_4
Install any p5-* port
Pkg_upgrade to perl-5.6.1_5
Notice that the files insatlled by the p5-* port are now gone.
Comment 1 Pete Fritchman freebsd_committer freebsd_triage 2002-06-10 16:26:17 UTC
Responsible Changed
From-To: freebsd-ports->tobez

Over to maintainer.
Comment 2 Anton Berezin freebsd_committer freebsd_triage 2002-06-16 13:27:45 UTC
State Changed
From-To: open->closed

Fixed in PORTREVISION 6.