Date: 01 May 2000 02:08:23 -0700 From: asami@freebsd.org (Satoshi - Ports Wraith - Asami) To: Maxim Sobolev <sobomax@altavista.net> Cc: ports@freebsd.org Subject: Re: lists of files and directories missing from PLIST Message-ID: <vqc1z3mpri0.fsf@silvia.hip.berkeley.edu> In-Reply-To: Maxim Sobolev's message of "Mon, 01 May 2000 09:15:24 %2B0300" References: <200005010154.SAA08504@silvia.hip.berkeley.edu> <390D20FC.6E7FEB8A@altavista.net>
next in thread | previous in thread | raw e-mail | index | archive | help
* From: Maxim Sobolev <sobomax@altavista.net> * IMHO, there is easiest way to detetmine leftover files. You can use script * to mesure time spent to make install/deinstall, and then find files in * ${PREFIX}, which have been created during this time. This would allow to * easily associate leftovers with appropriate port. * * 1. cd /usr/ports/myport & make all * 2. t1=time * 3. cd /usr/ports/myport & make install deinstall * 4. t2=time * 5. t=t2-t1 * 6. find ${PREFIX} -cmin -(t+1) I can think of two problems with that approach off the top of my head: (a) It won't find files that are unpacked directly into the installation directory (e.g. tar -x) (b) It will find directories in which files are created and then deleted. Really, my method is not that hard, since I already have all the files installed in a (previously empty) ${prefix} and I need to clean them up for the next build anyway. (The chroot environments are recycled.) I just added a check in between. Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vqc1z3mpri0.fsf>