new setup md5 check

Ralf Habacker Ralf.Habacker@freenet.de
Sun Apr 13 16:29:00 GMT 2003


> Gerrit P. Haase wrote:
> > Hallo,
> >
> > why is the MD5 check performed every time?
>
> A good question.
>
> > Because in the five minutes from now on, my packages
> > may be corrupted?
> >
> > How can I get rid of it?
>
> There is a command line option to disable: -5
>
But what about starting setup directly from http://www.cygwin.com/setup.exe or
refering through a link from another website like the kde-cygwin project does ?
This does not work.

There may be a possibility (1) to use an url like
http://www.cygwin.com/setup.exe?option=... but this require, that some cgi or
other server based scripting language does some tricks in choosing different
setup.exe's online or patching the delivered delivered setup.exe online. A
simpler way (2) would be using different setup.exe's with prefined options[1]
like http://www.cygwin.com/setup-5.exe or
http://www.cygwin.com/setup-<other_option>.exe but this require patched
setup.exe versions on the server.

In the last week I had send a prelimary patch to Robert Collins privat for
checking if this is usable , which allow exactly [1], but until now I haven't
heard anything about the useness of this.
Anyway, I have added this patch to this mail. Perhaps someone find is useful. A
short howto (for details see the appended mail):

	1. export the configuration from setup.exe
		./setup-config.exe -r setup.exe >setup.config

	2. edit the configuration file
		Example:

		CustomConfig (Structure version: 2) {
			mirror_url=http://xyz/mirrors.lst
			root_dir=\test
			show_splash_screen=0
			show_chooser_screen=0
			....
		}

	3a. import the configuration into setup.exe
		./setup-config.exe -w setup.exe <setup.config

or

	3a. create a different setup.exe with this configuration
		cp setup.exe setup-<option>.exe
		./setup-config.exe -w setup-<option>.exe <setup.config

Cheers
Ralf

-------------- next part --------------
An embedded message was scrubbed...
From: "Ralf Habacker" <Ralf.Habacker@freenet.de>
Subject: proposal of setup custom configurations features 
Date: Mon, 7 Apr 2003 13:23:42 +0200
Size: 19508
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030413/16f7528b/attachment.eml>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list