Bug 230181 - [patch] sysutils/cpupdate: Include microcode updates in packages
Summary: [patch] sysutils/cpupdate: Include microcode updates in packages
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Eugene Grosbein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-30 08:34 UTC by Romain Tartière
Modified: 2018-08-17 19:47 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (eugen)


Attachments
Fix to package microcodes (3.37 KB, patch)
2018-07-30 08:34 UTC, Romain Tartière
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Romain Tartière freebsd_committer freebsd_triage 2018-07-30 08:34:41 UTC
Created attachment 195624 [details]
Fix to package microcodes

Dear maintainer,

Maybe I am missing a point, but packaging sysutils/cpupdate never include the CPU microcodes: a manual intervention from the port directory is needed to install them (make install-microcodes), which is not applicable when managing systems through packages.

The proposed patch stages the microcode updates when the corresponding options are set and adds the microcode updates to the packing list.  All informational messages related to the manual steps are removed.

The default package is unchanged (because CPM and INTEL are unset by default).
Comment 1 Eugene Grosbein freebsd_committer freebsd_triage 2018-07-30 09:06:36 UTC
All installed files must be added to pkg-plist and therefore included into the package. However, platomav/CPUMicrocodes is really distinct project and its growth is not syncronized with cpupdate.

More serious problem steams from copyright issues: I'm sure that every owner of Intel processors is allowed to utilize published CPU microcodes but I do not know if FreeBSD project is allowed to package and redistribute Intel's microcode files. And I do not want to limit redistribution of cpupdate package itself due to copyrighted blobs added to the package.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-08-17 19:47:00 UTC
A commit references this bug:

Author: eugen
Date: Fri Aug 17 19:45:56 UTC 2018
New revision: 477447
URL: https://svnweb.freebsd.org/changeset/ports/477447

Log:
  Minor update for sysutils/cpupdate:

  - sync with Intel's microcode-20180807.tgz;
  - sync with platomav/CPUMicrocodes MCE DB r79;
  - follow audio/lame practice and add some comments to the "LICENSE" section
    of port's Makefile describing possible legal issues preventing microcode
    redistribution due to multiple user requests.

  No package changes, so no PORTREVISION bump.

  PR:		226620, 230181

Changes:
  head/sysutils/cpupdate/Makefile
  head/sysutils/cpupdate/distinfo