From owner-freebsd-ports Mon Jun 10 8:10:42 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8863637B40E for ; Mon, 10 Jun 2002 08:10:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5AFA3057920; Mon, 10 Jun 2002 08:10:03 -0700 (PDT) (envelope-from gnats) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id ED25037B40F for ; Mon, 10 Jun 2002 08:06:01 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.12.3/8.12.3) id g5AF611w099621; Mon, 10 Jun 2002 10:06:01 -0500 (CDT) (envelope-from dan) Message-Id: <200206101506.g5AF611w099621@dan.emsphone.com> Date: Mon, 10 Jun 2002 10:06:01 -0500 (CDT) From: Dan Nelson Reply-To: Dan Nelson To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/39108: removing perl5 port removes files installed by p5-* ports Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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