public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/crypto++/
Date: Sat, 25 Sep 2021 18:11:07 +0000 (UTC)	[thread overview]
Message-ID: <1632593430.d90bea0530233e486276434b8494830ac4d6d9be.sam@gentoo> (raw)

commit:     d90bea0530233e486276434b8494830ac4d6d9be
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 25 17:51:34 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 25 18:10:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d90bea05

dev-libs/crypto++: add 8.6.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/crypto++/Manifest              |  2 ++
 dev-libs/crypto++/crypto++-8.6.0.ebuild | 61 +++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)

diff --git a/dev-libs/crypto++/Manifest b/dev-libs/crypto++/Manifest
index d51a98fc929..286877ceff9 100644
--- a/dev-libs/crypto++/Manifest
+++ b/dev-libs/crypto++/Manifest
@@ -2,3 +2,5 @@ DIST cryptopp820.zip 8859815 BLAKE2B 67aa850b887ae7aa869c9485bb18784492f6eec6cb1
 DIST cryptopp840.zip 9124180 BLAKE2B de57ece8644aef68e40527e2dfe1892f924f1939617ce11d8d27253f15f2dd11cba6e594dd32f75ce799392c12ef22472fcb2f3e44b9c66bb2ae093d4c7e781e SHA512 4c32b6a9ce8a6925286185f65f7413fa1a430471f09624219656b1d088674c56f95fcc3b64f611632f12cb56dfecdcd41c9d1468942b8c391425a548245dde09
 DIST cryptopp850.zip 9125575 BLAKE2B 857a65d63d17a3447d3cbd8370f9d750c480a9734c79739550b1ec7a6da3e7183af5748c2dfa5127be3810d73960af2f3b09b4b2bf4e624a43bfc4357ecde12b SHA512 090472545c74bbf0579b56b09e8b5dcd777b38f29f7199a2e68f45d4a8c687acc82f105ba8b2a38f9aa65e5997a3d846aaf2341ab74d58b4bbfd1f5f03823b93
 DIST cryptopp850.zip.sig 659 BLAKE2B e56d059069aa233b11dd1dd2c555ba8b9b0d12474d4f5ec9057e626ad22449959b9474ccf9ce553a2507f50215b669cf4b90cab6b51697559a6ffb95d41da9ec SHA512 7b59fbeb14fea942c846573c7bf8e76d6cee86aca4b605ce06323bc6f5549232285864cd735c2a882ca4df3d93747436a5268fee63dbf8eb43c503143b660e63
+DIST cryptopp860.zip 9274149 BLAKE2B c93998e2deb93abf12b801877404f0f82547bfbbbc5aae727e68daffc2407877dda76d7bcd06239d40a48baf21b6f2e29f74e9a97ecbc1b5d4b5bcc50ada71da SHA512 e7773f5e4a7dc7e8e735b1702524bee56ba38e5211544c9c9778bc51ed8dc7b376c17f2e406410043b636312336f26f76dc963f298872f8c13933e88c232fc03
+DIST cryptopp860.zip.sig 659 BLAKE2B 591a535092c61964c0fbb1ba31e44e70fc5f15757b9b56476ff64de0c28d47a13fe99d7f5819cfeb52e514ade1454622451b267bcc751868defcb080ddf79e8c SHA512 6231816b1ccec75cbcdd09daa8895830c5f4c595a4a0aa24dacc3e377832d8db5efa1aeadf815e53db32fc5263b09dd1b249668f34da4bfad5d5cba6f031ce21

