From owner-cvs-ports Wed Aug 9 03:31:41 1995 Return-Path: cvs-ports-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id DAA02875 for cvs-ports-outgoing; Wed, 9 Aug 1995 03:31:41 -0700 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id DAA02869 ; Wed, 9 Aug 1995 03:31:36 -0700 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.11/8.6.9) id DAA03855; Wed, 9 Aug 1995 03:31:28 -0700 Date: Wed, 9 Aug 1995 03:31:28 -0700 Message-Id: <199508091031.DAA03855@silvia.HIP.Berkeley.EDU> To: jkh@time.cdrom.com CC: CVS-commiters@freefall.freebsd.org, cvs-ports@freefall.freebsd.org In-reply-to: <28779.807960268@time.cdrom.com> (jkh@time.cdrom.com) Subject: Re: cvs commit: ports/lang/python/pkg PLIST From: asami@cs.berkeley.edu (Satoshi Asami) Sender: cvs-ports-owner@freebsd.org Precedence: bulk * > Modified: lang/python/pkg PLIST * > Log: * > List all files in lib/python, plus one @exec/unexec mkdir/rmdir pair * > for an empty directory. * * But.. Why? Several reasons.... (1) pkg_delete can't delete the subdirectory registered by fake-pkg if it's only the directory name. (And don't go fix it to use rm -r, there *might* be user files added after installation.) (2) Makes it harder to accidentally include some post-installation addition. I learned my lesson when I shipped my private dictionary with the Wnn port. ;) I'm actually thinking of adding --norecurse to the tar command line. That will solve the above problems by forcing PLIST writers to list all the files. Also, writing PLIST will simply be a matter of "find ." .... :) (It doesn't work now because you have to exclude directories...but have to list empty directories separately....etc.) Satoshi