From nobody Fri Feb 25 02:12:02 2022 X-Original-To: dev-commits-ports-branches@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 307CC19DC726; Fri, 25 Feb 2022 02:12:03 +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 4K4YDz0v4tz3KLF; Fri, 25 Feb 2022 02:12:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645755123; 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=v8t7P8TmUMcU4YJ84GNO8Lmtnnl/FMbSL2iKK26GZGE=; b=ku2vgqXZKNTkJY1SbPqU55TxrtNw34lCEpr8k8AY9mWoHtiyNKxOFvf9CY49vO+uLsXpei pPAtCipodPICSeYRAUbPH6DQznbuIG9qhPjjbhOnrbLsbhYQsk62QSRyEOV80IuHHDnh44 kqYf8ysWFSbbCt9e8XmP36AeLM6l+4KdgDkMOlcDYk9Wa68wLYuHJ/Ol/6TIuLhg6vUa5/ VtFB3sbxVX0pjABY6OVfBZCQjPB6Z47q8mspYGCNprxXrd3ND++tbHDmJFFZeDK+pgqh1O eB39Oa7pf2IgU0CiRBWvWYsT7/m3EVBfffpHTE7Vz0BCgXHYE8jnFOlKHh+Fmg== 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 0032E17618; Fri, 25 Feb 2022 02:12:03 +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 21P2C2iS000699; Fri, 25 Feb 2022 02:12:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21P2C2Bt000698; Fri, 25 Feb 2022 02:12:02 GMT (envelope-from git) Date: Fri, 25 Feb 2022 02:12:02 GMT Message-Id: <202202250212.21P2C2Bt000698@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: "Jason E. Hale" Subject: git: da21c2b0849c - 2022Q1 - security/cryptopp: Update to 8.6.0 List-Id: Commits to the quarterly branches of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-branches@freebsd.org X-BeenThere: dev-commits-ports-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/2022Q1 X-Git-Reftype: branch X-Git-Commit: da21c2b0849c4822671bd36b45e878af405e9634 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645755123; 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=v8t7P8TmUMcU4YJ84GNO8Lmtnnl/FMbSL2iKK26GZGE=; b=RZMdJBpLzmwEuWRvUB22HR7GnhWeFM4FsFkqyOxT+ZADSSgxYH+BFXzz+E8TzTNOwy7/2T YUna2zSd/neIn/LKjSlXiqX1Wan3/PakOA4HW+cPAXpvqr6Z4HtDZDDvb/j0ACASt5ENQ6 /VSUl9ppqqqRTj5xqM00wq2pEWk7Mb+Q1pSGrjjQHalbyY3iHFzHADEG3kG+VGomnRcYOl Bl37E49hDdX4bPLIR00OgEVQwPz8FNG2naAq+YehsSq3ZnecmkD8i87ywd/rVvg/Ku2tBM SE1RS2a+IuZ5PYwYcB//EyHDBSVvMz7XZ7BFPCpmlfrifSgcF1lHKd2SUmo8Sg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645755123; a=rsa-sha256; cv=none; b=xMWm6F95PBYkWJYLFPstvv2RGQPL7hMPqU2QxbCUnuv5UZhGZPuvl1mdM8bxBeGyc8MCKE jZEa3ZIm13sgs8yucfXhmYtQvgVvAYyHzqyJsqR/4NdOwyqbTx4MqRQDvvAOyJQHCEOD8p A0kuBpPffqxgFeDVRzfTMuU1rZ2Juf5frE43OxRLGxgkrSW376xmJY2sTSPtSgFEyxx2LQ lTel4HWYosV258bDaljH9lgV/1Coi1IkYXAEH+De2Y5BJx7QflSSiptw1xwwC5qyC8EtZY 7FgVEIpqySy7FhVrgFsrT3hUE+M3Qd2Pje8PDQeRIehdzYuOH7KKrFutOFCTxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch 2022Q1 has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=da21c2b0849c4822671bd36b45e878af405e9634 commit da21c2b0849c4822671bd36b45e878af405e9634 Author: Jason E. Hale AuthorDate: 2022-02-24 16:15:03 +0000 Commit: Jason E. Hale CommitDate: 2022-02-25 02:09:40 +0000 security/cryptopp: Update to 8.6.0 Changes: https://www.cryptopp.com/release860.html Security: 7695b0af-958f-11ec-9aa3-4ccc6adda413 (cherry picked from commit 4c0895d82f4aff32859b4138c7eab0595bb9f903) --- security/cryptopp/Makefile | 3 +- security/cryptopp/distinfo | 6 +- security/cryptopp/files/patch-cpu.cpp | 111 ---------------------------------- security/cryptopp/pkg-plist | 1 + 4 files changed, 5 insertions(+), 116 deletions(-) diff --git a/security/cryptopp/Makefile b/security/cryptopp/Makefile index 489dc524d2b7..a3cb967767d7 100644 --- a/security/cryptopp/Makefile +++ b/security/cryptopp/Makefile @@ -1,8 +1,7 @@ # Created by: George Reid PORTNAME= cryptopp -PORTVERSION= 8.5.0 -PORTREVISION= 1 +PORTVERSION= 8.6.0 CATEGORIES= security MASTER_SITES= http://www.cryptopp.com/ DISTNAME= cryptopp${PORTVERSION:S/.//g} diff --git a/security/cryptopp/distinfo b/security/cryptopp/distinfo index c46f65cf67ac..136fac92348f 100644 --- a/security/cryptopp/distinfo +++ b/security/cryptopp/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1615647859 -SHA256 (cryptopp850.zip) = 95fc50d59488ebf61a735cce2b2ec2c2561fc682077c7b496273d65a1ed93d9e -SIZE (cryptopp850.zip) = 9125575 +TIMESTAMP = 1645715486 +SHA256 (cryptopp860.zip) = 20aa413957d9c8ae353ee2f7747bd7ac392f933c60a53e3fd1e41cadbc48d193 +SIZE (cryptopp860.zip) = 9274149 diff --git a/security/cryptopp/files/patch-cpu.cpp b/security/cryptopp/files/patch-cpu.cpp deleted file mode 100644 index a8e71a174d54..000000000000 --- a/security/cryptopp/files/patch-cpu.cpp +++ /dev/null @@ -1,111 +0,0 @@ ---- cpu.cpp.orig 2021-03-08 03:42:24 UTC -+++ cpu.cpp -@@ -1172,6 +1172,11 @@ inline bool CPU_QueryAltivec() - unsigned int unused, arch; - GetAppleMachineInfo(unused, unused, arch); - return arch == AppleMachineInfo::PowerMac; -+#elif defined(__FreeBSD__) && defined(PPC_FEATURE_HAS_ALTIVEC) -+ unsigned long cpufeatures; -+ if (elf_aux_info(AT_HWCAP, &cpufeatures, sizeof(cpufeatures)) -+ return false; -+ else return cpufeatures & PPC_FEATURE_HAS_ALTIVEC; - #endif - return false; - } -@@ -1185,6 +1190,12 @@ inline bool CPU_QueryPower7() - #elif defined(_AIX) - if (__power_7_andup() != 0) - return true; -+ -+#elif defined(__FreeBSD__) && defined(PPC_FEATURE_ARCH_2_06) -+ unsigned long cpufeatures; -+ if (elf_aux_info(AT_HWCAP, &cpufeatures, sizeof(cpufeatures)) -+ return false; -+ else return cpufeatures & PPC_FEATURE_ARCH_2_06; - #endif - return false; - } -@@ -1198,6 +1209,11 @@ inline bool CPU_QueryPower8() - #elif defined(_AIX) - if (__power_8_andup() != 0) - return true; -+#elif defined(__FreeBSD__) && defined(PPC_FEATURE2_ARCH_2_07) -+ unsigned long cpufeatures; -+ if (elf_aux_info(AT_HWCAP, &cpufeatures, sizeof(cpufeatures)) -+ return false; -+ else return cpufeatures & PPC_FEATURE2_ARCH_2_07; - #endif - return false; - } -@@ -1211,6 +1227,11 @@ inline bool CPU_QueryPower9() - #elif defined(_AIX) - if (__power_9_andup() != 0) - return true; -+#elif defined(__FreeBSD__) && defined(PPC_FEATURE2_ARCH_3_00) -+ unsigned long cpufeatures; -+ if (elf_aux_info(AT_HWCAP2, &cpufeatures, sizeof(cpufeatures)) -+ return false; -+ else return cpufeatures & PPC_FEATURE_ARCH2_3_00; - #endif - return false; - } -@@ -1225,6 +1246,11 @@ inline bool CPU_QueryAES() - #elif defined(_AIX) - if (__power_8_andup() != 0) - return true; -+#elif defined(__FreeBSD__) && defined(PPC_FEATURE2_HAS_VEC_CRYPTO) -+ unsigned long cpufeatures; -+ if (elf_aux_info(AT_HWCAP2, &cpufeatures, sizeof(cpufeatures)) -+ return false; -+ else return cpufeatures & PPC_FEATURE2_HAS_VEC_CRYPTO; - #endif - return false; - } -@@ -1239,6 +1265,11 @@ inline bool CPU_QueryPMULL() - #elif defined(_AIX) - if (__power_8_andup() != 0) - return true; -+#elif defined(__FreeBSD__) && defined(PPC_FEATURE2_HAS_VEC_CRYPTO) -+ unsigned long cpufeatures; -+ if (elf_aux_info(AT_HWCAP2, &cpufeatures, sizeof(cpufeatures)) -+ return false; -+ else return cpufeatures & PPC_FEATURE2_HAS_VEC_CRYPTO; - #endif - return false; - } -@@ -1253,6 +1284,11 @@ inline bool CPU_QuerySHA256() - #elif defined(_AIX) - if (__power_8_andup() != 0) - return true; -+#elif defined(__FreeBSD__) && defined(PPC_FEATURE2_HAS_VEC_CRYPTO) -+ unsigned long cpufeatures; -+ if (elf_aux_info(AT_HWCAP2, &cpufeatures, sizeof(cpufeatures)) -+ return false; -+ else return cpufeatures & PPC_FEATURE2_HAS_VEC_CRYPTO; - #endif - return false; - } -@@ -1266,6 +1302,11 @@ inline bool CPU_QuerySHA512() - #elif defined(_AIX) - if (__power_8_andup() != 0) - return true; -+#elif defined(__FreeBSD__) && defined(PPC_FEATURE2_HAS_VEC_CRYPTO) -+ unsigned long cpufeatures; -+ if (elf_aux_info(AT_HWCAP2, &cpufeatures, sizeof(cpufeatures)) -+ return false; -+ else return cpufeatures & PPC_FEATURE2_HAS_VEC_CRYPTO; - #endif - return false; - } -@@ -1280,6 +1321,11 @@ inline bool CPU_QueryDARN() - #elif defined(_AIX) - if (__power_9_andup() != 0) - return true; -+#elif defined(__FreeBSD__) && defined(PPC_FEATURE2_ARCH_3_00) -+ unsigned long cpufeatures; -+ if (elf_aux_info(AT_HWCAP2, &cpufeatures, sizeof(cpufeatures)) -+ return false; -+ else return cpufeatures & PPC_FEATURE2_ARCH_3_00; - #endif - return false; - } diff --git a/security/cryptopp/pkg-plist b/security/cryptopp/pkg-plist index 846df409789b..9b43a14d50b2 100644 --- a/security/cryptopp/pkg-plist +++ b/security/cryptopp/pkg-plist @@ -93,6 +93,7 @@ include/cryptopp/iterhash.h include/cryptopp/kalyna.h include/cryptopp/keccak.h include/cryptopp/lea.h +include/cryptopp/lsh.h include/cryptopp/lubyrack.h include/cryptopp/luc.h include/cryptopp/mars.h