From owner-svn-ports-all@freebsd.org Sun Mar 18 10:27:20 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48B9BF42850; Sun, 18 Mar 2018 10:27:20 +0000 (UTC) (envelope-from eugen@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EC995695EF; Sun, 18 Mar 2018 10:27:19 +0000 (UTC) (envelope-from eugen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E791E1F51D; Sun, 18 Mar 2018 10:27:19 +0000 (UTC) (envelope-from eugen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2IARJKQ075417; Sun, 18 Mar 2018 10:27:19 GMT (envelope-from eugen@FreeBSD.org) Received: (from eugen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2IARJw3075413; Sun, 18 Mar 2018 10:27:19 GMT (envelope-from eugen@FreeBSD.org) Message-Id: <201803181027.w2IARJw3075413@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: eugen set sender to eugen@FreeBSD.org using -f From: Eugene Grosbein Date: Sun, 18 Mar 2018 10:27:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464889 - in head/sysutils/cpupdate: . files X-SVN-Group: ports-head X-SVN-Commit-Author: eugen X-SVN-Commit-Paths: in head/sysutils/cpupdate: . files X-SVN-Commit-Revision: 464889 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2018 10:27:20 -0000 Author: eugen Date: Sun Mar 18 10:27:19 2018 New Revision: 464889 URL: https://svnweb.freebsd.org/changeset/ports/464889 Log: sysutils/cpupdate: - correct ONLY_FOR_ARCHS_REASON message; - be more specific in the COMMENT and pkg-descr: mention x86-centricity; - in addition to CPM option, add INTEL convinience option to ease downloading and extraction of recently updated Intel's pack of microcode updates https://downloadmirror.intel.com/27591/eng/:intel/microcode-20180312.tgz allowed for end users but not for redistribution, so it does not get installed nor added to pkg-plist. Still no real changes of the package, so no PORTREVISION bump yet. Modified: head/sysutils/cpupdate/Makefile head/sysutils/cpupdate/distinfo head/sysutils/cpupdate/files/pkg-message.in head/sysutils/cpupdate/pkg-descr Modified: head/sysutils/cpupdate/Makefile ============================================================================== --- head/sysutils/cpupdate/Makefile Sun Mar 18 09:33:16 2018 (r464888) +++ head/sysutils/cpupdate/Makefile Sun Mar 18 10:27:19 2018 (r464889) @@ -6,14 +6,17 @@ DISTVERSION= g20180302 CATEGORIES= sysutils MAINTAINER= eugen@FreeBSD.org -COMMENT= CPU microcode update utility +COMMENT= CPU microcode update utility for x86 LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE ONLY_FOR_ARCHS= amd64 i386 -ONLY_FOR_ARCHS_REASON= contains microcode specific to certain x86 processors +ONLY_FOR_ARCHS_REASON= specific to x86 processors +SUB_FILES= pkg-message +SUB_LIST= CPM_DIR=${CPM_DIR} INTEL_DIR=${INTEL_DIR} + USE_GITHUB= yes GH_ACCOUNT= kernschmelze GH_PROJECT= ${PORTNAME} @@ -25,13 +28,19 @@ CPM_ACCOUNT= platomav CPM_PROJECT= CPUMicrocodes CPM_TAGNAME= 2ece631 -OPTIONS_DEFINE= CPM +OPTIONS_DEFINE= CPM INTEL 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} +CPM_DIR=${WRKDIR}/${CPM_PROJECT}-${CPM_TAGNAME} + +INTEL_PACK= microcode-20180312.tgz +INTEL_DESC= Download Intel microcode pack ${INTEL_PACK} +INTEL_MASTER_SITES= https://downloadmirror.intel.com/27591/eng/:intel +INTEL_DISTFILES= ${INTEL_PACK}:intel + +INTEL_DIR= ${WRKDIR}/intel-ucode do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin Modified: head/sysutils/cpupdate/distinfo ============================================================================== --- head/sysutils/cpupdate/distinfo Sun Mar 18 09:33:16 2018 (r464888) +++ head/sysutils/cpupdate/distinfo Sun Mar 18 10:27:19 2018 (r464889) @@ -1,4 +1,6 @@ -TIMESTAMP = 1521043890 +TIMESTAMP = 1521367334 +SHA256 (microcode-20180312.tgz) = 0b381face2df1b0a829dc4fa8fa93f47f39e11b1c9c22ebd44f8614657c1e779 +SIZE (microcode-20180312.tgz) = 3789662 SHA256 (kernschmelze-cpupdate-g20180302-58bc0ca_GH0.tar.gz) = a44ff576290051b68241cb8e5af8874db8dbdb1d728a349d9ba1a174a5fc2483 SIZE (kernschmelze-cpupdate-g20180302-58bc0ca_GH0.tar.gz) = 12574 SHA256 (platomav-CPUMicrocodes-2ece631_GH0.tar.gz) = bc45bad50b1c2bf86e0a4810d98d8e84328e84dd506d45774079bc87cfb01e15 Modified: head/sysutils/cpupdate/files/pkg-message.in ============================================================================== --- head/sysutils/cpupdate/files/pkg-message.in Sun Mar 18 09:33:16 2018 (r464888) +++ head/sysutils/cpupdate/files/pkg-message.in Sun Mar 18 10:27:19 2018 (r464889) @@ -1,8 +1,9 @@ -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -NOTE: The following directory +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +NOTE: The following directories -%%DIR%% +%%CPM_DIR%% +%%INTEL_DIR%% -contains platomav/CPUMicrocodes collection -if you have just built the port with CPM option enabled. -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +contain Intel and/or platomav/CPUMicrocodes collections respectively +if you have just built the port with corresponging CPM/INTEL option(s) enabled +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Modified: head/sysutils/cpupdate/pkg-descr ============================================================================== --- head/sysutils/cpupdate/pkg-descr Sun Mar 18 09:33:16 2018 (r464888) +++ head/sysutils/cpupdate/pkg-descr Sun Mar 18 10:27:19 2018 (r464889) @@ -1,4 +1,4 @@ -CPU microcode utility for BSD. +x86 CPU microcode utility for BSD. As of March 2018, it is still work in progress but should do its job for most cases already.