From: Glenn Strauss <gs-cygwin.com@gluelogic.com>
To: Jon Turney <jon.turney@dronecode.org.uk>
Cc: "cygwin-apps@cygwin.com" <cygwin-apps@cygwin.com>
Subject: Re: how to obsolete now-removed subpackage?
Date: Thu, 20 Jan 2022 09:04:49 -0500 [thread overview]
Message-ID: <YelsAegsuVCw5bBe@xps13> (raw)
In-Reply-To: <7d1b36c6-1484-c76d-5698-91dd1868b87f@dronecode.org.uk>
On Thu, Jan 20, 2022 at 02:00:02PM +0000, Jon Turney wrote:
> On 20/01/2022 13:42, Jon Turney wrote:
> > On 20/01/2022 13:12, Ken Brown wrote:
> > > On 1/20/2022 7:14 AM, Glenn Strauss wrote:
> > > > lighttpd 1.4.64 removes long-deprecated packages,
> > > > including mod_trigger_b4_dl (replaceable with a lua script, if needed)
> > > >
> > > > I am trying to build using lighttpd.cygport and after uploading package
> > > > 1.4.64-1, I got errors, so I tried adding
> > > > PKG_OBSOLETES="lighttpd-mod_trigger_b4_dl"
> > > > to lighttpd.cygport and building lighttpd.cyport package 1.4.64-2
> > >
> > > > Am I using PKG_OBSOLETES incorrectly?
> > >
> > > Yes. The cygport manual says that PKG_OBSOLETES is "A single-line
> > > string containing a list of package(s) which this package
> > > replaces.... Note that the PKG_OBSOLETES name is descriptive rather
> > > than literal, where "PKG" should be substituted with the name of the
> > > binary package whose contents it describes."
>
> Reading this again...
>
> To be clear, PKG needs to be replaced by the name of a package. So, you
> probably want something like:
>
> lighttpd_OBSOLETES="lighttpd-mod_trigger_b4_dl"
It makes sense now that you and Ken have explained it, but I
misunderstood that when comparing PKG_OBSOLETES to PKG_NAMES.
Maybe the documentation could use <PKG>_OBSOLETES in places
where <PKG> is expected to be replaced with a package name?
Cheers, Glenn
next prev parent reply other threads:[~2022-01-20 14:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <164267844372.1313732.6963001602045507938@server2.sourceware.org>
2022-01-20 12:14 ` Glenn Strauss
2022-01-20 13:12 ` Ken Brown
2022-01-20 13:42 ` Jon Turney
2022-01-20 14:00 ` Jon Turney
2022-01-20 14:04 ` Glenn Strauss [this message]
2022-01-20 15:57 ` Jon Turney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YelsAegsuVCw5bBe@xps13 \
--to=gs-cygwin.com@gluelogic.com \
--cc=cygwin-apps@cygwin.com \
--cc=jon.turney@dronecode.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).