Subject: Re: md5 checksums on non-files
To: None <tech-pkg@netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-pkg
Date: 07/05/2000 20:09:13
In article <Pine.GSO.4.10.10007052025310.29215-100000@rfhpc8320.fh-regensburg.de>,
	Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de> writes:
> I'd like to change this to only generate MD5 checksums for regular files:
[...]
>  * In the case of symlinks (Hi Matthias!), the original file's checksum
>    should be checked for, not the link's (again). This is esp. bad in the
>    case of links to directories.

Yes, yes, yes!

> With that change, the PLIST file can list symlinks to directories as
> regular files. 

I would for sure like to see that feature. The dynamic package list
creating in "ptl2" or "suse_base" package are much more complicated
because of this problem.

BTW: could we also enhance "@dirrm" to create a directories during
pkg_add"? This way we could also get rid of the need to use
"@exec mkdir" for empty directories.

	Kind regards

-- 
Matthias Scheler                            http://www.sighardstrasse.de/~tron/