From 2de5feabfc5b94749afc49d29c0230901ee19ba1 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Sat, 3 Feb 2007 10:08:01 +0000 Subject: [PATCH] Fixed toolchain references, bug#164933, thanks for Wojciech Milkowski reporting, jacub for reference Package-Manager: portage-2.1.2-r6 --- dev-libs/crypto++/ChangeLog | 8 ++- dev-libs/crypto++/Manifest | 15 +++-- dev-libs/crypto++/crypto++-5.4-r1.ebuild | 62 +++++++++++++++++++ .../crypto++/files/digest-crypto++-5.4-r1 | 3 + 4 files changed, 83 insertions(+), 5 deletions(-) create mode 100644 dev-libs/crypto++/crypto++-5.4-r1.ebuild create mode 100644 dev-libs/crypto++/files/digest-crypto++-5.4-r1 diff --git a/dev-libs/crypto++/ChangeLog b/dev-libs/crypto++/ChangeLog index 2d892acbd23e..44121f26f5e1 100644 --- a/dev-libs/crypto++/ChangeLog +++ b/dev-libs/crypto++/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/crypto++ # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v 1.24 2007/01/31 01:57:30 vanquirius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v 1.25 2007/02/03 10:08:01 alonbl Exp $ + +*crypto++-5.4-r1 (03 Feb 2007) + + 03 Feb 2007; Alon Bar-Lev +crypto++-5.4-r1.ebuild: + Fixed toolchain references, bug#164933, thanks for Wojciech Milkowski + reporting, jacub for reference *crypto++-5.4 (31 Jan 2007) diff --git a/dev-libs/crypto++/Manifest b/dev-libs/crypto++/Manifest index 60d494a46e40..23099f94edc2 100644 --- a/dev-libs/crypto++/Manifest +++ b/dev-libs/crypto++/Manifest @@ -12,14 +12,18 @@ EBUILD crypto++-5.2.1.ebuild 1578 RMD160 6786d0ab123f69fd2651d9c22cfc04a9e619d32 MD5 3e7fe42cfc0fce6fd88f53f80b8894e8 crypto++-5.2.1.ebuild 1578 RMD160 6786d0ab123f69fd2651d9c22cfc04a9e619d32d crypto++-5.2.1.ebuild 1578 SHA256 de3c0256682f8197c893be4ee0656f74b679c5aebddcb3fd9248a05955470821 crypto++-5.2.1.ebuild 1578 +EBUILD crypto++-5.4-r1.ebuild 1587 RMD160 1e720bfafa36ca1b1a55e6ad21c257bc1c80fd64 SHA1 f017de67d1ede1f490d5ca4be1fb9e07f0ce7c2d SHA256 332312932e74b47c63a5514377407d387210d7a68749d59914de44b503e30a73 +MD5 d715c9eedb13f105b5999bd62af2e1b3 crypto++-5.4-r1.ebuild 1587 +RMD160 1e720bfafa36ca1b1a55e6ad21c257bc1c80fd64 crypto++-5.4-r1.ebuild 1587 +SHA256 332312932e74b47c63a5514377407d387210d7a68749d59914de44b503e30a73 crypto++-5.4-r1.ebuild 1587 EBUILD crypto++-5.4.ebuild 1481 RMD160 9a525667d5439931f0434d1d4532bbf9eddc0195 SHA1 5263bd387fc6b0720a468937db011fffa6748cd1 SHA256 f5cc18345065613a0865bc26fba75331dbf1618df8082d8c84c25346cfabc35e MD5 ff93ecc963a472ad0c003af831754c71 crypto++-5.4.ebuild 1481 RMD160 9a525667d5439931f0434d1d4532bbf9eddc0195 crypto++-5.4.ebuild 1481 SHA256 f5cc18345065613a0865bc26fba75331dbf1618df8082d8c84c25346cfabc35e crypto++-5.4.ebuild 1481 -MISC ChangeLog 3939 RMD160 b6312333ee01b994616d6fbf658308e4dbff7cda SHA1 6e3b5244ddfdcd9c97e17e1486cb769b799ce1b4 SHA256 d524f498ac1ea9cd0d947bb62740670a61a41900fcd7322f8827c47828291524 -MD5 5d7ffaf10fa0040bcf0af5259a412da0 ChangeLog 3939 -RMD160 b6312333ee01b994616d6fbf658308e4dbff7cda ChangeLog 3939 -SHA256 d524f498ac1ea9cd0d947bb62740670a61a41900fcd7322f8827c47828291524 ChangeLog 3939 +MISC ChangeLog 4146 RMD160 91c75a31766493c1f2f35cbc683e001f8f24647c SHA1 85388a067ece632e14c20ac6b82e2f6ef002aeba SHA256 33150f1062812954d39066313093b48ca26c55c3a3093cd560d8058d78493ae4 +MD5 1e1908cff26f6f6f0b25820665518b23 ChangeLog 4146 +RMD160 91c75a31766493c1f2f35cbc683e001f8f24647c ChangeLog 4146 +SHA256 33150f1062812954d39066313093b48ca26c55c3a3093cd560d8058d78493ae4 ChangeLog 4146 MISC metadata.xml 159 RMD160 7f0018281c6308f73c2d95b3690e3804f0c353c5 SHA1 09baadee9aeb270d0a7f31be07db9db5c105abbc SHA256 fabd15e2740a2a68e0bda738d0cd4300b133ff11239802afe7e60aa3862c9c03 MD5 243e4cd9809545d12f991b2d417040e1 metadata.xml 159 RMD160 7f0018281c6308f73c2d95b3690e3804f0c353c5 metadata.xml 159 @@ -30,3 +34,6 @@ SHA256 b6cfb3d42a35f374acab3249d0f4799fb0b72b3e500ba71a749af7d7d3ae8933 files/di MD5 ed67a8f0d78f51b672949c4ecc19705b files/digest-crypto++-5.4 223 RMD160 995fbe25317c8d0ba0c2490e6f067281f37565ff files/digest-crypto++-5.4 223 SHA256 246bf05a787fba6fccdafc1f940a1e1c26cc468bd8e8fc736f6544ff15df6739 files/digest-crypto++-5.4 223 +MD5 ed67a8f0d78f51b672949c4ecc19705b files/digest-crypto++-5.4-r1 223 +RMD160 995fbe25317c8d0ba0c2490e6f067281f37565ff files/digest-crypto++-5.4-r1 223 +SHA256 246bf05a787fba6fccdafc1f940a1e1c26cc468bd8e8fc736f6544ff15df6739 files/digest-crypto++-5.4-r1 223 diff --git a/dev-libs/crypto++/crypto++-5.4-r1.ebuild b/dev-libs/crypto++/crypto++-5.4-r1.ebuild new file mode 100644 index 000000000000..a1aa0676d2f9 --- /dev/null +++ b/dev-libs/crypto++/crypto++-5.4-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.4-r1.ebuild,v 1.1 2007/02/03 10:08:01 alonbl Exp $ + +inherit flag-o-matic eutils toolchain-funcs + +DESCRIPTION="Crypto++ is a C++ class library of cryptographic schemes" +HOMEPAGE="http://cryptopp.com" +SRC_URI="mirror://sourceforge/cryptopp/cryptopp${PV//.}.zip" + +LICENSE="cryptopp" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +DEPEND="app-arch/unzip" +RDEPEND="" +IUSE="sse2" + +S="${WORKDIR}" + +src_compile() { + # -O3 causes segfaults + replace-flags -O3 -O2 + filter-flags -fomit-frame-pointer + if ! use sse2; then + filter-flags -msse2 + append-flags -mno-sse2 + fi + emake -f GNUmakefile \ + CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" || die +} + + +src_test() { + # make sure all test vectors have unix line endings + for f in TestVectors/* ; do + edos2unix $f + done + + 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.4-r1 b/dev-libs/crypto++/files/digest-crypto++-5.4-r1 new file mode 100644 index 000000000000..7ec77390ccbc --- /dev/null +++ b/dev-libs/crypto++/files/digest-crypto++-5.4-r1 @@ -0,0 +1,3 @@ +MD5 40e760012d1b0b7e316676ef09e0a814 cryptopp54.zip 950582 +RMD160 8efd6d1ab9a34f69dfa2ef04852eff0efb69b47f cryptopp54.zip 950582 +SHA256 fa9aceb1b46c886b5c13fe5aa3d0cdbd74b4a2dd894e290cbdbfd17fe8a7fe5a cryptopp54.zip 950582 -- 2.26.2