From owner-freebsd-ports Wed Feb 24 14:16:42 1999 Delivered-To: freebsd-ports@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id B5664122BD for ; Wed, 24 Feb 1999 14:12:34 -0800 (PST) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id RAA22986; Wed, 24 Feb 1999 17:10:12 -0500 (EST) Date: Wed, 24 Feb 1999 17:10:12 -0500 (EST) From: Chuck Robey To: Tom Hukins Cc: Michael , freebsd-ports@FreeBSD.ORG Subject: Re: PLIST verification script? In-Reply-To: <19990224102104.A1875@eborcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 24 Feb 1999, Tom Hukins wrote: > On Tue, Feb 23, 1999 at 02:47:30PM -0800, Michael wrote: > > Hi, I was wondering if someone had written a script to verify that everything > > a port installs was mentioned in the pkg/PLIST file or possibly even helped > > to create/update that file. Maybe this could be added to a future version > > of portlint? > > I don't think there is a tool which does this. I've thrown some > ideas together in PR docs/9375 as a patch to the Handbook which you > might find useful. > > My patch, and OpenBSD's "plist" target in its bsd.port.mk, might be > a useful starting point for anyone wanting to write such a script. I think, in order to do this, you have to have enough room for a chroot'ed environment. I usually just capture the entire listing of the port's install run, and (comparing it against the port's makefile to catch stuff that had "@" inserted in front of it) do a careful comparison. I've never been caught out yet, although it takes a while for some huge ports. > > Regards, > Tom > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message