[PATCH] Checking integrity of installed packages in cygcheck

Christopher Faylor cgf@redhat.com
Sat Aug 9 16:12:00 GMT 2003

On Thu, Aug 07, 2003 at 06:50:10PM -0400, Igor Pechtchanski wrote:
>This patch adds most of the capability of the script from
><http://cygwin.com/ml/cygwin-apps/2003-08/msg00106.html> to cygcheck.
>It is triggered by the "-c" flag to cygcheck.  "Integrity" is a rather
>strong word, actually, as all this checks for is the existence of files
>and directories, but this could be further built upon (for example, tar
>has a diff option that could be useful).  The patch is against cvs HEAD
>with my previous micropatch
>(<http://cygwin.com/ml/cygwin-patches/2003-q3/msg00058.html>) applied.
>Comments and suggestions welcome.

I'm getting some odd errors when I apply this patch:

"4NT: Unknown command f:"

(as you can see I use 4NT).

I haven't had time to debug where these are coming from but I get one
for every file displayed.

Btw, have you considered some kind of rpm -f functionality?  That would
allow a user to do a:

cygcheck -f /usr/bin/ls.exe

Also some kind of functionality which would allow cygcheck to query
the same files as the web search would be really cool.  Something like

cygcheck --whatprovides /usr/bin/ls.exe

would be really useful.

Another interesting thing would be to do some ntsec/mkpasswd/mkgroup
type sanity checks or even to fix up common ntsec problems.


More information about the Cygwin-patches mailing list