[PATCH] Checking integrity of installed packages in cygcheck

2003-08-14 Thread Igor Pechtchanski
Hi, 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

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-14 Thread Charles Wilson
Christopher Faylor wrote: I'll check this in but it would be nice if (WBNI) this used a mingw gzip library rather than calling gzip directly. That's a fair amount of work but I could resurrect the zlib library in winsup if necessary. I wonder why setup is using gzip rather than bzip2 for the

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-14 Thread Christopher Faylor
On Sun, Aug 10, 2003 at 10:23:47AM +1000, Robert Collins wrote: On Sun, 2003-08-10 at 10:12, Christopher Faylor wrote: I don't see how that will ever be possible given the windows problems with stdio and GUI apps. I guess we could make setup a console utility but that would result in the ugly

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-14 Thread Igor Pechtchanski
On Sat, 9 Aug 2003, Christopher Faylor wrote: On Sat, Aug 09, 2003 at 03:52:55PM -0400, Igor Pechtchanski wrote: On Sat, 9 Aug 2003, Christopher Faylor wrote: On checking this patch a little further, I see that it gives a misleading OK when the package file is missing. Could you detect that

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-14 Thread Igor Pechtchanski
Ping! This is pretty urgent, as the code that's currently in CVS won't work and has a buffer overflow. Igor On Sun, 10 Aug 2003, Igor Pechtchanski wrote: On Sat, 9 Aug 2003, Christopher Faylor wrote: On Sat, Aug 09, 2003 at 03:52:55PM -0400, Igor Pechtchanski wrote: On Sat, 9 Aug

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-14 Thread Robert Collins
On Sun, 2003-08-10 at 02:12, Christopher Faylor wrote: On Thu, Aug 07, 2003 at 06:50:10PM -0400, Igor Pechtchanski wrote: Hi, Also some kind of functionality which would allow cygcheck to query the same files as the web search would be really cool. Something like a: cygcheck

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-14 Thread Igor Pechtchanski
On Sat, 9 Aug 2003, Christopher Faylor wrote: [snip] Btw, have you considered some kind of rpm -f functionality? That would allow a user to do a: cygcheck -f /usr/bin/ls.exe fileutils-4.1-2 Also some kind of functionality which would allow cygcheck to query the same files as the web

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-14 Thread Christopher Faylor
On Thu, Aug 07, 2003 at 06:50:10PM -0400, Igor Pechtchanski wrote: Hi, 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

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-14 Thread Robert Collins
On Sun, 2003-08-10 at 10:12, Christopher Faylor wrote: I don't see how that will ever be possible given the windows problems with stdio and GUI apps. I guess we could make setup a console utility but that would result in the ugly black console box flashing up whenever you start setup.exe.

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-14 Thread Christopher Faylor
On Sat, Aug 09, 2003 at 12:12:11PM -0400, Christopher Faylor wrote: On Thu, Aug 07, 2003 at 06:50:10PM -0400, Igor Pechtchanski wrote: Hi, 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

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-14 Thread Igor Pechtchanski
On Sat, 9 Aug 2003, Christopher Faylor wrote: On Sat, Aug 09, 2003 at 12:12:11PM -0400, Christopher Faylor wrote: On Thu, Aug 07, 2003 at 06:50:10PM -0400, Igor Pechtchanski wrote: Hi, This patch adds most of the capability of the script from

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-12 Thread Christopher Faylor
On Sat, Aug 09, 2003 at 08:07:33PM -0400, Christopher Faylor wrote: On Sat, Aug 09, 2003 at 03:59:00PM -0400, Igor Pechtchanski wrote: On Sat, 9 Aug 2003, Christopher Faylor wrote: [snip] Btw, have you considered some kind of rpm -f functionality? That would allow a user to do a: cygcheck

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-11 Thread Christopher Faylor
On Sat, Aug 09, 2003 at 03:18:00PM -0400, Charles Wilson wrote: Christopher Faylor wrote: I'll check this in but it would be nice if (WBNI) this used a mingw gzip library rather than calling gzip directly. That's a fair amount of work but I could resurrect the zlib library in winsup if necessary.

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-11 Thread Christopher Faylor
On Sat, Aug 09, 2003 at 03:52:55PM -0400, Igor Pechtchanski wrote: On Sat, 9 Aug 2003, Christopher Faylor wrote: On checking this patch a little further, I see that it gives a misleading OK when the package file is missing. Could you detect that case? Yes. The attached patch (against the

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-09 Thread Igor Pechtchanski
On Sat, 9 Aug 2003, Charles Wilson wrote: Christopher Faylor wrote: I'll check this in but it would be nice if (WBNI) this used a mingw gzip library rather than calling gzip directly. That's a fair amount of work but I could resurrect the zlib library in winsup if necessary. Yes, I

Re: [PATCH] Checking integrity of installed packages in cygcheck

2003-08-09 Thread Christopher Faylor
On Sat, Aug 09, 2003 at 12:29:39PM -0400, Christopher Faylor wrote: On Sat, Aug 09, 2003 at 12:12:11PM -0400, Christopher Faylor wrote: On Thu, Aug 07, 2003 at 06:50:10PM -0400, Igor Pechtchanski wrote: Hi, This patch adds most of the capability of the script from