From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68665 invoked by alias); 10 Mar 2017 21:00:38 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 68205 invoked by uid 89); 10 Mar 2017 21:00:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_COUK,RCVD_IN_DNSWL_NONE,RCVD_IN_SEMBLACK,RP_MATCHES_RCVD,SPF_PASS autolearn=no version=3.3.2 spammy=fonts, Hx-languages-length:1973, company, UD:co.uk X-HELO: smtp-d-6.tiscali.co.uk Received: from smtp-d-6.tiscali.co.uk (HELO smtp-d-6.tiscali.co.uk) (62.24.229.6) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 10 Mar 2017 21:00:18 +0000 Received: from [10.7.7.5] ([88.150.206.166]) by smtp.talktalk.net with SMTP id mRdyccI8s3OBfmRe4cZtvg; Fri, 10 Mar 2017 21:00:16 +0000 Subject: Re: Providing/Packaging a Postinstalled SUSV4 Doc only Package a la Debian To: cygwin-apps@cygwin.com References: <91db6139-2463-da44-f9ec-0f0413b3367d@tiscali.co.uk> <20170310201023.GA21500@calimero.vinschen.de> <87lgsc7ud3.fsf@Rainer.invalid> From: David Stacey Message-ID: Date: Fri, 10 Mar 2017 21:00:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <87lgsc7ud3.fsf@Rainer.invalid> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfAwOaAo61eYXYOvC6ZYuYZSc0kD84hjFT9V9jIqO1udz4b6cKHWguNzjVLFed3BHPlRWWLAI7On6iA2Wqb2Ew1keIQKnxoX3DpIR44A3FJYFhxB1XbTK 10uEGgQRrfxjMJgbLRcdQmKa1kCsSixSo5h+lWJuo19f0kYhfA0D2+OYRKdTxeWjhSLeL6UDQXyQnQ== X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00004.txt.bz2 On 10/03/17 20:24, Achim Gratz wrote: > Corinna Vinschen writes: >>> Otherwise, I am nervous about setting a precedent for a package that could >>> give different contents each time it is installed (yes, Microsoft, I'm >>> looking at you too). And there are plenty of corner cases where this >>> wouldn't work: offline installs, web proxies, or if the account performing >>> the Cygwin install (e.g. Administrator) was blocked from accessing the web >>> (on security grounds). >> This is another interesting point of course. Does wget or curl allow >> to specify a (short) timeout before giving up and just not installing >> anything, perhaps? Yes. 'wget' has --timeout=. You can also set --dns-timeout, --connect-timeout and --read-timeout for fine-grain control [1]. However, the defaults are sensible and it gives up fairly quickly if there's no network. 'curl' has --max-time and --connect-timeout [2]. > Regardless if that is possible (I think it is), I would not accept such > a package into the standard distribution. For one, setup is not really > equipped to handle such packages properly. Two, I really can't allow > anything to download something from outside the internal network during > the installation even where it might work. I agree completely. I maintain what is effectively a private corporate Cygwin Time Machine, so the company I work for can recreate installations. Having this kind of repeatability is important to some people. In one sense I can't get too excited - it's just a documentation package afterall - I'm just nervous that it sets a precedent. What's next? Similar packages for non-free fonts? How about a package that downloads the 'lame' source, builds it and installs it, all from a post-install script? These might sound a bit extreme, but you get my point. Dave. [1] - https://linux.die.net/man/1/wget [2] - https://linux.die.net/man/1/curl