From nobody Fri Feb 25 02:04:46 2022 X-Original-To: dev-commits-ports-main@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 8492819DAAE4; Fri, 25 Feb 2022 02:04:46 +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 4K4Y4Z2ZJKz3Hqj; Fri, 25 Feb 2022 02:04:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645754686; 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=vHOlBgITldrJZWb1CeIhB/RkXmyKRd+T2VZW8B6uzzA=; b=tzoq5imZPfPpRIJupBTwgmItBnlFTjLOusKXHaiw0auL545QwhQM2anH4RCYt2vwRMUZ9n l6zo7UuRV2Nj4n2ZXiMYgdN1jLwEhru6fYTIWKchd/3VKwUll8cbQIrklDRp5iv1SAXY/T Y9sxDFyRaB9cdNfX5Qe7xoetA/L3xqbPe182QW1HqktXduec/6DKqy9GGyPCYFmQ11V2lG MxtRP4jdvYorkPq1XJUehSsWfEAxieaWg+sJeoqdJglC2FnBsEZCdGCAEdwRhsnVVeob5k +PNUe9C3rZMW6zAuMrQ871JDCoLCGe2uPjEdBUCRhnTVMDjdsvq821mT8iZa4w== 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 215F117241; Fri, 25 Feb 2022 02:04:46 +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 21P24kxl090788; Fri, 25 Feb 2022 02:04:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21P24k6g090787; Fri, 25 Feb 2022 02:04:46 GMT (envelope-from git) Date: Fri, 25 Feb 2022 02:04:46 GMT Message-Id: <202202250204.21P24k6g090787@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: 4c0895d82f4a - main - security/cryptopp: Update to 8.6.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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/main X-Git-Reftype: branch X-Git-Commit: 4c0895d82f4aff32859b4138c7eab0595bb9f903 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645754686; 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=vHOlBgITldrJZWb1CeIhB/RkXmyKRd+T2VZW8B6uzzA=; b=vHKKZtGl3ETQkQLdOhkZUJifd6qmSEtyi7moEFL/R3l4b5xMZQ94drzqXFILpnSGuJu5VC 9IDT7cF+uwI5LBgBVwhw74mKqCKkpxzksf+RE5IWX02clEqdzl35hUt9pFO8ODTj4ROg5f cbiTcQu/A15bVz7o1r8rizpr19cSxXfirLONsKE0skDe0+OsJo+99ZQ5THkDk0Awie3nwe UlxhP5UGWJ+PPQKJAFWPnEG14zF/XPcbHxrWaHL0b26c+cUhmQUlqPfgWUt/GxD2m/7nDH 2BbTrFv9/MDucHKjZ8gIi1NQdY71Y1AIuIDTnLUCvYVpWIePfRN5y1A23gtKmQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645754686; a=rsa-sha256; cv=none; b=iKjJkZXJDZ9sLYNhpYKrDfmpgGsvp2WMdgiR4ni4SWOL9k2AGIEUw/Ez1qVG/JN0RnaMGo 5KeMM2z8wdNGfNDPD1fC150MTq603yJ/0sbKjQ+G7kVRChcHlSxp2y7xESFURbrkPjFyHR gxI7ysXJJYGAouz3uL372GbtD3trxJPwIGX65MDOfIKtqyorI4DPDQ30r2+55kIF2ZYhO4 doqe4CiEoQhhbCCYUIyScpDwpTe6KEvfAfeQqQDdPk7ElkpnrTLnpWQ0cmm09aIw5ppJ19 Ztvd+4C7ZHHddQaXXH/cb1Kgk4fPhy9npfbd/9Q3C4WR+PAHFiUKEcyrX/92tw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=4c0895d82f4aff32859b4138c7eab0595bb9f903 commit 4c0895d82f4aff32859b4138c7eab0595bb9f903 Author: Jason E. Hale AuthorDate: 2022-02-24 16:15:03 +0000 Commit: Jason E. Hale CommitDate: 2022-02-25 01:37:46 +0000 security/cryptopp: Update to 8.6.0 Changes: https://www.cryptopp.com/release860.html Security: 7695b0af-958f-11ec-9aa3-4ccc6adda413 --- 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