how to obsolete now-removed subpackage?

Glenn Strauss gs-cygwin.com@gluelogic.com
Thu Jan 20 14:04:49 GMT 2022


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


More information about the Cygwin-apps mailing list