From owner-freebsd-ports Mon Sep 14 00:06:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA17812 for freebsd-ports-outgoing; Mon, 14 Sep 1998 00:06:45 -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 AAA17793; Mon, 14 Sep 1998 00:06:39 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id AAA17980; Mon, 14 Sep 1998 00:06:23 -0700 (PDT) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma017978; Mon Sep 14 00:06:05 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id AAA16521; Mon, 14 Sep 1998 00:06:05 -0700 (PDT) From: Archie Cobbs Message-Id: <199809140706.AAA16521@bubba.whistle.com> Subject: Re: sshd In-Reply-To: from John Fieber at "Sep 12, 98 11:35:54 pm" To: jfieber@indiana.edu (John Fieber) Date: Mon, 14 Sep 1998 00:06:05 -0700 (PDT) Cc: marquis@roble.com, freebsd-security@FreeBSD.ORG, 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 John Fieber writes: > > For one thing 'make -n install' typically doesn't yield readable > > information unless you first 'cd work/*'. > > 'more pkg/PLIST' is generally more efficient......if the PLIST is > accurate. > > > Secondly, while port A installs under /usr/, port B > > installs to /usr/local/etc and port C in /usr/libexec, ... > > You can never be sure what is going where and it's a rare > > port that can be uninstalled with 'make uninstall'. > > ... > > A more frustrating problem for me are ports that are not > ${PREFIX} != /usr/local compatible which makes it a hassle to > install multiple version of a port or separate ports that have > common files. Also, I occasionaly go through phases of liking > SysV way of installing things in /opt/, > /etc/opt/ and /var/opt/ which a simple 'make > PREFIX=/opt/' doesn't really accomplish. If someone was interested, it would be easy to write a script that checks all the ports: - mount / and /usr read-only - mount /usr/local and /usr/local2 read-write, initially empty except for the directory structure - save mtree dumps of every file in /usr/local and /usr/local2 - cycle through every port and: - build the port with PREFIX=/usr/local - install the port, then uninstall the port - compare the contents of /usr/local with the mtree file - build the port with PREFIX=/usr/local2 - install the port, then uninstall the port - compare the contents of /usr/local2 AND /usr/local with the mtree files If any port exhibited bad behavior, it could also automatically generate a send-pr report :-) -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