[Bug 263807] [PATCH] Add 2 checks to portlint (PKGBASE, FLAVORS)
Date: Fri, 06 May 2022 07:12:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263807 Bug ID: 263807 Summary: [PATCH] Add 2 checks to portlint (PKGBASE, FLAVORS) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: se@FreeBSD.org Created attachment 233757 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233757&action=edit Add PKGBASE and FLAVOR checks In a discussion with members of the port managers team (tcberner, rene) the issue of conflicting package base names came up. I have offered to create portlint checks for 2 possible Makefile issues: 1) Conflicting use of ${PKGBASE} of an existing port. 2) Multiple flavors resulting in the same ${PKGBASE}. The attached patch adds checks for both possible issues: 1) Check for the existence of the new PKGBASE in the INDEX file (if present) and warn if it is used for a different ORIGIN. 2) Generate PKGBASE for all FLAVORS and check for duplicates. -- You are receiving this mail because: You are the assignee for the bug.