From owner-freebsd-ports Sun May 14 11:50:28 2000 Delivered-To: freebsd-ports@freebsd.org Received: from rock.ghis.net (rock.ghis.net [209.222.164.7]) by hub.freebsd.org (Postfix) with ESMTP id 4ABB937BEEC for ; Sun, 14 May 2000 11:50:17 -0700 (PDT) (envelope-from will@blackdawn.com) Received: from argon.blackdawn.com (07-042.dial.008.popsite.net [209.69.77.42]) by rock.ghis.net (8.9.3/8.9.3) with ESMTP id LAA34990; Sun, 14 May 2000 11:49:39 -0700 (PDT) Received: by argon.blackdawn.com (Postfix, from userid 1000) id 5C14D1A0B; Thu, 11 May 2000 12:34:20 -0400 (EDT) Date: Thu, 11 May 2000 12:34:20 -0400 From: Will Andrews To: Maxim Sobolev Cc: Neil Blakey-Milner , Will Andrews , Michael Haro , ports@FreeBSD.ORG Subject: Re: port helper scripts directory Message-ID: <20000511123420.D393@argon.blackdawn.com> References: <20000426170301.A24093@area51.fremont.ca.us> <3907F075.1D6865E8@altavista.net> <20000427075903.A39186@area51.fremont.ca.us> <20000427111810.A369@argon.blackdawn.com> <20000427193908.A27000@mithrandr.moria.org> <3908820E.3DCC85B1@altavista.net> <20000427201115.C27000@mithrandr.moria.org> <39088F88.50085B4D@altavista.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <39088F88.50085B4D@altavista.net>; from sobomax@altavista.net on Thu, Apr 27, 2000 at 10:05:44PM +0300 X-Operating-System: FreeBSD 5.0-CURRENT i386 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, Apr 27, 2000 at 10:05:44PM +0300, Maxim Sobolev wrote: > 1. wordclean. This script intended to clean mandatory pieces of base system > resulting from removing/renaming/moving in /usr/src. This problem is known to all > people actively tracking -current or doing system upgrade via cvsup/makeworld. The > idea is simple: > - do "make buildworld installworld" as usually; > - do "make DESTDIR=[....] installworld" into some temporary directory (/tmp/world > in my case); > - list files in each dir in /tmp/world, compare it with the listing in the > appropriate "real" directory and report differences I assume you mean "worldclean".. in any case, if this script were to be added to the repository, it wouldn't go under ports. Well, I guess I could be persuaded to believe that it could be added as misc/worldclean or something like that... it would indeed be helpful to clean systems that have been around for so long they have outdated includes/binaries/etc. > I've actually wrote small script in Python doing this procedure and use it > regularly. I'm attaching it with this message. Thanks! I'm gonna add it to my private collection of scripts (at least for the time being). > 2. . The script to report stale files in ${LOCALBASE} and ${X11BASE} usually > resulting from incomplete PLISTs. Following is main idea: > - parse +CONTENT files in /var/db/pkg and build list of files which are "allowed" > to be in ${LOCALBASE} and ${X11BASE} > - list actual files in above mentioned directories, compare list with one obtained > on previous step and report differences (optionally comparing md5 checksums). > > This is still in the "idea" stage, but if someone could implement it please be my > guest ;). Methinks this was implemented by Satoshi on bento. -- Will Andrews GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w--- ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ G++>+++ e->++++ h! r-->+++ y? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message