diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2004-03-29 02:57:13 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2004-03-29 02:57:13 +0000 |
commit | 0682fd079a5e61fb2d77f156d1ffc2cc7eff20b2 (patch) | |
tree | e9245f2cbf08bd4f1aa5725e31bb695bcbdf2a58 /dev-libs/crypto++ | |
parent | Remove older ebuilds for bug 43072: Cross-domain javascript exploit (Manifest... (diff) | |
download | gentoo-2-0682fd079a5e61fb2d77f156d1ffc2cc7eff20b2.tar.gz gentoo-2-0682fd079a5e61fb2d77f156d1ffc2cc7eff20b2.tar.bz2 gentoo-2-0682fd079a5e61fb2d77f156d1ffc2cc7eff20b2.zip |
fixes bug #45821. Thanks to Jernej Simoncic
Diffstat (limited to 'dev-libs/crypto++')
-rw-r--r-- | dev-libs/crypto++/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/crypto++/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/crypto++/crypto++-5.1-r1.ebuild | 44 | ||||
-rw-r--r-- | dev-libs/crypto++/files/digest-crypto++-5.1-r1 | 1 |
4 files changed, 55 insertions, 2 deletions
diff --git a/dev-libs/crypto++/ChangeLog b/dev-libs/crypto++/ChangeLog index d652628f6d4e..e3e13d95dec9 100644 --- a/dev-libs/crypto++/ChangeLog +++ b/dev-libs/crypto++/ChangeLog @@ -1,9 +1,15 @@ # ChangeLog for dev-libs/crypto++ # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v 1.1 2003/11/25 00:30:38 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v 1.2 2004/03/29 02:57:13 rphillips Exp $ + +*crypto++-5.1-r1 (28 Mar 2004) + + 28 Mar 2004; Ryan Phillips <rphillips@gentoo.org> crypto++-5.1-r1.ebuild: + Added fixes from Jernej Simoncic (bug #45821) to execute the crypto tests + after compilation and force cflags from -O3 to -O2 *crypto++-5.1 (24 Nov 2003) - 24 Nov 2003; <rphillips@gentoo.org> crypto++-5.1.ebuild: + 24 Nov 2003; Ryan Phillips <rphillips@gentoo.org> crypto++-5.1.ebuild: Initial Import. Thanks to Marc Bevand. Fixes #33685 diff --git a/dev-libs/crypto++/Manifest b/dev-libs/crypto++/Manifest index 57cce89a1bff..13218dd3d0e9 100644 --- a/dev-libs/crypto++/Manifest +++ b/dev-libs/crypto++/Manifest @@ -1,4 +1,6 @@ +MD5 cee5ff2e2374fa34803627b7e569ead4 crypto++-5.1-r1.ebuild 1223 MD5 96313ae46ebc87c866c609b51bc4d5f2 crypto++-5.1.ebuild 751 MD5 05490b8a327abd67f0a9c9624591a814 ChangeLog 362 MD5 059733ad92a101895ce18a1120b6eb55 metadata.xml 225 MD5 3dcbaaecd6190695d3a148ad81f08e30 files/digest-crypto++-5.1 57 +MD5 3dcbaaecd6190695d3a148ad81f08e30 files/digest-crypto++-5.1-r1 57 diff --git a/dev-libs/crypto++/crypto++-5.1-r1.ebuild b/dev-libs/crypto++/crypto++-5.1-r1.ebuild new file mode 100644 index 000000000000..668b372887a3 --- /dev/null +++ b/dev-libs/crypto++/crypto++-5.1-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.1-r1.ebuild,v 1.1 2004/03/29 02:57:13 rphillips Exp $ + +inherit flag-o-matic + +#-O3 causes segfaults +replace-flags -O3 -O2 + +DESCRIPTION="Crypto++ is a C++ class library of cryptographic schemes" +HOMEPAGE="http://cryptopp.com" +SRC_URI="mirror://sourceforge/cryptopp/crypto${PV//.}.zip" + +LICENSE="cryptopp" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +S=${WORKDIR} + +src_compile() { + emake -f GNUmakefile CXXFLAGS="${CXXFLAGS}" || die + if ! ./cryptest.exe v + then + eerror "crypto++ self-tests failed" + eerror "Try to remove some optimization flags and re-emerge" + die + fi; +} + +src_install() { + # For consistency across GNU/Linux distributions, + # "crypto++" has been preferred over "crytopp"... + newlib.a libcryptopp.a libcrypto++.a + # ...unbreak programs which don't expect this + dosym libcrypto++.a /usr/lib/libcryptopp.a + insinto /usr/include/crypto++ + doins *.h + # should the .exe extension be removed?? + dobin cryptest.exe + # unbreak programs which expect cryptopp + into /usr/include + dosym crypto++ /usr/include/cryptopp +} diff --git a/dev-libs/crypto++/files/digest-crypto++-5.1-r1 b/dev-libs/crypto++/files/digest-crypto++-5.1-r1 new file mode 100644 index 000000000000..d3625c273a47 --- /dev/null +++ b/dev-libs/crypto++/files/digest-crypto++-5.1-r1 @@ -0,0 +1 @@ +MD5 f4bfd4ac39dc1b7f0764d61a1ec4df16 crypto51.zip 829560 |