svn commit: r463376 - in head/sysutils/cpupdate: . files
Eugene Grosbein
eugen at FreeBSD.org
Fri Mar 2 06:58:59 UTC 2018
Author: eugen
Date: Fri Mar 2 06:58:57 2018
New Revision: 463376
URL: https://svnweb.freebsd.org/changeset/ports/463376
Log:
sysutils/cpupdate: - polish COMMENT a bit;
- add an option (disabled by default) to download and extract
CPU microcode collection from https://github.com/platomav/CPUMicrocodes
while building the port. These files do not get installed nor put
into the package that has not changed, so no PORTREVISON bump.
Added:
head/sysutils/cpupdate/files/
head/sysutils/cpupdate/files/pkg-message.in (contents, props changed)
Modified:
head/sysutils/cpupdate/Makefile
head/sysutils/cpupdate/distinfo
Modified: head/sysutils/cpupdate/Makefile
==============================================================================
--- head/sysutils/cpupdate/Makefile Fri Mar 2 06:54:14 2018 (r463375)
+++ head/sysutils/cpupdate/Makefile Fri Mar 2 06:58:57 2018 (r463376)
@@ -6,16 +6,29 @@ DISTVERSION= g20180302
CATEGORIES= sysutils
MAINTAINER= eugen at FreeBSD.org
-COMMENT= Microcode utility for BSD
+COMMENT= CPU microcode update utility
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= kernschmelze
+GH_PROJECT= ${PORTNAME}
GH_TAGNAME= 58bc0ca
PLIST_FILES= bin/${PORTNAME} man/man8/${PORTNAME}.8.gz
+
+CPM_ACCOUNT= platomav
+CPM_PROJECT= CPUMicrocodes
+CPM_TAGNAME= 18a85ff
+
+OPTIONS_DEFINE= CPM
+CPM_DESC= Download platomav/CPUMicrocodes collection
+CPM_GH_ACCOUNT= ${CPM_ACCOUNT}:cpm
+CPM_GH_PROJECT= ${CPM_PROJECT}:cpm
+CPM_GH_TAGNAME= ${CPM_TAGNAME}:cpm
+CPM_SUB_FILES= pkg-message
+CPM_SUB_LIST= DIR=${WRKDIR}/${CPM_PROJECT}-${CPM_TAGNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
Modified: head/sysutils/cpupdate/distinfo
==============================================================================
--- head/sysutils/cpupdate/distinfo Fri Mar 2 06:54:14 2018 (r463375)
+++ head/sysutils/cpupdate/distinfo Fri Mar 2 06:58:57 2018 (r463376)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1519964401
+TIMESTAMP = 1519969642
SHA256 (kernschmelze-cpupdate-g20180302-58bc0ca_GH0.tar.gz) = a44ff576290051b68241cb8e5af8874db8dbdb1d728a349d9ba1a174a5fc2483
SIZE (kernschmelze-cpupdate-g20180302-58bc0ca_GH0.tar.gz) = 12574
+SHA256 (platomav-CPUMicrocodes-18a85ff_GH0.tar.gz) = 9ac44fd18a0ea348dcc0ed8056634289ffa89df0a9a17e26438e63971cdb64bd
+SIZE (platomav-CPUMicrocodes-18a85ff_GH0.tar.gz) = 4568755
Added: head/sysutils/cpupdate/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/cpupdate/files/pkg-message.in Fri Mar 2 06:58:57 2018 (r463376)
@@ -0,0 +1,8 @@
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+NOTE: The following directory
+
+%%DIR%%
+
+contains platomav/CPUMicrocodes collection
+if you have just built the port with CPM option enabled.
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
More information about the svn-ports-head
mailing list