From owner-freebsd-ports Fri Sep 18 16:34:01 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA01566 for freebsd-ports-outgoing; Fri, 18 Sep 1998 16:34:01 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA01511 for ; Fri, 18 Sep 1998 16:33:29 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id QAA01489; Fri, 18 Sep 1998 16:33:03 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma001487; Fri Sep 18 16:32:36 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id QAA20213; Fri, 18 Sep 1998 16:32:36 -0700 (PDT) From: Archie Cobbs Message-Id: <199809182332.QAA20213@bubba.whistle.com> Subject: Re: sshd In-Reply-To: <19980918185728.A248@mrmell> from Tim Vanderhoek at "Sep 18, 98 06:57:28 pm" To: vanderh@ecf.utoronto.ca (Tim Vanderhoek) Date: Fri, 18 Sep 1998 16:32:36 -0700 (PDT) Cc: fieber@indiana.edu, marquis@roble.com, ports@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tim Vanderhoek writes: > > If someone was interested, it would be easy to write a script > > that checks all the ports: > > Yes and no. :) > > Ports are not necessarily supposed to remove everything they install. > > What's needed (and has been needed for a long time) is to allow the > user to choose between "pkg_delete_for_ever" and > "pkg_delete_im_gonna_upgrade_now" (where there upgrading is the most > commen reason for desiring such as deinstall, but not the only one). > > Currently all deinstalls are of the "pkg_delete_im_gonna_upgrade_now" > type. Can you give an example where pkg_delete_im_gonna_upgrade_now != pkg_delete_for_ever ? What does pkg_delete_im_gonna_upgrade_now mean exactly? I would think pkg_delete_for_ever should be the default. > To be even more ambitious, you should consider comparing /etc before > and after, too. Maybe throw-in a comparison of /etc between install > and deinstall, too. Some ports modify things in there that they > should not (mgetty+sendfax bit me last time I installed it, for > example). All stuff that wants to go in /etc should go in /usr/local/etc and/or /usr/local/etc/rc.d instead. > A (probably) surprising number of ports will legitimately require > a read-write /. Then the port has a bug, IMHO (oh well, MHO never counted for much.. :-) -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message