From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B454159CB2 for ; Sun, 17 Apr 2016 04:50:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 163E121C002; Sun, 17 Apr 2016 04:50:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9FBE321C002 for ; Sun, 17 Apr 2016 04:50:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3EDE0340A9D for ; Sun, 17 Apr 2016 04:49:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 47C34CB for ; Sun, 17 Apr 2016 04:49:57 +0000 (UTC) From: "Alon Bar-Lev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alon Bar-Lev" Message-ID: <1460868564.b38aa2bb931c2063d5ebdcfda230b45b559c98c2.alonbl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/crypto++/files/, dev-libs/crypto++/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/crypto++/crypto++-5.6.2-r4.ebuild dev-libs/crypto++/files/cryptopp.pc X-VCS-Directories: dev-libs/crypto++/files/ dev-libs/crypto++/ X-VCS-Committer: alonbl X-VCS-Committer-Name: Alon Bar-Lev X-VCS-Revision: b38aa2bb931c2063d5ebdcfda230b45b559c98c2 X-VCS-Branch: master Date: Sun, 17 Apr 2016 04:49:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b29ecbcc-0815-4507-9477-344d1dc986a4 X-Archives-Hash: aa5c744caba60a6ff1d80625e3cca42c commit: b38aa2bb931c2063d5ebdcfda230b45b559c98c2 Author: Alon Bar-Lev gentoo org> AuthorDate: Sun Apr 17 04:48:46 2016 +0000 Commit: Alon Bar-Lev gentoo org> CommitDate: Sun Apr 17 04:49:24 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b38aa2bb Revert "dev-libs/crypto++: add pkgconfig file for clementine" This reverts commit 9960132bfacc2d44138d832c66835bfa27aa99e9. dev-libs/crypto++/crypto++-5.6.2-r4.ebuild | 75 ------------------------------ dev-libs/crypto++/files/cryptopp.pc | 12 ----- 2 files changed, 87 deletions(-) diff --git a/dev-libs/crypto++/crypto++-5.6.2-r4.ebuild b/dev-libs/crypto++/crypto++-5.6.2-r4.ebuild deleted file mode 100644 index 1796b2d..0000000 --- a/dev-libs/crypto++/crypto++-5.6.2-r4.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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 - - # 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 - cp "${FILESDIR}/cryptopp.pc" "${WORKDIR}" || die "Could not find pkg-config file" - sed -i -e "s:^prefix= :prefix= ${EPREFIX}:" -e "s:/,lib,:/$(get_libdir):g" "${WORKDIR}/cryptopp.pc" - insinto "/usr/$(get_libdir)/pkgconfig" - doins "${WORKDIR}/cryptopp.pc" -} diff --git a/dev-libs/crypto++/files/cryptopp.pc b/dev-libs/crypto++/files/cryptopp.pc deleted file mode 100644 index ed60972..0000000 --- a/dev-libs/crypto++/files/cryptopp.pc +++ /dev/null @@ -1,12 +0,0 @@ -prefix= /usr -exec_prefix=${prefix} -libdir=${exec_prefix}/,lib, -includedir=${prefix}/include - -Name: libcrypto++ -Description: General purpose cryptographic shared library -URL: http://www.cryptopp.com -Version: %version -Requires: -Libs: -lcryptopp -Cflags: