Subject: Re: Updating perl package to 5.00502
To: None <email@example.com>
From: Bill Sommerfeld <firstname.lastname@example.org>
Date: 03/15/1999 09:06:57
> Ughh. Surely the easiest way is to change your pkg base to a virgin
> directory, mtree it with NetBSD.pkg.dist, then make your package and
> install using that pkg base. You've mostly got your PLIST right there
> (except for changing any arch named paths to variables) and you could
> use mtree to check creation of directories thus also how to
> uninstall (dirrm/rm -rf).
This doesn't handle the case of poorly-behaved packages which install
stuff outside the pkg base..
One of these days I really should turn traceinstall (which uses ktrace
to trace which files get created during a package install, and then
postprocesses the output with perl) into a tool for generating
first-cut PLIST files..