summaryrefslogtreecommitdiff
path: root/sysutils/intel-microcode-netbsd/Makefile
diff options
context:
space:
mode:
authormsaitoh <msaitoh@pkgsrc.org>2018-05-07 04:32:49 +0000
committermsaitoh <msaitoh@pkgsrc.org>2018-05-07 04:32:49 +0000
commit8a0dbf8a6d3ffd21583096954b40ad6544bb2eff (patch)
tree79894ae4de1afa3cb073c9dd18bd9e3d143d06f9 /sysutils/intel-microcode-netbsd/Makefile
parent9b636557a93806ca107240e4cfd956629618233c (diff)
downloadpkgsrc-8a0dbf8a6d3ffd21583096954b40ad6544bb2eff.tar.gz
Update intel-microcode-netbsd to 20180425.
== 20180425 Release == -- Updates upon 20180312 release -- Processor Identifier Version Products Model Stepping F-MO-S/PI Old->New ---- updated platforms ------------------------------------ GLK B0 6-7a-1/01 0000001e->00000022 Pentium Silver N/J5xxx, Celeron N/J4xxx ---- removed platforms ------------------------------------ BDX-ML B/M/R0 6-4f-1/ef 0b000021 Xeon E5/E7 v4; Core i7-69xx/68xx -- Special release with caveats -- BDX-ML B/M/R0 6-4f-1/ef 0b00002c Xeon E5/E7 v4; Core i7-69xx/68xx
Diffstat (limited to 'sysutils/intel-microcode-netbsd/Makefile')
-rw-r--r--sysutils/intel-microcode-netbsd/Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/sysutils/intel-microcode-netbsd/Makefile b/sysutils/intel-microcode-netbsd/Makefile
index 7bc18f7511d..5cf556a89cb 100644
--- a/sysutils/intel-microcode-netbsd/Makefile
+++ b/sysutils/intel-microcode-netbsd/Makefile
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.19 2018/03/14 07:29:14 msaitoh Exp $
+# $NetBSD: Makefile,v 1.20 2018/05/07 04:32:49 msaitoh Exp $
#
-DISTNAME= microcode-20180312
-PKGNAME= intel-microcode-netbsd-20180312
+DISTNAME= microcode-20180425
+PKGNAME= intel-microcode-netbsd-20180425
CATEGORIES= sysutils
-MASTER_SITES= https://downloadmirror.intel.com/27591/eng/
+MASTER_SITES= https://downloadmirror.intel.com/27776/eng/
EXTRACT_SUFX= .tgz
MAINTAINER= drochner@NetBSD.org
-HOMEPAGE= https://downloadcenter.intel.com/download/27591/Linux-Processor-Microcode-Data-File
+HOMEPAGE= https://downloadcenter.intel.com/download/27776/Linux-Processor-Microcode-Data-File
COMMENT= Firmware updates for Intel x86 processors
#LICENSE= # TODO: (see mk/license.mk)
@@ -32,7 +32,13 @@ do-build:
cd ${WRKSRC} && ${CC} extract.c -o extract
do-install:
- cd ${DESTDIR}${PREFIX}/${FWDIR} && \
- ${WRKSRC}/extract ${WRKSRC}/microcode.dat
+ @(if [ -f ${WRKSRC}/microcode.dat ]; then \
+ cd ${DESTDIR}${PREFIX}/${FWDIR} && \
+ ${WRKSRC}/extract ${WRKSRC}/microcode.dat ; \
+ else \
+ cd ${DESTDIR}${PREFIX}/${FWDIR} && \
+ ${FIND} ${WRKSRC} -name '??-??-??' | xargs \
+ ${WRKSRC}/extract ; \
+ fi)
.include "../../mk/bsd.pkg.mk"