From nobody Tue Oct 29 14:41:04 2024 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 4XdCcK2t91z5bX9b; Tue, 29 Oct 2024 14:41:05 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XdCcK0Ztvz4Pf7; Tue, 29 Oct 2024 14:41:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730212865; 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=THqzgFu1Iw8DHLTA03sG5Qcf8edpT9KKKD3vCuhZ2iA=; b=unOPxk0wMw2tkCN3px+RsqOpesxqSuUO+QDbucCtVVrK2JrBLyJiBLJSuB62M0aoZEka1e OfCLsD6PAjGaSwPvbjAqhHbAlErZndEeuBzQ4xH70qGvrZ5h9Nt6Lyol6X6sIxso0aHPYe dmW7Jm1C0NAxFQwd4RaalT4oq7v8xQy9D5O39LiPj0NsriraUnu78ccwssQjNU41MlM9lW 3z3twLunckSC4KNyYs8D5k/6ht7Dx0mee4QptnsS2T/2nLJh9388eBpwHsPlGSOyq2n7wt qxWO4DEqyiL5cSziKAcVYxDRQas6VAqECI/314BhCLJE+G8UWsfj/Tu5EmaOyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730212865; 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=THqzgFu1Iw8DHLTA03sG5Qcf8edpT9KKKD3vCuhZ2iA=; b=x9KxRCJgv4ivNOe86QqWPtlAXG/ZfX+kD0oKPuEDVSCDDYW99H9YXPEa904PS2Ef5f8BTa +LDE56Bt+8XggGKPIY7A7+T85JZgZFqGxqek1lIgS0JSHq2OtgnwFnNtgsL5i3X8pVMSqz CC/ThvDQ/zQogktWkhOVzb+HzYL6jJHHaEDUH4yPnP7WViqmyCt81JeoEoVjbPMi9wsFTs APo9Pn+vOaWuV7IsAIZLdMZcb8CsJGoA28NaMTG4RZiuVrWppG3llETY97txSoGU+kWKVe qTOyRGK9COFq771KJjNEuzUzR7Ivcxe+culJZE9IQgdnLYE2eJzc5mkyyxffeg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730212865; a=rsa-sha256; cv=none; b=x+7gSWNzLjmJAFrnUMN/P1qURmTBUI9MrGxXDMFk2wb0cJo4yGBVwF327J7IPRtANQ/b4/ 6NBxlmd5dWf6M8vwP40GvhdVWtj1fawEWzLmp7HKOqkBT/c8NwyrnoEbW001o/pOo8HecV HCM4mfnfjjoqL2cGFDGz+yCdPT74AcFpEWBFlWOPG59RpjvNpnR/9Ji+FL+AnRf4U/V4an bpkaSidDV9IkpuHkgbYYg4tXaKGrfb7fvkbnPtML2n1YeUBjTh9oH0vOXrHgNOOGRZPiFR y3HAdRvUSkMRvH7zznkp0bBNAs4qrctDoodcrQ1xF5tsiC5opWBqQu5HYajHkQ== 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 4XdCcK0CDRzS3t; Tue, 29 Oct 2024 14:41:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49TEf4lX062600; Tue, 29 Oct 2024 14:41:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49TEf4gW062597; Tue, 29 Oct 2024 14:41:04 GMT (envelope-from git) Date: Tue, 29 Oct 2024 14:41:04 GMT Message-Id: <202410291441.49TEf4gW062597@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 0cd3f93f198e - main - security/aws-lc: Add powerpc64le patch 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: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0cd3f93f198efe720d6a748c52290f638059a1ea Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=0cd3f93f198efe720d6a748c52290f638059a1ea commit 0cd3f93f198efe720d6a748c52290f638059a1ea Author: Po-Chuan Hsieh AuthorDate: 2024-10-29 14:18:54 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-10-29 14:38:31 +0000 security/aws-lc: Add powerpc64le patch Obtained from: https://cgit.FreeBSD.org/ports/commit/?id=f08b67611f0b19c0ee8d9053ee4d22e09b03f2b1 --- security/aws-lc/files/patch-powerpc64le | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/security/aws-lc/files/patch-powerpc64le b/security/aws-lc/files/patch-powerpc64le new file mode 100644 index 000000000000..49cc0f44382b --- /dev/null +++ b/security/aws-lc/files/patch-powerpc64le @@ -0,0 +1,20 @@ +Obtained from: https://cgit.FreeBSD.org/ports/commit/?id=f08b67611f0b19c0ee8d9053ee4d22e09b03f2b1 + +--- crypto/fipsmodule/cpucap/cpu_ppc64le.c.orig 2024-07-03 21:50:24 UTC ++++ crypto/fipsmodule/cpucap/cpu_ppc64le.c +@@ -69,10 +69,15 @@ void OPENSSL_cpuid_setup(void) { + + void OPENSSL_cpuid_setup(void) { + #if defined(AT_HWCAP2) ++#if defined(__linux__) + OPENSSL_ppc64le_hwcap2 = getauxval(AT_HWCAP2); ++#elif defined(__FreeBSD__) ++ elf_aux_info(AT_HWCAP2, &OPENSSL_ppc64le_hwcap2, sizeof(OPENSSL_ppc64le_hwcap2)); ++#endif + #else + OPENSSL_ppc64le_hwcap2 = 0; + #endif ++ + OPENSSL_cpucap_initialized = 1; + + // OPENSSL_ppccap is a 64-bit hex string which may start with "0x".