summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2017-04-08 20:14:01 +0300
committerAlon Bar-Lev <alonbl@gentoo.org>2017-04-08 20:33:23 +0300
commit69e3afb2bf03727aec7e7de5d6abe57a3a367589 (patch)
tree3b01c7f355d92e3bf95bf719c7d4a35555a6be67 /dev-libs/crypto++
parentdev-php/PEAR-Math_BigInteger: new revision sans PEAR dependency. (diff)
downloadgentoo-69e3afb2bf03727aec7e7de5d6abe57a3a367589.tar.gz
gentoo-69e3afb2bf03727aec7e7de5d6abe57a3a367589.tar.bz2
gentoo-69e3afb2bf03727aec7e7de5d6abe57a3a367589.zip
dev-libs/crypto++: cleanup
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-libs/crypto++')
-rw-r--r--dev-libs/crypto++/Manifest1
-rw-r--r--dev-libs/crypto++/crypto++-5.6.2-r3.ebuild71
2 files changed, 0 insertions, 72 deletions
diff --git a/dev-libs/crypto++/Manifest b/dev-libs/crypto++/Manifest
index c70d7fdf298d..ab8c8631acdb 100644
--- a/dev-libs/crypto++/Manifest
+++ b/dev-libs/crypto++/Manifest
@@ -1,2 +1 @@
-DIST cryptopp562.zip 1137964 SHA256 5cbfd2fcb4a6b3aab35902e2e0f3b59d9171fee12b3fc2b363e1801dfec53574 SHA512 016ca7ebad1091d67ad0bc5ccb7549d96d4af6b563d9d5a612cae27b3d1a3514c41b954e319fed91c820e8c701e3aa43da186e0864bf959ce4afd1539248ebbe WHIRLPOOL e31203da48a31b09e6ea48a75aa64fe5fd27fd370a1a609c4387526f09daab7582716563b688c0c81a8c3b200b8ffa7bdb2b981e5911640e5f1c172d6027f6ac
DIST cryptopp565.zip 4220843 SHA256 a75ef486fe3128008bbb201efee3dcdcffbe791120952910883b26337ec32c34 SHA512 f13718d02ca69b0129aaf9e767c9d2e0333aa7538355f9c63d9eaf1ff369062084a18dc01489439ebf37797b3ea81b01beb072057d47ec962bfb824ddc72abc7 WHIRLPOOL 376e8d7ad497d03f19542fd183181f26c83f38dfef800529cb5d5ce7238978f005d36e3e7cce63322af9b7dfc3a69fdb615c435bcf092bbd6abf6781dfd6d8a3
diff --git a/dev-libs/crypto++/crypto++-5.6.2-r3.ebuild b/dev-libs/crypto++/crypto++-5.6.2-r3.ebuild
deleted file mode 100644
index ccdb246f40f6..000000000000
--- a/dev-libs/crypto++/crypto++-5.6.2-r3.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils flag-o-matic multilib toolchain-funcs autotools
-
-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"
-KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 sparc x86 ~x64-macos"
-IUSE="static-libs"
-
-DEPEND="app-arch/unzip
- sys-devel/libtool"
-
-S="${WORKDIR}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-r1-make.patch
- epatch "${FILESDIR}"/${P}-cve-2015-2141.patch
- epatch "${FILESDIR}"/${P}-c++11.patch
-
- # Generate our own libtool script for building.
- cat <<-EOF > configure.ac
- AC_INIT(lt, 0)
- AM_INIT_AUTOMAKE
- AC_PROG_CXX
- LT_INIT
- AC_CONFIG_FILES(Makefile)
- AC_OUTPUT
- EOF
- touch NEWS README AUTHORS ChangeLog Makefile.am
- eautoreconf
-}
-
-src_configure() {
- econf $(use_enable static-libs static)
-}
-
-src_compile() {
- # higher optimizations cause problems
- replace-flags -O? -O1
- filter-flags -fomit-frame-pointer
- # ASM isn't Darwin/Mach-O ready, #479554, buildsys doesn't grok CPPFLAGS
- [[ ${CHOST} == *-darwin* ]] && append-flags -DCRYPTOPP_DISABLE_X86ASM
-
- emake -f GNUmakefile CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" LIBDIR="$(get_libdir)" PREFIX="${EPREFIX}/usr" LIBTOOL="./libtool"
-}
-
-src_test() {
- # ensure that all test vectors have Unix line endings
- local file
- for file in TestVectors/* ; do
- edos2unix ${file}
- done
-
- if ! emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" 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="${D}" LIBDIR="$(get_libdir)" PREFIX="${EPREFIX}/usr" LIBTOOL="./libtool" install
- use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*.la
-}