From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.atof.net (smtp1.atof.net [52.86.233.228]) by sourceware.org (Postfix) with ESMTPS id CEB883858D37 for ; Thu, 20 Jan 2022 14:04:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CEB883858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gluelogic.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gluelogic.com X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-Spam-Language: en X-Spam-Relay-Country: X-Spam-DCC: B=MGTINTERNET; R=smtp1.atof.net 1170; Body=1 Fuz1=1 Fuz2=1 X-Spam-RBL: X-Spam-PYZOR: Reported 0 times. Date: Thu, 20 Jan 2022 09:04:49 -0500 From: Glenn Strauss To: Jon Turney Cc: "cygwin-apps@cygwin.com" Subject: Re: how to obsolete now-removed subpackage? Message-ID: References: <164267844372.1313732.6963001602045507938@server2.sourceware.org> <84551e01-2f6d-21d5-27e0-4237badd8ec0@cornell.edu> <7d1b36c6-1484-c76d-5698-91dd1868b87f@dronecode.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7d1b36c6-1484-c76d-5698-91dd1868b87f@dronecode.org.uk> X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jan 2022 14:04:56 -0000 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 _OBSOLETES in places where is expected to be replaced with a package name? Cheers, Glenn