delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/11/14/00:23:21

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=oUYx6XZmgcna5XaP
0Qwo7OfpTjLE6CPAgapbkn48wZNA7Rt3Sq3D6dANk9SbBGd8FxiS1yLOClAGfKa1
wUGEEh0AkNp1L9VFgK+1RPSw8hsQekVI3bTg7Q/gxJJIbPkfYTTZUn0c2i8SrCSj
M6AnRoRAWm5UYG4mCbzvS3eRJmU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=B4jjA5BSze5CH6PQALr07h
IaY/4=; b=kL1lD6woFoPZ6AMDnwDuet3QIOp6hLWyiawHHxMaPqQVed5K4h4yKP
JwzVr0V+ux+wJ1mhVKHQSTd5HfFpOZx4eA1cu9tg+zgWWHwVnH/+DDJ3ZohiqgOk
Svq32xyoh665NR2fnE6dSwJ0W0ie/k3yw2iGRIyYYWLmMDJT0IRUE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: Looking to set up a partial mirror of Cygwin package server
To: cygwin AT cygwin DOT com
References: <DB6PR0101MB2168BD14571D22458EB40EDBE0770 AT DB6PR0101MB2168 DOT eurprd01 DOT prod DOT exchangelabs DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Openpgp: preference=signencrypt
Message-ID: <1f60f400-61b8-d268-fba9-f05199bbf383@SystematicSw.ab.ca>
Date: Wed, 13 Nov 2019 22:22:25 -0700
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: <DB6PR0101MB2168BD14571D22458EB40EDBE0770@DB6PR0101MB2168.eurprd01.prod.exchangelabs.com>
X-IsSubscribed: yes

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019