delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/03/25/09:35:25

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type; q=dns; s=
default; b=CFuA/MT3824ZiZYQ1HchcCZHKvap80XgPEEeOBncF5sliDAauTlT2
pQyBbkibVk+GWTGJwZ85GhfqqjuJWUWkHwVS6PHyiXdOTzkRbtR+uOIqPIkBdXBM
Rf9bFKx4pP6O3/S8yz7U1p1nqEStWG57R9t34xyyaYrhF6/MLwrd5M=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type; s=default;
bh=DliHQFs0JEQfFWKblQAtAhrrwBo=; b=gUcmOYdYIxvMyK0CpBMJeS2UoPoQ
gIbVgQznegbMJbJnSZOwrZC5MhPzlTf3p9v6z+BbUp5prSPaGnR29JFoknBZtVOZ
ZqsarT6H9xj5Eb8edpjdUINh/bD1NXyITVXODrPwiU+FNJCEn6jhcs0j1CRzgkZm
FDCW7NAjsACGiQw=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=terrible, H*UA:Bat!, H*r:Client, H*x:Bat!
X-HELO: forward1h.cmail.yandex.net
Authentication-Results: smtp3h.mail.yandex.net; dkim=pass header.i=@yandex.ru
X-Yandex-Suid-Status: 1 0,1 0
Date: Sat, 25 Mar 2017 16:21:58 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <810356908.20170325162158@yandex.ru>
To: Ivan Gagis <igagis AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Setting up overlay package server
In-Reply-To: <1073a24a-e21c-53c8-ae34-92f485616f5b@gmail.com>
References: <1073a24a-e21c-53c8-ae34-92f485616f5b AT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

------------0B90D11C7051F4CA7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Greetings, Ivan Gagis!

> Hi,

> I'm developing some software which consists of several libraries and I 
> would like to distribute it for Cygwin. So, I would need a feature of 
> setting up a custom cygwin repository for my packages. As I understand 
> the most suitable here would be an overlay package server. Right?

Unless you want to host a complete Cygwin mirror, all you need to do is to
only host your own packages on a custom package server.
https://cygwin.com/package-server.html#custom-mirror

> Unfortunately, I could find no information on the web about how to set 
> up an overlay package server. Cygwin page 
> https://cygwin.com/package-server.html misses the docs about how to do 
> that also, saying that the manual is TBD. So, is it very complicated to 
> do that, so that even manual is not yet written?

> Are there any plans to complete the manual about setting up the overlay 
> package server?

> Could somebody give me some hints on how to do that?

> And what would be the configurations needed on the user side to start 
> using my overlay server? Ideally, I'd prefer it would be working with 
> apt-cyg script.

Look at setup's -K and -s switches.
For reference, I'm attaching my Cygwin upgrade script with optional ports
integration. ("install-cygwin.sh" ports)


-- 
With best regards,
Andrey Repin
Saturday, March 25, 2017 16:14:51

Sorry for my terrible english...
------------0B90D11C7051F4CA7
Content-Type: application/octet-stream;
 name="install-cygwin.sh"
Content-trans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NldHVwLSR7
QVJDSH0uZXhlIC1PIC1zICIke01JUlJPUiUlL30vIiAkS0VZUyAkKiAmCgpz
bGVlcCAyCnRhc2traWxsIC9JTSAic2guZXhlIiAvRgp0YXNra2lsbCAvSU0g
ImJhc2guZXhlIiAvRgp0YXNra2lsbCAvSU0gImRhc2guZXhlIiAvRgo=


------------0B90D11C7051F4CA7
Content-Type: text/plain; charset=us-ascii


--
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
------------0B90D11C7051F4CA7--

- Raw text -


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