diff --git a/dev-libs/crypto++/crypto++-8.6.0.ebuild b/dev-libs/crypto++/crypto++-8.6.0.ebuild
new file mode 100644
index 00000000000..93a1b6bd392
--- /dev/null
+++ b/dev-libs/crypto++/crypto++-8.6.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/crypto++.asc
+inherit toolchain-funcs verify-sig
+
+DESCRIPTION="C++ class library of cryptographic schemes"
+HOMEPAGE="https://cryptopp.com"
+SRC_URI="https://www.cryptopp.com/cryptopp${PV//.}.zip"
+SRC_URI+=" verify-sig? ( https://cryptopp.com/cryptopp${PV//.}.zip.sig )"
+S="${WORKDIR}"
+
+LICENSE="Boost-1.0"
+# Bumped to 8.5 in 8.5.0 out of caution
+# subslot is so version (was broken in 8.3.0, check on bumps!)
+# Seems to be broken in 8.6 again too
+SLOT="0/8.6"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
+IUSE="+asm static-libs"
+
+BDEPEND="
+	app-arch/unzip
+	verify-sig? ( app-crypt/openpgp-keys-crypto++ )
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-8.2.0-musl-ldconfig.patch"
+)
+
+config_uncomment() {
+	sed -i -e "s://\s*\(#define\s*$1\):\1:" config.h || die
+}
+
+src_prepare() {
+	default
+
+	use asm || config_uncomment CRYPTOPP_DISABLE_ASM
+
+	# ASM isn't Darwin/Mach-O ready, #479554, buildsys doesn't grok CPPFLAGS
+	[[ ${CHOST} == *-darwin* ]] && config_uncomment CRYPTOPP_DISABLE_ASM
+}
+
+src_configure() {
+	export CXX="$(tc-getCXX)"
+	export LIBDIR="${EPREFIX}/usr/$(get_libdir)"
+	export PREFIX="${EPREFIX}/usr"
+	tc-export AR RANLIB
+	default
+}
+
+src_compile() {
+	emake -f GNUmakefile all shared libcryptopp.pc
+}
+
+src_install() {
+	default
+
+	use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.a
+}


             reply	other threads:[~2021-09-25 18:11 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-25 18:11 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-01  9:04 [gentoo-commits] repo/gentoo:master commit in: dev-libs/crypto++/ Sam James
2023-10-03  3:14 Sam James
2023-08-20 10:58 Sam James
2023-08-19 11:38 Sam James
2023-08-19 11:38 Sam James
2023-08-19  7:23 Sam James
2023-08-19  6:36 Sam James
2023-06-26 19:27 Sam James
2023-06-26 19:27 Sam James
2022-08-14 20:46 Sam James
2022-06-28  4:18 WANG Xuerui
2021-10-16 22:05 Sam James
2021-10-13 20:37 Sam James
2021-10-13  6:01 Agostino Sarubbo
2021-10-13  3:23 Sam James
2021-10-13  3:23 Sam James
2021-08-18  0:35 Yixun Lan
2021-07-31 13:40 Michał Górny
2021-05-24 12:06 Sergei Trofimovich
2021-05-24  0:32 Sam James
2021-05-24  0:32 Sam James
2021-05-22 15:15 Sam James
2021-05-22 15:10 Sam James
2021-05-22 15:10 Sam James
2021-04-16  3:58 Sam James
2021-03-12 15:28 Sam James
2021-03-12 15:25 Sam James
2021-03-11 13:33 Sam James
2021-03-11 13:33 Sam James
2021-03-11 13:33 Sam James
2021-03-11 13:33 Sam James
2021-03-11  5:20 Sam James
2021-03-08  5:30 Sam James
2021-01-02  7:12 Sam James
2020-12-29  7:43 Sam James
2020-12-29  7:26 Sam James
2020-12-28  8:18 Sam James
2020-12-27 23:56 Sam James
2020-12-25 23:30 Sam James
2020-12-20 11:30 Sam James
2020-06-13 16:28 Mike Gilbert
2020-01-09  4:22 Joonas Niilola
2019-08-11 11:50 David Seifert
2019-07-23  1:17 Aaron Bauman
2019-07-19 18:15 Michał Górny
2019-07-08 13:43 Alon Bar-Lev
2019-07-08 13:31 Alon Bar-Lev
2019-07-03  7:11 Agostino Sarubbo
2019-07-03  6:35 Agostino Sarubbo
2019-07-02 20:42 Sergei Trofimovich
2019-07-02 14:04 Agostino Sarubbo
2019-07-02 12:36 Agostino Sarubbo
2019-07-02 12:14 Agostino Sarubbo
2019-07-02 10:33 Agostino Sarubbo
2019-05-27  5:10 Alon Bar-Lev
2019-05-26 17:16 Alon Bar-Lev
2019-04-29 19:49 Sergei Trofimovich
2018-10-23  5:15 Alon Bar-Lev
2018-10-22 10:38 Jeroen Roovers
2018-10-01 21:47 Thomas Deutschmann
2018-09-27 23:55 Alon Bar-Lev
2018-09-15 19:30 Mikle Kolyada
2018-09-07 20:23 Matt Turner
2018-08-22 17:52 Mart Raudsepp
2018-08-19  7:26 Matt Turner
2018-08-18 22:31 Sergei Trofimovich
2018-05-04 19:22 Alon Bar-Lev
2018-05-03 11:58 Alon Bar-Lev
2018-05-01 19:16 Alon Bar-Lev
2018-04-10 19:24 Alon Bar-Lev
2017-10-07  8:22 Alon Bar-Lev
2017-09-30  6:30 Sergei Trofimovich
2017-09-02 11:55 Alexis Ballier
2017-06-13 12:31 Agostino Sarubbo
2017-06-10 13:45 Agostino Sarubbo
2017-06-09 10:19 Agostino Sarubbo
2017-06-06 11:31 Agostino Sarubbo
2017-04-08 19:09 Alon Bar-Lev
2017-03-15  6:00 Jeroen Roovers
2017-03-08  7:46 Michael Weber
2017-03-04 14:02 Agostino Sarubbo
2017-03-04 13:46 Agostino Sarubbo
2017-03-04 13:38 Agostino Sarubbo
2016-10-24 19:27 Alon Bar-Lev
2016-10-24 17:26 Alon Bar-Lev
2016-10-23 13:29 Alon Bar-Lev
2016-10-22 17:52 Alon Bar-Lev
2016-10-21 17:58 Alon Bar-Lev
2016-10-08 15:45 Alon Bar-Lev
2016-10-08  8:10 Alon Bar-Lev
2016-10-08  8:10 Alon Bar-Lev
2016-10-08  1:30 Alon Bar-Lev
2016-10-03 22:49 Alon Bar-Lev
2016-04-07 20:40 Alon Bar-Lev
2015-08-27 23:58 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1632593430.d90bea0530233e486276434b8494830ac4d6d9be.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox