[Bug 259883] sysutils/devcpu-data: make it possible to select no cpu architecture at all

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 16 Nov 2021 18:49:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259883

            Bug ID: 259883
           Summary: sysutils/devcpu-data: make it possible to select no
                    cpu architecture at all
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sbruno@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
             Flags: maintainer-feedback?(sbruno@FreeBSD.org)
          Assignee: sbruno@FreeBSD.org

Scenario:
- latest ports
- one port build machine (bhyve)
- multiple machines using Intel and AMD CPUs
- microcode should be updated for these machines
- only the microcode for the relevant architecture should be *installed*
- microcodes for both AMD and Intel should be *compiled*

Result:
- If selecting both AMD and Intel in sysutils/devcpu-data, both sub-ports get
installed although only one is needed
- If selecting only one sub-port, obviously the data for the other CPU vendor
is not built
- Selecting no sub-port leads to an error

Expected result:
- sysutils/devcpu-data should allow me to build from zero to all sub-ports but
still build the necessary files to actually use any CPU firmwares if they are
available for the machine they are installed on
- Most likely, this could be accomplished by changing the OPTIONS_MULTI=VENDOR
to a simple OPTIONS_DEFINE, allowing to deselect all sub-ports and then
manually installing them on the target machines as needed.
- As an alternative, each sub-port would simply be equipped with its own rc.d
scripts.

-- Martin

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