1 |
c1pher 12/01/30 16:06:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: crypto++-5.6.1-r3.ebuild |
5 |
Removed: crypto++-5.6.1-r2.ebuild |
6 |
Log: |
7 |
dev-libs/crypto++: Revbump. Add new revision of fix_build_system.patch to address bug 401431. sunos.patch can be dropped when -r3 is stable and -r1 is dropped. |
8 |
|
9 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.74 dev-libs/crypto++/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/crypto++/ChangeLog?rev=1.74&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/crypto++/ChangeLog?rev=1.74&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/crypto++/ChangeLog?r1=1.73&r2=1.74 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v |
21 |
retrieving revision 1.73 |
22 |
retrieving revision 1.74 |
23 |
diff -u -r1.73 -r1.74 |
24 |
--- ChangeLog 28 Dec 2011 07:02:03 -0000 1.73 |
25 |
+++ ChangeLog 30 Jan 2012 16:06:14 -0000 1.74 |
26 |
@@ -1,6 +1,18 @@ |
27 |
# ChangeLog for dev-libs/crypto++ |
28 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v 1.73 2011/12/28 07:02:03 patrick Exp $ |
30 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/ChangeLog,v 1.74 2012/01/30 16:06:14 c1pher Exp $ |
32 |
+ |
33 |
+*crypto++-5.6.1-r3 (30 Jan 2012) |
34 |
+ |
35 |
+ 30 Jan 2012; Dane Smith <c1pher@g.o> -crypto++-5.6.1-r2.ebuild, |
36 |
+ +crypto++-5.6.1-r3.ebuild, +files/crypto++-5.6.1-r3-fix_build_system.patch: |
37 |
+ Address NEEDED library issues wrt bug 401431. Thanks Arfrever for the patch. |
38 |
+ Add new patch (updated fix_build_system patch) for r3 since the current one |
39 |
+ is |
40 |
+ used by the stable -r1. The new patch includes the changes that are in the |
41 |
+ patch {P}-sunos. This should be dropped when -r3 goes stable and -r1 is |
42 |
+ dropped. |
43 |
+ Drop -r2. |
44 |
|
45 |
*crypto++-5.6.1-r2 (28 Dec 2011) |
46 |
|
47 |
|
48 |
|
49 |
|
50 |
1.1 dev-libs/crypto++/crypto++-5.6.1-r3.ebuild |
51 |
|
52 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/crypto++/crypto++-5.6.1-r3.ebuild?rev=1.1&view=markup |
53 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/crypto++/crypto++-5.6.1-r3.ebuild?rev=1.1&content-type=text/plain |
54 |
|
55 |
Index: crypto++-5.6.1-r3.ebuild |
56 |
=================================================================== |
57 |
# Copyright 1999-2012 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/crypto++/crypto++-5.6.1-r3.ebuild,v 1.1 2012/01/30 16:06:14 c1pher Exp $ |
60 |
|
61 |
EAPI="3" |
62 |
|
63 |
inherit eutils flag-o-matic multilib toolchain-funcs |
64 |
|
65 |
DESCRIPTION="Crypto++ is a C++ class library of cryptographic schemes" |
66 |
HOMEPAGE="http://cryptopp.com" |
67 |
SRC_URI="mirror://sourceforge/cryptopp/cryptopp${PV//.}.zip" |
68 |
|
69 |
LICENSE="cryptopp" |
70 |
SLOT="0" |
71 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
72 |
IUSE="" |
73 |
|
74 |
DEPEND="app-arch/unzip" |
75 |
RDEPEND="" |
76 |
|
77 |
S="${WORKDIR}" |
78 |
|
79 |
src_prepare() { |
80 |
epatch "${FILESDIR}/${PF}-fix_build_system.patch" \ |
81 |
"${FILESDIR}/${P}-rijndael.patch" |
82 |
} |
83 |
|
84 |
src_compile() { |
85 |
# Higher optimizations cause problems. |
86 |
replace-flags -O? -O1 |
87 |
filter-flags -fomit-frame-pointer |
88 |
|
89 |
emake -f GNUmakefile CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" \ |
90 |
LIBDIR="$(get_libdir)" || die "emake failed" |
91 |
} |
92 |
|
93 |
src_test() { |
94 |
# Ensure that all test vectors have Unix line endings. |
95 |
local file |
96 |
for file in TestVectors/*; do |
97 |
edos2unix ${file} |
98 |
done |
99 |
|
100 |
if ! emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" test; then |
101 |
eerror "Crypto++ self-tests failed." |
102 |
eerror "Try to remove some optimization flags and reemerge Crypto++." |
103 |
die "emake test failed" |
104 |
fi |
105 |
} |
106 |
|
107 |
src_install() { |
108 |
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install \ |
109 |
|| die "emake install failed" |
110 |
} |