1 |
tommy 10/09/27 18:56:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libtomcrypt-1.17-r5.ebuild |
5 |
Log: |
6 |
Revision bump for libtomcrypt, fixes a compile- and runtime-failure with net-p2p/fms |
7 |
|
8 |
(Portage version: 2.2_rc87-r1/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.42 dev-libs/libtomcrypt/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtomcrypt/ChangeLog?rev=1.42&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtomcrypt/ChangeLog?rev=1.42&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtomcrypt/ChangeLog?r1=1.41&r2=1.42 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/ChangeLog,v |
20 |
retrieving revision 1.41 |
21 |
retrieving revision 1.42 |
22 |
diff -u -r1.41 -r1.42 |
23 |
--- ChangeLog 19 Sep 2010 04:37:17 -0000 1.41 |
24 |
+++ ChangeLog 27 Sep 2010 18:56:54 -0000 1.42 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-libs/libtomcrypt |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/ChangeLog,v 1.41 2010/09/19 04:37:17 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/ChangeLog,v 1.42 2010/09/27 18:56:54 tommy Exp $ |
30 |
+ |
31 |
+*libtomcrypt-1.17-r5 (27 Sep 2010) |
32 |
+ |
33 |
+ 27 Sep 2010; Thomas Sachau (Tommy[D]) <tommy@g.o> |
34 |
+ +libtomcrypt-1.17-r5.ebuild: |
35 |
+ Revision bump for libtomcrypt, fixes a compile- and runtime-failure with |
36 |
+ net-p2p/fms |
37 |
|
38 |
19 Sep 2010; Jeroen Roovers <jer@g.o> |
39 |
files/libtomcrypt-1.06-makefile.diff, |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-libs/libtomcrypt/libtomcrypt-1.17-r5.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtomcrypt/libtomcrypt-1.17-r5.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libtomcrypt/libtomcrypt-1.17-r5.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: libtomcrypt-1.17-r5.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtomcrypt/libtomcrypt-1.17-r5.ebuild,v 1.1 2010/09/27 18:56:54 tommy Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
inherit flag-o-matic toolchain-funcs |
57 |
|
58 |
DESCRIPTION="modular and portable cryptographic toolkit" |
59 |
HOMEPAGE="http://libtom.org/?page=features&whatfile=crypt" |
60 |
SRC_URI="http://libtom.org/files/crypt-${PV}.tar.bz2" |
61 |
|
62 |
LICENSE="public-domain" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~ppc ~x86" |
65 |
IUSE="doc libtommath tomsfastmath" |
66 |
|
67 |
RDEPEND="libtommath? ( dev-libs/libtommath ) |
68 |
tomsfastmath? ( >=dev-libs/tomsfastmath-0.12 ) |
69 |
!libtommath? ( !tomsfastmath? ( dev-libs/libtommath ) )" |
70 |
DEPEND="${RDEPEND} |
71 |
doc? ( virtual/latex-base app-text/ghostscript-gpl )" |
72 |
|
73 |
src_prepare() { |
74 |
use doc || sed -i '/^install:/s:docs::' makefile |
75 |
epatch "${FILESDIR}"/libtomcrypt-1.17-r2-libtool-tag-and-make-fix.patch |
76 |
sed -i \ |
77 |
-e "s:--mode=link gcc:--mode=link $(tc-getCC) ${LDFLAGS} --tag CC $(tc-getCC):g" \ |
78 |
-e "s: gcc: $(tc-getCC):g" \ |
79 |
{,testprof/}makefile.shared || die |
80 |
} |
81 |
|
82 |
src_compile() { |
83 |
local extraflags="" |
84 |
use libtommath && append-flags -DLTM_DESC && extraflags="-ltommath" |
85 |
use tomsfastmath && append-flags -DTFM_DESC && extraflags="${extraflags} -ltfm" |
86 |
EXTRALIBS="${extraflags}" \ |
87 |
CC=$(tc-getCC) \ |
88 |
IGNORE_SPEED=1 \ |
89 |
emake -f makefile.shared \ |
90 |
|| die "emake failed" |
91 |
} |
92 |
|
93 |
src_install() { |
94 |
emake -f makefile.shared DESTDIR="${D}" install ||\ |
95 |
die "emake install failed" |
96 |
dodoc TODO changes || die "dodoc failed" |
97 |
if use doc ; then |
98 |
dodoc doc/* || die "dodoc failed" |
99 |
docinto notes ; dodoc notes/* || die "dodoc failed" |
100 |
docinto demos ; dodoc demos/* || die "dodoc failed" |
101 |
fi |
102 |
} |