www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/12/12:10:45

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Hans Kaiser" <hkaiserl AT googlemail DOT com>
To: <cygwin AT cygwin DOT com>
References: <013901c89436$214ba6d0$63e2f470$@com> <47F535CA DOT 11611312 AT dessent DOT net> <025701c89bf7$bc433e50$34c9baf0$@com> <48001F08 DOT 4020007 AT cwilson DOT fastmail DOT fm> <20080412083522 DOT GA23852 AT calimero DOT vinschen DOT de>
In-Reply-To: <20080412083522.GA23852@calimero.vinschen.de>
Subject: RE: Embedded packaging of cygwin without installation
Date: Sat, 12 Apr 2008 18:09:39 +0200
Message-ID: <030301c89cb7$9de4e0b0$d9aea210$@com>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 12.0
X-IsSubscribed: yes
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

> > [Good ol' licensing fine print removed]
>
> >> For me it would be okay, if I could detect if there is a installed
cygwin
> >> with my needed utils (bash, grep, sed, awk, read...)
> >> For now my only idea was to package it with my distribution.
> >> So here my new suggestion:
> >> 1.    is cygwin installed?
> >> 1.1.  yes, setup the environment-variables to use the installed one
> >> 1.1.1 are the needed tools installed?
> >> 1.1.2 no, run cygwin-setup and preselect the additionally needed tools
> >> 1.2.  no, run cygwin-setup with the preselected needed tools
> >> Is this possible to realize?
> >
> > That sounds almost ideal (to me, but I'm no authority). 
>
> Authoritative ACK, including the "almost".

You got me wrong. I have a preconfigured distribution of tools (nothing to
do with cygwin), which I want to provide in some teams. For now I have
packaged the UnxTools into my distribution. Now I am searching for an
replacement. The replacement could be done by:
- a cygwin packaging in my distribution
- usage of an (maybe) already installed cygwin (via your setup.exe).
I got it, that I cannot package your cygwin into my distribution. So far so
good. 
But now I want to be able to determine, if someone has already installed
(via your setup.exe) a cygwin. If so I would like to be able to use the
already installed one. But how to determine if there is already an
installation of cygwin? And furthermore, how can I use it?
If I detect, that no cygwin (via your setup.exe) is installed, I would like
to open a browser which points to your setup.exe so the user could install
the cygwin.
In both cases it may be necessary to determine 

Correct me if I am wrong. This approach has no licensing issues.

In short: I want to use a preinstalled cygwin (and optionally to install one
with your setup.exe if it wasn't installed). I only need some commands
(bash, grep, sed, awk, ...). I do not want to package anything into cygwin,
I just want to use the cygwin as it is.

> > [...]
> >
> > (1) (a) Just create a setup.exe-compatible package for your tool
> >     (b) create a cygwin "release" directory on a website of your control
> >     (c) populate it with all the cygwin packages (including -src) you
want 
> > to include in your mini-distro PLUS all of the dependencies for those 
> > packages
> >     (d) create a setup.exe-compatible setup.ini script that describes
the 
> > packages available on your site (use 'genini')
> >     (e) tell people to use setup.exe, with "custom mirror" set to your 
> > site, and 'install all'.  (FWIW, this is what I did for an internal 
> > customized cygwin distro for my employer)  If they already have cygwin, 
> > and/or newer versions of some of your copied packages, they get to keep 
> > their newer versions, and just pull in your special package, and any
other 
> > requirements they don't already have.
> >     (f) alternatively, if setup.exe has cmdline args to set a specific 
> > mirror choice (I don't know), give your user a batch file that 
> > automatically runs setup.exe with --some-option your-mirror.

> That's the second best way, really.  The best way is to become a Cygwin
> package maintainer for your special packages and put them into the distro.

I do not need any mirror or any special packages, because I do not want to
change anything in cygwin. In my scenario cygwin is "only" tool to setup my
needed environment by grepping, awking, seding some files.

I hope I could clarify my needs.

Hans


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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