From nobody Fri May 20 13:39:58 2022 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 52F1F1AEB906; Fri, 20 May 2022 13:39:58 +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 4L4SWy1mJSz3K0c; Fri, 20 May 2022 13:39:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653053998; 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=Yjw876AlezkdhBFENm7dMV7Z9pWzcRgWzHv7u3GzIkg=; b=AEfnw7l/7m1N0ii4BOcwiFNIGc8h3nherVRZYt+nhBU5hEeiuSIw+intxIwy0WjmDkDElN 4boCF90jmtKcUhcamRx3CguRWAODHxBTdjEV62tj3S5hZf24l/p90i4A3k/jRoWiiMkMZ3 O537koJ++oHlVDFaDyutPW71WtpGcmWkKDC8xBmaWqmbK8L7cLSkFF/3Im1hC31Qb32BoK ePdtEf95aplL3AXRECqe8bpv6cDI1GANtpTGqDHtxsha4AjDwgCHYwcwiXI/D7KQ64ZjQg 4jC9lQMEYrHiQ65eOL985voyvEtOh0oNvHJMx+dcOVzePnDrVKoE8fbxRFHCow== 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 1C6D8132C1; Fri, 20 May 2022 13:39:58 +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 24KDdw2t046342; Fri, 20 May 2022 13:39:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24KDdwLK046341; Fri, 20 May 2022 13:39:58 GMT (envelope-from git) Date: Fri, 20 May 2022 13:39:58 GMT Message-Id: <202205201339.24KDdwLK046341@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 5249e3cc92e6 - main - sysutils/cpuid2cpuflags: update the port to version 12 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: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5249e3cc92e69cafef15c4ecb3176c12662335c6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653053998; 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=Yjw876AlezkdhBFENm7dMV7Z9pWzcRgWzHv7u3GzIkg=; b=U6otbUZZ5VI2+ID2VGtMRjj2ZL1geagG8kzEPvoknj+RsAwlaYjG2E7xakof/16NDWaXqR n1En3k3q39AT562JlBFwvIQzHWi99vfAk1TRImLv2Tyeh3FxbtpJ/LyzCA45U5wYAAdEiP dV17oBSoTV09wAKxKPT6borpnvQREAkbOmDZmqGof53ZqS3tSfriSquxt3pBr0qPLvng7J suSPQVKGa2wR31nfFygwOrKAUecAXe0D+utmPD7Mjxgv8njFfejatngdBdO+F/WHk6aGyT vFyJMdcC9+IDFMmkDJLRJOtm9kPSuJgJaUd4yKtXYQ4OgvqgdpeEdULg/oKtRg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653053998; a=rsa-sha256; cv=none; b=ocjcKRmVY4b9+niBZHJQD+q+WyV7ZBVTZ8twroRE5CcUqhMzqEYqp0DEPSPsBJeSdl1LXF 5a/xP5yzDyPB1IMW44fjwuhcYHno7avSVvqOYdlGgKsAqLu01Z9OJuYWNXptGbiyEaL0Rz wlIKdl5BNTPllm0RkHuZ13zEg3mnGV9M9Ms57yPD/PVvDxHdDwMcHosJKfTyOf+FxcssUp TsGZ5PZz16oBh14Wcg5ayRkqL8fB+3DSZo4gvWyOhES2NkFf32Sw301puplBvSRXcq2uF5 ELvYYnMA1G08bq57Z9IRMfA9irKUkeEtJ9zZGPh+J2nuTAeUFIMAGo++PtrwgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=5249e3cc92e69cafef15c4ecb3176c12662335c6 commit 5249e3cc92e69cafef15c4ecb3176c12662335c6 Author: Alexey Dokuchaev AuthorDate: 2022-05-20 13:38:10 +0000 Commit: Alexey Dokuchaev CommitDate: 2022-05-20 13:38:10 +0000 sysutils/cpuid2cpuflags: update the port to version 12 FreeBSD/arm{,64} support had been integrated upstream. --- sysutils/cpuid2cpuflags/Makefile | 2 +- sysutils/cpuid2cpuflags/distinfo | 6 ++-- sysutils/cpuid2cpuflags/files/patch-src_hwcap.c | 48 ------------------------- 3 files changed, 4 insertions(+), 52 deletions(-) diff --git a/sysutils/cpuid2cpuflags/Makefile b/sysutils/cpuid2cpuflags/Makefile index 454144e605db..075cfb903f61 100644 --- a/sysutils/cpuid2cpuflags/Makefile +++ b/sysutils/cpuid2cpuflags/Makefile @@ -1,7 +1,7 @@ # Created by: Alexey Dokuchaev PORTNAME= cpuid2cpuflags -PORTVERSION= 11 +PORTVERSION= 12 DISTVERSIONPREFIX= v CATEGORIES= sysutils diff --git a/sysutils/cpuid2cpuflags/distinfo b/sysutils/cpuid2cpuflags/distinfo index edff79113d39..4c4d92b21fb9 100644 --- a/sysutils/cpuid2cpuflags/distinfo +++ b/sysutils/cpuid2cpuflags/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1594660495 -SHA256 (mgorny-cpuid2cpuflags-v11_GH0.tar.gz) = d602a1951cc28066dde664eacc81fe889e015b83d4b338f303cbe3fc5932ccc0 -SIZE (mgorny-cpuid2cpuflags-v11_GH0.tar.gz) = 10321 +TIMESTAMP = 1653021281 +SHA256 (mgorny-cpuid2cpuflags-v12_GH0.tar.gz) = 7f0fcba0b4ac1d30dd649e526a06ef955f2467168038d219905f48a5ca2c251c +SIZE (mgorny-cpuid2cpuflags-v12_GH0.tar.gz) = 10777 diff --git a/sysutils/cpuid2cpuflags/files/patch-src_hwcap.c b/sysutils/cpuid2cpuflags/files/patch-src_hwcap.c deleted file mode 100644 index 89c88e4f92b8..000000000000 --- a/sysutils/cpuid2cpuflags/files/patch-src_hwcap.c +++ /dev/null @@ -1,48 +0,0 @@ ---- src/hwcap.c.orig 2020-07-13 17:14:55 UTC -+++ src/hwcap.c -@@ -14,13 +14,19 @@ - #ifdef HAVE_SYS_AUXV_H - # include - #endif -+#ifdef __FreeBSD__ -+#include -+#else - #include -- --#ifndef __linux__ --# error "Platform not supported (only Linux supported at the moment)" - #endif -+ - #ifndef HAVE_GETAUXVAL --# error "Platform not supported (no getauxval())" -+static unsigned long getauxval(int aux) -+{ -+ unsigned long auxval = 0; -+ elf_aux_info(aux, &auxval, sizeof(auxval)); -+ return auxval; -+} - #endif - - #include "hwcap.h" -@@ -53,9 +59,21 @@ unsigned long get_hwcap2() - */ - char* get_uname_machine() - { -+#ifdef __FreeBSD__ -+ /** -+ * Contrary to this code expectation, on FreeBSD/arm, `uname -m' -+ * is always `arm', so we return more unique `uname -p' instead. -+ */ -+ int mib[] = { CTL_HW, HW_MACHINE_ARCH }; -+ static char buf[48]; -+ size_t len = sizeof(buf); -+ if (sysctl(mib, 2, &buf, &len, NULL, 0) == 0) -+ return buf; -+#else - static struct utsname uname_res; - if (uname(&uname_res) != -1) - return uname_res.machine; -+#endif - else - return NULL; - }