From nobody Sat Nov 13 04:32:41 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B9E03183AF26; Sat, 13 Nov 2021 04:32:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HrjHF4QSDz3Fld; Sat, 13 Nov 2021 04:32:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 782444EF0; Sat, 13 Nov 2021 04:32:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AD4Wfbe004569; Sat, 13 Nov 2021 04:32:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AD4WfHY004568; Sat, 13 Nov 2021 04:32:41 GMT (envelope-from git) Date: Sat, 13 Nov 2021 04:32:41 GMT Message-Id: <202111130432.1AD4WfHY004568@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Joseph Mingrone Subject: git: f99568427493 - main - sysutils/devcpu-data-amd: Specify the hash to fetch List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f99568427493479b5917cd0ca2d523d8ab5a52ee Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jrm: URL: https://cgit.FreeBSD.org/ports/commit/?id=f99568427493479b5917cd0ca2d523d8ab5a52ee commit f99568427493479b5917cd0ca2d523d8ab5a52ee Author: Joseph Mingrone AuthorDate: 2021-11-12 17:07:26 +0000 Commit: Joseph Mingrone CommitDate: 2021-11-13 04:30:57 +0000 sysutils/devcpu-data-amd: Specify the hash to fetch Fetching the latest revision of these firmware files could result in a checksum mismatch if the files were updated in the upstream repository. By downloading a specific revision, we prevent this potential problem. Reported by: diizzy Approved by: sbruno (maintainer) Differential Revision: https://reviews.freebsd.org/D32969 --- sysutils/devcpu-data-amd/Makefile | 19 +++++++++++-------- sysutils/devcpu-data-amd/distinfo | 22 +++++++++++----------- 2 files changed, 22 insertions(+), 19 deletions(-) diff --git a/sysutils/devcpu-data-amd/Makefile b/sysutils/devcpu-data-amd/Makefile index 79ba8bc23fa6..436276233dcb 100644 --- a/sysutils/devcpu-data-amd/Makefile +++ b/sysutils/devcpu-data-amd/Makefile @@ -1,15 +1,16 @@ PORTNAME= data PORTVERSION= 20211109 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amd-ucode/ PKGNAMEPREFIX= devcpu- PKGNAMESUFFIX= -amd -DISTFILES= microcode_amd.bin \ - microcode_amd_fam15h.bin \ - microcode_amd_fam16h.bin \ - microcode_amd_fam17h.bin \ - microcode_amd_fam19h.bin +DISTFILES= microcode_amd.bin?id=${_REV} \ + microcode_amd_fam15h.bin?id=${_REV} \ + microcode_amd_fam16h.bin?id=${_REV} \ + microcode_amd_fam17h.bin?id=${_REV} \ + microcode_amd_fam19h.bin?id=${_REV} +DIST_SUBDIR= ${PKGNAME:C/_.*$//} MAINTAINER= sbruno@FreeBSD.org COMMENT= AMD CPUs microcode updates @@ -29,12 +30,14 @@ NO_BUILD= yes DATADIR= ${PREFIX}/share/cpucontrol NO_WRKSUBDIR= yes -PLIST_FILES= ${DISTFILES:S/^/${DATADIR}\//g} +PLIST_FILES= ${DISTFILES:S/^/${DATADIR}\//g:C/\?.*//} + +_REV= 4e9f60f2556586246db811e8146798cd1c584604 do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/ .for f in ${DISTFILES} - ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}/${f:C/\?.*//} .endfor .include diff --git a/sysutils/devcpu-data-amd/distinfo b/sysutils/devcpu-data-amd/distinfo index 0ed88fa54a45..d81af9d709b0 100644 --- a/sysutils/devcpu-data-amd/distinfo +++ b/sysutils/devcpu-data-amd/distinfo @@ -1,11 +1,11 @@ -TIMESTAMP = 1636599094 -SHA256 (microcode_amd.bin) = 8a9d9e8b788e31e61cddc03cb1eeab5db99e0f667128943ff0780e6437d2e43e -SIZE (microcode_amd.bin) = 12684 -SHA256 (microcode_amd_fam15h.bin) = 9d4a668410e72a4bdb86dc23e4261eca04daa83456ada02504115223f356981a -SIZE (microcode_amd_fam15h.bin) = 7876 -SHA256 (microcode_amd_fam16h.bin) = e02ad653b39c975d6c52674b50f23727bb6706bab7b4e5b391a4ce229e7ff121 -SIZE (microcode_amd_fam16h.bin) = 3510 -SHA256 (microcode_amd_fam17h.bin) = 5288d1ac032abe61441c5626091458803f925304ee45ca18de38a4edd66cddd2 -SIZE (microcode_amd_fam17h.bin) = 6476 -SHA256 (microcode_amd_fam19h.bin) = 8bdf0eba5d9c3e8cc960e1bb39a47caeaca6d59d7fcb265ac5efcae46731823f -SIZE (microcode_amd_fam19h.bin) = 16804 +TIMESTAMP = 1636741188 +SHA256 (devcpu-data-amd-20211109/microcode_amd.bin?id=4e9f60f2556586246db811e8146798cd1c584604) = 8a9d9e8b788e31e61cddc03cb1eeab5db99e0f667128943ff0780e6437d2e43e +SIZE (devcpu-data-amd-20211109/microcode_amd.bin?id=4e9f60f2556586246db811e8146798cd1c584604) = 12684 +SHA256 (devcpu-data-amd-20211109/microcode_amd_fam15h.bin?id=4e9f60f2556586246db811e8146798cd1c584604) = 9d4a668410e72a4bdb86dc23e4261eca04daa83456ada02504115223f356981a +SIZE (devcpu-data-amd-20211109/microcode_amd_fam15h.bin?id=4e9f60f2556586246db811e8146798cd1c584604) = 7876 +SHA256 (devcpu-data-amd-20211109/microcode_amd_fam16h.bin?id=4e9f60f2556586246db811e8146798cd1c584604) = e02ad653b39c975d6c52674b50f23727bb6706bab7b4e5b391a4ce229e7ff121 +SIZE (devcpu-data-amd-20211109/microcode_amd_fam16h.bin?id=4e9f60f2556586246db811e8146798cd1c584604) = 3510 +SHA256 (devcpu-data-amd-20211109/microcode_amd_fam17h.bin?id=4e9f60f2556586246db811e8146798cd1c584604) = 5288d1ac032abe61441c5626091458803f925304ee45ca18de38a4edd66cddd2 +SIZE (devcpu-data-amd-20211109/microcode_amd_fam17h.bin?id=4e9f60f2556586246db811e8146798cd1c584604) = 6476 +SHA256 (devcpu-data-amd-20211109/microcode_amd_fam19h.bin?id=4e9f60f2556586246db811e8146798cd1c584604) = 8bdf0eba5d9c3e8cc960e1bb39a47caeaca6d59d7fcb265ac5efcae46731823f +SIZE (devcpu-data-amd-20211109/microcode_amd_fam19h.bin?id=4e9f60f2556586246db811e8146798cd1c584604) = 16804