Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 May 2022 07:12:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 263807] [PATCH] Add 2 checks to portlint (PKGBASE, FLAVORS)
Message-ID:  <bug-263807-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263807

            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=3D233757&action=
=3Dedit
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263807-7788>