Index: install.cc =================================================================== RCS file: /cvs/cygwin-apps/setup/install.cc,v retrieving revision 2.94 diff -p -u -r2.94 install.cc --- install.cc 28 Jan 2010 22:59:09 -0000 2.94 +++ install.cc 25 Feb 2010 19:22:04 -0000 @@ -76,6 +76,9 @@ static BoolOption NoReplaceOnReboot (fal "Disable replacing in-use files on next " "reboot."); +static BoolOption NoMD5Sums (false, '5', "no-md5sums", + "Don't validate md5 checksums before installing packages"); + struct std_dirs_t { const char *name; mode_t mode; @@ -713,6 +716,9 @@ do_install (HINSTANCE h, HWND owner) void md5_one (const packagesource& pkgsource) { + if (NoMD5Sums) + return; + if (pkgsource.md5.isSet() && pkgsource.Cached ()) { std::string fullname (pkgsource.Cached ());