From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123090 invoked by alias); 14 Nov 2019 05:22:29 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 122816 invoked by uid 89); 14 Nov 2019 05:22:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=company X-HELO: smtp-out-no.shaw.ca Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 14 Nov 2019 05:22:27 +0000 Received: from [192.168.1.114] ([24.64.172.44]) by shaw.ca with ESMTP id V7aLiJPb5nCigV7aMixOVW; Wed, 13 Nov 2019 22:22:26 -0700 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: Looking to set up a partial mirror of Cygwin package server To: cygwin@cygwin.com References: From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <1f60f400-61b8-d268-fba9-f05199bbf383@SystematicSw.ab.ca> Date: Thu, 14 Nov 2019 06:48:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-11/txt/msg00070.txt.bz2 On 2019-11-12 13:31, dmytro.shmagin.barclays.com via cygwin wrote: > We're looking to set up a partial mirror of the Cygwin package servers to serve the few (around 50) packages that we use on a daily basis - essentially setting up a repo for our users to download those Cygwin apps which are approved on our system. Essentially, we'd like to have our personal package server be an available option to our users - preferably the only available option - on the list of Cygwin mirrors in the installer, and to only list those packages which are approved (with no automatic updates - we are most likely freezing these versions until they are next approved in order to comply with company policy). Currently, we are simply including all packages as a "Local Download" after downloading them without installing and compressing them into an archive, but this method doesn't allow us to set up a proper mirror + setup.ini file as the .hint files are not included with the download (even when installing source files). This also means that users have to download ALL packages even if they only want to download a subset of them with our current method. > Can anyone run me through how to set up a partial, non-updated package > server for Cygwin, as I am unable to do so by following the Cygwin package > server setup guide on the Cygwin site? Start with https://cygwin.com/package-server.html#overlay, remember that calm has replaced genini/mksetupini, and include all Base category packages and all their dependencies, plus all your package dependencies, in your local repo. You should be able to trim setup.ini to just those packages you want to allow. You will probably have to disable some signature checking. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple