Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ml/cryptokit: cryptokit-1.4.ebuild ChangeLog
Date: Sat, 09 Oct 2010 01:02:51
Message-Id: 20101009000622.AFCE620051@flycatcher.gentoo.org
1 aballier 10/10/09 00:06:22
2
3 Modified: ChangeLog
4 Added: cryptokit-1.4.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2_rc91/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.5 dev-ml/cryptokit/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cryptokit/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cryptokit/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cryptokit/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ml/cryptokit/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 28 Sep 2009 16:47:43 -0000 1.4
24 +++ ChangeLog 9 Oct 2010 00:06:22 -0000 1.5
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ml/cryptokit
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/cryptokit/ChangeLog,v 1.4 2009/09/28 16:47:43 betelgeuse Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/cryptokit/ChangeLog,v 1.5 2010/10/09 00:06:22 aballier Exp $
31 +
32 +*cryptokit-1.4 (09 Oct 2010)
33 +
34 + 09 Oct 2010; Alexis Ballier <aballier@g.o> +cryptokit-1.4.ebuild:
35 + version bump
36
37 28 Sep 2009; Petteri Räty <betelgeuse@g.o> cryptokit-1.3.ebuild:
38 Migrate to EAPI 2 in order to nuke built_with_use.
39
40
41
42 1.1 dev-ml/cryptokit/cryptokit-1.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cryptokit/cryptokit-1.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/cryptokit/cryptokit-1.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: cryptokit-1.4.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ml/cryptokit/cryptokit-1.4.ebuild,v 1.1 2010/10/09 00:06:22 aballier Exp $
52
53 EAPI="2"
54
55 inherit findlib multilib
56
57 DESCRIPTION="Cryptographic primitives library for Objective Caml"
58 HOMEPAGE="http://forge.ocamlcore.org/projects/cryptokit/"
59 SRC_URI="https://forge.ocamlcore.org/frs/download.php/460/${P}.tar.gz"
60 LICENSE="LGPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
63 IUSE="debug doc +ocamlopt zlib"
64
65 DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt?]
66 zlib? ( >=sys-libs/zlib-1.1 )"
67 RDEPEND="${DEPEND}"
68
69 oasis_use_enable() {
70 echo "--override $2 `use $1 && echo \"true\" || echo \"false\"`"
71 }
72
73 src_configure() {
74 ./configure --prefix usr \
75 --libdir /usr/$(get_libdir) \
76 --destdir "${D}" \
77 $(use_enable zlib) \
78 $(oasis_use_enable debug debug) \
79 $(oasis_use_enable ocamlopt is_native) \
80 || die
81 }
82
83 src_compile() {
84 emake || die
85 if use doc ; then
86 emake doc || die
87 fi
88 }
89
90 src_install() {
91 findlib_src_install
92 dodoc Changes README* AUTHORS* || die
93 }
94
95 pkg_postinst() {
96 elog ""
97 elog "This library uses the /dev/random device to generate "
98 elog "random data and RSA keys. The device should either be"
99 elog "built into the kernel or provided as a module. An"
100 elog "alternative is to use the Entropy Gathering Daemon"
101 elog "(http://egd.sourceforge.net). Please note that the"
102 elog "remainder of the library will still work even in the"
103 elog "absence of a one of these sources of randomness."
104 elog ""
105 }
106
107 src_test() {
108 echo ""
109 einfo "You must have either /dev/random or the Entropy Gathering"
110 einfo "Daemon (EGD) for this test to succeed!"
111 echo ""
112
113 emake test || die "emake test failed"
114 }