Subject: Re: pkgsrc changes.
To: Todd Vierling <tv@pobox.com>
From: David Brownlee <abs@anim.dreamworks.com>
List: current-users
Date: 06/23/1998 22:34:01
On Mon, 22 Jun 1998, Todd Vierling wrote:

> In fact, if you want a script to compare your /usr/pkg tree against the
> information contained in the PLISTs (this was what originally made me find
> the unnecessary @exec/@unexec symlink stuff in several pkgs), try this.  Its
> output looks startlingly like "checkflist".  :>
> 
> #!/bin/sh
> PREFIX=/usr/pkg
> find $PREFIX ! -type d | sort > /tmp/pkgchk_a$$
> pkg_info -aLq | egrep "^$PREFIX" | sort > /tmp/pkgchk_b$$
> diff /tmp/pkgchk_a$$ /tmp/pkgchk_b$$ | less
> rm -f /tmp/pkgchk_?$$
> 
	Maybe have a ftp://ftp.netbsd.org/pub/NetBSD/packages/tools
	directory with useful scripts for pkg builders?

		David/absolute

	 -=-  "That which does not kill us, makes us stranger"  -=-