www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/12/08/21:51:04

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
From: "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net>
To: "Cygwin-Apps" <cygwin-apps AT cygwin DOT com>
Subject: RE: broken setup.hint files
Date: Sat, 8 Dec 2001 20:44:27 -0600
Message-ID: <NCBBIHCHBLCMLBLOBONKKENFCHAA.g.r.vansickle@worldnet.att.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <3C126412.1060903@ece.gatech.edu>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal

Charles Wilson wrote:

> the hints may just be old.  Originally, the spec for hint files said
> "include curr and prev fields".  Later, it was changed to "that often
> causes confusion when folks forget to update the setup.hint.  Don't
> include curr/prev fields unless you must"
>

Actually (assuming you're referring to http://cygwin.com/setup.html), there's
nothing that specifically states or implies that prev/curr is "use only if
necessary".  Rather the language is, "In the event that a package doesn't sort
correctly [...] use the setup.hint current, prev and exp labels to override the
inbuilt sort during the transition period".  That, especially due to the mention
of "exp", tells me that its optional rather than only-if-necessary.  How about
this:

"
In the event that a package doesn't sort correctly (for example, from
"...-9-..." to "...-10-...", or from "openssh-2.9p2-3" to "openssh-2.9.9p2-1"),
the setup.hint "curr:" and "prev:" entries must be used to override the built-in
sort.  If your package *does* sort correctly, *don't* include curr: or prev:
fields in your setup.hint; it will only serve to cause problems later on if, for
instance, you forget to update it and nobody catches it.
"

That said, I have a few questions on this that I'd appreciate if someone could
clarify for me, as I'm trying to get a new and improved mutt package together:

- "The curr, prev, and test lines indicate which versions should be used for
which sections of that package. If any of them are valid, they replace /all/
versions in setup.ini."  What does that last sentence mean?  Actually since the
mutt packages will sort, I guess it's not that germain to me right now, but it
could still use clarification.

- "Note that [setup.hint] must be in subdirectories named after the package
(i.e. latest/cygwin/setup.hint is for the cygwin package)."  So... do I put my
setup.hint in a latest/mutt-1.2.5i-6/setup.hint in my binary .tar.bz2?  Or do I
provide three files, foo-nnn-n.tar.bz2, foo-nnn.n-src.tar.bz2, and setup.hint?
Or...?

Thanks,

--
Gary R. Van Sickle
Brewer.  Patriot.

- Raw text -


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