From: "Alon Bar-Lev" <alonbl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/crypto++/
Date: Mon, 3 Oct 2016 22:49:43 +0000 (UTC) [thread overview]
Message-ID: <1475534871.86f8b10361ee6fbbb5079703d88d23f009f14dca.alonbl@gentoo> (raw)
commit: 86f8b10361ee6fbbb5079703d88d23f009f14dca
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 3 22:46:05 2016 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Mon Oct 3 22:47:51 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86f8b103
dev-libs/crypto++: version bump
remove all of our patches as upstream had done some
rework on its properitary build system. this will
probably lead to issues, but better to fix them
than forking upstream again.
this version seems to be compatible with gcc-6
and may resolve other issues.
Bug: 595316
Bug: 570416
Package-Manager: portage-2.3.0
dev-libs/crypto++/Manifest | 1 +
dev-libs/crypto++/crypto++-5.6.4.ebuild | 69 +++++++++++++++++++++++++++++++++
2 files changed, 70 insertions(+)
diff --git a/dev-libs/crypto++/Manifest b/dev-libs/crypto++/Manifest
index dfd907c..ac28a09 100644
--- a/dev-libs/crypto++/Manifest
+++ b/dev-libs/crypto++/Manifest
@@ -1 +1,2 @@
DIST cryptopp562.zip 1137964 SHA256 5cbfd2fcb4a6b3aab35902e2e0f3b59d9171fee12b3fc2b363e1801dfec53574 SHA512 016ca7ebad1091d67ad0bc5ccb7549d96d4af6b563d9d5a612cae27b3d1a3514c41b954e319fed91c820e8c701e3aa43da186e0864bf959ce4afd1539248ebbe WHIRLPOOL e31203da48a31b09e6ea48a75aa64fe5fd27fd370a1a609c4387526f09daab7582716563b688c0c81a8c3b200b8ffa7bdb2b981e5911640e5f1c172d6027f6ac
+DIST cryptopp564.zip 4214797 SHA256 be430377b05c15971d5ccb6e44b4d95470f561024ed6d701fe3da3a188c84ad7 SHA512 d9f0ce92f5f95794b5a43d5ae865bfe7bae555f1565210dd4fd9fa9d44b2f801d947e216042099f7d40dd83e3d385a6346343b05431f05bf04276ba85b7ff63f WHIRLPOOL 344354e2b4a822eb1f431137678067f6a042e710c13ab70e53dca2523f29b8bcf2227e6973f67e69079ddde789f1af764c0913a0e73808e784cec195ef722ce4
diff --git a/dev-libs/crypto++/crypto++-5.6.4.ebuild b/dev-libs/crypto++/crypto++-5.6.4.ebuild
new file mode 100644
index 00000000..c632e00
--- /dev/null
+++ b/dev-libs/crypto++/crypto++-5.6.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="C++ class library of cryptographic schemes"
+HOMEPAGE="http://cryptopp.com"
+SRC_URI="mirror://sourceforge/cryptopp/cryptopp${PV//.}.zip"
+
+LICENSE="Boost-1.0"
+SLOT="0/5.6" # subslot is so version
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
+IUSE="static-libs"
+
+DEPEND="app-arch/unzip"
+
+S="${WORKDIR}"
+
+src_configure() {
+ cp config.recommend config.h || die
+}
+
+src_compile() {
+ # higher optimizations cause problems
+ replace-flags -O3 -O2
+ # ASM isn't Darwin/Mach-O ready, #479554, buildsys doesn't grok CPPFLAGS
+ [[ ${CHOST} == *-darwin* ]] && append-flags -DCRYPTOPP_DISABLE_X86ASM
+
+ CXX="$(tc-getCXX)" \
+ emake -f GNUmakefile \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ PREFIX="${EPREFIX}/usr" \
+ all shared
+}
+
+src_test() {
+ # ensure that all test vectors have Unix line endings
+ local file
+ for file in TestVectors/* ; do
+ edos2unix "${file}"
+ done
+
+ if ! CXX="$(tc-getCXX)" emake test ; then
+ eerror "Crypto++ self-tests failed."
+ eerror "Try to remove some optimization flags and reemerge Crypto++."
+ die "emake test failed"
+ fi
+}
+
+src_install() {
+ emake \
+ DESTDIR="${ED}" \
+ PREFIX="${EPREFIX}/usr" \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
+ install
+
+ # remove leftovers as build system sucks
+ rm -fr "${ED}"/usr/bin "${ED}"/usr/share/cryptopp
+ use static-libs || rm -f "${ED}${EPREFIX}"/usr/$(get_libdir)/*.a
+
+ # compatibility
+ dosym cryptopp "${EPREFIX}"/usr/include/crypto++
+ for f in "${ED}${EPREFIX}"/usr/$(get_libdir)/*; do
+ ln -s "$(basename "${f}")" "$(echo "${f}" | sed 's/cryptopp/crypto++/')" || die
+ done
+}
next reply other threads:[~2016-10-03 22:49 UTC|newest]
Thread overview: 97+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-03 22:49 Alon Bar-Lev [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-24 4:07 [gentoo-commits] repo/gentoo:master commit in: dev-libs/crypto++/ Sam James
2024-09-01 9:04 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-09-25 18:11 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-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=1475534871.86f8b10361ee6fbbb5079703d88d23f009f14dca.alonbl@gentoo \
--to=alonbl@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