From owner-freebsd-ports  Fri Sep 18 15:57:31 1998
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
Received: (from majordom@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id PAA23051
          for freebsd-ports-outgoing; Fri, 18 Sep 1998 15:57:31 -0700 (PDT)
          (envelope-from owner-freebsd-ports@FreeBSD.ORG)
Received: from mrmell (ppp5592.on.bellglobal.com [206.172.197.144])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA22847
          for <ports@FreeBSD.ORG>; Fri, 18 Sep 1998 15:56:58 -0700 (PDT)
          (envelope-from vanderh@ecf.toronto.edu)
Received: (from tim@localhost)
	by mrmell (8.8.8/8.8.8) id SAA00264;
	Fri, 18 Sep 1998 18:57:29 -0400 (EDT)
	(envelope-from tim)
Message-ID: <19980918185728.A248@mrmell>
Date: Fri, 18 Sep 1998 18:57:28 -0400
From: Tim Vanderhoek <vanderh@ecf.utoronto.ca>
To: Archie Cobbs <archie@whistle.com>, John Fieber <jfieber@indiana.edu>
Cc: marquis@roble.com, ports@FreeBSD.ORG
Subject: Re: sshd
References: <Pine.BSF.4.02A.9809122252530.2501-100000@fallout.campusview.indiana.edu> <199809140706.AAA16521@bubba.whistle.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.93.2i
In-Reply-To: <199809140706.AAA16521@bubba.whistle.com>; from Archie Cobbs on Mon, Sep 14, 1998 at 12:06:05AM -0700
Sender: owner-freebsd-ports@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.org

On Mon, Sep 14, 1998 at 12:06:05AM -0700, Archie Cobbs wrote:
> 
> 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.

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).

Without first implementing a "pkg_delete_for_ever", though, you'll get
a lot of noise.


>  - mount / and /usr read-only
[...]
>  - cycle through every port and:

A (probably) surprising number of ports will legitimately require
a read-write /.


-- 
This .sig is not innovative, witty, or profund.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message