Hi all, based on Johannes' ideas and performance specification [1] I've written a simple utility, called portverify, to check CRUX ports for typical errors. It's a shell script which calls gawk with a bunch of small scripts, each of them containing one or more tests. Following test are implemented yet: - port - missing files Pkgfile/.footprint/.md5sum - Pkgfile - existence of name/version/release/source variables - match of portname to name variable - wrong release number - cd/rm command outside the work directory - .footprint - world writable files/directories - junk files like perllocal.pod - invalid directories like /usr/info - invalid users - files not owned by root - SUID/SGID files To use the utility call it with one ore more ports like: portverify /usr/ports/{core,opt}/* All test are categorized into 4 levels, from FATAL to INFO, which can be used to adjust the output of portverify, see the help message for more information. For now portverify is available from a darcs repository [2] or as an CRUX package [3]. To do: - missing stuff from [1] - more test ? - improve shell script - man-page - other ideas ? Contributions and any kind of feedback are highly appreciated. kind regards Jürgen [1] http://crux.nu/Main/WantedTools [2] darcs get http://jue.ods.org/repos/portverify [3] http://jue.ods.org/files/portverify%230.1.2.pkg.tar.gz -- Juergen Daubert | mailto:jue@jue.li Korb, Germany | http://jue.li/crux