From nobody Tue Jan 10 19:10:43 2023 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 4Ns0l80x3kz2p1kr; Tue, 10 Jan 2023 19:10:44 +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 4Ns0l80S2Fz4GvD; Tue, 10 Jan 2023 19:10:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673377844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xIbcEw6cxmcFW2SH/Yo2dXPGsypUOIOGTpo/CnlTegk=; b=mdXfRS8Zl7y8wS6pLy92LKiPpVI1Owv03Zml9dKj6cb7EU9p1CDCEy+Jv++S8PyvYqXLAz NywlfdBsDtOkow/NGFJEe5C0jaEY+ZZBco8hwcqgkJ9h7UPHkP/jZc6PiaggSf6Ldail8b f5uUYRIt1lqfuEbt6iP8h06IQG8s2P/xunY0fkMNuJalnPHK4JeL0L+gCp9WdhxMZl7s6s nyUQ6HFHGApUdAGGG4C+18aV5G+fk8IXB9Os9ekxZiBbHI90zgh6aNBssCEW9nDx27ihbk 5XYUiTI4TxZn9rhRiOT3Q2Ho5SzPXnOq1saKSKeWFbGqgWNA0CuC102anJSQiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673377844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xIbcEw6cxmcFW2SH/Yo2dXPGsypUOIOGTpo/CnlTegk=; b=bpWrPpzmsa5hgED+7k0nFsEOFMKMh2sbxjVqG4m6aEHdtfEyGpwOerj4DpkU4eP04v2PQm j4Hzh2t8BQjNWaZYltl7ZQ6351GkFteOmpKjvhafJ5X6MFCRFtM+Kao+djK7BXY87HiRq3 XUV+Gk/swW5PVlhnJCXI4ZAQaFc57kBg4OXHNA6PfREy8aG/0ybOsrRFb6Tp1jU9aqNSOo vYeKXoc4wcwULvWaOBMUeXaWIbFVS+5L0K0mMx4SV7XQtWoHFCrsS8UopMTfc3lT9SK7Kx /ygw03IM9L7WpgVLBt+cEWC7HhvikCjrBUmJeiOJm4ywACOB/dErHAnaNnwN6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673377844; a=rsa-sha256; cv=none; b=Roswdr9w8wJHfbHgkk8iaA5T4449hvVUF+fuh9a0gDAVTmsj7Tz68A/y/9F5FiVoE4lziQ 6bM75vMmMUfSzR8RshvPqQlE9eoAXoONFllR72vpHKvUwvmYjJEZxrabh8W2jtmwVk0kl6 EdZMDKx94JLymJFRXEuSPzwiqfyWl4g4hEU0WLRTEGKvK20+nLTWJjECJqqXfek6r4KJTp xO+K/lS6wNCztb6UrhVNuj7N8pltW714pjCXecM06K9C5sxb0GgVz0GMbfPeDjQqCNUj8L DaXne6By2zGb/9IbkFCJxo54HtYpGvGw5Ikc1KUGn+gOezIFfm5wBdltLHb2kg== 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 4Ns0l76cc0zK9Y; Tue, 10 Jan 2023 19:10:43 +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 30AJAhkS047673; Tue, 10 Jan 2023 19:10:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30AJAhRA047672; Tue, 10 Jan 2023 19:10:43 GMT (envelope-from git) Date: Tue, 10 Jan 2023 19:10:43 GMT Message-Id: <202301101910.30AJAhRA047672@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kurt Jaeger Subject: git: f8c5e9663322 - main - sysutils/superiotool: update 20121019 -> 4.18 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: pi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f8c5e966332207ee64542e35f20484771e914c69 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=f8c5e966332207ee64542e35f20484771e914c69 commit f8c5e966332207ee64542e35f20484771e914c69 Author: Johannes Totz AuthorDate: 2023-01-10 19:06:02 +0000 Commit: Kurt Jaeger CommitDate: 2023-01-10 19:06:02 +0000 sysutils/superiotool: update 20121019 -> 4.18 PR: 264018 Author: Johannes Totz Changes: https://coreboot.org/releases/coreboot-4.18-relnotes.txt and many more Reviewed by: avg Approved by: avg Differential Revision: https://reviews.freebsd.org/D34094 --- sysutils/superiotool/Makefile | 19 +++++++------ sysutils/superiotool/distinfo | 5 ++-- sysutils/superiotool/files/patch-Makefile | 47 +++++++------------------------ 3 files changed, 24 insertions(+), 47 deletions(-) diff --git a/sysutils/superiotool/Makefile b/sysutils/superiotool/Makefile index 1b621fbedf07..29407d310c58 100644 --- a/sysutils/superiotool/Makefile +++ b/sysutils/superiotool/Makefile @@ -1,26 +1,29 @@ PORTNAME= superiotool -DISTVERSION= 20121019 -PORTREVISION= 1 +DISTVERSION= 4.18 +PORTEPOCH= 1 CATEGORIES= sysutils -MASTER_SITES= LOCAL/avg \ - http://www.icyb.net.ua/~avg/distfiles/ +MASTER_SITES= https://coreboot.org/releases/ +DISTFILES= coreboot-4.18.tar.xz MAINTAINER= avg@FreeBSD.org COMMENT= Helper tool for Super I/O chip detection and analysis WWW= http://www.coreboot.org/Superiotool -LIB_DEPENDS= libpci.so:devel/libpci +LICENSE= GPLv2 -ONLY_FOR_ARCHS= i386 amd64 +ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= this tool is for x86-specific hardware +LIB_DEPENDS= libpci.so:devel/libpci + USES= gmake tar:bzip2 PLIST_FILES= sbin/superiotool \ man/man8/superiotool.8.gz -WRKSRC= ${WRKDIR}/${PORTNAME} -UPSTREAM_VERS= 4.0-2827-g1a00cf0 +WRKSRC= ${WRKDIR}/coreboot-${DISTVERSION} +WRKSRC_SUBDIR= util/superiotool +#UPSTREAM_VERS= 4.17-8da4bfe5b MAKE_ENV+= VERSION=-DSUPERIOTOOL_VERSION='\"${UPSTREAM_VERS}\"' post-patch: diff --git a/sysutils/superiotool/distinfo b/sysutils/superiotool/distinfo index 0519162e163f..e3963e102c27 100644 --- a/sysutils/superiotool/distinfo +++ b/sysutils/superiotool/distinfo @@ -1,2 +1,3 @@ -SHA256 (superiotool-20121019.tar.bz2) = d4140f3a50e53f46dd9b1edfc8353113f29f437201907d613150d431dbfc7a62 -SIZE (superiotool-20121019.tar.bz2) = 29827 +TIMESTAMP = 1673376441 +SHA256 (coreboot-4.18.tar.xz) = 068f242857911c52090ecbf586a65802c5dead6c82e8bf2047d10ce8e5f28128 +SIZE (coreboot-4.18.tar.xz) = 57868424 diff --git a/sysutils/superiotool/files/patch-Makefile b/sysutils/superiotool/files/patch-Makefile index 8de94e3a0b81..32ebe2658a8f 100644 --- a/sysutils/superiotool/files/patch-Makefile +++ b/sysutils/superiotool/files/patch-Makefile @@ -1,49 +1,22 @@ ---- Makefile.orig 2012-10-19 16:44:32.000000000 +0300 -+++ Makefile 2012-10-20 01:32:35.427651135 +0300 -@@ -20,28 +20,24 @@ - - PROGRAM = superiotool - --CC = gcc --INSTALL = /usr/bin/install --PREFIX = /usr/local -+CC ?= gcc -+INSTALL ?= /usr/bin/install -+PREFIX ?= /usr/local +--- Makefile.orig 2022-10-16 20:14:31 UTC ++++ Makefile +@@ -8,7 +8,7 @@ PREFIX ?= /usr/local # Set the superiotool version string to the output of 'git describe'. -VERSION := -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"' -- --CFLAGS += -O2 -Wall -Wstrict-prototypes -Wundef -Wstrict-aliasing \ -- -Werror-implicit-function-declaration -ansi -pedantic $(VERSION) --LDFLAGS += -lz -+VERSION ?= -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"' - - OBJS = superiotool.o serverengines.o ali.o fintek.o ite.o nsc.o nuvoton.o \ - smsc.o winbond.o infineon.o ++#VERSION := -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"' --OS_ARCH = $(shell uname) -+OS_ARCH = FreeBSD - ifeq ($(OS_ARCH), Darwin) - LIBS = -framework IOKit -framework DirectHW -lpci -lz - endif - ifeq ($(OS_ARCH), FreeBSD) --CFLAGS = -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \ -- -Werror-implicit-function-declaration -ansi $(VERSION) \ -+CFLAGS += -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \ -+ -Werror-implicit-function-declaration $(VERSION) \ - -I/usr/local/include - LDFLAGS += -L/usr/local/lib - LIBS = -lz -@@ -69,8 +65,8 @@ $(PROGRAM): $(OBJS) superiotool.h + CFLAGS += -O2 -Wall -Wstrict-prototypes -Wundef -Wstrict-aliasing \ + -Werror-implicit-function-declaration -ansi -pedantic $(VERSION) +@@ -56,8 +56,8 @@ install: $(PROGRAM) install: $(PROGRAM) mkdir -p $(DESTDIR)$(PREFIX)/sbin $(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin - mkdir -p $(DESTDIR)$(PREFIX)/share/man/man8 -- $(INSTALL) $(PROGRAM).8 $(DESTDIR)$(PREFIX)/share/man/man8 +- $(INSTALL) -p -m644 $(PROGRAM).8 $(DESTDIR)$(PREFIX)/share/man/man8 + mkdir -p $(DESTDIR)$(PREFIX)/man/man8 -+ $(INSTALL) $(PROGRAM).8 $(DESTDIR)$(PREFIX)/man/man8 ++ $(INSTALL) -p -m644 $(PROGRAM).8 $(DESTDIR)$(PREFIX)/man/man8 clean: - rm -f $(PROGRAM) *.o + rm -f $(PROGRAM) *.o junit.xml