From nobody Thu Sep 08 10:51:44 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MNbgn3BR5z4bqBt; Thu, 8 Sep 2022 10:57:57 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from sprint-2.amdmi3.ru (sprint-2.amdmi3.ru [185.185.68.145]) by mx1.freebsd.org (Postfix) with ESMTP id 4MNbgm4FL3z428Y; Thu, 8 Sep 2022 10:57:56 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from amdmi3.ru (localhost [127.0.0.1]) by sprint-2.amdmi3.ru (Postfix) with SMTP id 7D6E6188CB4; Thu, 8 Sep 2022 13:57:59 +0300 (MSK) Received: by amdmi3.ru (nbSMTP-1.00) for uid 1000 amdmi3@amdmi3.ru; Thu, 8 Sep 2022 13:57:59 +0300 (MSK) Date: Thu, 8 Sep 2022 13:51:44 +0300 From: Dmitry Marakasov To: Stefan =?utf-8?B?RcOfZXI=?= Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: b7f05445c00f - main - Add WWW entries to port Makefiles Message-ID: References: <202209072117.287LHGu7035095@gitrepo.freebsd.org> List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202209072117.287LHGu7035095@gitrepo.freebsd.org> X-Rspamd-Queue-Id: 4MNbgm4FL3z428Y X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of amdmi3@amdmi3.ru has no SPF policy when checking 185.185.68.145) smtp.mailfrom=amdmi3@amdmi3.ru X-Spamd-Result: default: False [-2.00 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[dev-commits-ports-all@freebsd.org,dev-commits-ports-main@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[amdmi3]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[amdmi3.ru]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ASN(0.00)[asn:35278, ipnet:185.185.68.0/22, country:RU] X-ThisMailContainsUnwantedMimeParts: N * Stefan Eßer (se@FreeBSD.org) wrote: > commit b7f05445c00f2625aa19b4154ebcbce5ed2daa52 > Author: Stefan Eßer > AuthorDate: 2022-09-07 21:06:12 +0000 > Commit: Stefan Eßer > CommitDate: 2022-09-07 21:10:59 +0000 > > Add WWW entries to port Makefiles > > It has been common practice to have one or more URLs at the end of the > ports' pkg-descr files, one per line and prefixed with "WWW:". These > URLs should point at a project website or other relevant resources. > > Access to these URLs required processing of the pkg-descr files, and > they have often become stale over time. If more than one such URL was > present in a pkg-descr file, only the first one was tarnsfered into > the port INDEX, but for many ports only the last line did contain the > port specific URL to further information. > > There have been several proposals to make a project URL available as > a macro in the ports' Makefiles, over time. > > This commit implements such a proposal and moves one of the WWW: entries > of each pkg-descr file into the respective port's Makefile. A heuristic > attempts to identify the most relevant URL in case there is more than > one WWW: entry in some pkg-descr file. URLs that are not moved into the > Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr > files in order to preserve them. Why weren't all urls moved to WWW? For my ports, if there were multiple WWW's, all of them important and thus all of them should be moved to WWW=. Is there a policy which disallows multiple URLs in WWW? -- Dmitry Marakasov . amdmi3@amdmi3.ru ..: https://github.com/AMDmi3 https://amdmi3.ru/