Date: Mon, 10 Jun 2002 10:06:01 -0500 (CDT) From: Dan Nelson <dan@dan.emsphone.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/39108: removing perl5 port removes files installed by p5-* ports Message-ID: <200206101506.g5AF611w099621@dan.emsphone.com>
next in thread | raw e-mail | index | archive | help
>Number: 39108 >Category: ports >Synopsis: removing perl5 port removes files installed by p5-* ports >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 10 08:10:03 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dan Nelson >Release: FreeBSD 5.0-CURRENT i386 >Organization: The Allant Group >Environment: System: FreeBSD dan.emsphone.com 5.0-CURRENT FreeBSD 5.0-CURRENT #166: Fri Jun 7 15:11:37 CDT 2002 dan@dan.emsphone.com:/usr/src/sys/i386/compile/DANSMP i386 >Description: 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. >Fix: Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/lang/perl5/pkg-plist,v retrieving revision 1.25 diff -u -r1.25 pkg-plist --- pkg-plist 19 Dec 2001 17:05:04 -0000 1.25 +++ pkg-plist 10 Jun 2002 15:00:29 -0000 @@ -894,5 +894,3 @@ lib/perl5/%%PERL_VER%%/vars.pm lib/perl5/%%PERL_VER%%/warnings.pm lib/perl5/%%PERL_VER%%/warnings/register.pm -@unexec rm -rf %D/lib/perl5/%%PERL_VER%% -@unexec rm -rf %D/lib/perl5/site_perl/%%PERL_VER%% >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206101506.g5AF611w099621>