diff options
author | eugen <eugen@FreeBSD.org> | 2018-03-02 14:58:57 +0800 |
---|---|---|
committer | eugen <eugen@FreeBSD.org> | 2018-03-02 14:58:57 +0800 |
commit | daf116b261807449ebb8cf6a70eb4de11dd1c63a (patch) | |
tree | 1fb5c7725d43d7358c8dab41e9fd1f574ff65b29 /sysutils/cpupdate | |
parent | d5b2191cdea125301a01c6875e676c2fdea07cba (diff) | |
download | freebsd-ports-gnome-daf116b261807449ebb8cf6a70eb4de11dd1c63a.tar.gz freebsd-ports-gnome-daf116b261807449ebb8cf6a70eb4de11dd1c63a.tar.zst freebsd-ports-gnome-daf116b261807449ebb8cf6a70eb4de11dd1c63a.zip |
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.
Diffstat (limited to 'sysutils/cpupdate')
-rw-r--r-- | sysutils/cpupdate/Makefile | 15 | ||||
-rw-r--r-- | sysutils/cpupdate/distinfo | 4 | ||||
-rw-r--r-- | sysutils/cpupdate/files/pkg-message.in | 8 |
3 files changed, 25 insertions, 2 deletions
diff --git a/sysutils/cpupdate/Makefile b/sysutils/cpupdate/Makefile index 55a28925446a..8af7818f138d 100644 --- a/sysutils/cpupdate/Makefile +++ b/sysutils/cpupdate/Makefile @@ -6,17 +6,30 @@ DISTVERSION= g20180302 CATEGORIES= sysutils MAINTAINER= eugen@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 ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8 diff --git a/sysutils/cpupdate/distinfo b/sysutils/cpupdate/distinfo index b6e057513322..79e3c9502026 100644 --- a/sysutils/cpupdate/distinfo +++ b/sysutils/cpupdate/distinfo @@ -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 diff --git a/sysutils/cpupdate/files/pkg-message.in b/sysutils/cpupdate/files/pkg-message.in new file mode 100644 index 000000000000..b194ad098437 --- /dev/null +++ b/sysutils/cpupdate/files/pkg-message.in @@ -0,0 +1,8 @@ +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +NOTE: The following directory + +%%DIR%% + +contains platomav/CPUMicrocodes collection +if you have just built the port with CPM option enabled. +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |