Subject: Re: print-PLIST can't pick up files installed by cp -p.
To: OBATA Akio <obache@NetBSD.org>
From: David Brownlee <abs@NetBSD.org>
List: tech-pkg
Date: 03/14/2007 09:01:13
On Wed, 14 Mar 2007, OBATA Akio wrote:

> On Mon, 5 Mar 2007 15:08:46 +0000 (GMT), David Brownlee wrote:
>> On Mon, 5 Mar 2007, OBATA Akio wrote:
>>
>>> On Mon, 5 Mar 2007 07:29:58 -0600 (CST), Jeremy C. Reed wrote:
>>>> On Mon, 5 Mar 2007, OBATA Akio wrote:
>>>>> Now, print-PLIST can't pick up some files, for example, installed by cp -p.
>>>>>
>>>>> How about using find -cnewer instead of -newer?
>>>>
>>>> Some implementations of find(1) don't know -cnewer.
>>>
>>> Ah, my careless oversight of 'extensions to' in find(1) on NetBSD 3:
>>>
>>>     The options and the -amin, -anewer, -cmin, -cnewer, -empty, -follow,
>>>     -fstype, -iname, -inum, -iregex, -links, -ls, -maxdepth, -mindepth,
>>>     -mmin, -path, -print0 and -regex primaries are extensions to IEEE Std
>>>     1003.2 (``POSIX.2'').
>>>
>>> At least, Interix's one dosen't know -cnewer.
>>>
>>> I'll use this modification on my local environment.
>>
>>  	Presumably pkgsrc should use -cnewer on systems that support it?
>
> Yes, some packages are hard to maintain PLIST now.
> But I don't know what platform's `find' supports -cnewer or not.

 	Default all platforms to -newer with a comment that it should
 	be checked, and then convert across known ones to -cnewer.

-- 
 		David/absolute       -- www.NetBSD.org: No hype required --